@lobu/runtime-server 22.0.0 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalogs/connectors.json +1353 -181
- package/dist/catalogs/skills.json +1 -1
- package/dist/component.json +1 -1
- package/dist/connectors/README.md +14 -1
- package/dist/connectors/google_gmail.ts +1 -0
- package/dist/connectors/jira-helpers.ts +313 -0
- package/dist/connectors/jira.ts +29 -221
- package/dist/connectors/linkedin-browser-script.ts +13 -0
- package/dist/connectors/linkedin-draft-page.js +104 -0
- package/dist/connectors/linkedin-drafts.ts +73 -0
- package/dist/connectors/linkedin-identity.ts +32 -0
- package/dist/connectors/linkedin-inbox-adapter.js +1185 -0
- package/dist/connectors/linkedin-inbox.ts +156 -0
- package/dist/connectors/linkedin-like.ts +114 -0
- package/dist/connectors/linkedin-takeout.ts +577 -0
- package/dist/connectors/linkedin.ts +3998 -0
- package/dist/connectors/takeout-utils.ts +240 -0
- package/dist/connectors/tiktok-inbox-page.js +9 -9
- package/dist/connectors/tiktok-web-page.js +21 -15
- package/dist/connectors/tiktok_web.ts +63 -30
- package/dist/connectors/whatsapp-web-adapter.js +64 -564
- package/dist/connectors/whatsapp-web-helpers.ts +30 -444
- package/dist/connectors/whatsapp-web-identity.ts +20 -6
- package/dist/connectors/whatsapp_web.ts +45 -645
- package/dist/connectors/x-dm-adapter.js +556 -0
- package/dist/connectors/x-identity.ts +31 -2
- package/dist/connectors/x.ts +266 -120
- package/dist/db/migrations/20261017120000_drop_feeds_kind_virtual.sql +26 -0
- package/dist/db/migrations/20261017130000_drop_retired_dead_code_columns.sql +46 -0
- package/dist/dependencies.bun.lock +41 -41
- package/dist/guest.bundle.js +288 -148
- package/dist/owletto/dist/assets/_-3J-IrxWk.js +2 -0
- package/dist/owletto/dist/assets/{_-CEPl6gU4.js → _-DYUE3ix4.js} +3 -3
- package/dist/owletto/dist/assets/_agentId-Bn2IAjIy.js +2 -0
- package/dist/owletto/dist/assets/{_agentId-CBC_SadO.js → _agentId-Cam7Z0N7.js} +2 -2
- package/dist/owletto/dist/assets/{_automationId-YTTNksw6.js → _automationId-CXEiKVZJ.js} +2 -2
- package/dist/owletto/dist/assets/{_connectorKey._connectionId-fK0h7RAp.js → _connectorKey._connectionId-CS85l61t.js} +2 -2
- package/dist/owletto/dist/assets/{_connectorKey.index-C7TPS598.js → _connectorKey.index-clVDIyW0.js} +2 -2
- package/dist/owletto/dist/assets/{_conversationId-CEhxlTIo.js → _conversationId-Ci2k-BuN.js} +2 -2
- package/dist/owletto/dist/assets/{_deploymentId-BQfYN1U2.js → _deploymentId-BuUzGtVL.js} +2 -2
- package/dist/owletto/dist/assets/{_eventId-Cl8GSdjg.js → _eventId-B0662F8h.js} +2 -2
- package/dist/owletto/dist/assets/_name-CwWePlOl.js +2 -0
- package/dist/owletto/dist/assets/{_owner-cUtGHqSw.js → _owner-dTWkrKsK.js} +3 -3
- package/dist/owletto/dist/assets/_shape-BtS3y4M9.js +2 -0
- package/dist/owletto/dist/assets/_skillKey-Dc9m-nlR.js +2 -0
- package/dist/owletto/dist/assets/{_slug-CU1PuHB9.js → _slug-DQHutM41.js} +2 -2
- package/dist/owletto/dist/assets/_viewKey-B30ik8ma.js +2 -0
- package/dist/owletto/dist/assets/_viewKey-CUHypQnF.js +2 -0
- package/dist/owletto/dist/assets/{accept-invitation-D3OgJG4i.js → accept-invitation-w17IFTtf.js} +2 -2
- package/dist/owletto/dist/assets/{activity-route-view-DQglkhXU.js → activity-route-view-CMqYiiKM.js} +2 -2
- package/dist/owletto/dist/assets/{agent-card-controls-DzRs4Ix9.js → agent-card-controls-mnTN2AZt.js} +2 -2
- package/dist/owletto/dist/assets/{agent-client-setup-list-B2SvH7xD.js → agent-client-setup-list-Bg3hBfUV.js} +2 -2
- package/dist/owletto/dist/assets/{agent-connect-pages-B6uKvT_X.js → agent-connect-pages-B_vrqLVc.js} +2 -2
- package/dist/owletto/dist/assets/{agent-editor-form-oUnIYHd7.js → agent-editor-form-hTs7eO_U.js} +2 -2
- package/dist/owletto/dist/assets/{agent-guardrails-route-BaV1VpDh.js → agent-guardrails-route-BOrCXcAl.js} +2 -2
- package/dist/owletto/dist/assets/{agent-loading-shells-CtZJM2Gc.js → agent-loading-shells-Dqcvky-k.js} +2 -2
- package/dist/owletto/dist/assets/{agent-permissions-matrix-Ds48KFK9.js → agent-permissions-matrix-BOo_4r_4.js} +2 -2
- package/dist/owletto/dist/assets/{agent-skill-context-DPk5r08w.js → agent-skill-context-CCdvtlmH.js} +2 -2
- package/dist/owletto/dist/assets/{agent-skills-route-DYpB5H1J.js → agent-skills-route-BUxIswuq.js} +2 -2
- package/dist/owletto/dist/assets/{agent-subpage-shell-B3K_jPYR.js → agent-subpage-shell-D92imvSt.js} +2 -2
- package/dist/owletto/dist/assets/agent-thread-BJOijbT0.js +6 -0
- package/dist/owletto/dist/assets/agents-9XjpDj_S.js +2 -0
- package/dist/owletto/dist/assets/{agents-workbench-CMyk4PI7.js → agents-workbench-Bt5QCYQ7.js} +2 -2
- package/dist/owletto/dist/assets/{app._appId-DH1Qutz6.js → app._appId-CKv7_squ.js} +2 -2
- package/dist/owletto/dist/assets/{automation-detail-content-CEDNboId.js → automation-detail-content-vUwVumXf.js} +2 -2
- package/dist/owletto/dist/assets/automations-9XjpDj_S.js +2 -0
- package/dist/owletto/dist/assets/{callback-CU-hb8JB.js → callback-BRgcL8gz.js} +2 -2
- package/dist/owletto/dist/assets/{card-DIF8SF9b.js → card-Djgp00r_.js} +2 -2
- package/dist/owletto/dist/assets/{claim-DELEa-gH.js → claim-BYUZnyMp.js} +2 -2
- package/dist/owletto/dist/assets/{clients-CpG676mg.js → clients-D3Zbjxin.js} +2 -2
- package/dist/owletto/dist/assets/{code-editor-V27Z4o3P.js → code-editor-DHeyRGZI.js} +2 -2
- package/dist/owletto/dist/assets/connect-CfsFsy9P.js +2 -0
- package/dist/owletto/dist/assets/connect._clientId-DkiC8xos.js +2 -0
- package/dist/owletto/dist/assets/connected._clientId-CIXrGOsT.js +2 -0
- package/dist/owletto/dist/assets/{connected._clientId.activity-DQWcUqKM.js → connected._clientId.activity-Ckdz6I0y.js} +2 -2
- package/dist/owletto/dist/assets/{connected._clientId.index-BC3R303A.js → connected._clientId.index-CNxafNeo.js} +2 -2
- package/dist/owletto/dist/assets/{connection-DySpRE9x.js → connection-C3XXFEqh.js} +2 -2
- package/dist/owletto/dist/assets/{connection-feed-detail-C_D68j6d.js → connection-feed-detail-CIJJLDP8.js} +2 -2
- package/dist/owletto/dist/assets/{connections-browser-Cnv2iBbZ.js → connections-browser-CKZjzRz6.js} +2 -2
- package/dist/owletto/dist/assets/{connector-provenance-CNXtzYg5.js → connector-provenance-8-d8hl10.js} +2 -2
- package/dist/owletto/dist/assets/{connector-scope-lists-BKDetNDc.js → connector-scope-lists-CadPVsI3.js} +2 -2
- package/dist/owletto/dist/assets/{connectors-BJnk1z_2.js → connectors-lvLJ30lo.js} +2 -2
- package/dist/owletto/dist/assets/{consent-BVzxrAO9.js → consent-CdSvVCgx.js} +2 -2
- package/dist/owletto/dist/assets/{conversations-table-DfZGICl7.js → conversations-table-BdXoZAfc.js} +2 -2
- package/dist/owletto/dist/assets/{core.esm-DiTpULFl.js → core.esm-CYvgWCuv.js} +2 -2
- package/dist/owletto/dist/assets/create-0xW9eXxG.js +2 -0
- package/dist/owletto/dist/assets/{create-JRFM8mMf.js → create-B0qhrrX4.js} +2 -2
- package/dist/owletto/dist/assets/create-CAfF-yI1.js +2 -0
- package/dist/owletto/dist/assets/create-automation-form-CtSSeYj3.js +3 -0
- package/dist/owletto/dist/assets/create._connectorKey-i6xxkWKV.js +2 -0
- package/dist/owletto/dist/assets/{cronstrue-DPXl0qA2.js → cronstrue-n4qGUraE.js} +2 -2
- package/dist/owletto/dist/assets/deployments-4Itm35Xc.js +2 -0
- package/dist/owletto/dist/assets/{deployments-DCQdFdwG.js → deployments-RvUdVkj3.js} +2 -2
- package/dist/owletto/dist/assets/{deployments-body-D6TAWs_6.js → deployments-body-BMp7UsMo.js} +2 -2
- package/dist/owletto/dist/assets/{device-CntqYW65.js → device-CPU6CjkJ.js} +2 -2
- package/dist/owletto/dist/assets/{device-pin-tombstone-Bz4JHHMK.js → device-pin-tombstone-CrjG7gPo.js} +2 -2
- package/dist/owletto/dist/assets/{device._deviceId-D4plO3GM.js → device._deviceId-Cs3ZmXWo.js} +2 -2
- package/dist/owletto/dist/assets/{entity-options-UJs64GdQ.js → entity-options-uXjgT7y9.js} +2 -2
- package/dist/owletto/dist/assets/{entity-page-Djz6T50J.js → entity-page-Dc0LGr5U.js} +2 -2
- package/dist/owletto/dist/assets/{entity-type-page-OznRag6A.js → entity-type-page-CwZxa0BR.js} +2 -2
- package/dist/owletto/dist/assets/{event-detail-04qOUGIP.js → event-detail-ve2d6Gbb.js} +2 -2
- package/dist/owletto/dist/assets/{events-feed-fucGZSJR.js → events-feed-BtvhZF1f.js} +2 -2
- package/dist/owletto/dist/assets/{filter-editors-DCQgGLyR.js → filter-editors-Cj-v6NtH.js} +2 -2
- package/dist/owletto/dist/assets/{full-page-spinner-KpV2FS2u.js → full-page-spinner-DqpH99np.js} +2 -2
- package/dist/owletto/dist/assets/guardrails-HFo2Ut8B.js +2 -0
- package/dist/owletto/dist/assets/identity-BigVSBCl.js +2 -0
- package/dist/owletto/dist/assets/{index-BEvyBdOU.js → index-B9uPN6FC.js} +2 -2
- package/dist/owletto/dist/assets/{index-BNh2cidi.js → index-BQVliQW1.js} +2 -2
- package/dist/owletto/dist/assets/index-BfedB4Rc.js +2 -0
- package/dist/owletto/dist/assets/index-CUw3aKBI.js +2 -0
- package/dist/owletto/dist/assets/index-CXhxUkv3.js +2 -0
- package/dist/owletto/dist/assets/{index-_oPeVpL_.js → index-Cr5hwh-C.js} +66 -66
- package/dist/owletto/dist/assets/index-CzkTV4ZQ.js +2 -0
- package/dist/owletto/dist/assets/index-DKSx8JN_.js +2 -0
- package/dist/owletto/dist/assets/{index-D3s8rhG9.js → index-DVk7Ug0d.js} +2 -2
- package/dist/owletto/dist/assets/index-DmZuKGf8.js +2 -0
- package/dist/owletto/dist/assets/{index-DCdkwg9H.js → index-Hio-HRfo.js} +2 -2
- package/dist/owletto/dist/assets/{index-BJXkc60S.js → index-ICgKp3YK.js} +2 -2
- package/dist/owletto/dist/assets/index-cPcroOH0.js +2 -0
- package/dist/owletto/dist/assets/{index-BOzuAbvi.js → index-n7sTbNv4.js} +2 -2
- package/dist/owletto/dist/assets/index-xiFpcWKv.js +2 -0
- package/dist/owletto/dist/assets/{json-diff-D_Ym3Uku.js → json-diff-DBoag_OS.js} +2 -2
- package/dist/owletto/dist/assets/{list-skeleton-Bl0OS39L.js → list-skeleton-C_GuoxAH.js} +2 -2
- package/dist/owletto/dist/assets/{login-QHdxqX-4.js → login-Ci6ixHuL.js} +2 -2
- package/dist/owletto/dist/assets/{logout-DUccApuZ.js → logout-CLGgeZB7.js} +2 -2
- package/dist/owletto/dist/assets/{member-scope-gate-CFbrq1by.js → member-scope-gate-B44INDPY.js} +2 -2
- package/dist/owletto/dist/assets/{memory-browse-page-IrIXuZTF.js → memory-browse-page-DyQiRvzl.js} +2 -2
- package/dist/owletto/dist/assets/{model-selector-CB1BDvlW.js → model-selector-dAbDgJvx.js} +2 -2
- package/dist/owletto/dist/assets/models-DpVP7ZwX.js +2 -0
- package/dist/owletto/dist/assets/{new-BWo8_Pms.js → new-BUb7AnEW.js} +2 -2
- package/dist/owletto/dist/assets/{new-B5UsLiy6.js → new-BkdULx2r.js} +2 -2
- package/dist/owletto/dist/assets/{new-DpmDXmFI.js → new-CHOr-EcI.js} +2 -2
- package/dist/owletto/dist/assets/{oauth-workspace-access-PGyTnW2K.js → oauth-workspace-access-BxsjwgdH.js} +2 -2
- package/dist/owletto/dist/assets/{organization-BH8PYlVu.js → organization-gxGeDjIV.js} +2 -2
- package/dist/owletto/dist/assets/{peek-pane-content-B2AFNTzP.js → peek-pane-content-CHoQHe2H.js} +2 -2
- package/dist/owletto/dist/assets/{permissions-CwN_YP3u.js → permissions-aPHaKLec.js} +2 -2
- package/dist/owletto/dist/assets/{proposal-review-shell-DKKGu4Ww.js → proposal-review-shell-UcZr87_Q.js} +2 -2
- package/dist/owletto/dist/assets/public-shell-ready-DcnlADmj.js +2 -0
- package/dist/owletto/dist/assets/{recent-DqdZE_TI.js → recent-D-65Pgu-.js} +2 -2
- package/dist/owletto/dist/assets/{record-activity-CvgZyCmw.js → record-activity-CBXH6v1d.js} +2 -2
- package/dist/owletto/dist/assets/{renderer-BL6VcwQH.js → renderer-mEDnVW0O.js} +2 -2
- package/dist/owletto/dist/assets/{reset-password-DAvBYkiI.js → reset-password-uX_V6bip.js} +2 -2
- package/dist/owletto/dist/assets/{runs-BWtc5rmc.js → runs-C0rCgGwX.js} +2 -2
- package/dist/owletto/dist/assets/runs-panel-Du1JMjg5.js +2 -0
- package/dist/owletto/dist/assets/{runs-table-DxIiqrSk.js → runs-table-syPJ6r6T.js} +2 -2
- package/dist/owletto/dist/assets/{settings-Crxlwps-.js → settings-9NkNA1G1.js} +2 -2
- package/dist/owletto/dist/assets/settings-E-10sLQX.js +2 -0
- package/dist/owletto/dist/assets/skills-D2Ri9b4f.js +2 -0
- package/dist/owletto/dist/assets/{source-record-panels-CRIPMWfN.js → source-record-panels-CPyzlfD1.js} +2 -2
- package/dist/owletto/dist/assets/{status-dot-C5KDvvm9.js → status-dot-B-EWMgq6.js} +2 -2
- package/dist/owletto/dist/assets/{tabs-B4Er9hJj.js → tabs-DqIIkCX-.js} +2 -2
- package/dist/owletto/dist/assets/{use-mention-search-DqEykWl_.js → use-mention-search-By8RZyKW.js} +2 -2
- package/dist/owletto/dist/assets/{view-param-filters-Cylutoy1.js → view-param-filters-CqLZQrnO.js} +2 -2
- package/dist/owletto/dist/index.html +1 -1
- package/dist/server-main.bundle.mjs +11447 -10762
- package/npm-shrinkwrap.json +160 -160
- package/package.json +1 -1
- package/vendor/connector-sdk/dist/browser-handoff-banner.d.ts +39 -0
- package/vendor/connector-sdk/dist/browser-handoff-banner.js +175 -0
- package/vendor/connector-sdk/dist/browser-source-read.d.ts +52 -0
- package/vendor/connector-sdk/dist/browser-source-read.js +107 -0
- package/vendor/connector-sdk/dist/connector-types.d.ts +10 -0
- package/vendor/connector-sdk/dist/index.d.ts +3 -0
- package/vendor/connector-sdk/dist/index.js +2 -0
- package/vendor/connector-sdk/package.json +9 -1
- package/vendor/core/dist/capabilities.d.ts +1 -1
- package/vendor/core/dist/capabilities.js +0 -1
- package/vendor/core/dist/connector-query-errors.d.ts +32 -0
- package/vendor/core/dist/connector-query-errors.js +41 -1
- package/vendor/core/dist/contracts/tools/manage-conversations.js +2 -2
- package/vendor/core/dist/contracts/tools/manage-feeds.d.ts +14 -0
- package/vendor/core/dist/contracts/tools/manage-feeds.js +17 -0
- package/vendor/core/dist/contracts/worker/protocol.d.ts +8 -131
- package/vendor/core/dist/contracts/worker/protocol.js +9 -61
- package/vendor/core/dist/device-pin-tombstones.d.ts +44 -0
- package/vendor/core/dist/device-pin-tombstones.js +57 -0
- package/vendor/core/dist/index.d.ts +2 -1
- package/vendor/core/dist/index.js +1 -0
- package/vendor/core/dist/logger.js +10 -25
- package/vendor/core/dist/utils/diagnostic-scrubber.js +258 -21
- package/vendor/core/dist/worker/wire.d.ts +0 -10
- package/vendor/core/package.json +6 -6
- package/vendor/views/package.json +1 -1
- package/dist/owletto/dist/assets/_-C_zNZben.js +0 -2
- package/dist/owletto/dist/assets/_agentId-QQW91cHX.js +0 -2
- package/dist/owletto/dist/assets/_name-t3oBJ6Zf.js +0 -2
- package/dist/owletto/dist/assets/_shape-bo2lMVCu.js +0 -2
- package/dist/owletto/dist/assets/_skillKey-Dwm4Q4wI.js +0 -2
- package/dist/owletto/dist/assets/_viewKey-Bh6E_NxA.js +0 -2
- package/dist/owletto/dist/assets/_viewKey-D4jKl-Zf.js +0 -2
- package/dist/owletto/dist/assets/agent-thread-C8UaUTWc.js +0 -6
- package/dist/owletto/dist/assets/agents-F4mGI2oF.js +0 -2
- package/dist/owletto/dist/assets/automations-F4mGI2oF.js +0 -2
- package/dist/owletto/dist/assets/connect-B2YL6qIK.js +0 -2
- package/dist/owletto/dist/assets/connect._clientId-B6LDmDRV.js +0 -2
- package/dist/owletto/dist/assets/connected._clientId-D_HaKoI1.js +0 -2
- package/dist/owletto/dist/assets/create-CUqO6Kfk.js +0 -2
- package/dist/owletto/dist/assets/create-automation-form-_4vUkrls.js +0 -3
- package/dist/owletto/dist/assets/create-iHcxV0xd.js +0 -2
- package/dist/owletto/dist/assets/create._connectorKey-CCYLEicg.js +0 -2
- package/dist/owletto/dist/assets/deployments-ihkhK1zV.js +0 -2
- package/dist/owletto/dist/assets/guardrails-molekzAF.js +0 -2
- package/dist/owletto/dist/assets/identity-BJcaG66g.js +0 -2
- package/dist/owletto/dist/assets/index-B04ON9Jv.js +0 -2
- package/dist/owletto/dist/assets/index-BOsK-K-2.js +0 -2
- package/dist/owletto/dist/assets/index-Bk1x7A67.js +0 -2
- package/dist/owletto/dist/assets/index-CFnx5huL.js +0 -2
- package/dist/owletto/dist/assets/index-Dbd1jusf.js +0 -2
- package/dist/owletto/dist/assets/index-DqZuqC08.js +0 -2
- package/dist/owletto/dist/assets/index-Dr-Xg_xO.js +0 -2
- package/dist/owletto/dist/assets/index-KPOvMVa-.js +0 -2
- package/dist/owletto/dist/assets/models-DnMb3n-Z.js +0 -2
- package/dist/owletto/dist/assets/public-shell-ready-7KYnww6e.js +0 -2
- package/dist/owletto/dist/assets/runs-panel-BO3h5RkS.js +0 -2
- package/dist/owletto/dist/assets/settings-4Ev-0iNL.js +0 -2
- package/dist/owletto/dist/assets/skills-D0X430X8.js +0 -2
- package/vendor/core/dist/contracts/worker/device-chat.d.ts +0 -4
- package/vendor/core/dist/contracts/worker/device-chat.js +0 -26
package/dist/guest.bundle.js
CHANGED
|
@@ -4501,6 +4501,271 @@ var init_agent_tooling = __esm({
|
|
|
4501
4501
|
}
|
|
4502
4502
|
});
|
|
4503
4503
|
|
|
4504
|
+
// ../plugin-toolkit/dist/mcp-content.js
|
|
4505
|
+
var require_mcp_content = __commonJS({
|
|
4506
|
+
"../plugin-toolkit/dist/mcp-content.js"(exports2) {
|
|
4507
|
+
"use strict";
|
|
4508
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4509
|
+
exports2.MAX_TOOL_IMAGES = exports2.MAX_TOOL_IMAGE_BYTES_TOTAL = exports2.MAX_TOOL_IMAGE_BYTES = void 0;
|
|
4510
|
+
exports2.toolImageBudget = toolImageBudget2;
|
|
4511
|
+
exports2.isToolImageMimeType = isToolImageMimeType;
|
|
4512
|
+
exports2.mcpToolResult = mcpToolResult2;
|
|
4513
|
+
exports2.MAX_TOOL_IMAGE_BYTES = 5 * 1024 * 1024;
|
|
4514
|
+
exports2.MAX_TOOL_IMAGE_BYTES_TOTAL = 10 * 1024 * 1024;
|
|
4515
|
+
exports2.MAX_TOOL_IMAGES = 8;
|
|
4516
|
+
function base64DecodedBytes(data) {
|
|
4517
|
+
return Math.ceil(data.length / 4) * 3 - (data.endsWith("==") ? 2 : data.endsWith("=") ? 1 : 0);
|
|
4518
|
+
}
|
|
4519
|
+
function toolImageBudget2(content) {
|
|
4520
|
+
const budget = { bytes: 0 };
|
|
4521
|
+
for (const raw of content) {
|
|
4522
|
+
if (!raw || typeof raw !== "object")
|
|
4523
|
+
continue;
|
|
4524
|
+
const part = raw;
|
|
4525
|
+
if (part.type !== "image" || typeof part.data !== "string")
|
|
4526
|
+
continue;
|
|
4527
|
+
budget.bytes += base64DecodedBytes(part.data);
|
|
4528
|
+
}
|
|
4529
|
+
return budget;
|
|
4530
|
+
}
|
|
4531
|
+
var IMAGE_TYPES = /* @__PURE__ */ new Set([
|
|
4532
|
+
"image/png",
|
|
4533
|
+
"image/jpeg",
|
|
4534
|
+
"image/webp",
|
|
4535
|
+
"image/gif"
|
|
4536
|
+
]);
|
|
4537
|
+
function isToolImageMimeType(value) {
|
|
4538
|
+
return typeof value === "string" && IMAGE_TYPES.has(value);
|
|
4539
|
+
}
|
|
4540
|
+
function imageBytes(data) {
|
|
4541
|
+
if (typeof data !== "string" || data.length === 0)
|
|
4542
|
+
return null;
|
|
4543
|
+
if (data.length > 4 * Math.ceil(exports2.MAX_TOOL_IMAGE_BYTES / 3))
|
|
4544
|
+
return null;
|
|
4545
|
+
if (data.length % 4 !== 0 || !/^[A-Za-z0-9+/]*={0,2}$/.test(data))
|
|
4546
|
+
return null;
|
|
4547
|
+
return base64DecodedBytes(data);
|
|
4548
|
+
}
|
|
4549
|
+
function hasImageSignature(data, mimeType) {
|
|
4550
|
+
const header = atob(data.slice(0, 16));
|
|
4551
|
+
if (mimeType === "image/png")
|
|
4552
|
+
return header.startsWith("\x89PNG\r\n\n");
|
|
4553
|
+
if (mimeType === "image/jpeg")
|
|
4554
|
+
return header.startsWith("\xFF\xD8\xFF");
|
|
4555
|
+
if (mimeType === "image/gif")
|
|
4556
|
+
return header.startsWith("GIF87a") || header.startsWith("GIF89a");
|
|
4557
|
+
return header.startsWith("RIFF") && header.slice(8, 12) === "WEBP";
|
|
4558
|
+
}
|
|
4559
|
+
function mcpToolResult2(content, fallback, supportsImages = true, budget) {
|
|
4560
|
+
const result = { content: [] };
|
|
4561
|
+
let count = 0;
|
|
4562
|
+
let total = 0;
|
|
4563
|
+
let hasImageLink = false;
|
|
4564
|
+
const diagnostics = /* @__PURE__ */ new Set();
|
|
4565
|
+
for (const raw of Array.isArray(content) ? content : []) {
|
|
4566
|
+
if (!raw || typeof raw !== "object")
|
|
4567
|
+
continue;
|
|
4568
|
+
const part = raw;
|
|
4569
|
+
if (part.type === "text" && typeof part.text === "string") {
|
|
4570
|
+
if (part.text)
|
|
4571
|
+
result.content.push({ type: "text", text: part.text });
|
|
4572
|
+
continue;
|
|
4573
|
+
}
|
|
4574
|
+
if (part.type === "resource_link") {
|
|
4575
|
+
hasImageLink ||= isToolImageMimeType(part.mimeType);
|
|
4576
|
+
continue;
|
|
4577
|
+
}
|
|
4578
|
+
const resource = part.type === "resource" && part.resource && typeof part.resource === "object" ? part.resource : void 0;
|
|
4579
|
+
if (resource && typeof resource.text === "string") {
|
|
4580
|
+
if (resource.text)
|
|
4581
|
+
result.content.push({ type: "text", text: resource.text });
|
|
4582
|
+
continue;
|
|
4583
|
+
}
|
|
4584
|
+
if (part.type !== "image" && !(resource && typeof resource.mimeType === "string" && resource.mimeType.startsWith("image/")))
|
|
4585
|
+
continue;
|
|
4586
|
+
const mimeType = resource ? resource.mimeType : part.mimeType;
|
|
4587
|
+
const data = resource ? resource.blob : part.data;
|
|
4588
|
+
const size = imageBytes(data);
|
|
4589
|
+
let reason;
|
|
4590
|
+
if (!supportsImages)
|
|
4591
|
+
reason = "the selected model does not declare image input support";
|
|
4592
|
+
else if (!isToolImageMimeType(mimeType) || size === null || !hasImageSignature(data, mimeType))
|
|
4593
|
+
reason = "unsupported MIME type, invalid image bytes, or image size limit";
|
|
4594
|
+
else if (size > exports2.MAX_TOOL_IMAGE_BYTES || count >= exports2.MAX_TOOL_IMAGES || total + size > exports2.MAX_TOOL_IMAGE_BYTES_TOTAL || budget && budget.bytes + size > exports2.MAX_TOOL_IMAGE_BYTES_TOTAL)
|
|
4595
|
+
reason = "tool image budget exhausted";
|
|
4596
|
+
if (reason) {
|
|
4597
|
+
diagnostics.add(`Image not delivered: ${reason}. Do not infer visual contents.`);
|
|
4598
|
+
continue;
|
|
4599
|
+
}
|
|
4600
|
+
result.content.push({
|
|
4601
|
+
type: "image",
|
|
4602
|
+
mimeType,
|
|
4603
|
+
data
|
|
4604
|
+
});
|
|
4605
|
+
count++;
|
|
4606
|
+
total += size;
|
|
4607
|
+
if (budget)
|
|
4608
|
+
budget.bytes += size;
|
|
4609
|
+
}
|
|
4610
|
+
if (hasImageLink && count === 0)
|
|
4611
|
+
diagnostics.add("Image bytes were not supplied. A resource link alone is not a visual observation.");
|
|
4612
|
+
for (const text2 of diagnostics)
|
|
4613
|
+
result.content.push({ type: "text", text: text2 });
|
|
4614
|
+
if (result.content.length === 0)
|
|
4615
|
+
result.content.push({ type: "text", text: fallback });
|
|
4616
|
+
return result;
|
|
4617
|
+
}
|
|
4618
|
+
}
|
|
4619
|
+
});
|
|
4620
|
+
|
|
4621
|
+
// ../plugin-toolkit/dist/index.js
|
|
4622
|
+
var require_dist = __commonJS({
|
|
4623
|
+
"../plugin-toolkit/dist/index.js"(exports2) {
|
|
4624
|
+
"use strict";
|
|
4625
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4626
|
+
exports2.toolLogger = exports2.MAX_TOOL_IMAGES = exports2.MAX_TOOL_IMAGE_BYTES_TOTAL = exports2.MAX_TOOL_IMAGE_BYTES = exports2.isToolImageMimeType = exports2.mcpToolResult = exports2.toolImageBudget = void 0;
|
|
4627
|
+
exports2.setToolLogger = setToolLogger;
|
|
4628
|
+
exports2.createGatewayClient = createGatewayClient;
|
|
4629
|
+
exports2.textResult = textResult;
|
|
4630
|
+
exports2.jsonResult = jsonResult;
|
|
4631
|
+
exports2.joinTextContent = joinTextContent;
|
|
4632
|
+
exports2.withErrorHandling = withErrorHandling;
|
|
4633
|
+
exports2.parseErrorBody = parseErrorBody;
|
|
4634
|
+
exports2.gatewayFetch = gatewayFetch;
|
|
4635
|
+
exports2.postLinkButton = postLinkButton;
|
|
4636
|
+
exports2.toToolResult = toToolResult;
|
|
4637
|
+
exports2.defineTool = defineTool2;
|
|
4638
|
+
exports2.defineGatewayTool = defineGatewayTool;
|
|
4639
|
+
var agent_tooling_1 = (init_agent_tooling(), __toCommonJS(agent_tooling_exports));
|
|
4640
|
+
var mcp_content_1 = require_mcp_content();
|
|
4641
|
+
Object.defineProperty(exports2, "toolImageBudget", { enumerable: true, get: function() {
|
|
4642
|
+
return mcp_content_1.toolImageBudget;
|
|
4643
|
+
} });
|
|
4644
|
+
Object.defineProperty(exports2, "mcpToolResult", { enumerable: true, get: function() {
|
|
4645
|
+
return mcp_content_1.mcpToolResult;
|
|
4646
|
+
} });
|
|
4647
|
+
Object.defineProperty(exports2, "isToolImageMimeType", { enumerable: true, get: function() {
|
|
4648
|
+
return mcp_content_1.isToolImageMimeType;
|
|
4649
|
+
} });
|
|
4650
|
+
Object.defineProperty(exports2, "MAX_TOOL_IMAGE_BYTES", { enumerable: true, get: function() {
|
|
4651
|
+
return mcp_content_1.MAX_TOOL_IMAGE_BYTES;
|
|
4652
|
+
} });
|
|
4653
|
+
Object.defineProperty(exports2, "MAX_TOOL_IMAGE_BYTES_TOTAL", { enumerable: true, get: function() {
|
|
4654
|
+
return mcp_content_1.MAX_TOOL_IMAGE_BYTES_TOTAL;
|
|
4655
|
+
} });
|
|
4656
|
+
Object.defineProperty(exports2, "MAX_TOOL_IMAGES", { enumerable: true, get: function() {
|
|
4657
|
+
return mcp_content_1.MAX_TOOL_IMAGES;
|
|
4658
|
+
} });
|
|
4659
|
+
var logger = {
|
|
4660
|
+
error: (message, ...args) => console.error(message, ...args),
|
|
4661
|
+
warn: (message, ...args) => console.warn(message, ...args),
|
|
4662
|
+
info: (message, ...args) => console.info(message, ...args),
|
|
4663
|
+
debug: (message, ...args) => console.debug(message, ...args)
|
|
4664
|
+
};
|
|
4665
|
+
function setToolLogger(next) {
|
|
4666
|
+
logger = next;
|
|
4667
|
+
}
|
|
4668
|
+
exports2.toolLogger = {
|
|
4669
|
+
error: (message, ...args) => logger.error(message, ...args),
|
|
4670
|
+
warn: (message, ...args) => logger.warn(message, ...args),
|
|
4671
|
+
info: (message, ...args) => logger.info(message, ...args),
|
|
4672
|
+
debug: (message, ...args) => logger.debug(message, ...args)
|
|
4673
|
+
};
|
|
4674
|
+
function createGatewayClient(config) {
|
|
4675
|
+
const fetchFn = config.fetchFn ?? fetch;
|
|
4676
|
+
return {
|
|
4677
|
+
request(path6, init = {}) {
|
|
4678
|
+
return fetchFn(`${config.baseUrl}${path6}`, {
|
|
4679
|
+
method: init.method,
|
|
4680
|
+
headers: {
|
|
4681
|
+
Authorization: `Bearer ${config.token}`,
|
|
4682
|
+
...init.body !== void 0 ? { "Content-Type": "application/json" } : {},
|
|
4683
|
+
...init.headers
|
|
4684
|
+
},
|
|
4685
|
+
body: init.body,
|
|
4686
|
+
signal: init.signal ?? (init.timeoutMs !== void 0 ? AbortSignal.timeout(init.timeoutMs) : void 0)
|
|
4687
|
+
});
|
|
4688
|
+
}
|
|
4689
|
+
};
|
|
4690
|
+
}
|
|
4691
|
+
function textResult(text2) {
|
|
4692
|
+
return { content: [{ type: "text", text: text2 }] };
|
|
4693
|
+
}
|
|
4694
|
+
function jsonResult(payload) {
|
|
4695
|
+
return textResult(JSON.stringify(payload));
|
|
4696
|
+
}
|
|
4697
|
+
function joinTextContent(content) {
|
|
4698
|
+
return (content ?? []).filter((part) => part.type === "text" && typeof part.text === "string").map((part) => part.text).join("\n");
|
|
4699
|
+
}
|
|
4700
|
+
function withErrorHandling(label, fn2) {
|
|
4701
|
+
return fn2().catch((error) => {
|
|
4702
|
+
logger.error(`${label} error:`, error);
|
|
4703
|
+
return textResult(`Error: ${error instanceof Error ? error.message : String(error)}`);
|
|
4704
|
+
});
|
|
4705
|
+
}
|
|
4706
|
+
async function parseErrorBody(response) {
|
|
4707
|
+
return response.json().catch(() => ({ error: response.statusText }));
|
|
4708
|
+
}
|
|
4709
|
+
async function gatewayFetch(gateway, path6, options = {}, errorPrefix) {
|
|
4710
|
+
let response;
|
|
4711
|
+
try {
|
|
4712
|
+
response = await createGatewayClient({
|
|
4713
|
+
baseUrl: gateway.gatewayUrl,
|
|
4714
|
+
token: gateway.workerToken
|
|
4715
|
+
}).request(path6, {
|
|
4716
|
+
...options,
|
|
4717
|
+
timeoutMs: options.timeoutMs ?? 6e4
|
|
4718
|
+
});
|
|
4719
|
+
} catch (error) {
|
|
4720
|
+
if (error instanceof Error && error.name === "TimeoutError") {
|
|
4721
|
+
logger.error(`${errorPrefix}: request timed out`);
|
|
4722
|
+
return { error: textResult(`Error: ${errorPrefix} (timed out)`) };
|
|
4723
|
+
}
|
|
4724
|
+
throw error;
|
|
4725
|
+
}
|
|
4726
|
+
if (!response.ok) {
|
|
4727
|
+
const body = await parseErrorBody(response);
|
|
4728
|
+
logger.error(`${errorPrefix}: ${response.status}`, body);
|
|
4729
|
+
return { error: textResult(`Error: ${body.error || errorPrefix}`) };
|
|
4730
|
+
}
|
|
4731
|
+
return { data: await response.json() };
|
|
4732
|
+
}
|
|
4733
|
+
async function postLinkButton(gateway, args) {
|
|
4734
|
+
const { error } = await gatewayFetch(gateway, "/internal/interactions/create", {
|
|
4735
|
+
method: "POST",
|
|
4736
|
+
body: JSON.stringify({
|
|
4737
|
+
interactionType: "link_button",
|
|
4738
|
+
url: args.url,
|
|
4739
|
+
label: args.label,
|
|
4740
|
+
linkType: args.linkType ?? "oauth",
|
|
4741
|
+
body: args.body
|
|
4742
|
+
})
|
|
4743
|
+
}, "Failed to post link button");
|
|
4744
|
+
if (error) {
|
|
4745
|
+
throw new Error(joinTextContent(error.content) || "Failed to post link button");
|
|
4746
|
+
}
|
|
4747
|
+
}
|
|
4748
|
+
function toToolResult(result) {
|
|
4749
|
+
return { content: result.content, details: {} };
|
|
4750
|
+
}
|
|
4751
|
+
function defineTool2(config) {
|
|
4752
|
+
return {
|
|
4753
|
+
name: config.name,
|
|
4754
|
+
label: config.name,
|
|
4755
|
+
description: config.description,
|
|
4756
|
+
parameters: config.parameters,
|
|
4757
|
+
execute: async (_toolCallId, args) => toToolResult(await config.run(args))
|
|
4758
|
+
};
|
|
4759
|
+
}
|
|
4760
|
+
function defineGatewayTool(config) {
|
|
4761
|
+
return defineTool2({
|
|
4762
|
+
...config,
|
|
4763
|
+
description: (0, agent_tooling_1.getCustomToolDescription)(config.name)
|
|
4764
|
+
});
|
|
4765
|
+
}
|
|
4766
|
+
}
|
|
4767
|
+
});
|
|
4768
|
+
|
|
4504
4769
|
// ../../node_modules/@sinclair/typebox/build/cjs/type/guard/value.js
|
|
4505
4770
|
var require_value = __commonJS({
|
|
4506
4771
|
"../../node_modules/@sinclair/typebox/build/cjs/type/guard/value.js"(exports2) {
|
|
@@ -16114,7 +16379,7 @@ var require_value5 = __commonJS({
|
|
|
16114
16379
|
});
|
|
16115
16380
|
|
|
16116
16381
|
// ../plugin-api/dist/index.js
|
|
16117
|
-
var
|
|
16382
|
+
var require_dist2 = __commonJS({
|
|
16118
16383
|
"../plugin-api/dist/index.js"(exports2) {
|
|
16119
16384
|
"use strict";
|
|
16120
16385
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -16144,135 +16409,6 @@ var require_dist = __commonJS({
|
|
|
16144
16409
|
}
|
|
16145
16410
|
});
|
|
16146
16411
|
|
|
16147
|
-
// ../plugin-toolkit/dist/index.js
|
|
16148
|
-
var require_dist2 = __commonJS({
|
|
16149
|
-
"../plugin-toolkit/dist/index.js"(exports2) {
|
|
16150
|
-
"use strict";
|
|
16151
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16152
|
-
exports2.toolLogger = void 0;
|
|
16153
|
-
exports2.setToolLogger = setToolLogger;
|
|
16154
|
-
exports2.createGatewayClient = createGatewayClient;
|
|
16155
|
-
exports2.textResult = textResult;
|
|
16156
|
-
exports2.jsonResult = jsonResult;
|
|
16157
|
-
exports2.joinTextContent = joinTextContent;
|
|
16158
|
-
exports2.withErrorHandling = withErrorHandling;
|
|
16159
|
-
exports2.parseErrorBody = parseErrorBody;
|
|
16160
|
-
exports2.gatewayFetch = gatewayFetch;
|
|
16161
|
-
exports2.postLinkButton = postLinkButton;
|
|
16162
|
-
exports2.toToolResult = toToolResult;
|
|
16163
|
-
exports2.defineTool = defineTool2;
|
|
16164
|
-
exports2.defineGatewayTool = defineGatewayTool;
|
|
16165
|
-
var agent_tooling_1 = (init_agent_tooling(), __toCommonJS(agent_tooling_exports));
|
|
16166
|
-
var logger = {
|
|
16167
|
-
error: (message, ...args) => console.error(message, ...args),
|
|
16168
|
-
warn: (message, ...args) => console.warn(message, ...args),
|
|
16169
|
-
info: (message, ...args) => console.info(message, ...args),
|
|
16170
|
-
debug: (message, ...args) => console.debug(message, ...args)
|
|
16171
|
-
};
|
|
16172
|
-
function setToolLogger(next) {
|
|
16173
|
-
logger = next;
|
|
16174
|
-
}
|
|
16175
|
-
exports2.toolLogger = {
|
|
16176
|
-
error: (message, ...args) => logger.error(message, ...args),
|
|
16177
|
-
warn: (message, ...args) => logger.warn(message, ...args),
|
|
16178
|
-
info: (message, ...args) => logger.info(message, ...args),
|
|
16179
|
-
debug: (message, ...args) => logger.debug(message, ...args)
|
|
16180
|
-
};
|
|
16181
|
-
function createGatewayClient(config) {
|
|
16182
|
-
const fetchFn = config.fetchFn ?? fetch;
|
|
16183
|
-
return {
|
|
16184
|
-
request(path6, init = {}) {
|
|
16185
|
-
return fetchFn(`${config.baseUrl}${path6}`, {
|
|
16186
|
-
method: init.method,
|
|
16187
|
-
headers: {
|
|
16188
|
-
Authorization: `Bearer ${config.token}`,
|
|
16189
|
-
...init.body !== void 0 ? { "Content-Type": "application/json" } : {},
|
|
16190
|
-
...init.headers
|
|
16191
|
-
},
|
|
16192
|
-
body: init.body,
|
|
16193
|
-
signal: init.signal ?? (init.timeoutMs !== void 0 ? AbortSignal.timeout(init.timeoutMs) : void 0)
|
|
16194
|
-
});
|
|
16195
|
-
}
|
|
16196
|
-
};
|
|
16197
|
-
}
|
|
16198
|
-
function textResult(text2) {
|
|
16199
|
-
return { content: [{ type: "text", text: text2 }] };
|
|
16200
|
-
}
|
|
16201
|
-
function jsonResult(payload) {
|
|
16202
|
-
return textResult(JSON.stringify(payload));
|
|
16203
|
-
}
|
|
16204
|
-
function joinTextContent(content) {
|
|
16205
|
-
return (content ?? []).filter((part) => part.type === "text" && typeof part.text === "string").map((part) => part.text).join("\n");
|
|
16206
|
-
}
|
|
16207
|
-
function withErrorHandling(label, fn2) {
|
|
16208
|
-
return fn2().catch((error) => {
|
|
16209
|
-
logger.error(`${label} error:`, error);
|
|
16210
|
-
return textResult(`Error: ${error instanceof Error ? error.message : String(error)}`);
|
|
16211
|
-
});
|
|
16212
|
-
}
|
|
16213
|
-
async function parseErrorBody(response) {
|
|
16214
|
-
return response.json().catch(() => ({ error: response.statusText }));
|
|
16215
|
-
}
|
|
16216
|
-
async function gatewayFetch(gateway, path6, options = {}, errorPrefix) {
|
|
16217
|
-
let response;
|
|
16218
|
-
try {
|
|
16219
|
-
response = await createGatewayClient({
|
|
16220
|
-
baseUrl: gateway.gatewayUrl,
|
|
16221
|
-
token: gateway.workerToken
|
|
16222
|
-
}).request(path6, {
|
|
16223
|
-
...options,
|
|
16224
|
-
timeoutMs: options.timeoutMs ?? 6e4
|
|
16225
|
-
});
|
|
16226
|
-
} catch (error) {
|
|
16227
|
-
if (error instanceof Error && error.name === "TimeoutError") {
|
|
16228
|
-
logger.error(`${errorPrefix}: request timed out`);
|
|
16229
|
-
return { error: textResult(`Error: ${errorPrefix} (timed out)`) };
|
|
16230
|
-
}
|
|
16231
|
-
throw error;
|
|
16232
|
-
}
|
|
16233
|
-
if (!response.ok) {
|
|
16234
|
-
const body = await parseErrorBody(response);
|
|
16235
|
-
logger.error(`${errorPrefix}: ${response.status}`, body);
|
|
16236
|
-
return { error: textResult(`Error: ${body.error || errorPrefix}`) };
|
|
16237
|
-
}
|
|
16238
|
-
return { data: await response.json() };
|
|
16239
|
-
}
|
|
16240
|
-
async function postLinkButton(gateway, args) {
|
|
16241
|
-
const { error } = await gatewayFetch(gateway, "/internal/interactions/create", {
|
|
16242
|
-
method: "POST",
|
|
16243
|
-
body: JSON.stringify({
|
|
16244
|
-
interactionType: "link_button",
|
|
16245
|
-
url: args.url,
|
|
16246
|
-
label: args.label,
|
|
16247
|
-
linkType: args.linkType ?? "oauth",
|
|
16248
|
-
body: args.body
|
|
16249
|
-
})
|
|
16250
|
-
}, "Failed to post link button");
|
|
16251
|
-
if (error) {
|
|
16252
|
-
throw new Error(joinTextContent(error.content) || "Failed to post link button");
|
|
16253
|
-
}
|
|
16254
|
-
}
|
|
16255
|
-
function toToolResult(result) {
|
|
16256
|
-
return { content: result.content, details: {} };
|
|
16257
|
-
}
|
|
16258
|
-
function defineTool2(config) {
|
|
16259
|
-
return {
|
|
16260
|
-
name: config.name,
|
|
16261
|
-
label: config.name,
|
|
16262
|
-
description: config.description,
|
|
16263
|
-
parameters: config.parameters,
|
|
16264
|
-
execute: async (_toolCallId, args) => toToolResult(await config.run(args))
|
|
16265
|
-
};
|
|
16266
|
-
}
|
|
16267
|
-
function defineGatewayTool(config) {
|
|
16268
|
-
return defineTool2({
|
|
16269
|
-
...config,
|
|
16270
|
-
description: (0, agent_tooling_1.getCustomToolDescription)(config.name)
|
|
16271
|
-
});
|
|
16272
|
-
}
|
|
16273
|
-
}
|
|
16274
|
-
});
|
|
16275
|
-
|
|
16276
16412
|
// ../plugin-conversations/dist/index.js
|
|
16277
16413
|
var require_dist3 = __commonJS({
|
|
16278
16414
|
"../plugin-conversations/dist/index.js"(exports2) {
|
|
@@ -16291,8 +16427,8 @@ var require_dist3 = __commonJS({
|
|
|
16291
16427
|
exports2.createConversationTools = createConversationTools2;
|
|
16292
16428
|
exports2.createConversationPlugin = createConversationPlugin;
|
|
16293
16429
|
var agent_tooling_1 = (init_agent_tooling(), __toCommonJS(agent_tooling_exports));
|
|
16294
|
-
var plugin_api_1 =
|
|
16295
|
-
var plugin_toolkit_1 =
|
|
16430
|
+
var plugin_api_1 = require_dist2();
|
|
16431
|
+
var plugin_toolkit_1 = require_dist();
|
|
16296
16432
|
var typebox_1 = require_cjs();
|
|
16297
16433
|
async function askUserQuestion(gateway, args, hooks) {
|
|
16298
16434
|
return (0, plugin_toolkit_1.withErrorHandling)("ask_user", async () => {
|
|
@@ -16587,7 +16723,7 @@ var require_audio_provider_suggestions = __commonJS({
|
|
|
16587
16723
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16588
16724
|
exports2.normalizeAudioProviderSuggestions = normalizeAudioProviderSuggestions;
|
|
16589
16725
|
exports2.fetchAudioProviderSuggestions = fetchAudioProviderSuggestions;
|
|
16590
|
-
var plugin_toolkit_1 =
|
|
16726
|
+
var plugin_toolkit_1 = require_dist();
|
|
16591
16727
|
var FALLBACK_PROVIDER_IDS = ["chatgpt"];
|
|
16592
16728
|
var KNOWN_PROVIDER_LABELS = {
|
|
16593
16729
|
chatgpt: "ChatGPT/OpenAI",
|
|
@@ -16691,7 +16827,7 @@ var require_multipart = __commonJS({
|
|
|
16691
16827
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16692
16828
|
exports2.uploadMultipart = uploadMultipart;
|
|
16693
16829
|
exports2.uploadGeneratedFile = uploadGeneratedFile;
|
|
16694
|
-
var plugin_toolkit_1 =
|
|
16830
|
+
var plugin_toolkit_1 = require_dist();
|
|
16695
16831
|
var UPLOAD_TIMEOUT_MS = 3e5;
|
|
16696
16832
|
async function uploadMultipart(gw2, options) {
|
|
16697
16833
|
const form = new FormData();
|
|
@@ -16745,7 +16881,7 @@ var require_generation = __commonJS({
|
|
|
16745
16881
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16746
16882
|
exports2.generateImage = generateImage;
|
|
16747
16883
|
exports2.generateAudio = generateAudio;
|
|
16748
|
-
var plugin_toolkit_1 =
|
|
16884
|
+
var plugin_toolkit_1 = require_dist();
|
|
16749
16885
|
var audio_provider_suggestions_1 = require_audio_provider_suggestions();
|
|
16750
16886
|
var multipart_1 = require_multipart();
|
|
16751
16887
|
async function generateAndUploadMedia(gw2, config) {
|
|
@@ -16905,7 +17041,7 @@ var require_file_port = __commonJS({
|
|
|
16905
17041
|
exports2.maxUploadBytes = maxUploadBytes;
|
|
16906
17042
|
exports2.contentTypeForName = contentTypeForName;
|
|
16907
17043
|
exports2.uploadPortedFile = uploadPortedFile;
|
|
16908
|
-
var plugin_toolkit_1 =
|
|
17044
|
+
var plugin_toolkit_1 = require_dist();
|
|
16909
17045
|
var multipart_1 = require_multipart();
|
|
16910
17046
|
function maxUploadBytes() {
|
|
16911
17047
|
const env = globalThis.process?.env;
|
|
@@ -17005,8 +17141,8 @@ var require_tools = __commonJS({
|
|
|
17005
17141
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
17006
17142
|
exports2.createMediaTools = createMediaTools2;
|
|
17007
17143
|
exports2.createMediaPlugin = createMediaPlugin;
|
|
17008
|
-
var plugin_api_1 =
|
|
17009
|
-
var plugin_toolkit_1 =
|
|
17144
|
+
var plugin_api_1 = require_dist2();
|
|
17145
|
+
var plugin_toolkit_1 = require_dist();
|
|
17010
17146
|
var typebox_1 = require_cjs();
|
|
17011
17147
|
var file_port_1 = require_file_port();
|
|
17012
17148
|
var generation_1 = require_generation();
|
|
@@ -35673,7 +35809,7 @@ var require_dist5 = __commonJS({
|
|
|
35673
35809
|
"use strict";
|
|
35674
35810
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
35675
35811
|
exports2.PluginHost = void 0;
|
|
35676
|
-
var plugin_api_1 =
|
|
35812
|
+
var plugin_api_1 = require_dist2();
|
|
35677
35813
|
var PluginHost2 = class {
|
|
35678
35814
|
plugins;
|
|
35679
35815
|
constructor(plugins) {
|
|
@@ -35747,8 +35883,8 @@ var require_dist6 = __commonJS({
|
|
|
35747
35883
|
"use strict";
|
|
35748
35884
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
35749
35885
|
exports2.createMemoryPlugin = createMemoryPlugin2;
|
|
35750
|
-
var plugin_api_1 =
|
|
35751
|
-
var plugin_toolkit_1 =
|
|
35886
|
+
var plugin_api_1 = require_dist2();
|
|
35887
|
+
var plugin_toolkit_1 = require_dist();
|
|
35752
35888
|
var MEMORY_RECALL_LIMIT = 6;
|
|
35753
35889
|
var MEMORY_TOOL_TIMEOUT_MS = 8e3;
|
|
35754
35890
|
function withoutRecall(text2) {
|
|
@@ -36758,6 +36894,7 @@ __export(guest_entry_exports, {
|
|
|
36758
36894
|
runAgentTurn: () => runAgentTurn
|
|
36759
36895
|
});
|
|
36760
36896
|
module.exports = __toCommonJS(guest_entry_exports);
|
|
36897
|
+
var import_plugin_toolkit = __toESM(require_dist(), 1);
|
|
36761
36898
|
|
|
36762
36899
|
// dist/agent-turn/gateway-tools.js
|
|
36763
36900
|
var import_plugin_conversations = __toESM(require_dist3(), 1);
|
|
@@ -132209,7 +132346,7 @@ var TOOL_EVENT_OUTPUT_CHARS = 2e3;
|
|
|
132209
132346
|
function joinText(content) {
|
|
132210
132347
|
return (content ?? []).filter((part) => part && part.type === "text" && typeof part.text === "string").map((part) => part.text).join("\n");
|
|
132211
132348
|
}
|
|
132212
|
-
async function callMcpTool(gatewayUrl, credential, tool, args, timeoutMs = TOOL_CALL_TIMEOUT_MS) {
|
|
132349
|
+
async function callMcpTool(gatewayUrl, credential, tool, args, timeoutMs = TOOL_CALL_TIMEOUT_MS, supportsImages = true, imageBudget) {
|
|
132213
132350
|
const url = `${gatewayUrl}/mcp/${encodeURIComponent(tool.mcpId)}/tools/${encodeURIComponent(tool.name)}`;
|
|
132214
132351
|
let response;
|
|
132215
132352
|
try {
|
|
@@ -132244,13 +132381,14 @@ async function callMcpTool(gatewayUrl, credential, tool, args, timeoutMs = TOOL_
|
|
|
132244
132381
|
}
|
|
132245
132382
|
return {
|
|
132246
132383
|
...reply,
|
|
132247
|
-
content
|
|
132384
|
+
...(0, import_plugin_toolkit.mcpToolResult)(reply.isError === true ? reply.content?.filter((part) => part?.type === "text") : reply.content, reply.error || "", supportsImages, imageBudget)
|
|
132248
132385
|
};
|
|
132249
132386
|
}
|
|
132250
132387
|
function buildTools(input, credential, onAskUserPosted, onInBandReplyDelivered, emit, runtimeExec) {
|
|
132388
|
+
const imageBudget = (0, import_plugin_toolkit.toolImageBudget)((input.images ?? []).map((image) => ({ type: "image", data: image.data })));
|
|
132251
132389
|
const tools = input.tools;
|
|
132252
132390
|
if (!tools)
|
|
132253
|
-
return { tools: [], workspace: null, canReadFiles: false };
|
|
132391
|
+
return { tools: [], workspace: null, canReadFiles: false, imageBudget };
|
|
132254
132392
|
const remote = tools.remoteRuntime && runtimeExec ? { exec: runtimeExec } : void 0;
|
|
132255
132393
|
const workspace = tools.builtin && tools.builtin.length > 0 ? createWorkspace(tools.builtin, remote) : null;
|
|
132256
132394
|
const gateway = tools.gateway && tools.gateway.length > 0 && tools.conversation ? createGatewayTools(tools.gateway, {
|
|
@@ -132276,12 +132414,12 @@ function buildTools(input, credential, onAskUserPosted, onInBandReplyDelivered,
|
|
|
132276
132414
|
// A plain JSON schema: pi-ai validates arguments against it as-is.
|
|
132277
132415
|
parameters: tool.inputSchema,
|
|
132278
132416
|
execute: async (_toolCallId, args) => {
|
|
132279
|
-
const result = await callMcpTool(tools.gatewayUrl, credential, tool, args);
|
|
132417
|
+
const result = await callMcpTool(tools.gatewayUrl, credential, tool, args, TOOL_CALL_TIMEOUT_MS, input.provider.input?.includes("image") === true, imageBudget);
|
|
132280
132418
|
const text2 = joinText(result.content);
|
|
132281
132419
|
if (result.isError === true)
|
|
132282
132420
|
throw new Error(String(result.error || text2 || `${tool.name} failed`));
|
|
132283
132421
|
return {
|
|
132284
|
-
content: [{ type: "text", text:
|
|
132422
|
+
content: text2 || result.content.some((part) => part.type === "image") ? result.content : [{ type: "text", text: `${tool.name} completed.` }],
|
|
132285
132423
|
details: {}
|
|
132286
132424
|
};
|
|
132287
132425
|
}
|
|
@@ -132291,7 +132429,8 @@ function buildTools(input, credential, onAskUserPosted, onInBandReplyDelivered,
|
|
|
132291
132429
|
return {
|
|
132292
132430
|
tools: [...mcp, ...gateway, ...media, ...workspace?.tools ?? []],
|
|
132293
132431
|
workspace,
|
|
132294
|
-
canReadFiles
|
|
132432
|
+
canReadFiles,
|
|
132433
|
+
imageBudget
|
|
132295
132434
|
};
|
|
132296
132435
|
}
|
|
132297
132436
|
var guestLogger = {
|
|
@@ -132379,7 +132518,7 @@ async function runAgentTurn(input, emit, takeSteering = () => [], runtimeExec) {
|
|
|
132379
132518
|
agentId: input.memory.agentId,
|
|
132380
132519
|
conversationId: input.tools.conversation?.conversationId ?? "",
|
|
132381
132520
|
mcpId: input.memory.mcpId,
|
|
132382
|
-
callTool: (mcpId, toolName, args, options) => callMcpTool(input.tools.gatewayUrl, credential, { mcpId, name: toolName, description: "", inputSchema: {} }, args, options?.timeoutMs),
|
|
132521
|
+
callTool: (mcpId, toolName, args, options) => callMcpTool(input.tools.gatewayUrl, credential, { mcpId, name: toolName, description: "", inputSchema: {} }, args, options?.timeoutMs).then((result) => ({ ...result, content: [{ type: "text", text: joinText(result.content) }] })),
|
|
132383
132522
|
logger: guestLogger
|
|
132384
132523
|
}) : null;
|
|
132385
132524
|
let toolCalls = 0;
|
|
@@ -132425,6 +132564,7 @@ async function runAgentTurn(input, emit, takeSteering = () => [], runtimeExec) {
|
|
|
132425
132564
|
const text2 = messageText(message);
|
|
132426
132565
|
return text2 === void 0 ? void 0 : messageContext.get(text2);
|
|
132427
132566
|
});
|
|
132567
|
+
built.imageBudget.bytes += (0, import_plugin_toolkit.toolImageBudget)(session.sessionManager.getEntries().flatMap((entry) => entry.type === "message" && "content" in entry.message && Array.isArray(entry.message.content) ? entry.message.content : [])).bytes;
|
|
132428
132568
|
session.subscribe((event) => {
|
|
132429
132569
|
if (event.type === "compaction_end" && event.errorMessage)
|
|
132430
132570
|
console.warn(event.errorMessage);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{c1 as t,j as p,c2 as m}from"./index-Cr5hwh-C.js";import{A as e}from"./activity-route-view-CMqYiiKM.js";import"./record-activity-CBXH6v1d.js";import"./filter-editors-Cj-v6NtH.js";import"./connection-label-BobuYiAG.js";import"./runs-C0rCgGwX.js";import"./source-record-panels-CPyzlfD1.js";import"./events-feed-BtvhZF1f.js";import"./conversations-table-BdXoZAfc.js";import"./renderer-mEDnVW0O.js";import"./card-Djgp00r_.js";import"./clients-D3Zbjxin.js";import"./client-rows-EJSKR6z1.js";import"./agent-loading-shells-Dqcvky-k.js";import"./member-scope-gate-B44INDPY.js";import"./public-shell-ready-DcnlADmj.js";function E(){const{owner:o,_splat:r}=t.useParams(),i=t.useSearch();return p.jsx(e,{owner:o,search:i,attentionLens:!1,entityScope:m(r||"").path})}export{E as component};
|
|
2
|
+
//# sourceMappingURL=_-3J-IrxWk.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/entity-page-
|
|
2
|
-
import{ak as x,al as m,am as p,an as y,g as j,h as g,j as e,r as P,ao as R,l as f,_ as v}from"./index-
|
|
3
|
-
//# sourceMappingURL=_-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/entity-page-Dc0LGr5U.js","assets/index-Cr5hwh-C.js","assets/index-BLEcy9-T.css","assets/record-activity-CBXH6v1d.js","assets/filter-editors-Cj-v6NtH.js","assets/connection-label-BobuYiAG.js","assets/runs-C0rCgGwX.js","assets/source-record-panels-CPyzlfD1.js","assets/events-feed-BtvhZF1f.js","assets/conversations-table-BdXoZAfc.js","assets/renderer-mEDnVW0O.js","assets/card-Djgp00r_.js","assets/clients-D3Zbjxin.js","assets/client-rows-EJSKR6z1.js","assets/agent-loading-shells-Dqcvky-k.js","assets/member-scope-gate-B44INDPY.js","assets/tabs-DqIIkCX-.js","assets/view-param-filters-CqLZQrnO.js","assets/app-bridge-BCm4muqj.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{ak as x,al as m,am as p,an as y,g as j,h as g,j as e,r as P,ao as R,l as f,_ as v}from"./index-Cr5hwh-C.js";import{P as r}from"./public-shell-ready-DcnlADmj.js";const E=f(async()=>({default:(await v(async()=>{const{EntityPage:s}=await import("./entity-page-Dc0LGr5U.js");return{EntityPage:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]))).EntityPage}));function l(){return e.jsx("div",{"data-public-loading":"true",children:e.jsx(R,{})})}function S(){const{owner:s,_splat:c}=x.useParams(),a=m(c||""),d=a?.viewKey,{path:u}=p(s,a?.entityPath),{data:t,isLoading:n,error:i}=y(u,{slug:s},{includeBootstrap:!0}),{session:h,isReady:o}=j();return g({active:!n&&o&&!h&&(!!i||!t),owner:s}),n||!o&&!t?e.jsx(l,{}):i||!t||!t.entity?e.jsxs(e.Fragment,{children:[e.jsx(r,{}),e.jsxs("div",{className:"flex flex-col items-center justify-center py-16 text-center",children:[e.jsx("h1",{className:"text-2xl font-semibold",children:"Not Found"}),e.jsx("p",{className:"text-muted-foreground mt-2",children:"We couldn't resolve this path."})]})]}):e.jsxs(e.Fragment,{children:[e.jsx(r,{}),e.jsx(P.Suspense,{fallback:e.jsx(l,{}),children:e.jsx(E,{namespace:t.workspace,path:t.path,entity:t.entity,viewKey:d})})]})}export{S as component};
|
|
3
|
+
//# sourceMappingURL=_-DYUE3ix4.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{gM as r,j as e}from"./index-Cr5hwh-C.js";import{A as n}from"./agents-workbench-Bt5QCYQ7.js";import"./agent-editor-form-hTs7eO_U.js";import"./model-selector-dAbDgJvx.js";import"./proposal-review-shell-UcZr87_Q.js";import"./runs-C0rCgGwX.js";function c(){const{owner:o,agentId:t}=r.useParams();return e.jsx(n,{owner:o,agentId:t})}export{c as component};
|
|
2
|
+
//# sourceMappingURL=_agentId-Bn2IAjIy.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{m as S,fP as P,r as u,fQ as L,j as n,P as w,fR as b,g as D,t as R,aZ as E,aQ as M,ba as N,cc as O,fS as Q,fT as $,bm as B,v as z}from"./index-
|
|
2
|
-
//# sourceMappingURL=_agentId-
|
|
1
|
+
import{m as S,fP as P,r as u,fQ as L,j as n,P as w,fR as b,g as D,t as R,aZ as E,aQ as M,ba as N,cc as O,fS as Q,fT as $,bm as B,v as z}from"./index-Cr5hwh-C.js";import{L as F,A as H}from"./agent-thread-BJOijbT0.js";import{A as U,C as W}from"./agent-loading-shells-Dqcvky-k.js";import"./app-bridge-BCm4muqj.js";import"./use-mention-search-By8RZyKW.js";import"./index-Vcq4gwWv.js";import"./events-feed-BtvhZF1f.js";import"./conversations-table-BdXoZAfc.js";import"./renderer-mEDnVW0O.js";import"./card-Djgp00r_.js";import"./clients-D3Zbjxin.js";function Z({owner:t,agent:s,threadId:e,afterMessagesContent:d,className:r,initialDraft:p,newChatRequested:m=!1,preventAutoNavigate:h}){const o=S(),i=s.agentId,{data:a=[]}=P(i,{orgSlug:t}),[l,x]=u.useState(()=>L()),[g,A]=u.useState(null);u.useEffect(()=>{!m||e||(x(L()),A(null),o({to:".",search:(f=>{const{new:C,...k}=f;return k}),replace:!0}))},[m,e,o]);const v=u.useMemo(()=>!g||a.some(f=>f.id===g.id)?a:[g,...a],[a,g]),c=e??l,T=!e||!v.some(f=>f.id===e),j=u.useCallback(()=>{if(v.some(C=>C.id===c))return;A({id:c,title:`Conversation ${v.length+1}`,createdAt:Date.now(),updatedAt:Date.now()});const f=b(t,i,c);o({...f,replace:!0})},[v,c,o,t,i]),y=u.useCallback(()=>{T&&!h&&j()},[T,j,h]);return n.jsx("div",{className:w("flex min-h-0 flex-1 flex-col",r),children:n.jsx("div",{className:"flex min-h-0 flex-1 flex-col",children:n.jsx(F,{agentId:i,workspaceSlug:t,thread:c,loadHistory:!!e,onFirstUserMessage:y,initialDraft:p,children:n.jsx(H,{afterMessagesContent:d})},`${i}:${c}`)})})}function _({owner:t,agentId:s,threadId:e,initialDraft:d,newChatRequested:r,afterMessagesContent:p,preventAutoNavigate:m}){const{isAuthenticated:h}=D(),{isMember:o,isLoading:i}=R(),a=h&&o,{data:l=[],isLoading:x}=E({enabled:a}),g=s??null,A=l.find(c=>c.agentId===g)??null;return a&&x||i?n.jsx(U,{}):A?n.jsx(Z,{owner:t,agent:A,threadId:e,initialDraft:d,newChatRequested:r,afterMessagesContent:p,preventAutoNavigate:m,className:"min-h-0 flex-1 overflow-hidden"}):n.jsx(M,{icon:N,title:"Agent not found",description:"This agent may have been removed."})}function q(t){return[...t].sort((s,e)=>e.updatedAt-s.updatedAt)[0]}function G({owner:t,agentId:s,threadId:e,initialDraft:d,forceComposer:r=!1,newChatRequested:p=!1,afterMessagesContent:m,preventAutoNavigate:h}){const o=S(),{data:i=[],isLoading:a}=O(Q(t,s,{strict:!1})),l=u.useMemo(()=>q(i),[i]);return u.useEffect(()=>{if(e||r||a||!l)return;const x=b(t,s,l.id);o({...x,replace:!0})},[s,a,l,o,t,e,r]),!e&&!r&&(a||l)?n.jsx(W,{}):n.jsx(_,{owner:t,agentId:s,threadId:e,initialDraft:d,newChatRequested:p,afterMessagesContent:m,preventAutoNavigate:h})}function ie(){const{owner:t,agentId:s}=$.useParams(),{threadId:e}=B({strict:!1}),{new:d,prompt:r}=z({strict:!1});return n.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden px-4 py-4 lg:px-6 lg:py-6",children:n.jsx("div",{className:"mx-auto flex min-h-0 w-full max-w-3xl flex-1 flex-col",children:n.jsx(G,{owner:t,agentId:s,threadId:e,initialDraft:r,forceComposer:!e,newChatRequested:!!d})})})}export{ie as component};
|
|
2
|
+
//# sourceMappingURL=_agentId-Cam7Z0N7.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{m as N,k,an as A,g as L,t as C,dG as b,j as t,B as n,gj as y,ba as
|
|
2
|
-
//# sourceMappingURL=_automationId-
|
|
1
|
+
import{m as N,k,an as A,g as L,t as C,dG as b,j as t,B as n,gj as y,ba as D,S as R,L as _,b8 as $,gD as u,ah as O}from"./index-Cr5hwh-C.js";import{A as z}from"./automation-detail-content-vUwVumXf.js";import"./create-automation-form-CtSSeYj3.js";import"./cronstrue-n4qGUraE.js";import"./entity-options-uXjgT7y9.js";import"./connection-label-BobuYiAG.js";import"./model-selector-dAbDgJvx.js";import"./skill-editor-D_W3QlRz.js";import"./code-editor-DHeyRGZI.js";import"./index-CDz3-ieP.js";import"./index-Vcq4gwWv.js";import"./use-mention-search-By8RZyKW.js";import"./proposal-review-shell-UcZr87_Q.js";import"./runs-C0rCgGwX.js";import"./json-diff-DBoag_OS.js";import"./deployments-RvUdVkj3.js";import"./events-feed-BtvhZF1f.js";import"./conversations-table-BdXoZAfc.js";import"./renderer-mEDnVW0O.js";import"./card-Djgp00r_.js";import"./clients-D3Zbjxin.js";function P({owner:a,automationId:e,view:o,runId:s}){const r=N(),{orgContext:p,hasOrgContext:x}=k(),{data:g,isLoading:m}=A(`/${a}`,p),{isAuthenticated:h}=L(),{isLoading:c}=C(),f=g?.workspace?.id??"",v=h?!x||m||c:m||c,i=b(e,void 0,f).data?.automation,j=i?.automation_name??"Automation",d=()=>void r({to:"/$owner/automations",params:{owner:a}}),l=()=>void r({to:"/$owner/automations/$automationId",params:{owner:a,automationId:e},search:{view:"activity",run_id:void 0}}),w=!s&&o==="definition";return t.jsx("div",{className:"flex flex-1 flex-col gap-6 px-4 py-6 lg:px-6",children:t.jsxs("div",{className:"mx-auto flex w-full min-w-0 max-w-3xl flex-col gap-4",children:[t.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[t.jsxs(n,{type:"button",variant:"ghost",size:"sm",className:"h-8 gap-1.5 text-muted-foreground hover:text-foreground",onClick:d,children:[t.jsx(y,{className:"h-3.5 w-3.5"}),"Automations"]}),t.jsxs("h1",{className:"flex min-w-0 items-center gap-2 truncate font-display text-xl font-semibold",children:[t.jsx(D,{className:"h-4 w-4 shrink-0 text-muted-foreground","aria-hidden":!0}),v&&!i?t.jsx(R,{className:"h-5 w-40"}):s?"Review change":j]})]}),s?null:w?t.jsx(n,{type:"button",variant:"ghost",size:"sm",className:"h-8 text-muted-foreground hover:text-foreground",onClick:l,children:"Done"}):t.jsx(n,{asChild:!0,variant:"ghost",size:"sm",className:"h-8 gap-1.5",children:t.jsxs(_,{to:"/$owner/automations/$automationId",params:{owner:a,automationId:e},search:{view:"definition",run_id:void 0},children:[t.jsx($,{className:"h-3.5 w-3.5"}),"Edit"]})})]}),t.jsx(z,{owner:a,agentId:i?.managed_agent_id??null,automationId:e,view:o,runId:s,onDone:s?d:l})]})})}function ot(){const{owner:a,automationId:e}=u.useParams(),o=u.useSearch();return t.jsx(O,{owner:a,children:()=>t.jsx(P,{owner:a,automationId:e,view:o.view,runId:o.run_id})})}export{ot as component};
|
|
2
|
+
//# sourceMappingURL=_automationId-CXEiKVZJ.js.map
|