abstra 3.23.3__py3-none-any.whl → 3.23.5__py3-none-any.whl
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.
- {abstra-3.23.3.dist-info → abstra-3.23.5.dist-info}/METADATA +1 -1
- {abstra-3.23.3.dist-info → abstra-3.23.5.dist-info}/RECORD +191 -192
- abstra_internals/contracts_generated.py +660 -652
- abstra_internals/controllers/execution/consumer.py +27 -39
- abstra_internals/controllers/execution/execution.py +7 -4
- abstra_internals/controllers/execution/execution_client.py +2 -11
- abstra_internals/controllers/execution/execution_client_form.py +10 -11
- abstra_internals/controllers/execution/execution_client_hook.py +3 -9
- abstra_internals/controllers/execution/execution_stdio.py +3 -14
- abstra_internals/controllers/execution/execution_test.py +5 -9
- abstra_internals/controllers/execution/worker_process.py +8 -33
- abstra_internals/controllers/main.py +18 -26
- abstra_internals/controllers/workflows.py +33 -0
- abstra_internals/entities/execution_context.py +1 -0
- abstra_internals/entities/execution_test.py +6 -3
- abstra_internals/entities/forms/widgets/file_upload.py +1 -1
- abstra_internals/interface/cli/editor.py +6 -3
- abstra_internals/interface/sdk/forms/deprecated/page_test.py +6 -8
- abstra_internals/interface/sdk/tables/api_test.py +1 -7
- abstra_internals/logs_watcher.py +13 -6
- abstra_internals/repositories/consumer.py +1 -3
- abstra_internals/repositories/factory.py +7 -6
- abstra_internals/repositories/producer.py +7 -41
- abstra_internals/repositories/project/project_test.py +1 -6
- abstra_internals/repositories/tasks.py +8 -4
- abstra_internals/server/blueprints/player.py +39 -24
- abstra_internals/server/guards/role_guard_test.py +1 -6
- abstra_internals/server/routes/forms.py +10 -3
- abstra_internals/server/routes/mcp.py +2 -1
- abstra_internals/server/routes/stdio.py +3 -3
- abstra_internals/stdio_patcher.py +4 -4
- abstra_internals/tasks_watcher.py +59 -0
- abstra_internals/utils/ai.py +4 -9
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.ad9e23f0.js +2 -0
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.ee29465c.js +2 -0
- abstra_statics/dist/assets/ApiKeys.958a2342.js +2 -0
- abstra_statics/dist/assets/App.6c9e1d73.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.46bbdba5.js +2 -0
- abstra_statics/dist/assets/{BaseLayout.670b8441.js → BaseLayout.d4459d3a.js} +2 -2
- abstra_statics/dist/assets/{Billing.80a50079.js → Billing.920e2b19.js} +2 -2
- abstra_statics/dist/assets/{Breadcrumb.1d42c80c.js → Breadcrumb.2d9d636f.js} +2 -2
- abstra_statics/dist/assets/{Builds.4641dcf9.js → Builds.11e86dae.js} +2 -2
- abstra_statics/dist/assets/{Card.774e5d67.js → Card.0b4293e1.js} +2 -2
- abstra_statics/dist/assets/{CircularLoading.02fd7b7b.js → CircularLoading.e2f7dd80.js} +2 -2
- abstra_statics/dist/assets/CloseCircleOutlined.196a309a.js +2 -0
- abstra_statics/dist/assets/{ConnectorsView.746c7417.js → ConnectorsView.cda5c60f.js} +2 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.4d7bb007.js +2 -0
- abstra_statics/dist/assets/{ContentLayout.4fc85c66.js → ContentLayout.69b8ab09.js} +2 -2
- abstra_statics/dist/assets/{CrudView.7f2cbde4.js → CrudView.56ebce1a.js} +2 -2
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.4eb7d335.js +2 -0
- abstra_statics/dist/assets/{EditorLogin.45764526.js → EditorLogin.a10e3a50.js} +2 -2
- abstra_statics/dist/assets/{EditorsView.e9452d34.js → EditorsView.1925d1b5.js} +2 -2
- abstra_statics/dist/assets/EnvVars.67eed38a.js +2 -0
- abstra_statics/dist/assets/Error.66a8e630.js +2 -0
- abstra_statics/dist/assets/ExclamationCircleOutlined.3ef65f87.js +2 -0
- abstra_statics/dist/assets/{Files.8bcd4d1f.js → Files.e978e721.js} +2 -2
- abstra_statics/dist/assets/{Form.288a7191.js → Form.ba1aeab0.js} +2 -2
- abstra_statics/dist/assets/{FormRunner.f721431d.js → FormRunner.1a6e12cb.js} +2 -2
- abstra_statics/dist/assets/Home.2871cae9.js +2 -0
- abstra_statics/dist/assets/Home.de257b98.js +2 -0
- abstra_statics/dist/assets/{Live.2bbd1666.js → Live.cf58dd01.js} +2 -2
- abstra_statics/dist/assets/LoadingContainer.e6a98e2f.js +2 -0
- abstra_statics/dist/assets/LoadingOutlined.398021fd.js +2 -0
- abstra_statics/dist/assets/Login.604d7bbd.js +2 -0
- abstra_statics/dist/assets/{Login.186f24a9.js → Login.605b23e8.js} +2 -2
- abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.fab46c0c.js → Login.vue_vue_type_script_setup_true_lang.a8986f39.js} +2 -2
- abstra_statics/dist/assets/Logo.0fee0801.js +2 -0
- abstra_statics/dist/assets/Logs.e15923a0.js +2 -0
- abstra_statics/dist/assets/LogsController.35cad159.js +2 -0
- abstra_statics/dist/assets/Main.17024018.js +2 -0
- abstra_statics/dist/assets/{MockForm.9b6a244c.js → MockForm.603b1cbb.js} +2 -2
- abstra_statics/dist/assets/Navbar.d4751f52.js +2 -0
- abstra_statics/dist/assets/{NewEditor.1d7ddf86.js → NewEditor.bd4c258c.js} +5 -5
- abstra_statics/dist/assets/OidcLoginCallback.14f293b0.js +2 -0
- abstra_statics/dist/assets/OidcLogoutCallback.cb05eca4.js +2 -0
- abstra_statics/dist/assets/{OmniChat.5e68be1c.js → OmniChat.6d6fed9c.js} +2 -2
- abstra_statics/dist/assets/{OnboardingView.8733d184.js → OnboardingView.546afa14.js} +2 -2
- abstra_statics/dist/assets/{Organization.bcb76b94.js → Organization.a7309bfd.js} +2 -2
- abstra_statics/dist/assets/Organizations.91c269e6.js +2 -0
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.d273955f.js → PhArrowCounterClockwise.vue.2706c012.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.0d20b8e9.js → PhArrowSquareOut.vue.06e1e087.js} +2 -2
- abstra_statics/dist/assets/{PhBookBookmark.vue.8611e54f.js → PhBookBookmark.vue.b9569168.js} +2 -2
- abstra_statics/dist/assets/{PhChats.vue.3dd1c2d7.js → PhChats.vue.bb8ced1d.js} +2 -2
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.853bd5ec.js → PhClockCounterClockwise.vue.4252e6be.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.b1c2f21f.js → PhCopy.vue.59c3a353.js} +2 -2
- abstra_statics/dist/assets/{PhCopySimple.vue.ffc7ec94.js → PhCopySimple.vue.1c5a0760.js} +2 -2
- abstra_statics/dist/assets/{PhCube.vue.b5e79047.js → PhCube.vue.7728ef5a.js} +2 -2
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.89b627bd.js → PhDotsThreeVertical.vue.275748da.js} +2 -2
- abstra_statics/dist/assets/{PhDownloadSimple.vue.2c2eeb2c.js → PhDownloadSimple.vue.ed1fb44c.js} +2 -2
- abstra_statics/dist/assets/{PhFolderPlus.vue.e199ba17.js → PhFolderPlus.vue.aa7bc872.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.fbac4098.js → PhGear.vue.ab14d56a.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.1850e466.js → PhKey.vue.c0768b68.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.c3c70f7d.js → PhPencil.vue.aaf907d1.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimple.vue.ee9d03fc.js → PhPencilSimple.vue.2580bcf9.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimpleLine.vue.6eedd1e6.js → PhPencilSimpleLine.vue.2c2058ce.js} +2 -2
- abstra_statics/dist/assets/{PhRocket.vue.56a9b767.js → PhRocket.vue.67935a85.js} +2 -2
- abstra_statics/dist/assets/{PhSignOut.vue.ee548b4c.js → PhSignOut.vue.87084f39.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.dc906cc7.js → PhSparkle.vue.707b3721.js} +2 -2
- abstra_statics/dist/assets/{PhUserList.vue.6d0e7bc8.js → PhUserList.vue.907c1a2b.js} +2 -2
- abstra_statics/dist/assets/{PhUsersThree.vue.528ec19f.js → PhUsersThree.vue.2c3539c7.js} +2 -2
- abstra_statics/dist/assets/{PhWebhooksLogo.vue.49b66d69.js → PhWebhooksLogo.vue.1134426a.js} +2 -2
- abstra_statics/dist/assets/{PlayerConfigProvider.ead35c7b.js → PlayerConfigProvider.bee6a260.js} +2 -2
- abstra_statics/dist/assets/{PlayerNavbar.523eb145.js → PlayerNavbar.b15bb1f3.js} +2 -2
- abstra_statics/dist/assets/{Project.d667be48.js → Project.c5ac4ebe.js} +2 -2
- abstra_statics/dist/assets/{ProjectLogin.ed25cb39.js → ProjectLogin.2905a0d6.js} +2 -2
- abstra_statics/dist/assets/{ProjectSettings.78ebb6ae.js → ProjectSettings.e40cc19c.js} +2 -2
- abstra_statics/dist/assets/{ProjectsView.0a9b802f.js → ProjectsView.3df99f87.js} +2 -2
- abstra_statics/dist/assets/{SaveButton.7c95c711.js → SaveButton.5a81e6f5.js} +2 -2
- abstra_statics/dist/assets/{Sidebar.88ff0297.js → Sidebar.f23acdbf.js} +2 -2
- abstra_statics/dist/assets/{Sql.cbcb65af.js → Sql.ea1ee70d.js} +5 -5
- abstra_statics/dist/assets/Steps.ad9ac163.js +2 -0
- abstra_statics/dist/assets/{TableEditor.8166dbd3.js → TableEditor.3150beb1.js} +2 -2
- abstra_statics/dist/assets/Tables.ad8c6f7a.js +2 -0
- abstra_statics/dist/assets/{TablesDiagram.67a07e98.js → TablesDiagram.5d3625d1.js} +2 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.58bcff9a.js +2 -0
- abstra_statics/dist/assets/{Tasks.d7e74b8f.js → Tasks.d5e7bdf2.js} +2 -2
- abstra_statics/dist/assets/{UploadOutlined.6515c426.js → UploadOutlined.5f3b92b7.js} +2 -2
- abstra_statics/dist/assets/{View.2cf966b9.js → View.63e7c09c.js} +2 -2
- abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.17304c45.js → View.vue_vue_type_script_setup_true_lang.a36086e8.js} +2 -2
- abstra_statics/dist/assets/{Watermark.4b6da85c.js → Watermark.a7a7af90.js} +2 -2
- abstra_statics/dist/assets/{WebEditor.969d0862.js → WebEditor.37194274.js} +2 -2
- abstra_statics/dist/assets/{WidgetPreview.6cc6a025.js → WidgetPreview.5d662c77.js} +2 -2
- abstra_statics/dist/assets/ant-design.9bb31d85.js +2 -0
- abstra_statics/dist/assets/apiKey.4f2a122c.js +2 -0
- abstra_statics/dist/assets/asyncComputed.06839806.js +2 -0
- abstra_statics/dist/assets/{build.c819a477.js → build.995e6997.js} +2 -2
- abstra_statics/dist/assets/colorHelpers.eb706cff.js +2 -0
- abstra_statics/dist/assets/{console.072f10aa.js → console.a07258d6.js} +2 -2
- abstra_statics/dist/assets/constants.d30e64e7.js +2 -0
- abstra_statics/dist/assets/{cssMode.b24669f0.js → cssMode.5c9f19b3.js} +2 -2
- abstra_statics/dist/assets/datetime.49213c3c.js +2 -0
- abstra_statics/dist/assets/dayjs.9d20dd08.js +2 -0
- abstra_statics/dist/assets/editor.a151d549.js +2 -0
- abstra_statics/dist/assets/editor.main.f809eb34.js +2 -0
- abstra_statics/dist/assets/fetch.ce34efab.js +2 -0
- abstra_statics/dist/assets/{files.ff551888.js → files.5dcc78be.js} +2 -2
- abstra_statics/dist/assets/{folder.92a70293.js → folder.777c3209.js} +2 -2
- abstra_statics/dist/assets/{freemarker2.c3563cfb.js → freemarker2.385a198f.js} +2 -2
- abstra_statics/dist/assets/{handlebars.bedd8360.js → handlebars.806a8b22.js} +3 -3
- abstra_statics/dist/assets/{html.3cfc37f8.js → html.8df330b0.js} +2 -2
- abstra_statics/dist/assets/{htmlMode.f9c29f9d.js → htmlMode.08713341.js} +2 -2
- abstra_statics/dist/assets/{index.5429e60c.js → index.11470ce1.js} +5 -5
- abstra_statics/dist/assets/index.15909af6.js +2 -0
- abstra_statics/dist/assets/{index.dfc9f500.js → index.227be58a.js} +2 -2
- abstra_statics/dist/assets/{index.9028af84.js → index.440bd76c.js} +2 -2
- abstra_statics/dist/assets/{index.138ad220.js → index.49f6d313.js} +2 -2
- abstra_statics/dist/assets/index.6f004291.js +2 -0
- abstra_statics/dist/assets/{index.a9e83a57.js → index.ad15e486.js} +2 -2
- abstra_statics/dist/assets/{index.26a34a52.js → index.cf5ef754.js} +2 -2
- abstra_statics/dist/assets/{index.b69b3146.js → index.f219d050.js} +2 -2
- abstra_statics/dist/assets/{index.e6b397aa.js → index.fdbbf978.js} +2 -2
- abstra_statics/dist/assets/{javascript.a4a24e63.js → javascript.7e683eb3.js} +2 -2
- abstra_statics/dist/assets/{jsonMode.4df0cb48.js → jsonMode.c71ca5e7.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.esm.b204fb7d.js → jwt-decode.esm.bcf2db26.js} +7 -7
- abstra_statics/dist/assets/linters.1f3c2bdc.js +2 -0
- abstra_statics/dist/assets/{liquid.6539d262.js → liquid.c89ab4d8.js} +3 -3
- abstra_statics/dist/assets/{member.c5283d66.js → member.39a2b810.js} +2 -2
- abstra_statics/dist/assets/{metadata.e6e36ac2.js → metadata.77edb2ef.js} +2 -2
- abstra_statics/dist/assets/{omniChatStore.0470e5b1.js → omniChatStore.13045a23.js} +2 -2
- abstra_statics/dist/assets/{organization.04cff158.js → organization.017d0932.js} +2 -2
- abstra_statics/dist/assets/player.490b5a36.js +2 -0
- abstra_statics/dist/assets/{plotly.min.e185d882.js → plotly.min.ebdb6341.js} +2 -2
- abstra_statics/dist/assets/polling.b53cbe3d.js +2 -0
- abstra_statics/dist/assets/{project.c198d794.js → project.6106c0ae.js} +2 -2
- abstra_statics/dist/assets/{python.5c45007e.js → python.fe5f6c61.js} +3 -3
- abstra_statics/dist/assets/{razor.dbd79c37.js → razor.63a60978.js} +2 -2
- abstra_statics/dist/assets/{record.316e025a.js → record.6b6d4da9.js} +2 -2
- abstra_statics/dist/assets/{redirect.d1904049.js → redirect.b8ba406b.js} +2 -2
- abstra_statics/dist/assets/{repository.ae6e826f.js → repository.54d4a909.js} +2 -2
- abstra_statics/dist/assets/{repository.babdc912.js → repository.f2f5d880.js} +2 -2
- abstra_statics/dist/assets/{router.29d47df0.js → router.e5052323.js} +3 -3
- abstra_statics/dist/assets/{string.4a80abd5.js → string.2f1abff3.js} +2 -2
- abstra_statics/dist/assets/{tables.e80a0328.js → tables.ecf1f359.js} +2 -2
- abstra_statics/dist/assets/{tasksController.307be8dc.js → tasksController.64f43cce.js} +3 -3
- abstra_statics/dist/assets/{toggleHighContrast.4184537f.js → toggleHighContrast.a33c9afc.js} +7 -7
- abstra_statics/dist/assets/{tsMode.12c94eed.js → tsMode.bbb62deb.js} +2 -2
- abstra_statics/dist/assets/{typescript.e087b68e.js → typescript.f3be1a16.js} +3 -3
- abstra_statics/dist/assets/url.79c72bde.js +2 -0
- abstra_statics/dist/assets/userStore.5dca7ff0.js +2 -0
- abstra_statics/dist/assets/uuid.3f5b8acd.js +2 -0
- abstra_statics/dist/assets/{vue-flow-background.402b0a32.js → vue-flow-background.939eca5f.js} +2 -2
- abstra_statics/dist/assets/{vue-quill.esm-bundler.10d49c97.js → vue-quill.esm-bundler.c86df351.js} +2 -2
- abstra_statics/dist/assets/workspaceStore.7283625b.js +2 -0
- abstra_statics/dist/assets/{xml.c4ef7130.js → xml.96392483.js} +3 -3
- abstra_statics/dist/assets/{yaml.5eb27541.js → yaml.96b91a1d.js} +3 -3
- abstra_statics/dist/console.html +15 -15
- abstra_statics/dist/editor.html +11 -11
- abstra_statics/dist/player.html +9 -9
- abstra_internals/utils/threading.py +0 -24
- abstra_internals/utils/websockets.py +0 -79
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.c714d609.js +0 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.37e7ad5b.js +0 -2
- abstra_statics/dist/assets/ApiKeys.94113392.js +0 -2
- abstra_statics/dist/assets/App.6c102d26.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.26121baf.js +0 -2
- abstra_statics/dist/assets/CloseCircleOutlined.7ac8e1e8.js +0 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.b85f86d8.js +0 -2
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.0b26fb89.js +0 -2
- abstra_statics/dist/assets/EnvVars.ccc24231.js +0 -2
- abstra_statics/dist/assets/Error.1bf571a6.js +0 -2
- abstra_statics/dist/assets/ExclamationCircleOutlined.f71fa58b.js +0 -2
- abstra_statics/dist/assets/Home.23f0cff8.js +0 -2
- abstra_statics/dist/assets/Home.5ce6aade.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.3ea9ec8d.js +0 -2
- abstra_statics/dist/assets/LoadingOutlined.11688830.js +0 -2
- abstra_statics/dist/assets/Login.2a4c7e48.js +0 -2
- abstra_statics/dist/assets/Logo.cc2d4a95.js +0 -2
- abstra_statics/dist/assets/Logs.f57284a4.js +0 -2
- abstra_statics/dist/assets/LogsController.353f0002.js +0 -2
- abstra_statics/dist/assets/Main.635e443c.js +0 -2
- abstra_statics/dist/assets/Navbar.dacca218.js +0 -2
- abstra_statics/dist/assets/OidcLoginCallback.0dff6320.js +0 -2
- abstra_statics/dist/assets/OidcLogoutCallback.1f077fbb.js +0 -2
- abstra_statics/dist/assets/Organizations.3dbd99e1.js +0 -2
- abstra_statics/dist/assets/Steps.4c7bc2b0.js +0 -2
- abstra_statics/dist/assets/Tables.0da330b6.js +0 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.2d88acf3.js +0 -2
- abstra_statics/dist/assets/ant-design.771baa34.js +0 -2
- abstra_statics/dist/assets/apiKey.8e591cfc.js +0 -2
- abstra_statics/dist/assets/asyncComputed.0f036eae.js +0 -2
- abstra_statics/dist/assets/colorHelpers.c4e8851c.js +0 -2
- abstra_statics/dist/assets/constants.6f822a9d.js +0 -2
- abstra_statics/dist/assets/datetime.7d5f4744.js +0 -2
- abstra_statics/dist/assets/dayjs.19defe89.js +0 -2
- abstra_statics/dist/assets/editor.6fa2da52.js +0 -2
- abstra_statics/dist/assets/editor.main.91c25311.js +0 -2
- abstra_statics/dist/assets/fetch.41281c28.js +0 -2
- abstra_statics/dist/assets/index.dccc1696.js +0 -2
- abstra_statics/dist/assets/index.e7bc0e19.js +0 -2
- abstra_statics/dist/assets/linters.5b679742.js +0 -2
- abstra_statics/dist/assets/player.c715ca22.js +0 -2
- abstra_statics/dist/assets/polling.5f85e241.js +0 -2
- abstra_statics/dist/assets/url.371275cf.js +0 -2
- abstra_statics/dist/assets/userStore.26658284.js +0 -2
- abstra_statics/dist/assets/uuid.ffd92735.js +0 -2
- abstra_statics/dist/assets/workspaceStore.9caf566c.js +0 -2
- {abstra-3.23.3.dist-info → abstra-3.23.5.dist-info}/WHEEL +0 -0
- {abstra-3.23.3.dist-info → abstra-3.23.5.dist-info}/entry_points.txt +0 -0
- {abstra-3.23.3.dist-info → abstra-3.23.5.dist-info}/top_level.txt +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C as _}from"./CrudView.7f2cbde4.js";import{o as l}from"./omniChatStore.0470e5b1.js";import{a as k}from"./ant-design.771baa34.js";import{a as C}from"./asyncComputed.0f036eae.js";import{a as m}from"./string.4a80abd5.js";import{G as T}from"./PhPencil.vue.c3c70f7d.js";import{d as h,e5 as w,eb as I,c as x,k as E,aq as D,a5 as N,f as d,u as S,aR as v,o as A,ep as B}from"./jwt-decode.esm.b204fb7d.js";import"./router.29d47df0.js";import{T as c}from"./tables.e80a0328.js";import{_ as R}from"./TablesTabs.vue_vue_type_script_setup_true_lang.2d88acf3.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.0b26fb89.js";import"./constants.6f822a9d.js";import"./url.371275cf.js";import"./PhDotsThreeVertical.vue.89b627bd.js";import"./index.e7bc0e19.js";import"./record.316e025a.js";import"./uuid.ffd92735.js";import"./PhCopySimple.vue.ffc7ec94.js";import"./index.26a34a52.js";import"./Card.774e5d67.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[o]="ea4bfddf-6c1f-4be5-9143-b9cfda3392e8",a._sentryDebugIdIdentifier="sentry-dbid-ea4bfddf-6c1f-4be5-9143-b9cfda3392e8")}catch{}})();const ae=h({__name:"Tables",setup(a){const o=w(),t=I().params.projectId,{loading:b,result:p,refetch:s}=C(()=>c.list(t)),f=async e=>{const r=await c.create(t,e.name);o.push({name:"tableEditor",params:{tableId:r.id,projectId:t}})},y=x(()=>{var e,r;return{columns:[{title:"Table Name"},{title:"",align:"right"}],rows:(r=(e=p.value)==null?void 0:e.map(n=>({key:n.id,cells:[{type:"link",text:n.name,to:{name:"tableEditor",params:{tableId:n.id,projectId:t}}},{type:"actions",actions:[{icon:T,label:"Edit Table",onClick({key:i}){o.push({name:"tableEditor",params:{tableId:i,projectId:t}})}},{icon:B,label:"Delete",dangerous:!0,async onClick(){!await k("Are you sure you want to delete this table and all its data?")||(await n.delete(t,n.id),s())}}]}]})))!=null?r:[]}}),g=[{key:"name",label:"Table name",type:"text",format:e=>m(e,!0),blur:e=>m(e,!1)}];return E(()=>{const e=l.subscribe("tableCreated",()=>{s()});D(()=>{l.unsubscribe(e)})}),(e,r)=>(A(),N(v,null,[d(R),d(_,{"entity-name":"table",loading:S(b),"docs-path":"tools/tables",title:"Tables",description:"Create and manage your database tables here.","empty-title":"No tables here yet",table:y.value,fields:g,"create-button-text":"Create Table",create:f},null,8,["loading","table"])],64))}});export{ae as default};
|
|
2
|
-
//# sourceMappingURL=Tables.0da330b6.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as f,e5 as b,eb as m,o as l,a as p,b as d,a5 as _,ec as g,f as y,e as v,ed as k,u as n,aR as w}from"./jwt-decode.esm.b204fb7d.js";import{A as I,T}from"./Card.774e5d67.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="697cf5ad-93a2-422f-829f-74330874eed7",e._sentryDebugIdIdentifier="sentry-dbid-697cf5ad-93a2-422f-829f-74330874eed7")}catch{}})();const R=f({__name:"TablesTabs",setup(e){const a=b(),t=m(),u=String(t.name),c=t.params.projectId,r=[{label:"Tables list",value:"tables"},{label:"Diagram view",value:"tables-diagram"},{label:"Run SQL",value:"sql"}],i=o=>{a.push({name:String(o),params:{projectId:c}})};return(o,D)=>(l(),p(n(T),{"active-key":n(u),options:r,"onUpdate:activeKey":i},{default:d(()=>[(l(),_(w,null,g(r,s=>y(n(I),{key:s.value,name:s.value},{tab:d(()=>[v("span",null,k(s.label),1)]),_:2},1032,["name"])),64))]),_:1},8,["active-key"]))}});export{R as _};
|
|
2
|
-
//# sourceMappingURL=TablesTabs.vue_vue_type_script_setup_true_lang.2d88acf3.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{el as n,M as b}from"./jwt-decode.esm.b204fb7d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ac44801b-7370-413c-980a-ae1790f47bbb",e._sentryDebugIdIdentifier="sentry-dbid-ac44801b-7370-413c-980a-ae1790f47bbb")}catch{}})();function u(e){return n.exports.isArray(e)?e.length===0?"[ ]":"[ ... ]":n.exports.isObject(e)?Object.keys(e).length===0?"{ }":"{ ... }":n.exports.isString(e)?`'${e}'`:n.exports.isUndefined(e)||n.exports.isNull(e)?"None":e===!0?"True":e===!1?"False":`${e}`}function c(e){if(n.exports.isArray(e))return"array";if(n.exports.isObject(e))return"object";throw new Error("treeKey called with non-object and non-array")}function o(e,r=[],t){const l=t?`'${t}': ${u(e)}`:u(e);if(n.exports.isArray(e)){const i=c(e);return[{title:l,key:[...r,i].join("/"),children:e.flatMap((s,f)=>o(s,[...r,i,`${f}`]))}]}else if(n.exports.isObject(e)){const i=c(e);return[{title:l,key:[...r,i].join("/"),children:Object.entries(e).flatMap(([s,f])=>o(f,[...r,i,s],s))}]}else return[{title:l,key:r.join("/"),children:[]}]}function x(e,r){return new Promise(t=>{b.confirm({title:e,onOk:()=>t(!0),okText:r==null?void 0:r.okText,onCancel:()=>t(!1),cancelText:r==null?void 0:r.cancelText})})}export{x as a,o as t};
|
|
2
|
-
//# sourceMappingURL=ant-design.771baa34.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var c=Object.defineProperty;var o=(s,t,e)=>t in s?c(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var d=(s,t,e)=>(o(s,typeof t!="symbol"?t+"":t,e),e);import{h as r}from"./router.29d47df0.js";import"./jwt-decode.esm.b204fb7d.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="c06400d7-2682-4c54-a87e-56075855bd21",s._sentryDebugIdIdentifier="sentry-dbid-c06400d7-2682-4c54-a87e-56075855bd21")}catch{}})();class u{constructor(){d(this,"urlPath","api-keys")}async create({projectId:t,name:e}){return r.post(`projects/${t}/${this.urlPath}`,{name:e})}async delete(t,e){await r.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t){return r.get(`projects/${t}/${this.urlPath}`)}}const a=new u;class n{constructor(t){this.dto=t}static async list(t){return(await a.list(t)).map(i=>new n(i))}static async create(t){const e=await a.create(t);return new n(e)}static async delete(t,e){await a.delete(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get createdAt(){return new Date(this.dto.createdAt)}get ownerId(){return this.dto.createdBy}get value(){var t;return(t=this.dto.value)!=null?t:null}}export{n as A};
|
|
2
|
-
//# sourceMappingURL=apiKey.8e591cfc.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{N as c,c as l}from"./jwt-decode.esm.b204fb7d.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="ae7e66d2-e1e7-4b34-a0ff-347b7a0888e9",r._sentryDebugIdIdentifier="sentry-dbid-ae7e66d2-e1e7-4b34-a0ff-347b7a0888e9")}catch{}})();const i=r=>{const e=c({loading:!0,result:null,error:null}),n=t=>(e.value={loading:!1,result:t,error:null},t),a=t=>{e.value={loading:!1,result:null,error:t}},o=async()=>(e.value={loading:!0,result:e.value.result,error:null},r().then(n).catch(a));o();const s=l(()=>e.value.loading),u=l(()=>e.value.result),d=l(()=>e.value.error);return{loading:s,result:u,error:d,refetch:o}};export{i as a};
|
|
2
|
-
//# sourceMappingURL=asyncComputed.0f036eae.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.b204fb7d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3c031001-d05a-4284-a788-eeb9fb33b7ab",e._sentryDebugIdIdentifier="sentry-dbid-3c031001-d05a-4284-a788-eeb9fb33b7ab")}catch{}})();function p(e,t){const{r:n,g:r,b:a,usePound:o}=g(e);return w(c(n,-t),c(r,-t),c(a,-t),o)}function c(e,t){const n=e*(100+t*100)/100;return n>255?255:n<0?0:Math.round(n)}function E(e){return e.startsWith("#")||e.match(/^(rgb|hsl)/)}const v=(e,t)=>y(p(y(e),t)),P=e=>k(e)?v(e,.1):p(e,.1);function k(e){const{r:t,g:n,b:r}=g(e);return t*.299+n*.587+r*.114<186}function g(e){let t=!1;e[0]=="#"&&(e=e.slice(1),t=!0);const n=parseInt(e,16);return{r:n>>16&255,g:n>>8&255,b:n&255,usePound:t}}function y(e){const{r:t,g:n,b:r,usePound:a}=g(e);return w(255-t,255-n,255-r,a)}const w=(e,t,n,r=!0)=>(r?"#":"")+(n|t<<8|e<<16).toString(16).padStart(6,"0");function _(e){return new Promise((t,n)=>{const r=document.createElement("img");r.src=e,r.crossOrigin="Anonymous",r.style.display="none",document.body.appendChild(r);let a=0;r.onerror=o=>n(new Error(`Failed to load image: ${o}`)),r.onload=()=>{const{width:o,height:l}=r,s=document.createElement("canvas");s.width=o,s.height=l;const u=s.getContext("2d");if(!u)return t(!1);u.drawImage(r,0,0);const I=u.getImageData(0,0,s.width,s.height),{data:d}=I;let f,b,h,m;for(let i=0,x=d.length;i<x;i+=4)f=d[i],b=d[i+1],h=d[i+2],m=Math.floor((f+b+h)/3),a+=m;const D=Math.floor(a/(o*l));document.body.removeChild(r),t(D<=127)}})}export{k as a,_ as b,P as c,E as i,v as l};
|
|
2
|
-
//# sourceMappingURL=colorHelpers.c4e8851c.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.b204fb7d.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="2d005243-8604-4988-9bcb-e4913d0cb880",t._sentryDebugIdIdentifier="sentry-dbid-2d005243-8604-4988-9bcb-e4913d0cb880")}catch{}})();const e={HOMEPAGE:{}.VITE_HOMEPAGE_URL||"https://abstra.io",DOCS:{}.VITE_DOCS_URL||"https://abstra.io/docs",CLOUD:{}.VITE_CONSOLE_URL||"https://cloud.abstra.io",GITHUB:{}.VITE_GITHUB_URL||"https://github.com/abstra-app/abstra-lib"},d=t=>{if(!t)return e.DOCS;const s=t.startsWith("/")?t.slice(1):t;return`${e.DOCS}/${s}`};export{e as A,d as b};
|
|
2
|
-
//# sourceMappingURL=constants.6f822a9d.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.b204fb7d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4d389aa1-0aef-4a96-a9a7-d2070a62c201",e._sentryDebugIdIdentifier="sentry-dbid-4d389aa1-0aef-4a96-a9a7-d2070a62c201")}catch{}})();function a(e,t){return e.toLocaleString(void 0,{hour12:!1,timeZoneName:"short",day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"long",...t})}export{a as g};
|
|
2
|
-
//# sourceMappingURL=datetime.7d5f4744.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{X as c,dJ as s,dK as i}from"./jwt-decode.esm.b204fb7d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="309677c5-d6c3-458f-a3d9-f1795135d7b8",e._sentryDebugIdIdentifier="sentry-dbid-309677c5-d6c3-458f-a3d9-f1795135d7b8")}catch{}})();const{DatePicker:n,WeekPicker:t,MonthPicker:r,YearPicker:f,TimePicker:m,QuarterPicker:o,RangePicker:d}=s(i),y=c(n,{WeekPicker:t,MonthPicker:r,YearPicker:f,RangePicker:d,TimePicker:m,QuarterPicker:o,install:e=>(e.component(n.name,n),e.component(d.name,d),e.component(r.name,r),e.component(t.name,t),e.component(o.name,o),e)});export{y as D,r as M,o as Q,d as R,t as W};
|
|
2
|
-
//# sourceMappingURL=dayjs.19defe89.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var x=Object.defineProperty;var W=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var i=(o,e,t)=>(W(o,typeof e!="symbol"?e+"":e,t),t);import{d as V,c as k,r as l,w as E,o as I,a as R,b,e as N,f as T,u as _,S as $,g as A,A as B,T as H,h as K,M as F,_ as J,i as S,j as z,k as Y,l as f,m as G,n as q,p as U,q as Q,s as X,t as Z,v as y,x as ee,y as te,z as oe,B as se,C as ne,P as ae,D as re,E as ie,F as ce,G as C,H as le,I as de,J as ue,K as pe}from"./jwt-decode.esm.b204fb7d.js";import{r as he,u as _e,g as me,a as ge}from"./workspaceStore.9caf566c.js";import{s as ve}from"./index.dfc9f500.js";import{A as fe}from"./linters.5b679742.js";import{A as ye}from"./constants.6f822a9d.js";import{d as P}from"./index.26a34a52.js";import"./userStore.26658284.js";import"./url.371275cf.js";import"./colorHelpers.c4e8851c.js";import"./asyncComputed.0f036eae.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="0669d9de-20d6-4502-81a3-d3597f5e094d",o._sentryDebugIdIdentifier="sentry-dbid-0669d9de-20d6-4502-81a3-d3597f5e094d")}catch{}})();const be={style:{"text-align":"center",padding:"20px"}},we=V({__name:"ConnectionModal",props:{open:{type:Boolean},port:{}},emits:["update:open"],setup(o,{emit:e}){const t=o,s=k({get:()=>t.open,set:a=>e("update:open",a)}),n=l(!1);return E(()=>t.open,a=>{if(a){n.value=!1;const r=setTimeout(()=>{n.value=!0},1e4);return()=>clearTimeout(r)}else n.value=!1}),(a,r)=>(I(),R(_(F),{open:s.value,"onUpdate:open":r[0]||(r[0]=d=>s.value=d),closable:!1,"mask-closable":!1,keyboard:!1,footer:null,width:400,centered:""},{default:b(()=>[N("div",be,[T(_($),{size:"large"}),T(_(B),{level:4},{default:b(()=>[A(" Connecting to server... ")]),_:1}),n.value?(I(),R(_(H),{key:0},{default:b(()=>[A(" Are you sure Abstra is running? ")]),_:1})):K("",!0)])]),_:1},8,["open"]))}});const Ee=J(we,[["__scopeId","data-v-36743132"]]),p=class{constructor(){i(this,"ws",null);i(this,"reconnectTimer");i(this,"keepaliveInterval");i(this,"messageHandlers",new Set);i(this,"KEEPALIVE_INTERVAL",3e4);i(this,"RECONNECT_DELAY",1e3);this.connect()}static getInstance(){return p.instance||(p.instance=new p),p.instance}get url(){return"/_editor/api/codebase/events"}handleMessage(e){try{const t=JSON.parse(e.data),s=fe.parse(t);this.messageHandlers.forEach(n=>{try{n(s)}catch(a){S(a)}})}catch(t){S(t)}}handleClose(){this.clearTimers(),this.scheduleReconnect()}handleError(){this.clearTimers(),this.scheduleReconnect()}clearTimers(){this.keepaliveInterval&&(clearInterval(this.keepaliveInterval),this.keepaliveInterval=void 0),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=void 0)}scheduleReconnect(){this.reconnectTimer||(this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.connect()},this.RECONNECT_DELAY))}startKeepalive(){this.keepaliveInterval=setInterval(()=>{this.sendKeepalive()},this.KEEPALIVE_INTERVAL)}sendKeepalive(){if(!this.ws||this.ws.readyState!==WebSocket.OPEN){this.handleError();return}try{this.ws.send(JSON.stringify({type:"keepalive"}))}catch(e){console.error("CodebaseEventsService: Failed to send keepalive:",e),this.handleError()}}async connect(){var e;if(((e=this.ws)==null?void 0:e.readyState)!==WebSocket.OPEN)try{this.ws=new WebSocket(this.url),this.ws.onopen=()=>this.startKeepalive(),this.ws.onclose=()=>this.handleClose(),this.ws.onerror=()=>this.handleError(),this.ws.onmessage=t=>this.handleMessage(t)}catch(t){console.error("CodebaseEventsService: Failed to create WebSocket:",t),this.scheduleReconnect()}}subscribe(e){return this.messageHandlers.add(e),()=>this.messageHandlers.delete(e)}isConnected(){var e;return((e=this.ws)==null?void 0:e.readyState)===WebSocket.OPEN}};let w=p;i(w,"instance",null);function Te(){const o=l(!1),e=l(null),t=l(null),s=w.getInstance(),n=v=>{e.value=v},a=()=>{o.value=s.isConnected()};let r;const d=setInterval(a,1e3);return z(()=>{r(),clearInterval(d)}),Y(()=>{r=s.subscribe(n),a()}),{isConnected:f(o),lastEvent:f(e),error:f(t),service:f(s)}}const Le={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},Ce=V({__name:"App",setup(o){const e=Te(),t=l(!1);E(e.isConnected,async n=>{t.value=!n},{immediate:!0});const s={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}};return(n,a)=>{const r=G("RouterView");return I(),R(_(q),{theme:s,"page-header":{ghost:!1}},{default:b(()=>[N("div",Le,[T(r)]),T(Ee,{open:t.value,"onUpdate:open":a[0]||(a[0]=d=>t.value=d)},null,8,["open"])]),_:1})}}});class O{async getLogin(){return await(await fetch("/_editor/api/login")).json()}async createLogin(e){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:e})})).json()}async deleteLogin(){await fetch("/_editor/api/login",{method:"DELETE"})}async getCloudProject(){return(await fetch("/_editor/api/login/info")).json()}async getPublicUrl(){try{return(await(await fetch("/_editor/api/login/public-url")).json()).public_url}catch{return null}}static getLoginUrl(e){return ye.CLOUD+"/api-key?"+new URLSearchParams(e)}}const j="h97k86ks",g=class{static boot(e,t){g.booted||(P.Intercom({app_id:j}),P.boot({api_base:"https://api-iam.intercom.io",app_id:j,name:e,email:e,user_hash:t,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),g.booted=!0)}static shutdown(){P.shutdown(),g.booted=!1}};let m=g;i(m,"booted",!1);const Pe={"console-url":"https://cloud.abstra.io"},ke=o=>{const e="VITE_"+U.toUpper(U.snakeCase(o)),t={VITE_SENTRY_RELEASE:"7d185056ede84317e632ab9bf8d1a32a1ab77607",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[e];return t||Pe[o]},h={consoleUrl:ke("console-url")},Ie=Q("cloud-project",()=>{const o=new O,e=l(null),t=l(null),s=k(()=>{var c,u;return(u=(c=e.value)==null?void 0:c.logged)!=null?u:!1}),n=l(null),a=k(()=>t.value?{project:`${h.consoleUrl}/projects/${t.value.id}`,users:`${h.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=users`,roles:`${h.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=roles`,builds:`${h.consoleUrl}/projects/${t.value.id}/builds`,login:`${h.consoleUrl}/api-key`}:null),r=async()=>{!s.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},d=async c=>{const u=await o.createLogin(c);e.value=u,u.logged&&await v()},v=async()=>t.value=await o.getCloudProject();(async()=>{n.value=await o.getPublicUrl()})();const D=async()=>e.value?e.value:(e.value=await o.getLogin(),e.value.logged);return E(()=>e.value,v),E(()=>e.value,async c=>{if(c&&"info"in c){const{email:u,intercomHash:M}=c.info;m.boot(u,M)}else m.shutdown()}),{loadLogin:D,createLogin:d,deleteLogin:r,publicUrl:n,loginInfo:e,cloudProject:t,isLogged:s,links:a}}),Re=he.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),L=X({history:Z("/"),routes:[{path:"/_editor/",name:"app",component:()=>y(()=>import("./Home.23f0cff8.js"),["assets/Home.23f0cff8.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css","assets/fetch.41281c28.js","assets/polling.5f85e241.js","assets/Home.afb8d9a6.css"]),children:[{path:"",name:"editor",component:()=>y(()=>import("./NewEditor.1d7ddf86.js"),["assets/NewEditor.1d7ddf86.js","assets/asyncComputed.0f036eae.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css","assets/linters.5b679742.js","assets/workspaceStore.9caf566c.js","assets/userStore.26658284.js","assets/url.371275cf.js","assets/colorHelpers.c4e8851c.js","assets/record.316e025a.js","assets/PhPencilSimpleLine.vue.6eedd1e6.js","assets/Card.774e5d67.js","assets/router.29d47df0.js","assets/index.26a34a52.js","assets/metadata.e6e36ac2.js","assets/PhUserList.vue.6d0e7bc8.js","assets/PhWebhooksLogo.vue.49b66d69.js","assets/LogsController.353f0002.js","assets/ant-design.771baa34.js","assets/string.4a80abd5.js","assets/PhCopy.vue.b1c2f21f.js","assets/index.e7bc0e19.js","assets/build.c819a477.js","assets/tables.e80a0328.js","assets/repository.ae6e826f.js","assets/LoadingOutlined.11688830.js","assets/polling.5f85e241.js","assets/LogsController.fb0d96c2.css","assets/omniChatStore.0470e5b1.js","assets/uuid.ffd92735.js","assets/PhCopySimple.vue.ffc7ec94.js","assets/omniChatStore.ec95fb81.css","assets/datetime.7d5f4744.js","assets/OmniChat.5e68be1c.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.37e7ad5b.js","assets/Logo.cc2d4a95.js","assets/Logo.b7d81119.css","assets/PhClockCounterClockwise.vue.853bd5ec.js","assets/index.9028af84.js","assets/index.e6b397aa.js","assets/OmniChat.10d00525.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.c714d609.js","assets/constants.6f822a9d.js","assets/PhBookBookmark.vue.8611e54f.js","assets/PhChats.vue.3dd1c2d7.js","assets/index.dfc9f500.js","assets/PhArrowSquareOut.vue.0d20b8e9.js","assets/PhRocket.vue.56a9b767.js","assets/PhSignOut.vue.ee548b4c.js","assets/CloseCircleOutlined.7ac8e1e8.js","assets/vue-flow-background.402b0a32.js","assets/SaveButton.7c95c711.js","assets/ExclamationCircleOutlined.f71fa58b.js","assets/SaveButton.932ac6b8.css","assets/ContentLayout.4fc85c66.js","assets/ContentLayout.cdae7d24.css","assets/fetch.41281c28.js","assets/repository.babdc912.js","assets/View.vue_vue_type_script_setup_true_lang.17304c45.js","assets/CrudView.7f2cbde4.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.0b26fb89.js","assets/PhDotsThreeVertical.vue.89b627bd.js","assets/CrudView.c883bb05.css","assets/PhPencil.vue.c3c70f7d.js","assets/PlayerNavbar.523eb145.js","assets/PlayerNavbar.c456a4e0.css","assets/PlayerConfigProvider.ead35c7b.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/LoadingContainer.3ea9ec8d.js","assets/LoadingContainer.56fa997a.css","assets/files.ff551888.js","assets/PhGear.vue.fbac4098.js","assets/tasksController.307be8dc.js","assets/toggleHighContrast.4184537f.js","assets/toggleHighContrast.30d77c87.css","assets/PhPencilSimple.vue.ee9d03fc.js","assets/PhFolderPlus.vue.e199ba17.js","assets/PhArrowCounterClockwise.vue.d273955f.js","assets/FormRunner.f721431d.js","assets/Login.vue_vue_type_script_setup_true_lang.fab46c0c.js","assets/CircularLoading.02fd7b7b.js","assets/CircularLoading.a8fe2dc6.css","assets/Login.75d13f6c.css","assets/Steps.4c7bc2b0.js","assets/index.138ad220.js","assets/Steps.2880920a.css","assets/Watermark.4b6da85c.js","assets/Watermark.b0916e90.css","assets/FormRunner.714ce2c1.css","assets/redirect.d1904049.js","assets/NewEditor.b7bcb815.css"])},{path:"project-login",name:"projectLogin",component:()=>y(()=>import("./ProjectLogin.ed25cb39.js"),["assets/ProjectLogin.ed25cb39.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.37e7ad5b.js","assets/Logo.cc2d4a95.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/BaseLayout.670b8441.js","assets/BaseLayout.e1744dcc.css","assets/index.a9e83a57.js","assets/Breadcrumb.1d42c80c.js","assets/index.9028af84.js","assets/index.e7bc0e19.js","assets/workspaceStore.9caf566c.js","assets/userStore.26658284.js","assets/url.371275cf.js","assets/colorHelpers.c4e8851c.js","assets/index.dfc9f500.js","assets/linters.5b679742.js","assets/asyncComputed.0f036eae.js","assets/constants.6f822a9d.js","assets/index.26a34a52.js","assets/ProjectLogin.21a71354.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:":pathMatch(.*)*",name:"editorFallback",redirect:"/_editor/"}]},{path:"/:path(.*)*",name:"form",component:()=>y(()=>import("./App.6c102d26.js"),["assets/App.6c102d26.js","assets/App.vue_vue_type_style_index_0_lang.26121baf.js","assets/userStore.26658284.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css","assets/PlayerConfigProvider.ead35c7b.js","assets/colorHelpers.c4e8851c.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/workspaceStore.9caf566c.js","assets/url.371275cf.js","assets/App.0c2736ee.css"]),children:Re}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),Ae=me(L);L.beforeEach(async(o,e)=>{if(await _e().actions.fetch(),o.meta.playerRoute)return Ae(o,e);ee(o,e);const t=Ie();if(!o.meta.allowUnauthenticated&&!t.isLogged&&!await t.loadLogin()){const s={redirect:location.origin+"/_editor/project-login"};window.open(O.getLoginUrl(s),"_self")}});(async()=>{await ve();const o=await ge(),e=te(),t=oe({render:()=>le(Ce)});se.init(),ne(t,L,o),t.use(L),t.use(ae),t.use(e),t.mount("#app"),t.component("VSelect",re),t.component("Markdown",ie),t.component("Message",ce),C(t,de),C(t,ue),C(t,pe)})();export{h as E,Te as a,Ie as u};
|
|
2
|
-
//# sourceMappingURL=editor.6fa2da52.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C as r,E as t,K as i,a as f,M as c,c as l,P as y,R as b,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.4184537f.js";import"./jwt-decode.esm.b204fb7d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="5d9cb3fa-4d49-4dc9-8360-d304937a5fa2",e._sentryDebugIdIdentifier="sentry-dbid-5d9cb3fa-4d49-4dc9-8360-d304937a5fa2")}catch{}})();export{r as CancellationTokenSource,t as Emitter,i as KeyCode,f as KeyMod,c as MarkerSeverity,l as MarkerTag,y as Position,b as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages};
|
|
2
|
-
//# sourceMappingURL=editor.main.91c25311.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.b204fb7d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2c98d729-57bf-4ee3-949f-54c5eeeaea87",e._sentryDebugIdIdentifier="sentry-dbid-2c98d729-57bf-4ee3-949f-54c5eeeaea87")}catch{}})();const f=(...e)=>window.fetch(...e);export{f as l};
|
|
2
|
-
//# sourceMappingURL=fetch.41281c28.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C as o}from"./Card.774e5d67.js";import{d as b,ag as g,bT as i,f as r,bD as d,c as y}from"./jwt-decode.esm.b204fb7d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b80323f9-88b4-46d6-92aa-f61f78fa01d0",e._sentryDebugIdIdentifier="sentry-dbid-b80323f9-88b4-46d6-92aa-f61f78fa01d0")}catch{}})();const _=()=>({prefixCls:String,title:d(),description:d(),avatar:d()}),c=b({compatConfig:{MODE:3},name:"ACardMeta",props:_(),slots:Object,setup(e,n){let{slots:a}=n;const{prefixCls:t}=g("card",e);return()=>{const l={[`${t.value}-meta`]:!0},s=i(a,e,"avatar"),f=i(a,e,"title"),v=i(a,e,"description"),C=s?r("div",{class:`${t.value}-meta-avatar`},[s]):null,m=f?r("div",{class:`${t.value}-meta-title`},[f]):null,p=v?r("div",{class:`${t.value}-meta-description`},[v]):null,D=m||p?r("div",{class:`${t.value}-meta-detail`},[m,p]):null;return r("div",{class:l},[C,D])}}}),M=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),u=b({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:M(),setup(e,n){let{slots:a}=n;const{prefixCls:t}=g("card",e),l=y(()=>({[`${t.value}-grid`]:!0,[`${t.value}-grid-hoverable`]:e.hoverable}));return()=>{var s;return r("div",{class:l.value},[(s=a.default)===null||s===void 0?void 0:s.call(a)])}}});o.Meta=c;o.Grid=u;o.install=function(e){return e.component(o.name,o),e.component(c.name,c),e.component(u.name,u),e};export{u as G,c as M};
|
|
2
|
-
//# sourceMappingURL=index.dccc1696.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as P,ag as T,e0 as L,e1 as Q,c as o,r as O,w as W,aQ as X,f as p,X as m,aR as q,aj as j,cV as h,av as G,bt as B,aM as H,ah as J}from"./jwt-decode.esm.b204fb7d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="87bbfbef-3e28-4c94-bac9-51a946bdcf37",e._sentryDebugIdIdentifier="sentry-dbid-87bbfbef-3e28-4c94-bac9-51a946bdcf37")}catch{}})();const K={small:8,middle:16,large:24},U=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:G.oneOf(B("horizontal","vertical")).def("horizontal"),align:G.oneOf(B("start","end","center","baseline")),wrap:H()});function Y(e){return typeof e=="string"?K[e]:e||0}const r=P({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:U(),slots:Object,setup(e,c){let{slots:l,attrs:g}=c;const{prefixCls:n,space:b,direction:w}=T("space",e),[E,F]=L(n),x=Q(),s=o(()=>{var a,t,i;return(i=(a=e.size)!==null&&a!==void 0?a:(t=b==null?void 0:b.value)===null||t===void 0?void 0:t.size)!==null&&i!==void 0?i:"small"}),y=O(),u=O();W(s,()=>{[y.value,u.value]=(Array.isArray(s.value)?s.value:[s.value,s.value]).map(a=>Y(a))},{immediate:!0});const z=o(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),R=o(()=>J(n.value,F.value,`${n.value}-${e.direction}`,{[`${n.value}-rtl`]:w.value==="rtl",[`${n.value}-align-${z.value}`]:z.value})),V=o(()=>w.value==="rtl"?"marginLeft":"marginRight"),k=o(()=>{const a={};return x.value&&(a.columnGap=`${y.value}px`,a.rowGap=`${u.value}px`),m(m({},a),e.wrap&&{flexWrap:"wrap",marginBottom:`${-u.value}px`})});return()=>{var a,t;const{wrap:i,direction:M="horizontal"}=e,_=(a=l.default)===null||a===void 0?void 0:a.call(l),C=X(_),I=C.length;if(I===0)return null;const d=(t=l.split)===null||t===void 0?void 0:t.call(l),A=`${n.value}-item`,D=y.value,S=I-1;return p("div",j(j({},g),{},{class:[R.value,g.class],style:[k.value,g.style]}),[C.map((N,v)=>{let $=_.indexOf(N);$===-1&&($=`$$space-${v}`);let f={};return x.value||(M==="vertical"?v<S&&(f={marginBottom:`${D/(d?2:1)}px`}):f=m(m({},v<S&&{[V.value]:`${D/(d?2:1)}px`}),i&&{paddingBottom:`${u.value}px`})),E(p(q,{key:$},[p("div",{class:A,style:f},[N]),v<S&&d&&p("span",{class:`${A}-split`,style:f},[d])]))})])}}});r.Compact=h;r.install=function(e){return e.component(r.name,r),e.component(h.name,h),e};const ee=r;export{ee as A};
|
|
2
|
-
//# sourceMappingURL=index.e7bc0e19.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var F=Object.defineProperty;var k=(e,n,t)=>n in e?F(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var s=(e,n,t)=>(k(e,typeof n!="symbol"?n+"":n,t),t);import{L as o}from"./jwt-decode.esm.b204fb7d.js";import{a as E}from"./asyncComputed.0f036eae.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="afc3d260-9bf1-4e88-b482-0c290743af53",e._sentryDebugIdIdentifier="sentry-dbid-afc3d260-9bf1-4e88-b482-0c290743af53")}catch{}})();const L=o.string(),j=o.array(L),N=o.number(),P=o.string().datetime({local:!0}),_=o.enum(["file","directory"]),w=o.string(),W=o.array(w),G=o.array(W).default([]),b=o.object({pathParts:j,size:N,lastModified:P,type:_,children:G.optional()}),M=o.boolean(),x=o.boolean(),O=o.boolean(),v=o.boolean(),q=o.boolean(),U=o.boolean();o.object({PROJECT_LIVE:M.optional(),ALLOW_RELEASE:x.optional(),CONNECTORS_CONSOLE:O.optional(),DUPLICATE_PROJECTS:v.optional(),WEB_EDITOR:q.optional(),LANGCHAIN_SMART_CHAT:U.optional()});const H=o.string(),z=o.string(),B=o.string(),$=o.string(),K=o.string();o.object({plan:H.optional(),expires:z.optional(),message:B.optional(),messageLink:$.optional(),messageCTA:K.optional()});const Q=o.string(),g=o.string(),A=o.string(),X=o.string(),Y=o.string(),Z=o.object({id:Q,name:g,description:A.optional(),projectId:X,createdAt:Y}),oo=o.string(),no=o.string(),to=o.string(),eo=o.string(),so=o.string(),ao=o.enum(["true","false"]),io=o.enum(["true","false"]),mo=o.enum(["true","false"]),co=o.string().regex(new RegExp("^[0-9]+m$")),ro=o.string().regex(new RegExp("^[0-9]+m$")),lo=o.string().regex(new RegExp("^[0-9]+Mi$")),So=o.string().regex(new RegExp("^[0-9]+Mi$")),Ao=o.string().regex(new RegExp("^[0-9]+$")),Co=o.number(),bo=o.string().regex(new RegExp("^[0-9]+$")),go=o.enum(["jusbrasil","clickbus","touchsuite","foursquare","estoca","estoca-test","irko","dr9","onfly","shared","test"]),ho=o.enum(["3.9","3.10","3.11","3.12"]),uo=o.string(),po=o.string(),Vo=o.object({watermarkEnabled:ao.optional(),seleniumInstanceEnabled:io.optional(),notificationsEnabled:mo.optional(),requestsCPU:co.optional(),limitsCPU:ro.optional(),requestsMemory:lo.optional(),limitsMemory:So.optional(),minReplicas:Ao.optional(),computeUnits:Co.optional(),timeoutSeconds:bo.optional(),workerType:go.optional(),pythonVersion:ho.optional(),workerNumber:uo.optional(),baseDockerfile:po.optional()});o.object({id:oo,folderId:no,name:to,subdomain:eo,organizationId:so,deploymentResources:Vo.optional()});const fo=o.string(),Jo=o.string(),Do=o.string();o.object({name:fo,connectionType:Jo,projectId:Do});const Io=o.string(),yo=o.string(),h=o.array(yo),u=o.string(),To=o.string();o.object({id:Io,emailPatterns:h,projectId:u,createdAt:To});const Ro=o.string(),Fo=o.string(),ko=o.string(),Eo=o.string(),Lo=o.object({key:Ro,label:Fo,description:ko,logoUrl:Eo}),jo=o.literal("tokens"),No=o.string(),Po=o.string(),_o=o.string(),wo=o.string(),Wo=o.enum(["small-string","large-text","file"]),Go=o.number(),Mo=o.number(),xo=o.object({type:Wo,maxSize:Go.optional(),minSize:Mo.optional()}),Oo=o.object({key:No,label:Po,description:_o,instructions:wo.optional(),input:xo}),p=o.array(Oo),vo=p,qo=o.object({type:jo,tokens:vo}),Uo=o.literal("oauth2"),Ho=o.string(),zo=o.string(),Bo=o.string(),$o=o.string(),Ko=o.object({key:zo,label:Bo,description:$o}),Qo=o.array(Ko),Xo=o.object({type:Uo,authorizationUrl:Ho,scopes:Qo}),Yo=o.literal("manual"),Zo=o.object({type:Yo}),on=o.literal("ecdsa"),nn=p,tn=o.object({type:on,params:nn}),en=o.union([qo,Xo,Zo,tn]),sn=o.string(),an=o.string(),mn=o.string(),cn=o.record(o.any()),rn=o.record(o.any()),ln=o.object({key:sn,label:an,description:mn,payloadSchema:cn,returnSchema:rn}),Sn=o.array(ln),An=o.string(),Cn=o.string(),bn=o.record(o.any()),gn=o.object({name:An,description:Cn,payloadSchema:bn.optional()}),hn=o.array(gn);o.object({metadata:Lo,auth:en,actions:Sn,triggers:hn});const un=o.enum(["bigint","int8","bigserial","serial8","bit","bit varying","varbit","boolean","bool","box","bytea","character","char","character varying","varchar","cidr","circle","date","double precision","float8","inet","integer","int","int4","interval","json","jsonb","line","lseg","macaddr","money","numeric","decimal","path","pg_lsn","point","polygon","real","float4","smallint","int2","smallserial","serial2","serial","serial4","text","time","time with time zone","timetz","timestamp","timestamp with time zone","timestamptz","tsquery","tsvector","txid_snapshot","uuid","xml"]),pn=o.string(),m=o.string().email(),Vn=o.string(),C=o.array(Vn),dn=o.string(),fn=o.string(),Jn=o.object({id:pn,email:m,roles:C,projectId:dn,createdAt:fn}),Dn=o.string().uuid(),In=o.string(),yn=o.string().uuid(),Tn=o.boolean(),Rn=o.string(),Fn=un,kn=o.boolean(),En=o.boolean(),Ln=o.string(),jn=o.string(),Nn=o.object({columnId:jn}),Pn=o.object({id:yn,primaryKey:Tn,name:Rn,type:Fn,unique:kn.optional(),nullable:En.optional(),default:Ln.optional(),foreignKey:Nn.optional()}),_n=o.array(Pn),wn=o.record(o.any()),Wn=o.array(wn),Gn=o.object({id:Dn,name:In,columns:_n,data:Wn}),Mn=o.array(Gn);o.object({tables:Mn});const V=o.string(),d=o.string(),xn=o.boolean(),On=o.boolean(),vn=o.boolean(),qn=o.boolean(),Un=o.boolean(),Hn=o.boolean(),f=o.object({PROJECT_LIVE:xn,ALLOW_RELEASE:On,CONNECTORS_CONSOLE:vn,DUPLICATE_PROJECTS:qn,WEB_EDITOR:Un.optional(),LANGCHAIN_SMART_CHAT:Hn.optional()}),zn=o.string(),Bn=o.string(),$n=o.string(),Kn=o.string(),Qn=o.string(),J=o.object({plan:zn.optional(),expires:Bn.optional(),message:$n.optional(),messageLink:Kn.optional(),messageCTA:Qn.optional()}),Xn=o.enum(["true","false"]),Yn=o.enum(["true","false"]),Zn=o.enum(["true","false"]),ot=o.string().regex(new RegExp("^[0-9]+m$")),nt=o.string().regex(new RegExp("^[0-9]+m$")),tt=o.string().regex(new RegExp("^[0-9]+Mi$")),et=o.string().regex(new RegExp("^[0-9]+Mi$")),st=o.string().regex(new RegExp("^[0-9]+$")),at=o.number(),it=o.string().regex(new RegExp("^[0-9]+$")),mt=o.enum(["jusbrasil","clickbus","touchsuite","foursquare","estoca","estoca-test","irko","dr9","onfly","shared","test"]),ct=o.enum(["3.9","3.10","3.11","3.12"]),rt=o.string(),lt=o.string(),St=o.object({watermarkEnabled:Xn.optional(),nativeTempDir:Yn.optional(),notificationsEnabled:Zn.optional(),requestsCPU:ot.optional(),limitsCPU:nt.optional(),requestsMemory:tt.optional(),limitsMemory:et.optional(),minReplicas:st.optional(),computeUnits:at.optional(),timeoutSeconds:it.optional(),workerType:mt.optional(),pythonVersion:ct.optional(),workerNumber:rt.optional(),baseDockerfile:lt.optional()}),At=o.string(),Ct=o.array(At),bt=o.object({whitelistPatterns:Ct.optional()});o.object({id:V,name:d,featureFlags:f,billingMetadata:J,deploymentResources:St.optional(),membershipsMetadata:bt.optional()});const gt=o.string(),ht=o.array(gt);o.object({whitelistPatterns:ht.optional()});const ut=o.string(),pt=o.string(),Vt=o.string(),dt=o.null(),ft=o.union([Vt,dt]),Jt=o.string(),Dt=o.null(),It=o.union([Jt,Dt]),yt=o.string(),Tt=o.null(),Rt=o.union([yt,Tt]),Ft=o.string(),kt=o.null(),Et=o.union([Ft,kt]),Lt=o.string(),jt=o.null(),Nt=o.union([Lt,jt]),Pt=o.string(),_t=o.null(),wt=o.union([Pt,_t]),Wt=o.string(),Gt=o.null(),Mt=o.union([Wt,Gt]),xt=o.object({name:ut,language:pt,theme:ft,logo_url:It,favicon_url:Rt,brand_name:Et,main_color:Nt,font_family:wt,font_color:Mt}),Ot=o.boolean(),vt=o.string(),qt=o.array(vt),Ut=o.object({is_public:Ot,required_roles:qt}),Ht=o.object({access_control:Ut}),zt=o.string(),Bt=o.string(),$t=o.number(),Kt=o.array($t),Qt=o.string(),Xt=o.string(),Yt=o.string(),Zt=o.string(),oe=o.string(),ne=o.string(),te=o.null(),ee=o.union([ne,te]),c=o.object({id:Xt,target_id:Yt,target_type:Zt,type:oe,task_type:ee.optional()}),se=c,ae=o.array(se),ie=o.string(),me=o.object({title:zt,id:Bt,workflow_position:Kt,file:Qt,transitions:ae,schedule:ie}),ce=me,re=o.array(ce),le=o.string(),Se=o.string(),Ae=o.number(),Ce=o.array(Ae),be=o.string(),ge=c,he=o.array(ge),ue=o.boolean(),pe=o.boolean(),Ve=o.string(),de=o.object({title:le,id:Se,workflow_position:Ce,file:be,transitions:he,enabled:ue,is_initial:pe,path:Ve}),fe=de,Je=o.array(fe),De=o.string(),Ie=o.string(),ye=o.number(),Te=o.array(ye),Re=o.string(),Fe=c,ke=o.array(Fe),Ee=o.string(),Le=o.null(),je=o.union([Ee,Le]),Ne=o.string(),Pe=o.null(),_e=o.union([Ne,Pe]),we=o.string(),We=o.null(),Ge=o.union([we,We]),Me=o.string(),xe=o.string(),Oe=o.null(),ve=o.union([xe,Oe]),qe=o.string(),Ue=o.null(),He=o.union([qe,Ue]),ze=o.boolean(),Be=o.string(),$e=o.boolean(),Ke=o.object({variable_name:Be,enabled:$e}),Qe=o.string(),Xe=o.null(),Ye=o.union([Qe,Xe]),Ze=o.boolean(),os=o.string(),ns=o.array(os),ts=o.object({is_public:Ze,required_roles:ns}),es=o.boolean(),ss=o.boolean(),as=o.string(),is=o.null(),ms=o.union([as,is]),cs=o.object({title:De,id:Ie,workflow_position:Te,file:Re,transitions:ke,welcome_title:je,start_button_text:_e,restart_button_text:Ge,path:Me,error_message:ve,end_message:He,is_initial:ze,notification_trigger:Ke,timeout_message:Ye,access_control:ts,allow_restart:es,auto_start:ss,start_message:ms}),rs=cs,ls=o.array(rs),Ss=o.string(),As=o.string(),Cs=o.number(),bs=o.array(Cs),gs=o.string(),hs=c,us=o.array(hs),ps=o.boolean(),Vs=o.object({title:Ss,id:As,workflow_position:bs,file:gs,transitions:us,is_initial:ps}),ds=Vs,fs=o.array(ds),Js=o.literal("15.0");o.object({workspace:xt,home:Ht,jobs:re,hooks:Je,forms:ls,scripts:fs,version:Js});const Ds=o.string(),Is=o.string(),ys=o.string(),Ts=o.null(),Rs=o.union([ys,Ts]),Fs=o.string(),ks=o.null(),Es=o.union([Fs,ks]),Ls=o.string(),js=o.null(),Ns=o.union([Ls,js]),Ps=o.string(),_s=o.null(),ws=o.union([Ps,_s]),Ws=o.string(),Gs=o.null(),Ms=o.union([Ws,Gs]),xs=o.string(),Os=o.null(),vs=o.union([xs,Os]),qs=o.string(),Us=o.null(),Hs=o.union([qs,Us]),zs=o.object({name:Ds,language:Is,theme:Rs,logo_url:Es,favicon_url:Ns,brand_name:ws,main_color:Ms,font_family:vs,font_color:Hs}),Bs=o.boolean(),$s=o.string(),Ks=o.array($s),Qs=o.object({is_public:Bs,required_roles:Ks}),Xs=o.object({access_control:Qs}),Ys=o.string(),Zs=o.string(),oa=o.number(),na=o.array(oa),ta=o.string(),ea=o.string(),sa=o.string(),aa=o.string(),ia=o.literal("task"),ma=o.string(),ca=o.null(),ra=o.union([ma,ca]),r=o.object({id:ea,target_id:sa,target_type:aa,type:ia,task_type:ra.optional()}),la=r,Sa=o.array(la),Aa=o.string(),Ca=o.object({title:Ys,id:Zs,workflow_position:na,file:ta,transitions:Sa,schedule:Aa}),ba=Ca,ga=o.array(ba),ha=o.string(),ua=o.string(),pa=o.number(),Va=o.array(pa),da=o.string(),fa=r,Ja=o.array(fa),Da=o.boolean(),Ia=o.boolean(),ya=o.string(),Ta=o.object({title:ha,id:ua,workflow_position:Va,file:da,transitions:Ja,enabled:Da,is_initial:Ia,path:ya}),Ra=Ta,Fa=o.array(Ra),ka=o.string(),Ea=o.string(),La=o.number(),ja=o.array(La),Na=o.string(),Pa=r,_a=o.array(Pa),wa=o.string(),Wa=o.null(),Ga=o.union([wa,Wa]),Ma=o.string(),xa=o.null(),Oa=o.union([Ma,xa]),va=o.string(),qa=o.null(),Ua=o.union([va,qa]),Ha=o.string(),za=o.string(),Ba=o.null(),$a=o.union([za,Ba]),Ka=o.string(),Qa=o.null(),Xa=o.union([Ka,Qa]),Ya=o.boolean(),Za=o.string(),oi=o.boolean(),ni=o.object({variable_name:Za,enabled:oi}),ti=o.string(),ei=o.null(),si=o.union([ti,ei]),ai=o.boolean(),ii=o.string(),mi=o.array(ii),ci=o.object({is_public:ai,required_roles:mi}),ri=o.boolean(),li=o.boolean(),Si=o.string(),Ai=o.null(),Ci=o.union([Si,Ai]),bi=o.object({title:ka,id:Ea,workflow_position:ja,file:Na,transitions:_a,welcome_title:Ga,start_button_text:Oa,restart_button_text:Ua,path:Ha,error_message:$a,end_message:Xa,is_initial:Ya,notification_trigger:ni,timeout_message:si,access_control:ci,allow_restart:ri,auto_start:li,start_message:Ci}),gi=bi,hi=o.array(gi),ui=o.string(),pi=o.string(),Vi=o.number(),di=o.array(Vi),fi=o.string(),Ji=r,Di=o.array(Ji),Ii=o.boolean(),yi=o.object({title:ui,id:pi,workflow_position:di,file:fi,transitions:Di,is_initial:Ii}),Ti=yi,Ri=o.array(Ti),Fi=o.literal("14.0");o.object({workspace:zs,home:Xs,jobs:ga,hooks:Fa,forms:hi,scripts:Ri,version:Fi});const ki=o.string(),Ei=o.string(),Li=o.string(),ji=o.null(),Ni=o.union([Li,ji]),Pi=o.string(),_i=o.null(),wi=o.union([Pi,_i]),Wi=o.string(),Gi=o.null(),Mi=o.union([Wi,Gi]),xi=o.string(),Oi=o.null(),vi=o.union([xi,Oi]),qi=o.string(),Ui=o.null(),Hi=o.union([qi,Ui]),zi=o.string(),Bi=o.null(),$i=o.union([zi,Bi]),Ki=o.string(),Qi=o.null(),Xi=o.union([Ki,Qi]),Yi=o.object({name:ki,language:Ei,theme:Ni,logo_url:wi,favicon_url:Mi,brand_name:vi,main_color:Hi,font_family:$i,font_color:Xi}),Zi=o.boolean(),om=o.string(),nm=o.array(om),tm=o.object({is_public:Zi,required_roles:nm}),em=o.object({access_control:tm}),sm=o.string(),am=o.string(),im=o.number(),mm=o.array(im),cm=o.string(),rm=o.string(),lm=o.string(),Sm=o.string(),Am=o.string(),Cm=o.string(),bm=o.null(),gm=o.union([Cm,bm]),i=o.object({id:rm,target_id:lm,target_type:Sm,type:Am,task_type:gm.optional()}),hm=i,um=o.array(hm),pm=o.string(),Vm=o.object({title:sm,id:am,workflow_position:mm,file:cm,transitions:um,schedule:pm}),dm=Vm,fm=o.array(dm),Jm=o.string(),Dm=o.string(),Im=o.number(),ym=o.array(Im),Tm=o.string(),Rm=i,Fm=o.array(Rm),km=o.boolean(),Em=o.boolean(),Lm=o.string(),jm=o.object({title:Jm,id:Dm,workflow_position:ym,file:Tm,transitions:Fm,enabled:km,is_initial:Em,path:Lm}),Nm=jm,Pm=o.array(Nm),_m=o.string(),wm=o.string(),Wm=o.number(),Gm=o.array(Wm),Mm=o.string(),xm=i,Om=o.array(xm),vm=o.string(),qm=o.null(),Um=o.union([vm,qm]),Hm=o.string(),zm=o.null(),Bm=o.union([Hm,zm]),$m=o.string(),Km=o.null(),Qm=o.union([$m,Km]),Xm=o.string(),Ym=o.string(),Zm=o.null(),oc=o.union([Ym,Zm]),nc=o.string(),tc=o.null(),ec=o.union([nc,tc]),sc=o.boolean(),ac=o.string(),ic=o.boolean(),mc=o.object({variable_name:ac,enabled:ic}),cc=o.string(),rc=o.null(),lc=o.union([cc,rc]),Sc=o.boolean(),Ac=o.string(),Cc=o.array(Ac),bc=o.object({is_public:Sc,required_roles:Cc}),gc=o.boolean(),hc=o.boolean(),uc=o.string(),pc=o.null(),Vc=o.union([uc,pc]),dc=o.object({title:_m,id:wm,workflow_position:Gm,file:Mm,transitions:Om,welcome_title:Um,start_button_text:Bm,restart_button_text:Qm,path:Xm,error_message:oc,end_message:ec,is_initial:sc,notification_trigger:mc,timeout_message:lc,access_control:bc,allow_restart:gc,auto_start:hc,start_message:Vc}),fc=dc,Jc=o.array(fc),Dc=o.string(),Ic=o.string(),yc=o.number(),Tc=o.array(yc),Rc=o.string(),Fc=i,kc=o.array(Fc),Ec=o.boolean(),Lc=o.object({title:Dc,id:Ic,workflow_position:Tc,file:Rc,transitions:kc,is_initial:Ec}),jc=Lc,Nc=o.array(jc),Pc=o.string(),_c=o.string(),wc=o.string().uuid(),Wc=o.null(),Gc=o.union([wc,Wc]),Mc=o.number(),xc=o.array(Mc),Oc=i,vc=o.array(Oc),qc=o.string().uuid(),Uc=o.null(),Hc=o.union([qc,Uc]),zc=o.object({id:Pc,title:_c,project_id:Gc,workflow_position:xc,transitions:vc,client_stage_id:Hc}),Bc=o.array(zc),$c=o.string(),Kc=o.string(),Qc=o.number(),Xc=o.array(Qc),Yc=i,Zc=o.array(Yc),or=o.object({id:$c,title:Kc,workflow_position:Xc,transitions:Zc}),nr=o.array(or),tr=o.literal("13.0");o.object({workspace:Yi,home:em,jobs:fm,hooks:Pm,forms:Jc,scripts:Nc,agents:Bc,clients:nr,version:tr});const er=o.string(),sr=o.string(),ar=o.string(),ir=o.null(),mr=o.union([ar,ir]),cr=o.string(),rr=o.null(),lr=o.union([cr,rr]),Sr=o.string(),Ar=o.null(),Cr=o.union([Sr,Ar]),br=o.string(),gr=o.null(),hr=o.union([br,gr]),ur=o.string(),pr=o.null(),Vr=o.union([ur,pr]),dr=o.string(),fr=o.null(),Jr=o.union([dr,fr]),Dr=o.string(),Ir=o.null(),yr=o.union([Dr,Ir]),Tr=o.object({name:er,language:sr,theme:mr,logo_url:lr,favicon_url:Cr,brand_name:hr,main_color:Vr,font_family:Jr,font_color:yr}),Rr=o.boolean(),Fr=o.string(),kr=o.array(Fr),Er=o.object({is_public:Rr,required_roles:kr}),Lr=o.object({access_control:Er}),jr=o.string(),Nr=o.string(),Pr=o.number(),_r=o.array(Pr),wr=o.string(),Wr=o.string(),Gr=o.string(),Mr=o.string(),xr=o.string(),Or=o.string(),vr=o.null(),qr=o.union([Or,vr]),l=o.object({id:Wr,target_id:Gr,target_type:Mr,type:xr,task_type:qr.optional()}),Ur=l,Hr=o.array(Ur),zr=o.string(),Br=o.object({title:jr,id:Nr,workflow_position:_r,file:wr,transitions:Hr,schedule:zr}),$r=Br,Kr=o.array($r),Qr=o.string(),Xr=o.string(),Yr=o.number(),Zr=o.array(Yr),ol=o.string(),nl=l,tl=o.array(nl),el=o.boolean(),sl=o.boolean(),al=o.string(),il=o.object({title:Qr,id:Xr,workflow_position:Zr,file:ol,transitions:tl,enabled:el,is_initial:sl,path:al}),ml=il,cl=o.array(ml),rl=o.string(),ll=o.string(),Sl=o.number(),Al=o.array(Sl),Cl=o.string(),bl=l,gl=o.array(bl),hl=o.string(),ul=o.null(),pl=o.union([hl,ul]),Vl=o.string(),dl=o.null(),fl=o.union([Vl,dl]),Jl=o.string(),Dl=o.null(),Il=o.union([Jl,Dl]),yl=o.string(),Tl=o.string(),Rl=o.null(),Fl=o.union([Tl,Rl]),kl=o.string(),El=o.null(),Ll=o.union([kl,El]),jl=o.boolean(),Nl=o.string(),Pl=o.boolean(),_l=o.object({variable_name:Nl,enabled:Pl}),wl=o.string(),Wl=o.null(),Gl=o.union([wl,Wl]),Ml=o.boolean(),xl=o.string(),Ol=o.array(xl),vl=o.object({is_public:Ml,required_roles:Ol}),ql=o.boolean(),Ul=o.boolean(),Hl=o.string(),zl=o.null(),Bl=o.union([Hl,zl]),$l=o.object({title:rl,id:ll,workflow_position:Al,file:Cl,transitions:gl,welcome_title:pl,start_button_text:fl,restart_button_text:Il,path:yl,error_message:Fl,end_message:Ll,is_initial:jl,notification_trigger:_l,timeout_message:Gl,access_control:vl,allow_restart:ql,auto_start:Ul,start_message:Bl}),Kl=$l,Ql=o.array(Kl),Xl=o.string(),Yl=o.string(),Zl=o.number(),oS=o.array(Zl),nS=o.string(),tS=l,eS=o.array(tS),sS=o.boolean(),aS=o.object({title:Xl,id:Yl,workflow_position:oS,file:nS,transitions:eS,is_initial:sS}),iS=aS,mS=o.array(iS),cS=o.literal("12.0");o.object({workspace:Tr,home:Lr,jobs:Kr,hooks:cl,forms:Ql,scripts:mS,version:cS});const rS=o.literal("replace-code"),lS=o.string(),SS=o.string(),AS=o.literal("replace-code"),CS=o.object({action:rS,actionLabel:lS,newCode:SS,type:AS.optional()}),bS=CS,gS=o.literal("edit-stage-name"),hS=o.string(),uS=o.string(),pS=o.literal("edit-stage-name"),VS=o.object({action:gS,actionLabel:hS,newName:uS,type:pS.optional()}),dS=VS,fS=o.literal("add-notifiable-email"),JS=o.string(),DS=o.string(),IS=o.object({action:fS,actionLabel:JS,email:DS}),yS=IS,TS=o.literal("edit-stage-filename"),RS=o.string(),FS=o.string(),kS=o.literal("edit-stage-filename"),ES=o.object({action:TS,actionLabel:RS,newFilename:FS,type:kS.optional()}),LS=ES,jS=o.union([bS,dS,yS,LS]),NS=o.array(jS);o.object({actions:NS});const PS=o.literal("create-table"),_S=o.string(),wS=o.string().uuid(),WS=o.string(),GS=o.object({action:PS,actionLabel:_S,tableId:wS,tableName:WS}),MS=GS,xS=o.literal("create-column"),OS=o.string(),vS=o.string().uuid(),qS=o.string(),US=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),HS=o.boolean(),zS=o.string(),BS=o.boolean(),$S=o.object({action:xS,actionLabel:OS,tableId:vS,columnName:qS,columnType:US,nullable:HS,default:zS,unique:BS}),KS=$S,QS=o.literal("insert-rows"),XS=o.string(),YS=o.string().uuid(),ZS=o.record(o.any()),oA=o.array(ZS),nA=o.object({action:QS,actionLabel:XS,tableId:YS,rows:oA}),tA=nA,eA=o.literal("edit-table"),sA=o.string(),aA=o.string().uuid(),iA=o.string(),mA=o.object({action:eA,actionLabel:sA,tableId:aA,newTableName:iA}),cA=mA,rA=o.literal("edit-column"),lA=o.string(),SA=o.string().uuid(),AA=o.string().uuid(),CA=o.string(),bA=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),gA=o.boolean(),hA=o.string(),uA=o.boolean(),pA=o.string().uuid(),VA=o.object({columnId:pA}),dA=o.object({columnName:CA.optional(),columnType:bA.optional(),nullable:gA.optional(),default:hA.optional(),unique:uA.optional(),foreignKey:VA.optional()}),fA=o.object({action:rA,actionLabel:lA,columnId:SA,tableId:AA,changes:dA}),JA=fA,DA=o.literal("edit-env-var"),IA=o.string(),yA=o.string(),TA=o.string(),RA=o.object({action:DA,actionLabel:IA,key:yA,newValue:TA}),FA=RA,kA=o.literal("set-env-var"),EA=o.string(),LA=o.string(),jA=o.string(),NA=o.object({action:kA,actionLabel:EA,key:LA,value:jA}),PA=NA,_A=o.literal("install-package"),wA=o.string(),WA=o.string(),GA=o.object({action:_A,actionLabel:wA,packageName:WA}),MA=GA,xA=o.literal("create-stage"),OA=o.string(),vA=o.string().uuid(),qA=o.enum(["form","job","hook","tasklet"]),UA=o.string(),HA=o.string(),zA=o.string(),BA=o.number(),$A=o.number(),KA=o.object({x:BA,y:$A}),QA=o.literal("create-stage"),XA=o.object({action:xA,actionLabel:OA,id:vA,stageType:qA,stageName:UA,code:HA,filename:zA,position:KA,type:QA.optional()}),YA=XA,ZA=o.literal("add-transition"),oC=o.string(),nC=o.string().uuid(),tC=o.string().uuid(),eC=o.object({action:ZA,actionLabel:oC,sourceStageId:nC,targetStageId:tC}),sC=eC,aC=o.literal("edit-stage"),iC=o.string(),mC=o.string().uuid(),cC=o.enum(["form","job","hook","tasklet"]),rC=o.string(),lC=o.object({action:aC,actionLabel:iC,stageId:mC,stageType:cC,stageNewTitle:rC}),SC=lC,AC=o.union([MS,KS,tA,cA,JA,FA,PA,MA,YA,sC,SC]),CC=o.array(AC);o.object({actions:CC});const bC=o.literal("replace-code"),gC=o.string(),hC=o.number(),uC=o.number(),pC=o.object({start:hC,end:uC}),VC=o.string(),dC=o.object({action:bC,actionLabel:gC,lines:pC,newCode:VC}),fC=dC,JC=o.literal("edit-stage-name"),DC=o.string(),IC=o.string(),yC=o.object({action:JC,actionLabel:DC,newName:IC}),TC=yC,RC=o.literal("add-notifiable-email"),FC=o.string(),kC=o.string(),EC=o.object({action:RC,actionLabel:FC,email:kC}),LC=EC,jC=o.union([fC,TC,LC]),NC=o.array(jC);o.object({actions:NC});const PC=o.literal("create-table"),_C=o.string(),wC=o.string().uuid(),WC=o.string(),GC=o.object({action:PC,actionLabel:_C,tableId:wC,tableName:WC}),MC=GC,xC=o.literal("create-column"),OC=o.string(),vC=o.string().uuid(),qC=o.string(),UC=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),HC=o.object({action:xC,actionLabel:OC,tableId:vC,columnName:qC,columnType:UC}),zC=HC,BC=o.literal("set-env-var"),$C=o.string(),KC=o.string(),QC=o.string(),XC=o.object({action:BC,actionLabel:$C,key:KC,value:QC}),YC=XC,ZC=o.literal("create-stage"),ob=o.string(),nb=o.string().uuid(),tb=o.enum(["form","job","hook","tasklet"]),eb=o.string(),sb=o.string(),ab=o.string(),ib=o.number(),mb=o.number(),cb=o.object({x:ib,y:mb}),rb=o.object({action:ZC,actionLabel:ob,id:nb,stageType:tb,stageName:eb,code:sb,filename:ab,position:cb}),lb=rb,Sb=o.literal("add-transition"),Ab=o.string(),Cb=o.string().uuid(),bb=o.string().uuid(),gb=o.object({action:Sb,actionLabel:Ab,sourceStageId:Cb,targetStageId:bb}),hb=gb,ub=o.union([MC,zC,YC,lb,hb]),pb=o.array(ub);o.object({actions:pb});const Vb=o.enum(["true","false"]),db=o.enum(["true","false"]),fb=o.enum(["true","false"]),Jb=o.string().regex(new RegExp("^[0-9]+m$")),Db=o.string().regex(new RegExp("^[0-9]+m$")),Ib=o.string().regex(new RegExp("^[0-9]+Mi$")),yb=o.string().regex(new RegExp("^[0-9]+Mi$")),Tb=o.string().regex(new RegExp("^[0-9]+$")),Rb=o.number(),Fb=o.string().regex(new RegExp("^[0-9]+$")),kb=o.enum(["jusbrasil","clickbus","touchsuite","foursquare","estoca","estoca-test","irko","dr9","onfly","shared","test"]),Eb=o.enum(["3.9","3.10","3.11","3.12"]),Lb=o.string(),jb=o.string();o.object({watermarkEnabled:Vb.optional(),nativeTempDir:db.optional(),notificationsEnabled:fb.optional(),requestsCPU:Jb.optional(),limitsCPU:Db.optional(),requestsMemory:Ib.optional(),limitsMemory:yb.optional(),minReplicas:Tb.optional(),computeUnits:Rb.optional(),timeoutSeconds:Fb.optional(),workerType:kb.optional(),pythonVersion:Eb.optional(),workerNumber:Lb.optional(),baseDockerfile:jb.optional()});const Nb=o.enum(["true","false"]),Pb=o.enum(["true","false"]),_b=o.enum(["true","false"]),wb=o.string().regex(new RegExp("^[0-9]+m$")),Wb=o.string().regex(new RegExp("^[0-9]+m$")),Gb=o.string().regex(new RegExp("^[0-9]+Mi$")),Mb=o.string().regex(new RegExp("^[0-9]+Mi$")),xb=o.string().regex(new RegExp("^[0-9]+$")),Ob=o.number(),vb=o.string().regex(new RegExp("^[0-9]+$")),qb=o.enum(["jusbrasil","clickbus","touchsuite","foursquare","estoca","estoca-test","irko","dr9","onfly","shared","test"]),Ub=o.enum(["3.9","3.10","3.11","3.12"]),Hb=o.string(),zb=o.string();o.object({watermarkEnabled:Nb.optional(),seleniumInstanceEnabled:Pb.optional(),notificationsEnabled:_b.optional(),requestsCPU:wb.optional(),limitsCPU:Wb.optional(),requestsMemory:Gb.optional(),limitsMemory:Mb.optional(),minReplicas:xb.optional(),computeUnits:Ob.optional(),timeoutSeconds:vb.optional(),workerType:qb.optional(),pythonVersion:Ub.optional(),workerNumber:Hb.optional(),baseDockerfile:zb.optional()});const Bb=o.enum(["file","directory"]),$b=o.string(),Kb=o.string(),Qb=o.string().datetime({local:!0}),Xb=o.number(),Yb=o.string(),Zb=o.number(),og=o.object({type:Bb,path:$b,name:Kb,date:Qb,sizeBytes:Xb.optional(),sizeHuman:Yb.optional(),itemCount:Zb.optional()}),ng=V,tg=d,eg=f,sg=J;o.object({id:ng,name:tg,featureFlags:eg,billingMetadata:sg});const ag=A;o.object({description:ag});const ig=o.number(),mg=o.number();o.object({offset:ig.optional(),limit:mg.optional()});const cg=Z;o.array(cg);const rg=g,lg=A;o.object({name:rg,description:lg.optional()});const Sg=og,Ag=o.array(Sg),Cg=o.number();o.object({items:Ag,totalCount:Cg});const bg=m,gg=C;o.object({email:bg.optional(),roles:gg.optional()});const hg=o.number(),ug=o.number();o.object({offset:hg.optional(),limit:ug.optional()});const pg=Jn;o.array(pg);const Vg=m,dg=C;o.object({email:Vg,roles:dg});const fg=h;o.object({emailPatterns:fg});const Jg=u;o.object({projectId:Jg});const Dg=o.literal("tokens"),Ig=o.record(o.string());o.object({type:Dg,tokens:Ig});const yg=o.string(),Tg=o.string();o.object({redirect:yg,ping:Tg});const Rg=o.string(),Fg=o.record(o.any()),kg=o.string(),Eg=o.object({key:Rg,value:Fg,type:kg}),Lg=Eg,jg=o.array(Lg),Ng=o.string(),Pg=o.string(),_g=o.record(o.any()),D=o.enum(["waiting","running","processing","finished","failed","abandoned"]),wg=o.string(),Wg=o.string(),Gg=o.string(),Mg=o.string();o.object({id:Ng,stage:Pg,data:_g,status:D,created_at:wg,updated_at:Wg,parent_id:Gg.optional(),execution_id:Mg.optional()});const xg=o.string(),Og=o.string(),vg=o.string(),qg=o.string(),Ug=D,Hg=jg,zg=o.string(),Bg=o.object({id:xg,created_at:Og,updated_at:vg.optional(),assignee:qg.optional(),status:Ug,content:Hg,stage:zg.optional()}),$g=Bg,I=o.array($g),Kg=o.string(),Qg=o.enum(["form","hook","job","script"]),Xg=o.string(),Yg=o.string(),Zg=o.boolean(),y=o.object({id:Kg,type:Qg,title:Xg,path:Yg.optional(),can_be_started:Zg}),oh=y,nh=I,th=o.number(),eh=o.boolean(),sh=o.object({selected_stage:oh,stage_run_cards:nh,total_count:th,loading:eh.optional()}),ah=sh,ih=o.array(ah),mh=ih;o.object({columns:mh});const ch=I,rh=o.string(),lh=o.array(rh),Sh=o.number();o.object({stage_run_cards:ch,not_found_stages:lh,total_count:Sh});const Ah=y;o.array(Ah);const Ch=o.string(),bh=Ch,gh=o.literal("text"),hh=o.string(),uh=o.object({type:gh,text:hh}),ph=o.literal("file"),Vh=o.string(),dh=o.string(),fh=o.object({type:ph,fileName:Vh,fileContent:dh}),Jh=o.union([uh,fh]),Dh=o.array(Jh),Ih=Dh,yh=o.record(o.any()),Th=o.string();o.object({conversationId:bh,content:Ih,context:yh,humanApproval:Th.optional()});const Rh=o.string(),Fh=o.enum(["changed","created","deleted","moved"]),kh=o.string(),Wu=o.object({filepath:Rh,event:Fh,content:kh.optional()}),Eh=o.string(),Gu=o.object({separator:Eh}),Lh=o.boolean(),Mu=o.object({ok:Lh.optional()}),jh=b,Nh=o.enum(["form","hook","job","script"]),Ph=o.string(),_h=o.object({type:Nh,id:Ph}),wh=o.array(_h),Wh=o.object({file:jh,stages:wh}),xu=o.array(Wh),Gh=o.boolean(),Ou=o.object({ok:Gh.optional()}),Mh=o.string(),xh=o.array(Mh),Oh=o.string(),vh=o.array(Oh),vu=o.object({pathParts:xh,newPathParts:vh}),qh=o.boolean(),qu=o.object({ok:qh.optional()}),Uh=o.string(),Hh=o.number(),zh=o.enum(["delete","insert"]),Bh=o.string(),$h=o.number(),Kh=o.object({siteId:Uh,pos:Hh,type:zh,value:Bh.optional(),length:$h.optional()});o.array(Kh);const Qh=o.boolean(),Uu=o.object({ok:Qh.optional()}),Hu=b,Xh=o.string(),Yh=o.string(),Zh=o.literal("bug"),ou=o.string(),nu=o.string(),tu=o.string(),eu=o.object({name:nu,label:tu}),su=eu,au=o.array(su),iu=o.object({label:ou,fixes:au}),mu=iu,cu=o.array(mu),ru=o.object({name:Xh,label:Yh,type:Zh,issues:cu}),lu=o.boolean();o.object({success:lu});const Su=ru;o.array(Su);const Au=o.string();o.object({waitingRoomUrl:Au});const Cu=o.string(),bu=o.string(),gu=o.object({name:Cu,value:bu}),hu=gu;o.array(hu);const uu=m;o.object({email:uu});const pu=o.enum(["ALLOWED","UNAUTHORIZED","FORBIDEN","NOT_FOUND"]);o.object({status:pu});const Vu=o.string(),du=o.string().datetime({local:!0}),fu=o.enum(["user","assistant"]),Ju=o.string(),Du=o.string().datetime({local:!0}),Iu=o.string(),yu=o.string(),Tu=o.object({role:fu,content:Ju,createdAt:Du,toolTitle:Iu.optional(),toolCallId:yu.optional()}),Ru=o.array(Tu),Fu=o.object({id:Vu,createdAt:du,messages:Ru}),ku=Fu;o.array(ku);class Eu{async check(){return(await fetch("/_editor/api/linters/check")).json()}async fix(n,t){const a=await fetch(`/_editor/api/linters/fix/${n}/${t}`,{method:"POST"});if(!a.ok)throw new Error("Failed to fix");return S.refetch(),a.json()}}const T=new Eu,S=E(async()=>(await T.check()).map(n=>new Nu(n)));class Lu{constructor(n,t){s(this,"name");s(this,"label");s(this,"ruleName");this.name=n.name,this.label=n.label,this.ruleName=t}async fix(){await T.fix(this.ruleName,this.name)}}class ju{constructor(n,t){s(this,"label");s(this,"fixes");this.ruleName=t,this.label=n.label,this.fixes=n.fixes.map(a=>new Lu(a,t))}}class Nu{constructor(n){s(this,"name");s(this,"label");s(this,"type");s(this,"issues");this.name=n.name,this.label=n.label,this.type=n.type,this.issues=n.issues.map(t=>new ju(t,this.name))}static get asyncComputed(){return S}static fromName(n){var a;const t=(a=S.result.value)==null?void 0:a.find(R=>R.name===n);if(!t)throw new Error(`Rule ${n} not found`);return t}}export{Wu as A,Nu as L,xu as a,Hu as b,Mu as c,Uu as d,vu as e,qu as f,Ou as g,Gu as h};
|
|
2
|
-
//# sourceMappingURL=linters.5b679742.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{y as n,z as r,B as o,C as c,P as d,D as p,E as f,F as b,G as a,H as m,I as u,J as g,K as y}from"./jwt-decode.esm.b204fb7d.js";import{a as l,b as i}from"./workspaceStore.9caf566c.js";import{s as w}from"./index.dfc9f500.js";import{_ as h}from"./App.vue_vue_type_style_index_0_lang.26121baf.js";import"./userStore.26658284.js";import"./url.371275cf.js";import"./colorHelpers.c4e8851c.js";import"./PlayerConfigProvider.ead35c7b.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="7ab834d0-9741-4fbf-9e1a-cb88c2be6e89",t._sentryDebugIdIdentifier="sentry-dbid-7ab834d0-9741-4fbf-9e1a-cb88c2be6e89")}catch{}})();class I{static init(){setInterval(()=>{fetch("/_healthcheck").catch(()=>{})},20*1e3)}}(async()=>{await w();const t=await l(),s=n(),e=r({render:()=>m(h)});o.init(),c(e,i,t),I.init(),e.use(i),e.use(s),e.use(d),e.mount("#app"),e.component("VSelect",p),e.component("Markdown",f),e.component("Message",b),a(e,u),a(e,g),a(e,y)})();
|
|
2
|
-
//# sourceMappingURL=player.c715ca22.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.b204fb7d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b6940687-a0e0-46e7-98a0-814517706cc8",e._sentryDebugIdIdentifier="sentry-dbid-b6940687-a0e0-46e7-98a0-814517706cc8")}catch{}})();const i=1e3,r=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var o;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(o=e.interval)!=null?o:i)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{r as u};
|
|
2
|
-
//# sourceMappingURL=polling.5f85e241.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.b204fb7d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="842b307b-e9e6-4bd0-976a-6223c3699eaa",e._sentryDebugIdIdentifier="sentry-dbid-842b307b-e9e6-4bd0-976a-6223c3699eaa")}catch{}})();const d=e=>{try{return new URL(e),!0}catch{return!1}},o=(e,r)=>{if(!Object.keys(r).length)return e;const t=new URL(e),n=new URLSearchParams(t.search);return Object.entries(r).forEach(([a,s])=>{t.searchParams.delete(a),n.set(a,s)}),`${t.origin}${t.pathname}?${n.toString()}`};export{d as i,o as m};
|
|
2
|
-
//# sourceMappingURL=url.371275cf.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{q as f,O as b,L as v,r as w,c as n,Q as m}from"./jwt-decode.esm.b204fb7d.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e5a5db4c-16b2-4709-bb7b-94f1e6fb1cbf",t._sentryDebugIdIdentifier="sentry-dbid-e5a5db4c-16b2-4709-bb7b-94f1e6fb1cbf")}catch{}})();const p=2*60*60,y=t=>{try{const e=m(t);if(!e.exp)throw Error("expired jwt");return{email:e.email,expiresInSeconds:e.exp*1e3}}catch{console.warn("Invalid JWT")}return null},g=f("user",()=>{const t=new b(v.string(),"auth:jwt"),e=w(null),s=()=>{e.value=null,t.remove()},o=r=>{t.set(r),e.value=r},u=()=>{e.value=t.get()},l=n(()=>e.value?{Authorization:`Bearer ${e.value}`}:{}),c=n(()=>e.value?["default",`base64url.bearer.authorization.${e.value}`]:[]),a=n(()=>e.value?y(e.value):null),i=n(()=>{var r;return(r=a.value)==null?void 0:r.email}),d=()=>a.value?a.value.expiresInSeconds-Date.now()>p:!1;return u(),{jwt:e,email:i,saveJWT:o,removeJWT:s,isJWTValid:d,authHeaders:l,wsAuthHeaders:c}});export{g as u};
|
|
2
|
-
//# sourceMappingURL=userStore.26658284.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.b204fb7d.js";(function(){try{var x=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(x._sentryDebugIds=x._sentryDebugIds||{},x._sentryDebugIds[e]="50ad7031-60a7-43da-b3b3-4a6c7be903be",x._sentryDebugIdIdentifier="sentry-dbid-50ad7031-60a7-43da-b3b3-4a6c7be903be")}catch{}})();const d=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(x){const e=Math.random()*16|0;return(x=="x"?e:e&3|8).toString(16)});export{d as u};
|
|
2
|
-
//# sourceMappingURL=uuid.ffd92735.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{s as A,t as O,v as r,x as F,q as v,r as U}from"./jwt-decode.esm.b204fb7d.js";import{u as i}from"./userStore.26658284.js";import{i as I}from"./url.371275cf.js";import{i as R}from"./colorHelpers.c4e8851c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="645f1755-c4c1-4144-8f7e-c0003e017fbb",e._sentryDebugIdIdentifier="sentry-dbid-645f1755-c4c1-4144-8f7e-c0003e017fbb")}catch{}})();const $=async()=>{try{const e=await fetch("/_editor/api/workspace/version");return e.ok&&(await e.json()).version||"7d185056ede84317e632ab9bf8d1a32a1ab77607"}catch(e){return console.error("Failed to fetch Abstra version:",e),"7d185056ede84317e632ab9bf8d1a32a1ab77607"}};function b(e,a,t){return I(a)?a:t==="player"?`/_assets/${e}`:`/_editor/api/assets/${a}`}const k="#414a58",D="#FFFFFF",N="#000000",L="DM Sans",P="Untitled Project",T={value:"en",label:"English"};function C(e){var a,t,s,n,o,l,c,u,m,_,p,f,d,h,g,w;return{id:e.id,path:e.path,theme:(a=e.workspace.theme)!=null?a:D,brandName:(t=e.workspace.brand_name)!=null?t:null,title:e.title,isInitial:e.is_initial,isLocal:(s=e.is_local)!=null?s:!1,startMessage:(n=e.start_message)!=null?n:null,endMessage:(o=e.end_message)!=null?o:null,errorMessage:(l=e.error_message)!=null?l:null,timeoutMessage:(c=e.timeout_message)!=null?c:null,startButtonText:(u=e.start_button_text)!=null?u:null,restartButtonText:(m=e.restart_button_text)!=null?m:null,logoUrl:e.workspace.logo_url,mainColor:(_=e.workspace.main_color)!=null?_:k,fontFamily:(p=e.workspace.font_family)!=null?p:L,autoStart:(f=e.auto_start)!=null?f:!1,allowRestart:e.allow_restart,welcomeTitle:(d=e.welcome_title)!=null?d:null,runtimeType:"form",language:(h=e.workspace.language)!=null?h:T.value,sidebar:(w=(g=e.workspace)==null?void 0:g.sidebar)!=null?w:[]}}function y(e){var t;const a=(t=e.theme)!=null?t:D;return{name:e.name||P,fontColor:e.font_color||N,sidebar:e.sidebar||[],brandName:e.brand_name||"",fontFamily:e.font_family||L,logoUrl:e.logo_url?b("logo",e.logo_url,"player"):null,mainColor:e.main_color||k,theme:R(a)?a:b("background",a,"player"),language:e.language||T.value}}async function B(e){const a=i(),t=await fetch(`/_pages/${e}`,{headers:a.authHeaders});if(t.status===404)return null;if(!t.ok)throw new Error(await t.text());const{form:s}=await t.json();return s?C(s):null}async function M(){const e=i(),a=await fetch("/_workspace",{headers:e.authHeaders});if(a.status!=200)return y({});const t=await a.json();return y(t)}async function H(e){const a=i();return(await fetch(`/_access-control/allow${e}`,{headers:a.authHeaders})).json()}const S=[{path:"/oidc-login-callback",name:"oidcLoginCallback",component:()=>r(()=>import("./OidcLoginCallback.0dff6320.js"),["assets/OidcLoginCallback.0dff6320.js","assets/index.dfc9f500.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>r(()=>import("./OidcLogoutCallback.1f077fbb.js"),["assets/OidcLogoutCallback.1f077fbb.js","assets/index.dfc9f500.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>r(()=>import("./Login.2a4c7e48.js"),["assets/Login.2a4c7e48.js","assets/Login.vue_vue_type_script_setup_true_lang.fab46c0c.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css","assets/index.dfc9f500.js","assets/CircularLoading.02fd7b7b.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.cc2d4a95.js","assets/Logo.b7d81119.css","assets/string.4a80abd5.js","assets/index.e6b397aa.js","assets/userStore.26658284.js","assets/Login.75d13f6c.css","assets/url.371275cf.js","assets/colorHelpers.c4e8851c.js","assets/Login.3b76812d.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>r(()=>import("./Main.635e443c.js"),["assets/Main.635e443c.js","assets/PlayerNavbar.523eb145.js","assets/userStore.26658284.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css","assets/index.dfc9f500.js","assets/metadata.e6e36ac2.js","assets/PhUserList.vue.6d0e7bc8.js","assets/PhWebhooksLogo.vue.49b66d69.js","assets/LoadingOutlined.11688830.js","assets/PhSignOut.vue.ee548b4c.js","assets/index.9028af84.js","assets/PlayerNavbar.c456a4e0.css","assets/url.371275cf.js","assets/colorHelpers.c4e8851c.js","assets/Main.201c14c9.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>r(()=>import("./Home.5ce6aade.js"),["assets/Home.5ce6aade.js","assets/metadata.e6e36ac2.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css","assets/PhUserList.vue.6d0e7bc8.js","assets/PhWebhooksLogo.vue.49b66d69.js","assets/Watermark.4b6da85c.js","assets/index.dfc9f500.js","assets/constants.6f822a9d.js","assets/Watermark.b0916e90.css","assets/PhArrowSquareOut.vue.0d20b8e9.js","assets/index.dccc1696.js","assets/Card.774e5d67.js","assets/LoadingOutlined.11688830.js","assets/userStore.26658284.js","assets/url.371275cf.js","assets/colorHelpers.c4e8851c.js","assets/Home.3794e8b4.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"error/:status",name:"error",component:()=>r(()=>import("./Error.1bf571a6.js"),["assets/Error.1bf571a6.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.37e7ad5b.js","assets/Logo.cc2d4a95.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/constants.6f822a9d.js","assets/Card.774e5d67.js","assets/userStore.26658284.js","assets/url.371275cf.js","assets/colorHelpers.c4e8851c.js","assets/Error.ef2624eb.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>r(()=>import("./Form.288a7191.js"),["assets/Form.288a7191.js","assets/userStore.26658284.js","assets/jwt-decode.esm.b204fb7d.js","assets/jwt-decode.9f7a5511.css","assets/FormRunner.f721431d.js","assets/Login.vue_vue_type_script_setup_true_lang.fab46c0c.js","assets/index.dfc9f500.js","assets/CircularLoading.02fd7b7b.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.cc2d4a95.js","assets/Logo.b7d81119.css","assets/string.4a80abd5.js","assets/index.e6b397aa.js","assets/Login.75d13f6c.css","assets/Steps.4c7bc2b0.js","assets/index.138ad220.js","assets/Steps.2880920a.css","assets/Watermark.4b6da85c.js","assets/constants.6f822a9d.js","assets/Watermark.b0916e90.css","assets/FormRunner.714ce2c1.css","assets/redirect.d1904049.js","assets/url.371275cf.js","assets/asyncComputed.0f036eae.js","assets/uuid.ffd92735.js","assets/colorHelpers.c4e8851c.js","assets/Form.7493bc0a.css"]),meta:{hideLogin:!0}}]}],E=A({history:O("/"),routes:S,scrollBehavior(e){if(e.hash)return{el:e.hash}}}),V=e=>async(a,t)=>{if(F(a,t),a.meta.allowUnauthenticated)return;const n=await H(a.path),{redirect:o,...l}=a.query;switch(n.status){case"ALLOWED":break;case"UNAUTHORIZED":await e.push({name:"playerLogin",query:{...l,redirect:o||a.path},params:a.params});break;case"NOT_FOUND":await e.push({name:"error",params:{status:"404"}});break;default:await e.push({name:"error",params:{status:"403"}})}};E.beforeEach(V(E));const G=v("workspace",()=>{const e=U({workspace:null,loading:!1});return{state:e,actions:{async fetch(){e.value.loading=!0,e.value.workspace=await M(),e.value.loading=!1}}}});export{k as D,$ as a,E as b,L as c,T as d,D as e,B as f,V as g,b as m,S as r,G as u};
|
|
2
|
-
//# sourceMappingURL=workspaceStore.9caf566c.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|