decocms 2.277.0 → 2.278.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-CDrkM01U.js → AlertCircle-DUgLKRqD.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-D40KhznE.js → ArrowNarrowLeft-kCQ-qIL4.js} +1 -1
- package/dist/client/assets/{CheckCircle-BTIsSwsN.js → CheckCircle-DGqHVO6J.js} +1 -1
- package/dist/client/assets/{ChevronDown-CYdW9NBw.js → ChevronDown-B24A-aAH.js} +1 -1
- package/dist/client/assets/{ChevronRight-YkSQYi3B.js → ChevronRight-te-i08ST.js} +1 -1
- package/dist/client/assets/{ChevronUp-BcPC1hCC.js → ChevronUp-ClIw8oee.js} +1 -1
- package/dist/client/assets/{Container-ChD3KoS4.js → Container-BEpzzcWb.js} +1 -1
- package/dist/client/assets/{LinkExternal01-l0w4_WlJ.js → LinkExternal01-DGR8dD9K.js} +1 -1
- package/dist/client/assets/{Lock01-CmojMPTn.js → Lock01-CgN6byUv.js} +1 -1
- package/dist/client/assets/{Palette-D4s8zWmN.js → Palette-hGvX_iIm.js} +1 -1
- package/dist/client/assets/{Play-CiTVDuYt.js → Play-B45MhCGv.js} +1 -1
- package/dist/client/assets/{Plus-CVdax6FK.js → Plus-DEi1gvs0.js} +1 -1
- package/dist/client/assets/{SearchMd-DJ0JdIz3.js → SearchMd-Bb-t_BjN.js} +1 -1
- package/dist/client/assets/{Settings02-D-hypCbK.js → Settings02-DqmMmEZU.js} +1 -1
- package/dist/client/assets/{Star01-Vcjv0Tzc.js → Star01-ByFKZL35.js} +1 -1
- package/dist/client/assets/{Sun-51uZR1E5.js → Sun-BSLTRNwf.js} +1 -1
- package/dist/client/assets/{Tool01-DCaYwllU.js → Tool01-A2H1ijQd.js} +1 -1
- package/dist/client/assets/{Trash01-D5ZS0TOT.js → Trash01-Dtv8SktB.js} +1 -1
- package/dist/client/assets/{Upload01-CBYhGwn0.js → Upload01-BnthyrUJ.js} +1 -1
- package/dist/client/assets/{User01-Dq3q9cE-.js → User01-B6A46HmV.js} +1 -1
- package/dist/client/assets/{Users03-BIYd5t8v.js → Users03-SGJicyFL.js} +1 -1
- package/dist/client/assets/{X-D_4PiiTE.js → X-ZYbgpGnr.js} +1 -1
- package/dist/client/assets/{XCircle-rGav0QLs.js → XCircle-CQXPNkKc.js} +1 -1
- package/dist/client/assets/{Zap-qFCEz_qt.js → Zap-CT4bYj4K.js} +1 -1
- package/dist/client/assets/{ZapSquare-BYfCzFpy.js → ZapSquare-BIpgOhjL.js} +1 -1
- package/dist/client/assets/{accordion-C_FjDGY7.js → accordion-DlHNJyYy.js} +1 -1
- package/dist/client/assets/{agent-icon-31CiXnkF.js → agent-icon-BPm7_0O4.js} +1 -1
- package/dist/client/assets/{agents-list-kGMjebHK.js → agents-list-DDy9vjua.js} +1 -1
- package/dist/client/assets/ai-providers-B4zJ5gIB.js +1 -0
- package/dist/client/assets/{alert-dialog-BpydK2MI.js → alert-dialog-BYfF9kq9.js} +1 -1
- package/dist/client/assets/{auth-catchall-I0vdEcHs.js → auth-catchall-IXiVEa8k.js} +1 -1
- package/dist/client/assets/{automation-list-row-mTTWiKQ6.js → automation-list-row-DdODiuWb.js} +1 -1
- package/dist/client/assets/{automations-Z179s9qX.js → automations-DaQmwJ_-.js} +1 -1
- package/dist/client/assets/{avatar-BVvDTfBW.js → avatar-Cd7pOZ3k.js} +1 -1
- package/dist/client/assets/{badge-BhfSxzi-.js → badge-XxgdnuAZ.js} +1 -1
- package/dist/client/assets/{brand-context-Bn_7uvJT.js → brand-context-gdbCtW1V.js} +1 -1
- package/dist/client/assets/{card-BAp6Jwgi.js → card-ohyYL2jd.js} +1 -1
- package/dist/client/assets/{chat-context-Dp5HM8R-.js → chat-context-BBBi8D2H.js} +1 -1
- package/dist/client/assets/{checkbox-BhkHXCse.js → checkbox-CV6BjILT.js} +1 -1
- package/dist/client/assets/{collection-detail-Bm3mvhEG.js → collection-detail-BDC-qOMT.js} +1 -1
- package/dist/client/assets/{collection-display-button-jqECsu1f.js → collection-display-button-Dzc3fhoU.js} +1 -1
- package/dist/client/assets/{collection-search-C0B93tJw.js → collection-search-RK7vbvUN.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Bf17fkBP.js → collection-table-wrapper-DSiZO_Rx.js} +1 -1
- package/dist/client/assets/{collection-tabs-CMC3SILy.js → collection-tabs-BThF2_kc.js} +1 -1
- package/dist/client/assets/{collections-DIuw_dNV.js → collections-D4PM7cfP.js} +1 -1
- package/dist/client/assets/{command-CRMnQTof.js → command-D-rn-MCf.js} +1 -1
- package/dist/client/assets/{connection-card-CJ6uOT9E.js → connection-card-C77H1oWc.js} +1 -1
- package/dist/client/assets/{connection-detail-Dj-OLW3C.js → connection-detail-B3eR0g_I.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-CDPt3S_P.js → connection-form-helpers-C9kgqFQD.js} +1 -1
- package/dist/client/assets/{connections-aYS5E8PJ.js → connections-DLnzLvDf.js} +1 -1
- package/dist/client/assets/{constants-BG70AVFL.js → constants-CBMPX4Nz.js} +1 -1
- package/dist/client/assets/{constants-CdNdiXMf.js → constants-DV3gfGwj.js} +1 -1
- package/dist/client/assets/{dialog-C0FUDu40.js → dialog-LWRIZTr3.js} +1 -1
- package/dist/client/assets/{drawer-D4_wXu6X.js → drawer-D1pg0ocH.js} +1 -1
- package/dist/client/assets/{dropdown-menu-aG44dJsz.js → dropdown-menu-DLn7MpGb.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-pzG9mWCw.js → dynamic-plugin-layout-BSXEX5vh.js} +1 -1
- package/dist/client/assets/{empty-state-BjAjwUcB.js → empty-state-DkrYdGBA.js} +1 -1
- package/dist/client/assets/{empty-state-BGqwS_3w.js → empty-state-t8Y8fpWZ.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CAAXAkZY.js → extract-connection-data-BhJroSSL.js} +1 -1
- package/dist/client/assets/{features-DCfAHIGS.js → features-B5cMQOy4.js} +1 -1
- package/dist/client/assets/{form-BQFhlKGv.js → form-DYWw7BDT.js} +1 -1
- package/dist/client/assets/{general-0YlUSUig.js → general-Bx99MR-8.js} +1 -1
- package/dist/client/assets/{index-CoTOPljc.js → index-9mpD21lu.js} +1 -1
- package/dist/client/assets/{index-CEQG3Gi2.js → index-BAPPcxpC.js} +1 -1
- package/dist/client/assets/{index-EE9r4ne7.js → index-CAeiwvn1.js} +2 -2
- package/dist/client/assets/{index-C6SXa4V4.js → index-CTb5Ivgi.js} +1 -1
- package/dist/client/assets/{index-mdSoEPSF.js → index-DNVFRTN5.js} +1 -1
- package/dist/client/assets/{index-DRjT3wqk.js → index-DQr1bBCj.js} +3 -3
- package/dist/client/assets/{index-CIlSPTSj.js → index-DphB1nct.js} +1 -1
- package/dist/client/assets/{index-CN1oVHjb.js → index-Ds-JIDUi.js} +4 -4
- package/dist/client/assets/{index-NYDZhYFt.js → index-RqKqA1J6.js} +1 -1
- package/dist/client/assets/{index-BRiQU6du.js → index-dR4PVdxt.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-BQYXKuj2.js → infiniteQueryObserver-DgmIeDDw.js} +1 -1
- package/dist/client/assets/{input-r_oEqK-V.js → input-bSmRFU9Y.js} +1 -1
- package/dist/client/assets/{integration-icon-BKKqOsd5.js → integration-icon-BCfLG4yN.js} +1 -1
- package/dist/client/assets/{label-CenAgqhm.js → label-DHm3L_Pw.js} +1 -1
- package/dist/client/assets/{layout-DB6YepVn.js → layout-Bi-oKYFz.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-TnasvQfT.js → lean-canvas-recruit-modal-Y-73eqIT.js} +1 -1
- package/dist/client/assets/{login-DDMVtz0x.js → login-oTC9k0u0.js} +1 -1
- package/dist/client/assets/{members-BH6aFn0i.js → members-DXtluaQF.js} +1 -1
- package/dist/client/assets/{monaco-editor-C3TYqqnp.js → monaco-editor-J6gXCbSf.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DosCpU_L.js → monitoring-stats-row-COftXD12.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DjkxS6zo.js → oauth-callback-ai-provider-BG5KUhrn.js} +1 -1
- package/dist/client/assets/{oauth-callback-BV7Kg1aN.js → oauth-callback-iJ681_o2.js} +1 -1
- package/dist/client/assets/{onboarding-DmzJa5qN.js → onboarding-CaPHCpYM.js} +1 -1
- package/dist/client/assets/{org-layout-D05CVA_8.js → org-layout-tpbZft4k.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-Cv_313Tb.js → org-plugin-layout-DKUGssvU.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-CQeGBgOP.js → plugin-empty-state-CjLoe77j.js} +1 -1
- package/dist/client/assets/{plugin-header-BXYsY1_p.js → plugin-header-D-DgJiT_.js} +1 -1
- package/dist/client/assets/{plugin-layout-Do_Ws-WY.js → plugin-layout-BxoJjnAH.js} +1 -1
- package/dist/client/assets/{popover-BktSfQG9.js → popover-QXf8PVl2.js} +1 -1
- package/dist/client/assets/{profile-BSS2RbEG.js → profile-BXxDmHas.js} +1 -1
- package/dist/client/assets/project-app-view-CpeukqHC.js +1 -0
- package/dist/client/assets/registry-BwQkRfy5.js +2 -0
- package/dist/client/assets/{registry-layout-B0UM9hrK.js → registry-layout-Dp1ULu6N.js} +1 -1
- package/dist/client/assets/{required-auth-layout-C6TLzB3T.js → required-auth-layout-BQkYfP3n.js} +1 -1
- package/dist/client/assets/{reset-password-BV1UW9SB.js → reset-password-CU4ON9vN.js} +1 -1
- package/dist/client/assets/{scroll-area-C6ws31M0.js → scroll-area-CM6U9wSm.js} +1 -1
- package/dist/client/assets/{search-input-Dxw50-Fc.js → search-input-D1anatj6.js} +1 -1
- package/dist/client/assets/{select-DMKL-iI9.js → select-DE9H0LNP.js} +1 -1
- package/dist/client/assets/{select-model-D2d213qn.js → select-model-C72ySuI7.js} +1 -1
- package/dist/client/assets/{settings-layout-BBdiRp4e.js → settings-layout-BcGWWnw4.js} +1 -1
- package/dist/client/assets/{shell-layout-CDe1Q4z8.js → shell-layout-DbjX6AWI.js} +1 -1
- package/dist/client/assets/{skeleton-C8k5qVSG.js → skeleton-DJZQh5Pk.js} +1 -1
- package/dist/client/assets/{sso-CChrq6HN.js → sso-330TvduR.js} +1 -1
- package/dist/client/assets/{store-Dk4svl-0.js → store-CValARVk.js} +1 -1
- package/dist/client/assets/store-registry-DxTZD8aD.js +2 -0
- package/dist/client/assets/{switch-BlmZa3uf.js → switch-DXZpP3PP.js} +1 -1
- package/dist/client/assets/{table-omg9OiL8.js → table-BC1vaa2h.js} +1 -1
- package/dist/client/assets/{tabs-ZI6fRQkw.js → tabs-y_vyQ1bZ.js} +1 -1
- package/dist/client/assets/{task-status-erNd2Sbl.js → task-status-u0ZgPY9s.js} +31 -31
- package/dist/client/assets/{textarea-CpW5pfml.js → textarea-BKBUm0h-.js} +1 -1
- package/dist/client/assets/{toggle-group-By5F9baT.js → toggle-group-BGNuzMLR.js} +1 -1
- package/dist/client/assets/{tools-list-2T2hc8nL.js → tools-list-DnYw-GLl.js} +1 -1
- package/dist/client/assets/{types-BOQuLrVp.js → types-_e2R6uHw.js} +14 -14
- package/dist/client/assets/{use-ai-providers-CITI1iNq.js → use-ai-providers-DA7fBB8t.js} +1 -1
- package/dist/client/assets/{use-collections-CRzXRke9.js → use-collections-B56DgGhQ.js} +1 -1
- package/dist/client/assets/{use-connection-CeSGdaGP.js → use-connection-DmlqhQzU.js} +1 -1
- package/dist/client/assets/{use-copy-DGEKKbaG.js → use-copy-yDy37O6x.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-UIh1S6RD.js → use-create-virtual-mcp-St-hxc3T.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CN7YV5I-.js → use-decopilot-events-C6hMvsnN.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DeXytvwf.js → use-delete-connection-9Vw8o7eu.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-DjXaeUEQ.js → use-infinite-scroll-BDoBJohW.js} +1 -1
- package/dist/client/assets/{use-list-state-UZMoJUvO.js → use-list-state-BSaQM_cf.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BKQPDk4x.js → use-mcp-tools-CrNS6JKZ.js} +1 -1
- package/dist/client/assets/{use-members-afZV5Me8.js → use-members-CuGMiyzy.js} +1 -1
- package/dist/client/assets/{use-mobile-DP4MR1ix.js → use-mobile-Dcrjnr8n.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-C0iuNKaP.js → use-navigate-to-agent-CK6LXIOn.js} +1 -1
- package/dist/client/assets/{use-org-sso-B4mWsSMh.js → use-org-sso-CDZI8wr6.js} +1 -1
- package/dist/client/assets/{use-organization-settings-CcvcpCtE.js → use-organization-settings-Dz4Ob_xk.js} +1 -1
- package/dist/client/assets/{use-registry-connections-Bj_DPVwf.js → use-registry-connections-C4iSg1no.js} +1 -1
- package/dist/client/assets/{use-status-sounds-ChUYFOhF.js → use-status-sounds-BpX9On4z.js} +1 -1
- package/dist/client/assets/{use-tasks-DGmrkFpo.js → use-tasks-B1E3D-6c.js} +1 -1
- package/dist/client/assets/{use-view-mode-zFqL6G4U.js → use-view-mode-OuDPu3JY.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-Dn9ixQmR.js → use-virtual-mcp-C84ySRY_.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-C63zt5p0.js +1 -0
- package/dist/client/assets/{user-D7q59BB0.js → user-D-ueNiJ9.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-BTfIGFL4.js → view-mode-toggle-JzxZIaam.js} +1 -1
- package/dist/client/assets/{workflow-DXb2lFI1.js → workflow-DILBdxqV.js} +1 -1
- package/dist/client/assets/workflow-detail-CbBLr-jD.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/node_modules/deepmerge/.editorconfig +7 -0
- package/dist/server/node_modules/deepmerge/.eslintcache +1 -0
- package/dist/server/node_modules/deepmerge/changelog.md +167 -0
- package/dist/server/node_modules/deepmerge/dist/cjs.js +133 -0
- package/dist/server/node_modules/deepmerge/dist/umd.js +139 -0
- package/dist/server/node_modules/deepmerge/index.d.ts +20 -0
- package/dist/server/node_modules/deepmerge/index.js +106 -0
- package/dist/server/node_modules/{postgres-bytea/license → deepmerge/license.txt} +1 -1
- package/dist/server/node_modules/deepmerge/package.json +42 -0
- package/dist/server/node_modules/deepmerge/readme.md +264 -0
- package/dist/server/node_modules/deepmerge/rollup.config.js +22 -0
- package/dist/server/node_modules/onetime/index.d.ts +64 -0
- package/dist/server/node_modules/onetime/index.js +44 -0
- package/dist/server/node_modules/onetime/package.json +43 -0
- package/dist/server/node_modules/onetime/readme.md +94 -0
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-Bykzb-xW.js +0 -1
- package/dist/client/assets/project-app-view-B_z1QorU.js +0 -1
- package/dist/client/assets/registry-B_QfL3wE.js +0 -2
- package/dist/client/assets/store-registry-DNqLsJlQ.js +0 -2
- package/dist/client/assets/useInfiniteQuery-7hq96Va6.js +0 -1
- package/dist/client/assets/workflow-detail-CC_ctEsy.js +0 -1
- package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
- package/dist/server/node_modules/ansi-styles/index.js +0 -223
- package/dist/server/node_modules/ansi-styles/package.json +0 -54
- package/dist/server/node_modules/ansi-styles/readme.md +0 -173
- package/dist/server/node_modules/figures/index.d.ts +0 -279
- package/dist/server/node_modules/figures/index.js +0 -292
- package/dist/server/node_modules/figures/license +0 -9
- package/dist/server/node_modules/figures/package.json +0 -49
- package/dist/server/node_modules/figures/readme.md +0 -337
- package/dist/server/node_modules/pg/LICENSE +0 -21
- package/dist/server/node_modules/pg/README.md +0 -95
- package/dist/server/node_modules/pg/esm/index.mjs +0 -20
- package/dist/server/node_modules/pg/lib/client.js +0 -743
- package/dist/server/node_modules/pg/lib/connection-parameters.js +0 -171
- package/dist/server/node_modules/pg/lib/connection.js +0 -221
- package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +0 -122
- package/dist/server/node_modules/pg/lib/crypto/sasl.js +0 -212
- package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +0 -43
- package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +0 -89
- package/dist/server/node_modules/pg/lib/crypto/utils.js +0 -9
- package/dist/server/node_modules/pg/lib/defaults.js +0 -91
- package/dist/server/node_modules/pg/lib/index.js +0 -73
- package/dist/server/node_modules/pg/lib/native/client.js +0 -323
- package/dist/server/node_modules/pg/lib/native/index.js +0 -2
- package/dist/server/node_modules/pg/lib/native/query.js +0 -165
- package/dist/server/node_modules/pg/lib/query.js +0 -252
- package/dist/server/node_modules/pg/lib/result.js +0 -109
- package/dist/server/node_modules/pg/lib/stream.js +0 -83
- package/dist/server/node_modules/pg/lib/type-overrides.js +0 -35
- package/dist/server/node_modules/pg/lib/utils.js +0 -217
- package/dist/server/node_modules/pg/package.json +0 -76
- package/dist/server/node_modules/postgres-bytea/index.js +0 -33
- package/dist/server/node_modules/postgres-bytea/package.json +0 -34
- package/dist/server/node_modules/postgres-bytea/readme.md +0 -34
- package/dist/server/node_modules/split2/LICENSE +0 -13
- package/dist/server/node_modules/split2/README.md +0 -85
- package/dist/server/node_modules/split2/bench.js +0 -27
- package/dist/server/node_modules/split2/index.js +0 -141
- package/dist/server/node_modules/split2/package.json +0 -39
- package/dist/server/node_modules/split2/test.js +0 -409
- package/dist/server/node_modules/xtend/.jshintrc +0 -30
- package/dist/server/node_modules/xtend/LICENSE +0 -20
- package/dist/server/node_modules/xtend/README.md +0 -32
- package/dist/server/node_modules/xtend/immutable.js +0 -19
- package/dist/server/node_modules/xtend/mutable.js +0 -17
- package/dist/server/node_modules/xtend/package.json +0 -55
- package/dist/server/node_modules/xtend/test.js +0 -103
- /package/dist/server/node_modules/{ansi-styles → onetime}/license +0 -0
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
# deepmerge
|
|
2
|
+
|
|
3
|
+
Merges the enumerable properties of two or more objects deeply.
|
|
4
|
+
|
|
5
|
+
> UMD bundle is 723B minified+gzipped
|
|
6
|
+
|
|
7
|
+
## Getting Started
|
|
8
|
+
|
|
9
|
+
### Example Usage
|
|
10
|
+
<!--js
|
|
11
|
+
const merge = require('./')
|
|
12
|
+
-->
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
const x = {
|
|
16
|
+
foo: { bar: 3 },
|
|
17
|
+
array: [{
|
|
18
|
+
does: 'work',
|
|
19
|
+
too: [ 1, 2, 3 ]
|
|
20
|
+
}]
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const y = {
|
|
24
|
+
foo: { baz: 4 },
|
|
25
|
+
quux: 5,
|
|
26
|
+
array: [{
|
|
27
|
+
does: 'work',
|
|
28
|
+
too: [ 4, 5, 6 ]
|
|
29
|
+
}, {
|
|
30
|
+
really: 'yes'
|
|
31
|
+
}]
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const output = {
|
|
35
|
+
foo: {
|
|
36
|
+
bar: 3,
|
|
37
|
+
baz: 4
|
|
38
|
+
},
|
|
39
|
+
array: [{
|
|
40
|
+
does: 'work',
|
|
41
|
+
too: [ 1, 2, 3 ]
|
|
42
|
+
}, {
|
|
43
|
+
does: 'work',
|
|
44
|
+
too: [ 4, 5, 6 ]
|
|
45
|
+
}, {
|
|
46
|
+
really: 'yes'
|
|
47
|
+
}],
|
|
48
|
+
quux: 5
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
merge(x, y) // => output
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Installation
|
|
56
|
+
|
|
57
|
+
With [npm](http://npmjs.org) do:
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
npm install deepmerge
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
deepmerge can be used directly in the browser without the use of package managers/bundlers as well: [UMD version from unpkg.com](https://unpkg.com/deepmerge/dist/umd.js).
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Include
|
|
67
|
+
|
|
68
|
+
deepmerge exposes a CommonJS entry point:
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
const merge = require('deepmerge')
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
The ESM entry point was dropped due to a [Webpack bug](https://github.com/webpack/webpack/issues/6584).
|
|
75
|
+
|
|
76
|
+
# API
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
## `merge(x, y, [options])`
|
|
80
|
+
|
|
81
|
+
Merge two objects `x` and `y` deeply, returning a new merged object with the
|
|
82
|
+
elements from both `x` and `y`.
|
|
83
|
+
|
|
84
|
+
If an element at the same key is present for both `x` and `y`, the value from
|
|
85
|
+
`y` will appear in the result.
|
|
86
|
+
|
|
87
|
+
Merging creates a new object, so that neither `x` or `y` is modified.
|
|
88
|
+
|
|
89
|
+
**Note:** By default, arrays are merged by concatenating them.
|
|
90
|
+
|
|
91
|
+
## `merge.all(arrayOfObjects, [options])`
|
|
92
|
+
|
|
93
|
+
Merges any number of objects into a single result object.
|
|
94
|
+
|
|
95
|
+
```js
|
|
96
|
+
const foobar = { foo: { bar: 3 } }
|
|
97
|
+
const foobaz = { foo: { baz: 4 } }
|
|
98
|
+
const bar = { bar: 'yay!' }
|
|
99
|
+
|
|
100
|
+
merge.all([ foobar, foobaz, bar ]) // => { foo: { bar: 3, baz: 4 }, bar: 'yay!' }
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
## Options
|
|
105
|
+
|
|
106
|
+
### `arrayMerge`
|
|
107
|
+
|
|
108
|
+
There are multiple ways to merge two arrays, below are a few examples but you can also create your own custom function.
|
|
109
|
+
|
|
110
|
+
Your `arrayMerge` function will be called with three arguments: a `target` array, the `source` array, and an `options` object with these properties:
|
|
111
|
+
|
|
112
|
+
- `isMergeableObject(value)`
|
|
113
|
+
- `cloneUnlessOtherwiseSpecified(value, options)`
|
|
114
|
+
|
|
115
|
+
#### `arrayMerge` example: overwrite target array
|
|
116
|
+
|
|
117
|
+
Overwrites the existing array values completely rather than concatenating them:
|
|
118
|
+
|
|
119
|
+
```js
|
|
120
|
+
const overwriteMerge = (destinationArray, sourceArray, options) => sourceArray
|
|
121
|
+
|
|
122
|
+
merge(
|
|
123
|
+
[1, 2, 3],
|
|
124
|
+
[3, 2, 1],
|
|
125
|
+
{ arrayMerge: overwriteMerge }
|
|
126
|
+
) // => [3, 2, 1]
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
#### `arrayMerge` example: combine arrays
|
|
130
|
+
|
|
131
|
+
Combines objects at the same index in the two arrays.
|
|
132
|
+
|
|
133
|
+
This was the default array merging algorithm pre-version-2.0.0.
|
|
134
|
+
|
|
135
|
+
```js
|
|
136
|
+
const combineMerge = (target, source, options) => {
|
|
137
|
+
const destination = target.slice()
|
|
138
|
+
|
|
139
|
+
source.forEach((item, index) => {
|
|
140
|
+
if (typeof destination[index] === 'undefined') {
|
|
141
|
+
destination[index] = options.cloneUnlessOtherwiseSpecified(item, options)
|
|
142
|
+
} else if (options.isMergeableObject(item)) {
|
|
143
|
+
destination[index] = merge(target[index], item, options)
|
|
144
|
+
} else if (target.indexOf(item) === -1) {
|
|
145
|
+
destination.push(item)
|
|
146
|
+
}
|
|
147
|
+
})
|
|
148
|
+
return destination
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
merge(
|
|
152
|
+
[{ a: true }],
|
|
153
|
+
[{ b: true }, 'ah yup'],
|
|
154
|
+
{ arrayMerge: combineMerge }
|
|
155
|
+
) // => [{ a: true, b: true }, 'ah yup']
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### `isMergeableObject`
|
|
159
|
+
|
|
160
|
+
By default, deepmerge clones every property from almost every kind of object.
|
|
161
|
+
|
|
162
|
+
You may not want this, if your objects are of special types, and you want to copy the whole object instead of just copying its properties.
|
|
163
|
+
|
|
164
|
+
You can accomplish this by passing in a function for the `isMergeableObject` option.
|
|
165
|
+
|
|
166
|
+
If you only want to clone properties of plain objects, and ignore all "special" kinds of instantiated objects, you probably want to drop in [`is-plain-object`](https://github.com/jonschlinkert/is-plain-object).
|
|
167
|
+
|
|
168
|
+
```js
|
|
169
|
+
const { isPlainObject } = require('is-plain-object')
|
|
170
|
+
|
|
171
|
+
function SuperSpecial() {
|
|
172
|
+
this.special = 'oh yeah man totally'
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
const instantiatedSpecialObject = new SuperSpecial()
|
|
176
|
+
|
|
177
|
+
const target = {
|
|
178
|
+
someProperty: {
|
|
179
|
+
cool: 'oh for sure'
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
const source = {
|
|
184
|
+
someProperty: instantiatedSpecialObject
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
const defaultOutput = merge(target, source)
|
|
188
|
+
|
|
189
|
+
defaultOutput.someProperty.cool // => 'oh for sure'
|
|
190
|
+
defaultOutput.someProperty.special // => 'oh yeah man totally'
|
|
191
|
+
defaultOutput.someProperty instanceof SuperSpecial // => false
|
|
192
|
+
|
|
193
|
+
const customMergeOutput = merge(target, source, {
|
|
194
|
+
isMergeableObject: isPlainObject
|
|
195
|
+
})
|
|
196
|
+
|
|
197
|
+
customMergeOutput.someProperty.cool // => undefined
|
|
198
|
+
customMergeOutput.someProperty.special // => 'oh yeah man totally'
|
|
199
|
+
customMergeOutput.someProperty instanceof SuperSpecial // => true
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### `customMerge`
|
|
203
|
+
|
|
204
|
+
Specifies a function which can be used to override the default merge behavior for a property, based on the property name.
|
|
205
|
+
|
|
206
|
+
The `customMerge` function will be passed the key for each property, and should return the function which should be used to merge the values for that property.
|
|
207
|
+
|
|
208
|
+
It may also return undefined, in which case the default merge behaviour will be used.
|
|
209
|
+
|
|
210
|
+
```js
|
|
211
|
+
const alex = {
|
|
212
|
+
name: {
|
|
213
|
+
first: 'Alex',
|
|
214
|
+
last: 'Alexson'
|
|
215
|
+
},
|
|
216
|
+
pets: ['Cat', 'Parrot']
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
const tony = {
|
|
220
|
+
name: {
|
|
221
|
+
first: 'Tony',
|
|
222
|
+
last: 'Tonison'
|
|
223
|
+
},
|
|
224
|
+
pets: ['Dog']
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
const mergeNames = (nameA, nameB) => `${nameA.first} and ${nameB.first}`
|
|
228
|
+
|
|
229
|
+
const options = {
|
|
230
|
+
customMerge: (key) => {
|
|
231
|
+
if (key === 'name') {
|
|
232
|
+
return mergeNames
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
const result = merge(alex, tony, options)
|
|
238
|
+
|
|
239
|
+
result.name // => 'Alex and Tony'
|
|
240
|
+
result.pets // => ['Cat', 'Parrot', 'Dog']
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
### `clone`
|
|
245
|
+
|
|
246
|
+
*Deprecated.*
|
|
247
|
+
|
|
248
|
+
Defaults to `true`.
|
|
249
|
+
|
|
250
|
+
If `clone` is `false` then child objects will be copied directly instead of being cloned. This was the default behavior before version 2.x.
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
# Testing
|
|
254
|
+
|
|
255
|
+
With [npm](http://npmjs.org) do:
|
|
256
|
+
|
|
257
|
+
```sh
|
|
258
|
+
npm test
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
# License
|
|
263
|
+
|
|
264
|
+
MIT
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import resolve from 'rollup-plugin-node-resolve'
|
|
2
|
+
import commonjs from 'rollup-plugin-commonjs'
|
|
3
|
+
import pkg from './package.json'
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
input: `index.js`,
|
|
7
|
+
plugins: [
|
|
8
|
+
commonjs(),
|
|
9
|
+
resolve(),
|
|
10
|
+
],
|
|
11
|
+
output: [
|
|
12
|
+
{
|
|
13
|
+
file: pkg.main,
|
|
14
|
+
format: `cjs`
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
name: 'deepmerge',
|
|
18
|
+
file: 'dist/umd.js',
|
|
19
|
+
format: `umd`
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
declare namespace onetime {
|
|
2
|
+
interface Options {
|
|
3
|
+
/**
|
|
4
|
+
Throw an error when called more than once.
|
|
5
|
+
|
|
6
|
+
@default false
|
|
7
|
+
*/
|
|
8
|
+
throw?: boolean;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare const onetime: {
|
|
13
|
+
/**
|
|
14
|
+
Ensure a function is only called once. When called multiple times it will return the return value from the first call.
|
|
15
|
+
|
|
16
|
+
@param fn - Function that should only be called once.
|
|
17
|
+
@returns A function that only calls `fn` once.
|
|
18
|
+
|
|
19
|
+
@example
|
|
20
|
+
```
|
|
21
|
+
import onetime = require('onetime');
|
|
22
|
+
|
|
23
|
+
let i = 0;
|
|
24
|
+
|
|
25
|
+
const foo = onetime(() => ++i);
|
|
26
|
+
|
|
27
|
+
foo(); //=> 1
|
|
28
|
+
foo(); //=> 1
|
|
29
|
+
foo(); //=> 1
|
|
30
|
+
|
|
31
|
+
onetime.callCount(foo); //=> 3
|
|
32
|
+
```
|
|
33
|
+
*/
|
|
34
|
+
<ArgumentsType extends unknown[], ReturnType>(
|
|
35
|
+
fn: (...arguments: ArgumentsType) => ReturnType,
|
|
36
|
+
options?: onetime.Options
|
|
37
|
+
): (...arguments: ArgumentsType) => ReturnType;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
Get the number of times `fn` has been called.
|
|
41
|
+
|
|
42
|
+
@param fn - Function to get call count from.
|
|
43
|
+
@returns A number representing how many times `fn` has been called.
|
|
44
|
+
|
|
45
|
+
@example
|
|
46
|
+
```
|
|
47
|
+
import onetime = require('onetime');
|
|
48
|
+
|
|
49
|
+
const foo = onetime(() => {});
|
|
50
|
+
foo();
|
|
51
|
+
foo();
|
|
52
|
+
foo();
|
|
53
|
+
|
|
54
|
+
console.log(onetime.callCount(foo));
|
|
55
|
+
//=> 3
|
|
56
|
+
```
|
|
57
|
+
*/
|
|
58
|
+
callCount(fn: (...arguments: any[]) => unknown): number;
|
|
59
|
+
|
|
60
|
+
// TODO: Remove this for the next major release
|
|
61
|
+
default: typeof onetime;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export = onetime;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const mimicFn = require('mimic-fn');
|
|
3
|
+
|
|
4
|
+
const calledFunctions = new WeakMap();
|
|
5
|
+
|
|
6
|
+
const onetime = (function_, options = {}) => {
|
|
7
|
+
if (typeof function_ !== 'function') {
|
|
8
|
+
throw new TypeError('Expected a function');
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
let returnValue;
|
|
12
|
+
let callCount = 0;
|
|
13
|
+
const functionName = function_.displayName || function_.name || '<anonymous>';
|
|
14
|
+
|
|
15
|
+
const onetime = function (...arguments_) {
|
|
16
|
+
calledFunctions.set(onetime, ++callCount);
|
|
17
|
+
|
|
18
|
+
if (callCount === 1) {
|
|
19
|
+
returnValue = function_.apply(this, arguments_);
|
|
20
|
+
function_ = null;
|
|
21
|
+
} else if (options.throw === true) {
|
|
22
|
+
throw new Error(`Function \`${functionName}\` can only be called once`);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
return returnValue;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
mimicFn(onetime, function_);
|
|
29
|
+
calledFunctions.set(onetime, callCount);
|
|
30
|
+
|
|
31
|
+
return onetime;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
module.exports = onetime;
|
|
35
|
+
// TODO: Remove this for the next major release
|
|
36
|
+
module.exports.default = onetime;
|
|
37
|
+
|
|
38
|
+
module.exports.callCount = function_ => {
|
|
39
|
+
if (!calledFunctions.has(function_)) {
|
|
40
|
+
throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return calledFunctions.get(function_);
|
|
44
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "onetime",
|
|
3
|
+
"version": "5.1.2",
|
|
4
|
+
"description": "Ensure a function is only called once",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "sindresorhus/onetime",
|
|
7
|
+
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
+
"author": {
|
|
9
|
+
"name": "Sindre Sorhus",
|
|
10
|
+
"email": "sindresorhus@gmail.com",
|
|
11
|
+
"url": "https://sindresorhus.com"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=6"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"test": "xo && ava && tsd"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"index.js",
|
|
21
|
+
"index.d.ts"
|
|
22
|
+
],
|
|
23
|
+
"keywords": [
|
|
24
|
+
"once",
|
|
25
|
+
"function",
|
|
26
|
+
"one",
|
|
27
|
+
"onetime",
|
|
28
|
+
"func",
|
|
29
|
+
"fn",
|
|
30
|
+
"single",
|
|
31
|
+
"call",
|
|
32
|
+
"called",
|
|
33
|
+
"prevent"
|
|
34
|
+
],
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"mimic-fn": "^2.1.0"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"ava": "^1.4.1",
|
|
40
|
+
"tsd": "^0.7.1",
|
|
41
|
+
"xo": "^0.24.0"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# onetime [](https://travis-ci.com/github/sindresorhus/onetime)
|
|
2
|
+
|
|
3
|
+
> Ensure a function is only called once
|
|
4
|
+
|
|
5
|
+
When called multiple times it will return the return value from the first call.
|
|
6
|
+
|
|
7
|
+
*Unlike the module [once](https://github.com/isaacs/once), this one isn't naughty and extending `Function.prototype`.*
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
$ npm install onetime
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
const onetime = require('onetime');
|
|
19
|
+
|
|
20
|
+
let i = 0;
|
|
21
|
+
|
|
22
|
+
const foo = onetime(() => ++i);
|
|
23
|
+
|
|
24
|
+
foo(); //=> 1
|
|
25
|
+
foo(); //=> 1
|
|
26
|
+
foo(); //=> 1
|
|
27
|
+
|
|
28
|
+
onetime.callCount(foo); //=> 3
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
```js
|
|
32
|
+
const onetime = require('onetime');
|
|
33
|
+
|
|
34
|
+
const foo = onetime(() => {}, {throw: true});
|
|
35
|
+
|
|
36
|
+
foo();
|
|
37
|
+
|
|
38
|
+
foo();
|
|
39
|
+
//=> Error: Function `foo` can only be called once
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## API
|
|
43
|
+
|
|
44
|
+
### onetime(fn, options?)
|
|
45
|
+
|
|
46
|
+
Returns a function that only calls `fn` once.
|
|
47
|
+
|
|
48
|
+
#### fn
|
|
49
|
+
|
|
50
|
+
Type: `Function`
|
|
51
|
+
|
|
52
|
+
Function that should only be called once.
|
|
53
|
+
|
|
54
|
+
#### options
|
|
55
|
+
|
|
56
|
+
Type: `object`
|
|
57
|
+
|
|
58
|
+
##### throw
|
|
59
|
+
|
|
60
|
+
Type: `boolean`\
|
|
61
|
+
Default: `false`
|
|
62
|
+
|
|
63
|
+
Throw an error when called more than once.
|
|
64
|
+
|
|
65
|
+
### onetime.callCount(fn)
|
|
66
|
+
|
|
67
|
+
Returns a number representing how many times `fn` has been called.
|
|
68
|
+
|
|
69
|
+
Note: It throws an error if you pass in a function that is not wrapped by `onetime`.
|
|
70
|
+
|
|
71
|
+
```js
|
|
72
|
+
const onetime = require('onetime');
|
|
73
|
+
|
|
74
|
+
const foo = onetime(() => {});
|
|
75
|
+
|
|
76
|
+
foo();
|
|
77
|
+
foo();
|
|
78
|
+
foo();
|
|
79
|
+
|
|
80
|
+
console.log(onetime.callCount(foo));
|
|
81
|
+
//=> 3
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
#### fn
|
|
85
|
+
|
|
86
|
+
Type: `Function`
|
|
87
|
+
|
|
88
|
+
Function to get call count from.
|
|
89
|
+
|
|
90
|
+
## onetime for enterprise
|
|
91
|
+
|
|
92
|
+
Available as part of the Tidelift Subscription.
|
|
93
|
+
|
|
94
|
+
The maintainers of onetime and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-onetime?utm_source=npm-onetime&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as t,j as i}from"./index-EE9r4ne7.js";import{O as m}from"./select-model-D2d213qn.js";import"./checkbox-BhkHXCse.js";import"./ChevronDown-CYdW9NBw.js";import"./input-r_oEqK-V.js";import"./dialog-C0FUDu40.js";import"./X-D_4PiiTE.js";import"./drawer-D4_wXu6X.js";import"./use-mobile-DP4MR1ix.js";import"./select-DMKL-iI9.js";import"./ChevronUp-BcPC1hCC.js";import"./skeleton-C8k5qVSG.js";import"./Tool01-DCaYwllU.js";import"./SearchMd-DJ0JdIz3.js";import"./Settings02-D-hypCbK.js";import"./use-ai-providers-CITI1iNq.js";import"./constants-CdNdiXMf.js";import"./chat-context-Dp5HM8R-.js";import"./use-virtual-mcp-Dn9ixQmR.js";import"./use-collections-CRzXRke9.js";import"./use-decopilot-events-CN7YV5I-.js";import"./create-sse-subscription-CxkOgzKf.js";import"./use-tasks-DGmrkFpo.js";import"./use-organization-settings-CcvcpCtE.js";import"./ai-providers-logos-CS4PCiqI.js";import"./Zap-qFCEz_qt.js";import"./AlertCircle-CDrkM01U.js";import"./CheckCircle-BTIsSwsN.js";import"./Trash01-D5ZS0TOT.js";import"./index-BRiQU6du.js";import"./card-BAp6Jwgi.js";import"./switch-BlmZa3uf.js";import"./toggle-group-By5F9baT.js";import"./avatar-BVvDTfBW.js";import"./User01-Dq3q9cE-.js";import"./alert-dialog-BpydK2MI.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./unwrap-tool-result-BYXdCQMg.js";function M(){const o=t.c(1);let r;return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=i.jsx(m,{}),o[0]=r):r=o[0],r}export{M as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as w,s as y,j as A}from"./index-EE9r4ne7.js";import{a as D,g as E,s as H}from"./task-status-erNd2Sbl.js";import{u as O}from"./constants-CdNdiXMf.js";import{a as $,c as v}from"./use-mcp-tools-BKQPDk4x.js";import{c as L}from"./content-blocks-o63cs2vh.js";import{g as b,M as B,b as U}from"./types-BOQuLrVp.js";import{e as Y,u as k}from"./chat-context-Dp5HM8R-.js";import{u as G}from"./shell-layout-CDe1Q4z8.js";import"./agent-icon-31CiXnkF.js";import"./AlertCircle-CDrkM01U.js";import"./Tool01-DCaYwllU.js";import"./SearchMd-DJ0JdIz3.js";import"./ArrowNarrowLeft-D40KhznE.js";import"./XCircle-rGav0QLs.js";import"./ZapSquare-BYfCzFpy.js";import"./Users03-BIYd5t8v.js";import"./CheckCircle-BTIsSwsN.js";import"./ChevronDown-CYdW9NBw.js";import"./ChevronRight-YkSQYi3B.js";import"./ChevronUp-BcPC1hCC.js";import"./Container-ChD3KoS4.js";import"./Star01-Vcjv0Tzc.js";import"./Palette-D4s8zWmN.js";import"./index-BRiQU6du.js";import"./use-mobile-DP4MR1ix.js";import"./X-D_4PiiTE.js";import"./LinkExternal01-l0w4_WlJ.js";import"./Lock01-CmojMPTn.js";import"./Sun-51uZR1E5.js";import"./Play-CiTVDuYt.js";import"./Plus-CVdax6FK.js";import"./Settings02-D-hypCbK.js";import"./Trash01-D5ZS0TOT.js";import"./Upload01-CBYhGwn0.js";import"./User01-Dq3q9cE-.js";import"./Zap-qFCEz_qt.js";import"./scroll-area-C6ws31M0.js";import"./select-DMKL-iI9.js";import"./use-copy-DGEKKbaG.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./dialog-C0FUDu40.js";import"./integration-icon-BKKqOsd5.js";import"./use-virtual-mcp-Dn9ixQmR.js";import"./use-collections-CRzXRke9.js";import"./use-ai-providers-CITI1iNq.js";import"./use-decopilot-events-CN7YV5I-.js";import"./create-sse-subscription-CxkOgzKf.js";import"./use-tasks-DGmrkFpo.js";import"./use-organization-settings-CcvcpCtE.js";import"./required-auth-layout-C6TLzB3T.js";import"./use-org-sso-B4mWsSMh.js";const S={};function V(R){const t=w.c(32),{client:s,resourceURI:I,tool:e,connectionId:u,orgId:m}=R,{sendMessage:l}=Y(),{setAppContext:d,clearAppContext:f}=k(),{setChatOpen:a}=G(),i=`${u}:${e.name}`;let n;t[0]!==s||t[1]!==e.name?(n={client:s,toolName:e.name,toolArguments:S},t[0]=s,t[1]=e.name,t[2]=n):n=t[2];const{data:r}=v(n);let p;if(t[3]!==e._meta||t[4]!==e.name){const M=E(e._meta);p=H(e.name,M),t[3]=e._meta,t[4]=e.name,t[5]=p}else p=t[5];const c=p;let o;t[6]!==e.inputSchema?(o=e.inputSchema??{type:"object"},t[6]=e.inputSchema,t[7]=o):o=t[7];let g;t[8]!==c||t[9]!==o||t[10]!==e?(g={...e,name:c,inputSchema:o},t[8]=c,t[9]=o,t[10]=e,t[11]=g):g=t[11];const _=g;let P;t[12]!==l||t[13]!==a?(P=M=>{const N=L(M.content);N.content.length>0&&(a(!0),l({tiptapDoc:N}))},t[12]=l,t[13]=a,t[14]=P):P=t[14];const j=P;let h;t[15]!==_?(h={tool:_},t[15]=_,t[16]=h):h=t[16];let x;t[17]!==d||t[18]!==i?(x=M=>d(i,M),t[17]=d,t[18]=i,t[19]=x):x=t[19];let C;t[20]!==f||t[21]!==i?(C=()=>f(i),t[20]=f,t[21]=i,t[22]=C):C=t[22];let T;return t[23]!==s||t[24]!==j||t[25]!==m||t[26]!==I||t[27]!==h||t[28]!==x||t[29]!==C||t[30]!==r?(T=A.jsx(B,{resourceURI:I,orgId:m,toolInfo:h,toolInput:S,toolResult:r,displayMode:"fullscreen",minHeight:U.fullscreen.minHeight,maxHeight:U.fullscreen.maxHeight,client:s,onMessage:j,onUpdateModelContext:x,onTeardown:C,className:"h-full"}),t[23]=s,t[24]=j,t[25]=m,t[26]=I,t[27]=h,t[28]=x,t[29]=C,t[30]=r,t[31]=T):T=t[31],T}function kt(R){const t=w.c(21),{connectionId:s,toolName:I}=R,{org:e}=y();let u;t[0]!==s||t[1]!==e.id?(u={connectionId:s,orgId:e.id},t[0]=s,t[1]=e.id,t[2]=u):u=t[2];const m=O(u);let l;t[3]!==m?(l={client:m},t[3]=m,t[4]=l):l=t[4];const{data:d}=$(l),f=decodeURIComponent(I);let a;t[5]!==f?(a=D(f),t[5]=f,t[6]=a):a=t[6];const i=a;let n,r;if(t[7]!==i||t[8]!==d.tools){let o;t[11]!==i?(o=g=>g.name===i,t[11]=i,t[12]=o):o=t[12],r=d.tools.find(o),n=r?._meta?b(r._meta):void 0,t[7]=i,t[8]=d.tools,t[9]=n,t[10]=r}else n=t[9],r=t[10];const p=n;if(!r||!p){let o;return t[13]!==i?(o=A.jsx("div",{className:"flex items-center justify-center h-full w-full",children:A.jsxs("p",{className:"text-sm text-muted-foreground",children:['Tool "',i,'" not found or has no UI']})}),t[13]=i,t[14]=o):o=t[14],o}let c;return t[15]!==m||t[16]!==s||t[17]!==e.id||t[18]!==p||t[19]!==r?(c=A.jsx(V,{client:m,resourceURI:p,tool:r,connectionId:s,orgId:e.id}),t[15]=m,t[16]=s,t[17]=e.id,t[18]=p,t[19]=r,t[20]=c):c=t[20],c}export{kt as AppViewContent};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-B0UM9hrK.js","assets/index-EE9r4ne7.js","assets/index-B2LlXg0m.css","assets/ArrowNarrowLeft-D40KhznE.js","assets/CheckCircle-BTIsSwsN.js","assets/Container-ChD3KoS4.js","assets/Settings02-D-hypCbK.js","assets/XCircle-rGav0QLs.js","assets/constants-CdNdiXMf.js","assets/useInfiniteQuery-7hq96Va6.js","assets/infiniteQueryObserver-BQYXKuj2.js","assets/badge-BhfSxzi-.js","assets/input-r_oEqK-V.js","assets/dropdown-menu-aG44dJsz.js","assets/ChevronDown-CYdW9NBw.js","assets/ChevronRight-YkSQYi3B.js","assets/table-omg9OiL8.js","assets/toggle-group-By5F9baT.js","assets/use-view-mode-zFqL6G4U.js","assets/use-mobile-DP4MR1ix.js","assets/SearchMd-DJ0JdIz3.js","assets/dialog-C0FUDu40.js","assets/X-D_4PiiTE.js","assets/AlertCircle-CDrkM01U.js","assets/Upload01-CBYhGwn0.js","assets/alert-dialog-BpydK2MI.js","assets/card-BAp6Jwgi.js","assets/Trash01-D5ZS0TOT.js","assets/label-CenAgqhm.js","assets/select-DMKL-iI9.js","assets/ChevronUp-BcPC1hCC.js","assets/switch-BlmZa3uf.js","assets/textarea-CpW5pfml.js","assets/checkbox-BhkHXCse.js","assets/LinkExternal01-l0w4_WlJ.js","assets/use-copy-DGEKKbaG.js","assets/Plus-CVdax6FK.js","assets/Play-CiTVDuYt.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as a,j as t,r,l as i,aF as o}from"./index-EE9r4ne7.js";const n=r.lazy(()=>o(()=>import("./registry-layout-B0UM9hrK.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37])));function c(){const s=a.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(r.Suspense,{fallback:t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(i,{size:20,className:"animate-spin text-muted-foreground"})}),children:t.jsx(n,{})}),s[0]=e):e=s[0],e}export{c as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-B0UM9hrK.js","assets/index-EE9r4ne7.js","assets/index-B2LlXg0m.css","assets/ArrowNarrowLeft-D40KhznE.js","assets/CheckCircle-BTIsSwsN.js","assets/Container-ChD3KoS4.js","assets/Settings02-D-hypCbK.js","assets/XCircle-rGav0QLs.js","assets/constants-CdNdiXMf.js","assets/useInfiniteQuery-7hq96Va6.js","assets/infiniteQueryObserver-BQYXKuj2.js","assets/badge-BhfSxzi-.js","assets/input-r_oEqK-V.js","assets/dropdown-menu-aG44dJsz.js","assets/ChevronDown-CYdW9NBw.js","assets/ChevronRight-YkSQYi3B.js","assets/table-omg9OiL8.js","assets/toggle-group-By5F9baT.js","assets/use-view-mode-zFqL6G4U.js","assets/use-mobile-DP4MR1ix.js","assets/SearchMd-DJ0JdIz3.js","assets/dialog-C0FUDu40.js","assets/X-D_4PiiTE.js","assets/AlertCircle-CDrkM01U.js","assets/Upload01-CBYhGwn0.js","assets/alert-dialog-BpydK2MI.js","assets/card-BAp6Jwgi.js","assets/Trash01-D5ZS0TOT.js","assets/label-CenAgqhm.js","assets/select-DMKL-iI9.js","assets/ChevronUp-BcPC1hCC.js","assets/switch-BlmZa3uf.js","assets/textarea-CpW5pfml.js","assets/checkbox-BhkHXCse.js","assets/LinkExternal01-l0w4_WlJ.js","assets/use-copy-DGEKKbaG.js","assets/Plus-CVdax6FK.js","assets/Play-CiTVDuYt.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as n,f as c,g as m,j as r,l as f,r as l,aF as u}from"./index-EE9r4ne7.js";const g=l.lazy(()=>u(()=>import("./registry-layout-B0UM9hrK.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37])));function _(){const e=n.c(5),o=c();let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:i}=m(t);let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=r.jsx("div",{className:"h-full flex items-center justify-center",children:r.jsx(f,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=s):s=e[1];let a;return e[2]!==o||e[3]!==i?(a=r.jsx(l.Suspense,{fallback:s,children:r.jsx(g,{onBack:()=>o({to:"/$org/settings/store",params:{org:i}})})}),e[2]=o,e[3]=i,e[4]=a):a=e[4],a}export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-BQYXKuj2.js";import{bY as i}from"./index-EE9r4ne7.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as s,g as l,j as o,l as a,E as n,r as c}from"./index-EE9r4ne7.js";import{a as f}from"./index-mdSoEPSF.js";import"./index-CEQG3Gi2.js";import"./constants-CdNdiXMf.js";import"./collections-DIuw_dNV.js";import"./index-NYDZhYFt.js";import"./use-virtual-mcp-Dn9ixQmR.js";import"./use-collections-CRzXRke9.js";import"./monaco-editor-C3TYqqnp.js";import"./scroll-area-C6ws31M0.js";import"./select-DMKL-iI9.js";import"./use-mobile-DP4MR1ix.js";import"./ChevronDown-CYdW9NBw.js";import"./ChevronUp-BcPC1hCC.js";import"./accordion-C_FjDGY7.js";import"./agent-icon-31CiXnkF.js";import"./AlertCircle-CDrkM01U.js";import"./Tool01-DCaYwllU.js";import"./SearchMd-DJ0JdIz3.js";import"./ArrowNarrowLeft-D40KhznE.js";import"./XCircle-rGav0QLs.js";import"./ZapSquare-BYfCzFpy.js";import"./Users03-BIYd5t8v.js";import"./CheckCircle-BTIsSwsN.js";import"./ChevronRight-YkSQYi3B.js";import"./Container-ChD3KoS4.js";import"./Star01-Vcjv0Tzc.js";import"./Palette-D4s8zWmN.js";import"./index-BRiQU6du.js";import"./X-D_4PiiTE.js";import"./LinkExternal01-l0w4_WlJ.js";import"./Lock01-CmojMPTn.js";import"./Sun-51uZR1E5.js";import"./Play-CiTVDuYt.js";import"./Plus-CVdax6FK.js";import"./Settings02-D-hypCbK.js";import"./Trash01-D5ZS0TOT.js";import"./Upload01-CBYhGwn0.js";import"./User01-Dq3q9cE-.js";import"./Zap-qFCEz_qt.js";import"./badge-BhfSxzi-.js";import"./view-mode-toggle-BTfIGFL4.js";import"./layout-DB6YepVn.js";import"./use-connection-CeSGdaGP.js";import"./use-mcp-tools-BKQPDk4x.js";import"./dialog-C0FUDu40.js";import"./dropdown-menu-aG44dJsz.js";import"./integration-icon-BKKqOsd5.js";import"./index-CIlSPTSj.js";import"./empty-state-BGqwS_3w.js";import"./create-sse-subscription-CxkOgzKf.js";import"./input-r_oEqK-V.js";function ct(){const t=s.c(4);let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/workflows/$itemId"},t[0]=r):r=t[0];const{itemId:e}=l(r);let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx("div",{className:"flex h-full items-center justify-center",children:o.jsx(a,{size:32,className:"animate-spin text-muted-foreground"})}),t[1]=i):i=t[1];const p=decodeURIComponent(e);let m;return t[2]!==p?(m=o.jsx(n,{children:o.jsx(c.Suspense,{fallback:i,children:o.jsx(f,{itemId:p})})}),t[2]=p,t[3]=m):m=t[3],m}export{ct as default};
|