decocms 2.311.8 → 2.311.9
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-9Ey0HjEK.js → AlertCircle-DenZ2tH1.js} +1 -1
- package/dist/client/assets/{Archive-DPagM8Sv.js → Archive-CUyKZVLi.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-CX80utcZ.js → ArrowNarrowLeft-CdHYti4b.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-Dnm-Dm1H.js → ArrowUpRight-DQA2yLzS.js} +1 -1
- package/dist/client/assets/{Check-C0YCNcAk.js → Check-B1QjP0lW.js} +1 -1
- package/dist/client/assets/{CheckCircle-DC6iqfFI.js → CheckCircle-uoVBaQQY.js} +1 -1
- package/dist/client/assets/{ChevronDown-Cwqb-1uD.js → ChevronDown-CW5suF8w.js} +1 -1
- package/dist/client/assets/{ChevronRight-CrWz1sFy.js → ChevronRight-C75N1vRO.js} +1 -1
- package/dist/client/assets/{ChevronUp-BMBmNR0B.js → ChevronUp-D9vKVRMW.js} +1 -1
- package/dist/client/assets/{Container-Bk9UG2qc.js → Container-e4KoMY54.js} +1 -1
- package/dist/client/assets/{DotsVertical-B7yU948Y.js → DotsVertical-Bl74LMdL.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DxfMOMNm.js → LinkExternal01-JpLMSezj.js} +1 -1
- package/dist/client/assets/{Lock01-Cds15CcD.js → Lock01-ChyzS6Qk.js} +1 -1
- package/dist/client/assets/{Palette-BhAbwiYB.js → Palette-DxkFGkUo.js} +1 -1
- package/dist/client/assets/{Play-DT05vsyX.js → Play-DNddfPVv.js} +1 -1
- package/dist/client/assets/{Plus-LaAbD5qL.js → Plus-BdkW25go.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-BS-aU6o_.js → RefreshCcw01-Bv9_h0OY.js} +1 -1
- package/dist/client/assets/{SearchMd-DLpvei6Y.js → SearchMd-DENJ3C2Y.js} +1 -1
- package/dist/client/assets/{Settings02-DIJ_hqNi.js → Settings02-B4xVAQg7.js} +1 -1
- package/dist/client/assets/{Shield01-B0gusvIt.js → Shield01-CISf8vls.js} +1 -1
- package/dist/client/assets/{Star01-Dr3hv_f2.js → Star01-B90yQrQf.js} +1 -1
- package/dist/client/assets/{Sun-Cjk_RdSq.js → Sun-jOb3MXPJ.js} +1 -1
- package/dist/client/assets/{Tool01-CKIVHH97.js → Tool01-CBOCDbIq.js} +1 -1
- package/dist/client/assets/{Trash01-CGR2s5lX.js → Trash01-CqvPY4I1.js} +1 -1
- package/dist/client/assets/{User01-TUOjLrvV.js → User01-DcOBCx9n.js} +1 -1
- package/dist/client/assets/{Users03-CrFC9gy5.js → Users03-l6fjto8R.js} +1 -1
- package/dist/client/assets/{X-EkEnxljM.js → X-CuBCe85s.js} +1 -1
- package/dist/client/assets/{XCircle-DX3ew0Vv.js → XCircle-CwRlSPkG.js} +1 -1
- package/dist/client/assets/{XClose-Bgl_mrN0.js → XClose-BYpD-FW2.js} +1 -1
- package/dist/client/assets/{Zap-nGrPPn6s.js → Zap-BBT7v7w5.js} +1 -1
- package/dist/client/assets/{ZapSquare-3WrsQC0a.js → ZapSquare-q2bTQS4w.js} +1 -1
- package/dist/client/assets/{accordion-CVBGYkjx.js → accordion-ChtmP3A-.js} +1 -1
- package/dist/client/assets/{agent-icon-C5r21-mU.js → agent-icon-aCG4rJO5.js} +1 -1
- package/dist/client/assets/{agents-list-DYSwFq4O.js → agents-list-z6-U6t17.js} +1 -1
- package/dist/client/assets/ai-providers-v-Xe3QBL.js +1 -0
- package/dist/client/assets/{alert-dialog-CUlBW44D.js → alert-dialog-DbOFkimV.js} +1 -1
- package/dist/client/assets/{auth-catchall-b0gnrvFE.js → auth-catchall-gGMZKA1c.js} +1 -1
- package/dist/client/assets/{automation-list-row-B0Yyrl0C.js → automation-list-row-CW7pxb1d.js} +1 -1
- package/dist/client/assets/{automations-BoyHWA09.js → automations-BGGEy84S.js} +1 -1
- package/dist/client/assets/{avatar-CCEBXDhS.js → avatar-aIgMbJGD.js} +1 -1
- package/dist/client/assets/{badge-Br91qQU7.js → badge-DVYtPj3Q.js} +1 -1
- package/dist/client/assets/{brand-context-BssJ3FOZ.js → brand-context-CWGrLOUV.js} +1 -1
- package/dist/client/assets/{card-DQgc505G.js → card-DF88hzU1.js} +1 -1
- package/dist/client/assets/{chat-context-D0lbPtlR.js → chat-context-C_Gvp66M.js} +1 -1
- package/dist/client/assets/{checkbox-BCxF1VyO.js → checkbox-KaNd7DxH.js} +1 -1
- package/dist/client/assets/{collection-detail-BPMkE5rf.js → collection-detail-CsOa-wP4.js} +1 -1
- package/dist/client/assets/{collection-display-button-DTW3X--x.js → collection-display-button-DX3qc6dM.js} +1 -1
- package/dist/client/assets/{collection-search-Cm33ynx1.js → collection-search-B_uLWogM.js} +1 -1
- package/dist/client/assets/{collection-search-DzJ2_6S7.js → collection-search-CW10ePNY.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-D6-pSdID.js → collection-table-wrapper-jrC7a888.js} +1 -1
- package/dist/client/assets/{collection-tabs-DNkzHSYG.js → collection-tabs-B4ahuefD.js} +1 -1
- package/dist/client/assets/{collections-C9L2aOYp.js → collections-BGO4ETj2.js} +1 -1
- package/dist/client/assets/{command-C-2IxKk5.js → command-CI9ISywp.js} +1 -1
- package/dist/client/assets/{connection-card-BoxVMaxE.js → connection-card-Bpyvc28P.js} +1 -1
- package/dist/client/assets/{connection-detail-_uhhok2G.js → connection-detail-CZhT71J5.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-o8Xx8W0s.js → connection-form-helpers-BfvL5eFo.js} +1 -1
- package/dist/client/assets/{connections-BiBKwha4.js → connections-BAYG38Zt.js} +1 -1
- package/dist/client/assets/{constants--Dugzbiv.js → constants-D5Po9Lb5.js} +1 -1
- package/dist/client/assets/{constants-CK0eEQbn.js → constants-P7U02cV2.js} +1 -1
- package/dist/client/assets/{dialog-BxXbq3AD.js → dialog-59APH-gQ.js} +1 -1
- package/dist/client/assets/{domain-settings-C-3L2-eL.js → domain-settings-BGvTcpHg.js} +1 -1
- package/dist/client/assets/{drawer-UeGl-sjm.js → drawer-IJtapzyu.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DQ7iI93C.js → dropdown-menu-B2SzMipC.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-Dn0vyVNY.js → dynamic-plugin-layout-Drvp3rfz.js} +1 -1
- package/dist/client/assets/{empty-state-CKzOWRtK.js → empty-state-DkaEz1nV.js} +1 -1
- package/dist/client/assets/{empty-state-D_f63UFh.js → empty-state-i6xsv-YS.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DMpmuOOJ.js → extract-connection-data-B7tG5T45.js} +1 -1
- package/dist/client/assets/{features-DyUlYERL.js → features-amfQ2FpE.js} +1 -1
- package/dist/client/assets/{form-BwE1BJrb.js → form-DZNe3M-o.js} +1 -1
- package/dist/client/assets/{general-DUugdid2.js → general-uTGUk0Bo.js} +1 -1
- package/dist/client/assets/{index-CeMlJGK7.js → index-0FuZBqpL.js} +1 -1
- package/dist/client/assets/{index-C7x_kc-H.js → index-9smU3vak.js} +1 -1
- package/dist/client/assets/{index-DUyJmZSw.js → index-B2WBo1WB.js} +1 -1
- package/dist/client/assets/{index-C1CY6-RI.js → index-B9Elrkih.js} +1 -1
- package/dist/client/assets/{index-D2MseDzL.js → index-BT3jRQuX.js} +1 -1
- package/dist/client/assets/{index-C4DcQ8LW.js → index-B_OOgiEa.js} +2 -2
- package/dist/client/assets/{index-cE983NnZ.js → index-BlLtpzeQ.js} +1 -1
- package/dist/client/assets/{index-CxyXuh3-.js → index-CemFt8yz.js} +1 -1
- package/dist/client/assets/{index-DX5CKVPt.js → index-CfMT-svD.js} +1 -1
- package/dist/client/assets/{index-cFrtNDeh.js → index-Cs0mksI2.js} +1 -1
- package/dist/client/assets/{index-CpyFP_Y6.js → index-CsMR0Ypg.js} +1 -1
- package/dist/client/assets/{index-BtV0adYp.js → index-D9JwUOO_.js} +1 -1
- package/dist/client/assets/{index-CwEMRsg9.js → index-DHTAzDdj.js} +1 -1
- package/dist/client/assets/{index-DLI7RfTF.js → index-PTvg3Wun.js} +1 -1
- package/dist/client/assets/{index-Cnh6l9lE.js → index-_Kba4LMo.js} +3 -3
- package/dist/client/assets/{index-B0gV229o.js → index-s4QTWOmY.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-M5HXhTa-.js → infiniteQueryObserver-Djo7_6Dx.js} +1 -1
- package/dist/client/assets/{input-Zc7XqLBz.js → input-BQQp-6KZ.js} +1 -1
- package/dist/client/assets/{integration-icon-dIK4SySX.js → integration-icon-Box-itol.js} +1 -1
- package/dist/client/assets/{label-DQVfYyGa.js → label-DC5mP9Z5.js} +1 -1
- package/dist/client/assets/{layout-DoXFaFc9.js → layout-DtZHLBeB.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-B6jYbHdS.js → lean-canvas-recruit-modal-Drc7dSHp.js} +1 -1
- package/dist/client/assets/{login-C53Yny6q.js → login-pkkTGCaQ.js} +1 -1
- package/dist/client/assets/{members-CXQHdw2n.js → members-CCFl4lVb.js} +1 -1
- package/dist/client/assets/{monaco-editor-BluEEKw9.js → monaco-editor-Bx4gABcs.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-C7uh_AJ1.js → monitoring-stats-row-Bzr2EdBL.js} +1 -1
- package/dist/client/assets/{oauth-callback-B18mSbUX.js → oauth-callback-D2WYRLXX.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-B5LWXlVw.js → oauth-callback-ai-provider-DiQQcEIA.js} +1 -1
- package/dist/client/assets/{onboarding-B9N5e87t.js → onboarding-C-xes3uo.js} +1 -1
- package/dist/client/assets/{org-layout-HZO2enZQ.js → org-layout-d5JWtma9.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-X1oNY1R9.js → org-plugin-layout-_jGAIDyT.js} +1 -1
- package/dist/client/assets/{pair-Cl7nEWLx.js → pair-C1uVZAxc.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-mFDhSKtm.js → plugin-empty-state-By7qsYCS.js} +1 -1
- package/dist/client/assets/{plugin-header-BzIWRAUv.js → plugin-header-DmxH-nDy.js} +1 -1
- package/dist/client/assets/{plugin-layout-Ckgza9x1.js → plugin-layout-DHq8VP6I.js} +1 -1
- package/dist/client/assets/{popover-fFiZRgP_.js → popover-BE2Ag2Hj.js} +1 -1
- package/dist/client/assets/{profile-CDEKCuy5.js → profile-BiAUdeqZ.js} +1 -1
- package/dist/client/assets/{project-app-view-DYhcROSR.js → project-app-view-BWIUYPZS.js} +1 -1
- package/dist/client/assets/registry-CBHaV5Tp.js +2 -0
- package/dist/client/assets/{registry-layout-DhmXFNYV.js → registry-layout-D6WP-9Mz.js} +1 -1
- package/dist/client/assets/{required-auth-layout-DdqUlG6N.js → required-auth-layout-78lMndsk.js} +1 -1
- package/dist/client/assets/{reset-password-CG-HQXTs.js → reset-password-LLOtqeM3.js} +1 -1
- package/dist/client/assets/{roles-BToZK3zI.js → roles-CrIxGBCo.js} +1 -1
- package/dist/client/assets/{scroll-area-DDk0Exbn.js → scroll-area-BDlizEf_.js} +1 -1
- package/dist/client/assets/{search-input-BHdl2Sic.js → search-input-Ck2WpyGM.js} +1 -1
- package/dist/client/assets/{select-CdC5gLdi.js → select-Bibny-1X.js} +1 -1
- package/dist/client/assets/{select-model-BkJ0KPp-.js → select-model-CUnmfM2z.js} +1 -1
- package/dist/client/assets/{settings-layout-C75rVJeh.js → settings-layout-DHrmC_DN.js} +1 -1
- package/dist/client/assets/{settings-section-Dab3WzAF.js → settings-section-BNYaFgEU.js} +1 -1
- package/dist/client/assets/{shell-layout-lDvOUVZf.js → shell-layout-BKENpmuK.js} +1 -1
- package/dist/client/assets/{skeleton-jCfWKtEG.js → skeleton-D20a7YZ_.js} +1 -1
- package/dist/client/assets/{sso-y81n9RBZ.js → sso-BS0m4Gbq.js} +1 -1
- package/dist/client/assets/{store-CvYwjdEK.js → store-CxbfCzK1.js} +1 -1
- package/dist/client/assets/store-registry-DaiC69PW.js +2 -0
- package/dist/client/assets/{switch-fkgGJ6Y_.js → switch-B5LXqu_k.js} +1 -1
- package/dist/client/assets/{table-B_6GznCu.js → table-YZX5FqNR.js} +1 -1
- package/dist/client/assets/{tabs-qDZiCngi.js → tabs-DrXz1mKv.js} +1 -1
- package/dist/client/assets/{task-status-BaBW3UXJ.js → task-status-50r4iWhu.js} +1 -1
- package/dist/client/assets/{textarea-C2BrY9Le.js → textarea-B34jNm12.js} +1 -1
- package/dist/client/assets/{toggle-group-B-jspLpZ.js → toggle-group-CrVa8CeF.js} +1 -1
- package/dist/client/assets/{tools-list-6JBD-Zot.js → tools-list-DoRhQ4bQ.js} +1 -1
- package/dist/client/assets/{tooltip-CC8e8bYw.js → tooltip-7fE-WE8n.js} +1 -1
- package/dist/client/assets/{types-BrKOUOZu.js → types-KIGJkxYN.js} +1 -1
- package/dist/client/assets/{use-ai-providers-B2sC2ALY.js → use-ai-providers-BlHdNIJC.js} +1 -1
- package/dist/client/assets/{use-collections-CeVghh3K.js → use-collections-BvXCKCPf.js} +1 -1
- package/dist/client/assets/{use-connection-Cyq0iJ5j.js → use-connection-BHzWUZTk.js} +1 -1
- package/dist/client/assets/{use-copy-DR2hWJaD.js → use-copy-BM6tbEKn.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DGMHB2cc.js → use-create-virtual-mcp-B9su0hdd.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DwUIvZBw.js → use-debounced-autosave-BBrYSIAA.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-YJpIJj4i.js → use-decopilot-events-DUjp4NXe.js} +1 -1
- package/dist/client/assets/{use-delete-connection-BkbDfapg.js → use-delete-connection-D8QH8qmD.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-Hb3Vf_3I.js → use-infinite-scroll-nwbx-KTg.js} +1 -1
- package/dist/client/assets/{use-list-state-wzK4SDnM.js → use-list-state-DRAznPzR.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-CPgnB2kL.js → use-mcp-tools-DkrDenYe.js} +1 -1
- package/dist/client/assets/{use-members-BXnMgIf9.js → use-members-H_2fli-8.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-BJNAm35_.js → use-navigate-to-agent-DM6COLbJ.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-B2VsJjxT.js → use-org-auth-client-DQZC7OFW.js} +1 -1
- package/dist/client/assets/{use-org-sso-D98ffRJ_.js → use-org-sso-LaD6hSpN.js} +1 -1
- package/dist/client/assets/{use-organization-roles-CsvLhbKb.js → use-organization-roles-Tf-ts5gx.js} +1 -1
- package/dist/client/assets/{use-organization-settings-SrrzYdc9.js → use-organization-settings-CXJ-uDFo.js} +1 -1
- package/dist/client/assets/{use-registry-connections-B0GzmRQn.js → use-registry-connections-BnSuTCtJ.js} +1 -1
- package/dist/client/assets/{use-status-sounds-CtnKWsOu.js → use-status-sounds-CW-esQf_.js} +1 -1
- package/dist/client/assets/{use-tasks-DToWWiz1.js → use-tasks-_5SYg2Al.js} +1 -1
- package/dist/client/assets/{use-view-mode-BqpScb5m.js → use-view-mode-C2T_AD4N.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-DA2HdrC3.js → use-virtual-mcp-Bqk6k6NQ.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-ZZ7aYlwI.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-UOA0UYpI.js +1 -0
- package/dist/client/assets/{user-CrGRA0V7.js → user-8chVVoiM.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DlPw4C1T.js → view-mode-toggle-Dg2K0IHy.js} +1 -1
- package/dist/client/assets/{workflow-YCSeFh2m.js → workflow-DLu1DTyd.js} +1 -1
- package/dist/client/assets/workflow-detail-c0UiiwlM.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +55 -64
- package/dist/server/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/dist/server/node_modules/get-east-asian-width/index.js +30 -0
- package/dist/server/node_modules/get-east-asian-width/lookup-data.js +18 -0
- package/dist/server/node_modules/get-east-asian-width/lookup.js +135 -0
- package/dist/server/node_modules/get-east-asian-width/package.json +71 -0
- package/dist/server/node_modules/get-east-asian-width/readme.md +65 -0
- package/dist/server/node_modules/get-east-asian-width/utilities.js +24 -0
- package/dist/server/node_modules/mimic-fn/index.d.ts +54 -0
- package/dist/server/node_modules/mimic-fn/index.js +13 -0
- package/dist/server/node_modules/mimic-fn/license +9 -0
- package/dist/server/node_modules/mimic-fn/package.json +42 -0
- package/dist/server/node_modules/mimic-fn/readme.md +69 -0
- package/dist/server/node_modules/pg/LICENSE +21 -0
- package/dist/server/node_modules/pg/README.md +95 -0
- package/dist/server/node_modules/pg/esm/index.mjs +20 -0
- package/dist/server/node_modules/pg/lib/client.js +743 -0
- package/dist/server/node_modules/pg/lib/connection-parameters.js +171 -0
- package/dist/server/node_modules/pg/lib/connection.js +221 -0
- package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +122 -0
- package/dist/server/node_modules/pg/lib/crypto/sasl.js +212 -0
- package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
- package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +89 -0
- package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
- package/dist/server/node_modules/pg/lib/defaults.js +91 -0
- package/dist/server/node_modules/pg/lib/index.js +73 -0
- package/dist/server/node_modules/pg/lib/native/client.js +323 -0
- package/dist/server/node_modules/pg/lib/native/index.js +2 -0
- package/dist/server/node_modules/pg/lib/native/query.js +165 -0
- package/dist/server/node_modules/pg/lib/query.js +252 -0
- package/dist/server/node_modules/pg/lib/result.js +109 -0
- package/dist/server/node_modules/pg/lib/stream.js +83 -0
- package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
- package/dist/server/node_modules/pg/lib/utils.js +217 -0
- package/dist/server/node_modules/pg/package.json +76 -0
- package/dist/server/node_modules/pg-int8/LICENSE +13 -0
- package/dist/server/node_modules/pg-int8/README.md +16 -0
- package/dist/server/node_modules/pg-int8/index.js +100 -0
- package/dist/server/node_modules/pg-int8/package.json +24 -0
- package/dist/server/node_modules/postgres-array/index.d.ts +4 -0
- package/dist/server/node_modules/postgres-array/index.js +97 -0
- package/dist/server/node_modules/postgres-array/license +21 -0
- package/dist/server/node_modules/postgres-array/package.json +35 -0
- package/dist/server/node_modules/postgres-array/readme.md +43 -0
- package/dist/server/node_modules/postgres-bytea/index.js +33 -0
- package/dist/server/node_modules/postgres-bytea/license +21 -0
- package/dist/server/node_modules/postgres-bytea/package.json +34 -0
- package/dist/server/node_modules/postgres-bytea/readme.md +34 -0
- package/dist/server/node_modules/postgres-date/index.js +116 -0
- package/dist/server/node_modules/postgres-date/license +21 -0
- package/dist/server/node_modules/postgres-date/package.json +33 -0
- package/dist/server/node_modules/postgres-date/readme.md +49 -0
- package/dist/server/node_modules/postgres-interval/index.d.ts +20 -0
- package/dist/server/node_modules/postgres-interval/index.js +125 -0
- package/dist/server/node_modules/postgres-interval/license +21 -0
- package/dist/server/node_modules/postgres-interval/package.json +36 -0
- package/dist/server/node_modules/postgres-interval/readme.md +48 -0
- package/dist/server/node_modules/split2/LICENSE +13 -0
- package/dist/server/node_modules/split2/README.md +85 -0
- package/dist/server/node_modules/split2/bench.js +27 -0
- package/dist/server/node_modules/split2/index.js +141 -0
- package/dist/server/node_modules/split2/package.json +39 -0
- package/dist/server/node_modules/split2/test.js +409 -0
- package/dist/server/server.js +54 -63
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-C23uGGTh.js +0 -1
- package/dist/client/assets/registry-SRrrOWaz.js +0 -2
- package/dist/client/assets/store-registry-DNpjvrs_.js +0 -2
- package/dist/client/assets/useInfiniteQuery-DZyvg0dy.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DItg4qEF.js +0 -1
- package/dist/client/assets/workflow-detail-C-1jRApT.js +0 -1
- package/dist/server/node_modules/ansi-regex/index.d.ts +0 -33
- package/dist/server/node_modules/ansi-regex/index.js +0 -14
- package/dist/server/node_modules/ansi-regex/package.json +0 -61
- package/dist/server/node_modules/ansi-regex/readme.md +0 -66
- /package/dist/server/node_modules/{ansi-regex → get-east-asian-width}/license +0 -0
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const test = require('tape')
|
|
4
|
+
const split = require('./')
|
|
5
|
+
const callback = require('callback-stream')
|
|
6
|
+
const strcb = callback.bind(null, { decodeStrings: false })
|
|
7
|
+
const objcb = callback.bind(null, { objectMode: true })
|
|
8
|
+
|
|
9
|
+
test('split two lines on end', function (t) {
|
|
10
|
+
t.plan(2)
|
|
11
|
+
|
|
12
|
+
const input = split()
|
|
13
|
+
|
|
14
|
+
input.pipe(strcb(function (err, list) {
|
|
15
|
+
t.error(err)
|
|
16
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
17
|
+
}))
|
|
18
|
+
|
|
19
|
+
input.end('hello\nworld')
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
test('split two lines on two writes', function (t) {
|
|
23
|
+
t.plan(2)
|
|
24
|
+
|
|
25
|
+
const input = split()
|
|
26
|
+
|
|
27
|
+
input.pipe(strcb(function (err, list) {
|
|
28
|
+
t.error(err)
|
|
29
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
30
|
+
}))
|
|
31
|
+
|
|
32
|
+
input.write('hello')
|
|
33
|
+
input.write('\nworld')
|
|
34
|
+
input.end()
|
|
35
|
+
})
|
|
36
|
+
|
|
37
|
+
test('split four lines on three writes', function (t) {
|
|
38
|
+
t.plan(2)
|
|
39
|
+
|
|
40
|
+
const input = split()
|
|
41
|
+
|
|
42
|
+
input.pipe(strcb(function (err, list) {
|
|
43
|
+
t.error(err)
|
|
44
|
+
t.deepEqual(list, ['hello', 'world', 'bye', 'world'])
|
|
45
|
+
}))
|
|
46
|
+
|
|
47
|
+
input.write('hello\nwor')
|
|
48
|
+
input.write('ld\nbye\nwo')
|
|
49
|
+
input.write('rld')
|
|
50
|
+
input.end()
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
test('accumulate multiple writes', function (t) {
|
|
54
|
+
t.plan(2)
|
|
55
|
+
|
|
56
|
+
const input = split()
|
|
57
|
+
|
|
58
|
+
input.pipe(strcb(function (err, list) {
|
|
59
|
+
t.error(err)
|
|
60
|
+
t.deepEqual(list, ['helloworld'])
|
|
61
|
+
}))
|
|
62
|
+
|
|
63
|
+
input.write('hello')
|
|
64
|
+
input.write('world')
|
|
65
|
+
input.end()
|
|
66
|
+
})
|
|
67
|
+
|
|
68
|
+
test('split using a custom string matcher', function (t) {
|
|
69
|
+
t.plan(2)
|
|
70
|
+
|
|
71
|
+
const input = split('~')
|
|
72
|
+
|
|
73
|
+
input.pipe(strcb(function (err, list) {
|
|
74
|
+
t.error(err)
|
|
75
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
76
|
+
}))
|
|
77
|
+
|
|
78
|
+
input.end('hello~world')
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
test('split using a custom regexp matcher', function (t) {
|
|
82
|
+
t.plan(2)
|
|
83
|
+
|
|
84
|
+
const input = split(/~/)
|
|
85
|
+
|
|
86
|
+
input.pipe(strcb(function (err, list) {
|
|
87
|
+
t.error(err)
|
|
88
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
89
|
+
}))
|
|
90
|
+
|
|
91
|
+
input.end('hello~world')
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
test('support an option argument', function (t) {
|
|
95
|
+
t.plan(2)
|
|
96
|
+
|
|
97
|
+
const input = split({ highWaterMark: 2 })
|
|
98
|
+
|
|
99
|
+
input.pipe(strcb(function (err, list) {
|
|
100
|
+
t.error(err)
|
|
101
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
102
|
+
}))
|
|
103
|
+
|
|
104
|
+
input.end('hello\nworld')
|
|
105
|
+
})
|
|
106
|
+
|
|
107
|
+
test('support a mapper function', function (t) {
|
|
108
|
+
t.plan(2)
|
|
109
|
+
|
|
110
|
+
const a = { a: '42' }
|
|
111
|
+
const b = { b: '24' }
|
|
112
|
+
|
|
113
|
+
const input = split(JSON.parse)
|
|
114
|
+
|
|
115
|
+
input.pipe(objcb(function (err, list) {
|
|
116
|
+
t.error(err)
|
|
117
|
+
t.deepEqual(list, [a, b])
|
|
118
|
+
}))
|
|
119
|
+
|
|
120
|
+
input.write(JSON.stringify(a))
|
|
121
|
+
input.write('\n')
|
|
122
|
+
input.end(JSON.stringify(b))
|
|
123
|
+
})
|
|
124
|
+
|
|
125
|
+
test('split lines windows-style', function (t) {
|
|
126
|
+
t.plan(2)
|
|
127
|
+
|
|
128
|
+
const input = split()
|
|
129
|
+
|
|
130
|
+
input.pipe(strcb(function (err, list) {
|
|
131
|
+
t.error(err)
|
|
132
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
133
|
+
}))
|
|
134
|
+
|
|
135
|
+
input.end('hello\r\nworld')
|
|
136
|
+
})
|
|
137
|
+
|
|
138
|
+
test('splits a buffer', function (t) {
|
|
139
|
+
t.plan(2)
|
|
140
|
+
|
|
141
|
+
const input = split()
|
|
142
|
+
|
|
143
|
+
input.pipe(strcb(function (err, list) {
|
|
144
|
+
t.error(err)
|
|
145
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
146
|
+
}))
|
|
147
|
+
|
|
148
|
+
input.end(Buffer.from('hello\nworld'))
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
test('do not end on undefined', function (t) {
|
|
152
|
+
t.plan(2)
|
|
153
|
+
|
|
154
|
+
const input = split(function (line) { })
|
|
155
|
+
|
|
156
|
+
input.pipe(strcb(function (err, list) {
|
|
157
|
+
t.error(err)
|
|
158
|
+
t.deepEqual(list, [])
|
|
159
|
+
}))
|
|
160
|
+
|
|
161
|
+
input.end(Buffer.from('hello\nworld'))
|
|
162
|
+
})
|
|
163
|
+
|
|
164
|
+
test('has destroy method', function (t) {
|
|
165
|
+
t.plan(1)
|
|
166
|
+
|
|
167
|
+
const input = split(function (line) { })
|
|
168
|
+
|
|
169
|
+
input.on('close', function () {
|
|
170
|
+
t.ok(true, 'close emitted')
|
|
171
|
+
t.end()
|
|
172
|
+
})
|
|
173
|
+
|
|
174
|
+
input.destroy()
|
|
175
|
+
})
|
|
176
|
+
|
|
177
|
+
test('support custom matcher and mapper', function (t) {
|
|
178
|
+
t.plan(4)
|
|
179
|
+
|
|
180
|
+
const a = { a: '42' }
|
|
181
|
+
const b = { b: '24' }
|
|
182
|
+
const input = split('~', JSON.parse)
|
|
183
|
+
|
|
184
|
+
t.equal(input.matcher, '~')
|
|
185
|
+
t.equal(typeof input.mapper, 'function')
|
|
186
|
+
|
|
187
|
+
input.pipe(objcb(function (err, list) {
|
|
188
|
+
t.notOk(err, 'no errors')
|
|
189
|
+
t.deepEqual(list, [a, b])
|
|
190
|
+
}))
|
|
191
|
+
|
|
192
|
+
input.write(JSON.stringify(a))
|
|
193
|
+
input.write('~')
|
|
194
|
+
input.end(JSON.stringify(b))
|
|
195
|
+
})
|
|
196
|
+
|
|
197
|
+
test('support custom matcher and options', function (t) {
|
|
198
|
+
t.plan(6)
|
|
199
|
+
|
|
200
|
+
const input = split('~', { highWaterMark: 1024 })
|
|
201
|
+
|
|
202
|
+
t.equal(input.matcher, '~')
|
|
203
|
+
t.equal(typeof input.mapper, 'function')
|
|
204
|
+
t.equal(input._readableState.highWaterMark, 1024)
|
|
205
|
+
t.equal(input._writableState.highWaterMark, 1024)
|
|
206
|
+
|
|
207
|
+
input.pipe(strcb(function (err, list) {
|
|
208
|
+
t.error(err)
|
|
209
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
210
|
+
}))
|
|
211
|
+
|
|
212
|
+
input.end('hello~world')
|
|
213
|
+
})
|
|
214
|
+
|
|
215
|
+
test('support mapper and options', function (t) {
|
|
216
|
+
t.plan(6)
|
|
217
|
+
|
|
218
|
+
const a = { a: '42' }
|
|
219
|
+
const b = { b: '24' }
|
|
220
|
+
const input = split(JSON.parse, { highWaterMark: 1024 })
|
|
221
|
+
|
|
222
|
+
t.ok(input.matcher instanceof RegExp, 'matcher is RegExp')
|
|
223
|
+
t.equal(typeof input.mapper, 'function')
|
|
224
|
+
t.equal(input._readableState.highWaterMark, 1024)
|
|
225
|
+
t.equal(input._writableState.highWaterMark, 1024)
|
|
226
|
+
|
|
227
|
+
input.pipe(objcb(function (err, list) {
|
|
228
|
+
t.error(err)
|
|
229
|
+
t.deepEqual(list, [a, b])
|
|
230
|
+
}))
|
|
231
|
+
|
|
232
|
+
input.write(JSON.stringify(a))
|
|
233
|
+
input.write('\n')
|
|
234
|
+
input.end(JSON.stringify(b))
|
|
235
|
+
})
|
|
236
|
+
|
|
237
|
+
test('split utf8 chars', function (t) {
|
|
238
|
+
t.plan(2)
|
|
239
|
+
|
|
240
|
+
const input = split()
|
|
241
|
+
|
|
242
|
+
input.pipe(strcb(function (err, list) {
|
|
243
|
+
t.error(err)
|
|
244
|
+
t.deepEqual(list, ['烫烫烫', '锟斤拷'])
|
|
245
|
+
}))
|
|
246
|
+
|
|
247
|
+
const buf = Buffer.from('烫烫烫\r\n锟斤拷', 'utf8')
|
|
248
|
+
for (let i = 0; i < buf.length; ++i) {
|
|
249
|
+
input.write(buf.slice(i, i + 1))
|
|
250
|
+
}
|
|
251
|
+
input.end()
|
|
252
|
+
})
|
|
253
|
+
|
|
254
|
+
test('split utf8 chars 2by2', function (t) {
|
|
255
|
+
t.plan(2)
|
|
256
|
+
|
|
257
|
+
const input = split()
|
|
258
|
+
|
|
259
|
+
input.pipe(strcb(function (err, list) {
|
|
260
|
+
t.error(err)
|
|
261
|
+
t.deepEqual(list, ['烫烫烫', '烫烫烫'])
|
|
262
|
+
}))
|
|
263
|
+
|
|
264
|
+
const str = '烫烫烫\r\n烫烫烫'
|
|
265
|
+
const buf = Buffer.from(str, 'utf8')
|
|
266
|
+
for (let i = 0; i < buf.length; i += 2) {
|
|
267
|
+
input.write(buf.slice(i, i + 2))
|
|
268
|
+
}
|
|
269
|
+
input.end()
|
|
270
|
+
})
|
|
271
|
+
|
|
272
|
+
test('split lines when the \n comes at the end of a chunk', function (t) {
|
|
273
|
+
t.plan(2)
|
|
274
|
+
|
|
275
|
+
const input = split()
|
|
276
|
+
|
|
277
|
+
input.pipe(strcb(function (err, list) {
|
|
278
|
+
t.error(err)
|
|
279
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
280
|
+
}))
|
|
281
|
+
|
|
282
|
+
input.write('hello\n')
|
|
283
|
+
input.end('world')
|
|
284
|
+
})
|
|
285
|
+
|
|
286
|
+
test('truncated utf-8 char', function (t) {
|
|
287
|
+
t.plan(2)
|
|
288
|
+
|
|
289
|
+
const input = split()
|
|
290
|
+
|
|
291
|
+
input.pipe(strcb(function (err, list) {
|
|
292
|
+
t.error(err)
|
|
293
|
+
t.deepEqual(list, ['烫' + Buffer.from('e7', 'hex').toString()])
|
|
294
|
+
}))
|
|
295
|
+
|
|
296
|
+
const str = '烫烫'
|
|
297
|
+
const buf = Buffer.from(str, 'utf8')
|
|
298
|
+
|
|
299
|
+
input.write(buf.slice(0, 3))
|
|
300
|
+
input.end(buf.slice(3, 4))
|
|
301
|
+
})
|
|
302
|
+
|
|
303
|
+
test('maximum buffer limit', function (t) {
|
|
304
|
+
t.plan(1)
|
|
305
|
+
|
|
306
|
+
const input = split({ maxLength: 2 })
|
|
307
|
+
input.on('error', function (err) {
|
|
308
|
+
t.ok(err)
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
input.resume()
|
|
312
|
+
|
|
313
|
+
input.write('hey')
|
|
314
|
+
})
|
|
315
|
+
|
|
316
|
+
test('readable highWaterMark', function (t) {
|
|
317
|
+
const input = split()
|
|
318
|
+
t.equal(input._readableState.highWaterMark, 16)
|
|
319
|
+
t.end()
|
|
320
|
+
})
|
|
321
|
+
|
|
322
|
+
test('maxLength < chunk size', function (t) {
|
|
323
|
+
t.plan(2)
|
|
324
|
+
|
|
325
|
+
const input = split({ maxLength: 2 })
|
|
326
|
+
|
|
327
|
+
input.pipe(strcb(function (err, list) {
|
|
328
|
+
t.error(err)
|
|
329
|
+
t.deepEqual(list, ['a', 'b'])
|
|
330
|
+
}))
|
|
331
|
+
|
|
332
|
+
input.end('a\nb')
|
|
333
|
+
})
|
|
334
|
+
|
|
335
|
+
test('maximum buffer limit w/skip', function (t) {
|
|
336
|
+
t.plan(2)
|
|
337
|
+
|
|
338
|
+
const input = split({ maxLength: 2, skipOverflow: true })
|
|
339
|
+
|
|
340
|
+
input.pipe(strcb(function (err, list) {
|
|
341
|
+
t.error(err)
|
|
342
|
+
t.deepEqual(list, ['a', 'b', 'c'])
|
|
343
|
+
}))
|
|
344
|
+
|
|
345
|
+
input.write('a\n123')
|
|
346
|
+
input.write('456')
|
|
347
|
+
input.write('789\nb\nc')
|
|
348
|
+
input.end()
|
|
349
|
+
})
|
|
350
|
+
|
|
351
|
+
test("don't modify the options object", function (t) {
|
|
352
|
+
t.plan(2)
|
|
353
|
+
|
|
354
|
+
const options = {}
|
|
355
|
+
const input = split(options)
|
|
356
|
+
|
|
357
|
+
input.pipe(strcb(function (err, list) {
|
|
358
|
+
t.error(err)
|
|
359
|
+
t.same(options, {})
|
|
360
|
+
}))
|
|
361
|
+
|
|
362
|
+
input.end()
|
|
363
|
+
})
|
|
364
|
+
|
|
365
|
+
test('mapper throws flush', function (t) {
|
|
366
|
+
t.plan(1)
|
|
367
|
+
const error = new Error()
|
|
368
|
+
const input = split(function () {
|
|
369
|
+
throw error
|
|
370
|
+
})
|
|
371
|
+
|
|
372
|
+
input.on('error', (err, list) => {
|
|
373
|
+
t.same(err, error)
|
|
374
|
+
})
|
|
375
|
+
input.end('hello')
|
|
376
|
+
})
|
|
377
|
+
|
|
378
|
+
test('mapper throws on transform', function (t) {
|
|
379
|
+
t.plan(1)
|
|
380
|
+
|
|
381
|
+
const error = new Error()
|
|
382
|
+
const input = split(function (l) {
|
|
383
|
+
throw error
|
|
384
|
+
})
|
|
385
|
+
|
|
386
|
+
input.on('error', (err) => {
|
|
387
|
+
t.same(err, error)
|
|
388
|
+
})
|
|
389
|
+
input.write('a')
|
|
390
|
+
input.write('\n')
|
|
391
|
+
input.end('b')
|
|
392
|
+
})
|
|
393
|
+
|
|
394
|
+
test('supports Symbol.split', function (t) {
|
|
395
|
+
t.plan(2)
|
|
396
|
+
|
|
397
|
+
const input = split({
|
|
398
|
+
[Symbol.split] (str) {
|
|
399
|
+
return str.split('~')
|
|
400
|
+
}
|
|
401
|
+
})
|
|
402
|
+
|
|
403
|
+
input.pipe(strcb(function (err, list) {
|
|
404
|
+
t.error(err)
|
|
405
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
406
|
+
}))
|
|
407
|
+
|
|
408
|
+
input.end('hello~world')
|
|
409
|
+
})
|
package/dist/server/server.js
CHANGED
|
@@ -6476,112 +6476,103 @@ if (!store.read()) {
|
|
|
6476
6476
|
console.log(\`[daemon] boot_id=\${process.env.DAEMON_BOOT_ID} ready, unclaimed \\u2014 waiting for workload config\`);
|
|
6477
6477
|
}
|
|
6478
6478
|
var firstWorkLogged = false;
|
|
6479
|
+
var CORS_HEADERS = {
|
|
6480
|
+
"Access-Control-Allow-Origin": "*",
|
|
6481
|
+
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE",
|
|
6482
|
+
"Access-Control-Allow-Headers": "Content-Type, Accept, Cache-Control, Authorization"
|
|
6483
|
+
};
|
|
6479
6484
|
Bun.serve({
|
|
6480
6485
|
port: bootConfig.proxyPort,
|
|
6481
6486
|
hostname: "0.0.0.0",
|
|
6482
6487
|
idleTimeout: 0,
|
|
6483
6488
|
async fetch(req, server) {
|
|
6484
|
-
const
|
|
6485
|
-
const
|
|
6489
|
+
const { pathname: p } = new URL(req.url);
|
|
6490
|
+
const { method } = req;
|
|
6486
6491
|
if (p !== "/health" && p !== "/_decopilot_vm/idle") {
|
|
6487
6492
|
bumpActivity();
|
|
6488
6493
|
if (!firstWorkLogged) {
|
|
6489
6494
|
firstWorkLogged = true;
|
|
6490
|
-
console.log(\`[daemon] boot_id=\${process.env.DAEMON_BOOT_ID} first request: METHOD=\${
|
|
6495
|
+
console.log(\`[daemon] boot_id=\${process.env.DAEMON_BOOT_ID} first request: METHOD=\${method} PATH=\${p}\`);
|
|
6491
6496
|
}
|
|
6492
6497
|
}
|
|
6493
6498
|
if (req.headers.get("upgrade")?.toLowerCase() === "websocket" && !p.startsWith("/_decopilot_vm/")) {
|
|
6494
6499
|
const ok = server.upgrade(req, { data: wsProxy.upgradeData(req) });
|
|
6495
|
-
|
|
6496
|
-
return;
|
|
6497
|
-
return new Response("Upgrade failed", { status: 400 });
|
|
6500
|
+
return ok ? undefined : new Response("Upgrade failed", { status: 400 });
|
|
6498
6501
|
}
|
|
6499
|
-
if (
|
|
6502
|
+
if (method === "GET" && p === "/health")
|
|
6500
6503
|
return healthH();
|
|
6501
|
-
if (
|
|
6504
|
+
if (!p.startsWith("/_decopilot_vm/"))
|
|
6505
|
+
return proxyH(req);
|
|
6506
|
+
const vmPath = p.slice("/_decopilot_vm".length);
|
|
6507
|
+
if (method === "GET" && vmPath === "/idle")
|
|
6502
6508
|
return idleH();
|
|
6503
|
-
if (
|
|
6509
|
+
if (method === "GET" && vmPath === "/events")
|
|
6504
6510
|
return eventsH();
|
|
6505
|
-
if (
|
|
6511
|
+
if (method === "GET" && vmPath === "/scripts")
|
|
6506
6512
|
return scriptsHandler();
|
|
6507
|
-
if (
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6513
|
+
if (method === "OPTIONS")
|
|
6514
|
+
return new Response(null, { status: 204, headers: CORS_HEADERS });
|
|
6515
|
+
const denied = requireToken(req, bootConfig.daemonToken);
|
|
6516
|
+
if (denied)
|
|
6517
|
+
return denied;
|
|
6518
|
+
if (vmPath === "/config") {
|
|
6519
|
+
if (method === "GET")
|
|
6512
6520
|
return configReadH();
|
|
6513
|
-
if (
|
|
6521
|
+
if (method === "PUT" || method === "POST") {
|
|
6514
6522
|
const res = await configUpdateH(req);
|
|
6515
6523
|
if (res.status === 200)
|
|
6516
6524
|
markClaimed();
|
|
6517
6525
|
return res;
|
|
6518
6526
|
}
|
|
6519
6527
|
}
|
|
6520
|
-
if (
|
|
6521
|
-
|
|
6522
|
-
if (denied)
|
|
6523
|
-
return denied;
|
|
6524
|
-
if (req.method === "GET" && p === "/_decopilot_vm/tasks")
|
|
6528
|
+
if (vmPath.startsWith("/tasks")) {
|
|
6529
|
+
if (method === "GET" && vmPath === "/tasks")
|
|
6525
6530
|
return tasksListH(req);
|
|
6526
|
-
if (
|
|
6531
|
+
if (method === "POST" && vmPath === "/tasks/kill-all")
|
|
6527
6532
|
return tasksKillAllH();
|
|
6528
|
-
if (
|
|
6533
|
+
if (method === "GET" && /^\\/tasks\\/[^/]+\\/stream$/.test(vmPath))
|
|
6529
6534
|
return tasksStreamH(req);
|
|
6530
|
-
if (
|
|
6535
|
+
if (method === "POST" && /^\\/tasks\\/[^/]+\\/kill$/.test(vmPath))
|
|
6531
6536
|
return tasksKillH(req);
|
|
6532
|
-
if (
|
|
6537
|
+
if (method === "DELETE" && /^\\/tasks\\/[^/]+$/.test(vmPath))
|
|
6533
6538
|
return tasksDeleteH(req);
|
|
6534
|
-
if (
|
|
6539
|
+
if (method === "GET" && /^\\/tasks\\/[^/]+$/.test(vmPath))
|
|
6535
6540
|
return tasksGetH(req);
|
|
6536
6541
|
}
|
|
6537
|
-
if (
|
|
6538
|
-
|
|
6539
|
-
if (denied)
|
|
6540
|
-
return denied;
|
|
6541
|
-
if (p === "/_decopilot_vm/read")
|
|
6542
|
+
if (method === "POST") {
|
|
6543
|
+
if (vmPath === "/read")
|
|
6542
6544
|
return readH(req);
|
|
6543
|
-
if (
|
|
6545
|
+
if (vmPath === "/write")
|
|
6544
6546
|
return writeH(req);
|
|
6545
|
-
if (
|
|
6547
|
+
if (vmPath === "/edit")
|
|
6546
6548
|
return editH(req);
|
|
6547
|
-
if (
|
|
6549
|
+
if (vmPath === "/grep")
|
|
6548
6550
|
return grepH(req);
|
|
6549
|
-
if (
|
|
6551
|
+
if (vmPath === "/glob")
|
|
6550
6552
|
return globH(req);
|
|
6551
|
-
if (
|
|
6553
|
+
if (vmPath === "/write_from_url")
|
|
6552
6554
|
return writeFromUrlH(req);
|
|
6553
|
-
if (
|
|
6555
|
+
if (vmPath === "/upload_to_url")
|
|
6554
6556
|
return uploadToUrlH(req);
|
|
6555
|
-
if (
|
|
6557
|
+
if (vmPath === "/bash")
|
|
6556
6558
|
return bashH(req);
|
|
6557
|
-
if (
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6559
|
+
if (vmPath.startsWith("/exec/")) {
|
|
6560
|
+
if (vmPath.endsWith("/kill")) {
|
|
6561
|
+
const rawName = vmPath.slice("/exec/".length, -"/kill".length);
|
|
6562
|
+
let name;
|
|
6563
|
+
try {
|
|
6564
|
+
name = decodeURIComponent(rawName);
|
|
6565
|
+
} catch {
|
|
6566
|
+
return jsonResponse({ error: "invalid script name" }, 400);
|
|
6567
|
+
}
|
|
6568
|
+
return jsonResponse({
|
|
6569
|
+
killed: taskManager.killByLogName(name, { intentional: true })
|
|
6570
|
+
});
|
|
6564
6571
|
}
|
|
6565
|
-
const killed = taskManager.killByLogName(name, { intentional: true });
|
|
6566
|
-
return jsonResponse({ killed });
|
|
6567
|
-
}
|
|
6568
|
-
if (p.startsWith("/_decopilot_vm/exec/"))
|
|
6569
6572
|
return execH(req);
|
|
6573
|
+
}
|
|
6570
6574
|
}
|
|
6571
|
-
|
|
6572
|
-
return new Response(null, {
|
|
6573
|
-
status: 204,
|
|
6574
|
-
headers: {
|
|
6575
|
-
"Access-Control-Allow-Origin": "*",
|
|
6576
|
-
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE",
|
|
6577
|
-
"Access-Control-Allow-Headers": "Content-Type, Accept, Cache-Control, Authorization"
|
|
6578
|
-
}
|
|
6579
|
-
});
|
|
6580
|
-
}
|
|
6581
|
-
if (p.startsWith("/_decopilot_vm/")) {
|
|
6582
|
-
return jsonResponse({ error: \`Not found: \${p}\` }, 404);
|
|
6583
|
-
}
|
|
6584
|
-
return proxyH(req);
|
|
6575
|
+
return jsonResponse({ error: \`Not found: \${p}\` }, 404);
|
|
6585
6576
|
},
|
|
6586
6577
|
websocket: {
|
|
6587
6578
|
open: wsProxy.open,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as t,j as i}from"./index-C4DcQ8LW.js";import{O as m}from"./select-model-BkJ0KPp-.js";import"./checkbox-BCxF1VyO.js";import"./Check-C0YCNcAk.js";import"./input-Zc7XqLBz.js";import"./dialog-BxXbq3AD.js";import"./X-EkEnxljM.js";import"./drawer-UeGl-sjm.js";import"./tooltip-CC8e8bYw.js";import"./select-CdC5gLdi.js";import"./ChevronDown-Cwqb-1uD.js";import"./ChevronUp-BMBmNR0B.js";import"./skeleton-jCfWKtEG.js";import"./Tool01-CKIVHH97.js";import"./RefreshCcw01-BS-aU6o_.js";import"./SearchMd-DLpvei6Y.js";import"./Settings02-DIJ_hqNi.js";import"./use-ai-providers-B2sC2ALY.js";import"./constants--Dugzbiv.js";import"./chat-context-D0lbPtlR.js";import"./use-virtual-mcp-DA2HdrC3.js";import"./use-collections-CeVghh3K.js";import"./use-decopilot-events-YJpIJj4i.js";import"./create-sse-subscription-CxkOgzKf.js";import"./use-tasks-DToWWiz1.js";import"./use-organization-settings-SrrzYdc9.js";import"./ai-providers-logos-DD3qZ33J.js";import"./Zap-nGrPPn6s.js";import"./use-debounced-autosave-DwUIvZBw.js";import"./AlertCircle-9Ey0HjEK.js";import"./CheckCircle-DC6iqfFI.js";import"./Trash01-CGR2s5lX.js";import"./index-C1CY6-RI.js";import"./settings-section-Dab3WzAF.js";import"./card-DQgc505G.js";import"./ArrowUpRight-Dnm-Dm1H.js";import"./switch-fkgGJ6Y_.js";import"./toggle-group-B-jspLpZ.js";import"./avatar-CCEBXDhS.js";import"./User01-TUOjLrvV.js";import"./alert-dialog-CUlBW44D.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./unwrap-tool-result-BYXdCQMg.js";function V(){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{V as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-DhmXFNYV.js","assets/index-C4DcQ8LW.js","assets/index-CpHJcJk3.css","assets/ArrowNarrowLeft-CX80utcZ.js","assets/CheckCircle-DC6iqfFI.js","assets/Container-Bk9UG2qc.js","assets/Settings02-DIJ_hqNi.js","assets/XCircle-DX3ew0Vv.js","assets/constants--Dugzbiv.js","assets/useInfiniteQuery-DZyvg0dy.js","assets/infiniteQueryObserver-M5HXhTa-.js","assets/badge-Br91qQU7.js","assets/input-Zc7XqLBz.js","assets/dropdown-menu-DQ7iI93C.js","assets/Check-C0YCNcAk.js","assets/ChevronRight-CrWz1sFy.js","assets/DotsVertical-B7yU948Y.js","assets/table-B_6GznCu.js","assets/toggle-group-B-jspLpZ.js","assets/use-view-mode-BqpScb5m.js","assets/tooltip-CC8e8bYw.js","assets/SearchMd-DLpvei6Y.js","assets/dialog-BxXbq3AD.js","assets/X-EkEnxljM.js","assets/AlertCircle-9Ey0HjEK.js","assets/alert-dialog-CUlBW44D.js","assets/card-DQgc505G.js","assets/Trash01-CGR2s5lX.js","assets/label-DQVfYyGa.js","assets/select-CdC5gLdi.js","assets/ChevronDown-Cwqb-1uD.js","assets/ChevronUp-BMBmNR0B.js","assets/switch-fkgGJ6Y_.js","assets/textarea-C2BrY9Le.js","assets/RefreshCcw01-BS-aU6o_.js","assets/checkbox-BCxF1VyO.js","assets/LinkExternal01-DxfMOMNm.js","assets/use-copy-DR2hWJaD.js","assets/Plus-LaAbD5qL.js","assets/Play-DT05vsyX.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as a,j as t,r,l as i,_ as o}from"./index-C4DcQ8LW.js";const n=r.lazy(()=>o(()=>import("./registry-layout-DhmXFNYV.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,38,39])));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-DhmXFNYV.js","assets/index-C4DcQ8LW.js","assets/index-CpHJcJk3.css","assets/ArrowNarrowLeft-CX80utcZ.js","assets/CheckCircle-DC6iqfFI.js","assets/Container-Bk9UG2qc.js","assets/Settings02-DIJ_hqNi.js","assets/XCircle-DX3ew0Vv.js","assets/constants--Dugzbiv.js","assets/useInfiniteQuery-DZyvg0dy.js","assets/infiniteQueryObserver-M5HXhTa-.js","assets/badge-Br91qQU7.js","assets/input-Zc7XqLBz.js","assets/dropdown-menu-DQ7iI93C.js","assets/Check-C0YCNcAk.js","assets/ChevronRight-CrWz1sFy.js","assets/DotsVertical-B7yU948Y.js","assets/table-B_6GznCu.js","assets/toggle-group-B-jspLpZ.js","assets/use-view-mode-BqpScb5m.js","assets/tooltip-CC8e8bYw.js","assets/SearchMd-DLpvei6Y.js","assets/dialog-BxXbq3AD.js","assets/X-EkEnxljM.js","assets/AlertCircle-9Ey0HjEK.js","assets/alert-dialog-CUlBW44D.js","assets/card-DQgc505G.js","assets/Trash01-CGR2s5lX.js","assets/label-DQVfYyGa.js","assets/select-CdC5gLdi.js","assets/ChevronDown-Cwqb-1uD.js","assets/ChevronUp-BMBmNR0B.js","assets/switch-fkgGJ6Y_.js","assets/textarea-C2BrY9Le.js","assets/RefreshCcw01-BS-aU6o_.js","assets/checkbox-BCxF1VyO.js","assets/LinkExternal01-DxfMOMNm.js","assets/use-copy-DR2hWJaD.js","assets/Plus-LaAbD5qL.js","assets/Play-DT05vsyX.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,_ as u}from"./index-C4DcQ8LW.js";const _=l.lazy(()=>u(()=>import("./registry-layout-DhmXFNYV.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,38,39])));function x(){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(_,{onBack:()=>o({to:"/$org/settings/store",params:{org:i}})})}),e[2]=o,e[3]=i,e[4]=a):a=e[4],a}export{x as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-M5HXhTa-.js";import{c2 as i}from"./index-C4DcQ8LW.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./infiniteQueryObserver-M5HXhTa-.js";import{c2 as u,c3 as n}from"./index-C4DcQ8LW.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a 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-C4DcQ8LW.js";import{a as f}from"./index-C7x_kc-H.js";import"./index-CwEMRsg9.js";import"./constants--Dugzbiv.js";import"./collections-C9L2aOYp.js";import"./index-D2MseDzL.js";import"./use-virtual-mcp-DA2HdrC3.js";import"./use-collections-CeVghh3K.js";import"./monaco-editor-BluEEKw9.js";import"./index-DUyJmZSw.js";import"./accordion-CVBGYkjx.js";import"./agent-icon-C5r21-mU.js";import"./AlertCircle-9Ey0HjEK.js";import"./Tool01-CKIVHH97.js";import"./Archive-DPagM8Sv.js";import"./XClose-Bgl_mrN0.js";import"./RefreshCcw01-BS-aU6o_.js";import"./ArrowNarrowLeft-CX80utcZ.js";import"./XCircle-DX3ew0Vv.js";import"./ArrowUpRight-Dnm-Dm1H.js";import"./ZapSquare-3WrsQC0a.js";import"./Users03-CrFC9gy5.js";import"./CheckCircle-DC6iqfFI.js";import"./Check-C0YCNcAk.js";import"./ChevronDown-Cwqb-1uD.js";import"./ChevronRight-CrWz1sFy.js";import"./ChevronUp-BMBmNR0B.js";import"./DotsVertical-B7yU948Y.js";import"./Container-Bk9UG2qc.js";import"./Star01-Dr3hv_f2.js";import"./Palette-BhAbwiYB.js";import"./SearchMd-DLpvei6Y.js";import"./index-C1CY6-RI.js";import"./tooltip-CC8e8bYw.js";import"./X-EkEnxljM.js";import"./LinkExternal01-DxfMOMNm.js";import"./Lock01-Cds15CcD.js";import"./Sun-Cjk_RdSq.js";import"./Play-DT05vsyX.js";import"./Plus-LaAbD5qL.js";import"./Settings02-DIJ_hqNi.js";import"./Shield01-B0gusvIt.js";import"./Trash01-CGR2s5lX.js";import"./User01-TUOjLrvV.js";import"./Zap-nGrPPn6s.js";import"./badge-Br91qQU7.js";import"./select-CdC5gLdi.js";import"./view-mode-toggle-DlPw4C1T.js";import"./layout-DoXFaFc9.js";import"./use-connection-Cyq0iJ5j.js";import"./use-mcp-tools-CPgnB2kL.js";import"./dialog-BxXbq3AD.js";import"./index-CpyFP_Y6.js";import"./dropdown-menu-DQ7iI93C.js";import"./integration-icon-dIK4SySX.js";import"./scroll-area-DDk0Exbn.js";import"./index-CeMlJGK7.js";import"./empty-state-CKzOWRtK.js";import"./create-sse-subscription-CxkOgzKf.js";import"./input-Zc7XqLBz.js";function Et(){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{Et as default};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export type Options = {
|
|
2
|
-
/**
|
|
3
|
-
Match only the first ANSI escape.
|
|
4
|
-
|
|
5
|
-
@default false
|
|
6
|
-
*/
|
|
7
|
-
readonly onlyFirst: boolean;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
Regular expression for matching ANSI escape codes.
|
|
12
|
-
|
|
13
|
-
@example
|
|
14
|
-
```
|
|
15
|
-
import ansiRegex from 'ansi-regex';
|
|
16
|
-
|
|
17
|
-
ansiRegex().test('\u001B[4mcake\u001B[0m');
|
|
18
|
-
//=> true
|
|
19
|
-
|
|
20
|
-
ansiRegex().test('cake');
|
|
21
|
-
//=> false
|
|
22
|
-
|
|
23
|
-
'\u001B[4mcake\u001B[0m'.match(ansiRegex());
|
|
24
|
-
//=> ['\u001B[4m', '\u001B[0m']
|
|
25
|
-
|
|
26
|
-
'\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true}));
|
|
27
|
-
//=> ['\u001B[4m']
|
|
28
|
-
|
|
29
|
-
'\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex());
|
|
30
|
-
//=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007']
|
|
31
|
-
```
|
|
32
|
-
*/
|
|
33
|
-
export default function ansiRegex(options?: Options): RegExp;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export default function ansiRegex({onlyFirst = false} = {}) {
|
|
2
|
-
// Valid string terminator sequences are BEL, ESC\, and 0x9c
|
|
3
|
-
const ST = '(?:\\u0007|\\u001B\\u005C|\\u009C)';
|
|
4
|
-
|
|
5
|
-
// OSC sequences only: ESC ] ... ST (non-greedy until the first ST)
|
|
6
|
-
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
|
|
7
|
-
|
|
8
|
-
// CSI and related: ESC/C1, optional intermediates, optional params (supports ; and :) then final byte
|
|
9
|
-
const csi = '[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]';
|
|
10
|
-
|
|
11
|
-
const pattern = `${osc}|${csi}`;
|
|
12
|
-
|
|
13
|
-
return new RegExp(pattern, onlyFirst ? undefined : 'g');
|
|
14
|
-
}
|