@lobu/runtime-server 21.1.0 → 21.2.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 +2 -35
- package/dist/component.json +1 -1
- package/dist/connectors/README.md +6 -3
- package/dist/connectors/github.ts +0 -6
- package/dist/connectors/google_calendar.ts +0 -4
- package/dist/connectors/google_drive.ts +0 -2
- package/dist/connectors/google_gmail.ts +0 -6
- package/dist/connectors/market_quotes.ts +0 -1
- package/dist/connectors/microsoft_outlook.ts +0 -2
- package/dist/connectors/postgres.ts +68 -3
- package/dist/connectors/whatsapp_web.ts +2 -8
- package/dist/connectors/x.ts +3 -9
- package/dist/connectors/youtube.ts +0 -5
- package/dist/db/migrations/20260930010000_connector_policy_scopes.sql +113 -0
- package/dist/db/migrations/20261002230000_connector_exact_policy_target.sql +36 -0
- package/dist/db/migrations/20261003120000_source_backed_entity_identity.sql +109 -0
- package/dist/db/migrations/20261003200000_drop_source_backed_entity_identity.sql +111 -0
- package/dist/db/migrations/preconditions/20261002230000_connector_exact_policy_target.sql +38 -0
- package/dist/db/migrations/preconditions/20261003200000_drop_source_backed_entity_identity.sql +21 -0
- package/dist/dependencies.bun.lock +52 -54
- package/dist/owletto/dist/assets/_-C1iPVDAS.js +2 -0
- package/dist/owletto/dist/assets/_-TlzPuBqI.js +1 -0
- package/dist/owletto/dist/assets/_agentId-DutmYPK7.js +1 -0
- package/dist/owletto/dist/assets/_agentId-DvhFYLLv.js +1 -0
- package/dist/owletto/dist/assets/_automationId-NuFSEFlw.js +1 -0
- package/dist/owletto/dist/assets/_connectorKey._connectionId-D_FhMGN1.js +1 -0
- package/dist/owletto/dist/assets/_connectorKey.index-B8AZikVg.js +1 -0
- package/dist/owletto/dist/assets/{_conversationId-CpuEvflw.js → _conversationId-D1Cx42I0.js} +1 -1
- package/dist/owletto/dist/assets/{_deploymentId-BL9tnDFl.js → _deploymentId-BjtZC8Oo.js} +1 -1
- package/dist/owletto/dist/assets/_name-DTlirHDv.js +1 -0
- package/dist/owletto/dist/assets/_owner-c8L8M4FP.js +1 -0
- package/dist/owletto/dist/assets/_shape-DQaUs_O7.js +1 -0
- package/dist/owletto/dist/assets/_skillKey-CJSEeyG0.js +1 -0
- package/dist/owletto/dist/assets/_slug-Nlm2ziLr.js +1 -0
- package/dist/owletto/dist/assets/_viewKey-BK9NZs21.js +1 -0
- package/dist/owletto/dist/assets/_viewKey-D-Og614G.js +1 -0
- package/dist/owletto/dist/assets/_viewKey-DIFCFECi.js +1 -0
- package/dist/owletto/dist/assets/accept-invitation-BfqbITxp.js +1 -0
- package/dist/owletto/dist/assets/activity-route-view-CTQEg3Us.js +1 -0
- package/dist/owletto/dist/assets/{agent-card-controls-bhTMPoVi.js → agent-card-controls-49SIdmyU.js} +1 -1
- package/dist/owletto/dist/assets/{agent-client-setup-list-BBbq_2B1.js → agent-client-setup-list-ChwHMq4Q.js} +1 -1
- package/dist/owletto/dist/assets/agent-connect-pages-CJntJskO.js +1 -0
- package/dist/owletto/dist/assets/agent-editor-form-CEEFNek5.js +1 -0
- package/dist/owletto/dist/assets/agent-guardrails-route-BF_RvzHv.js +1 -0
- package/dist/owletto/dist/assets/{agent-loading-shells-BQLjzMPy.js → agent-loading-shells-Cve_XIMW.js} +1 -1
- package/dist/owletto/dist/assets/agent-permissions-matrix-DEYa123T.js +1 -0
- package/dist/owletto/dist/assets/{agent-skill-context-s42Q4Wjo.js → agent-skill-context-DuS7Ojm_.js} +1 -1
- package/dist/owletto/dist/assets/agent-skills-route-BItudd8s.js +1 -0
- package/dist/owletto/dist/assets/agent-subpage-shell-BkGzpmv5.js +1 -0
- package/dist/owletto/dist/assets/agent-thread-DhCFggHZ.js +8 -0
- package/dist/owletto/dist/assets/agents-BIA5SCAT.js +1 -0
- package/dist/owletto/dist/assets/agents-workbench-BZaoiFNY.js +1 -0
- package/dist/owletto/dist/assets/{app._appId-CqYz3AOO.js → app._appId-0fp8NC9-.js} +1 -1
- package/dist/owletto/dist/assets/automation-detail-content-C08Ef137.js +1 -0
- package/dist/owletto/dist/assets/automations-BIA5SCAT.js +1 -0
- package/dist/owletto/dist/assets/{calendar-CHXehtu0.js → calendar-CvEqJnKS.js} +1 -1
- package/dist/owletto/dist/assets/callback-BfjlxUcL.js +1 -0
- package/dist/owletto/dist/assets/{card-4Ull9W6d.js → card-MXMmjz9G.js} +1 -1
- package/dist/owletto/dist/assets/{claim-BGLCPLXq.js → claim-B5igXpyF.js} +1 -1
- package/dist/owletto/dist/assets/{clients-C7ubnFsS.js → clients-DqMOcwpO.js} +1 -1
- package/dist/owletto/dist/assets/{code-editor-BHiWR94J.js → code-editor-bpbaa7f6.js} +1 -1
- package/dist/owletto/dist/assets/connect-DpQrbviv.js +1 -0
- package/dist/owletto/dist/assets/connect._clientId-A_F-UzTr.js +1 -0
- package/dist/owletto/dist/assets/connected._clientId-BWVr-PMm.js +1 -0
- package/dist/owletto/dist/assets/connection-D-dXA43c.js +1 -0
- package/dist/owletto/dist/assets/connection-feed-detail-XYK-ubKG.js +1 -0
- package/dist/owletto/dist/assets/{connector-provenance-DRdUEmQ1.js → connector-provenance-RL_DcF2q.js} +1 -1
- package/dist/owletto/dist/assets/connectors-B2_PLuXP.js +1 -0
- package/dist/owletto/dist/assets/{consent-fmhPPlpi.js → consent-CMrkyIfi.js} +1 -1
- package/dist/owletto/dist/assets/{core.esm-C-eNiUAl.js → core.esm-BrIR85HL.js} +1 -1
- package/dist/owletto/dist/assets/create-DhxcVjNh.js +1 -0
- package/dist/owletto/dist/assets/create-UTXCruIl.js +1 -0
- package/dist/owletto/dist/assets/create-automation-form-BHir-pIp.js +2 -0
- package/dist/owletto/dist/assets/create-jVkf6V76.js +1 -0
- package/dist/owletto/dist/assets/{create._connectorKey-CHAotlsF.js → create._connectorKey-qjd3B6p5.js} +1 -1
- package/dist/owletto/dist/assets/{cronstrue-C5yTgk5z.js → cronstrue-BwvvZn_Y.js} +1 -1
- package/dist/owletto/dist/assets/deployments-CSJHFlJz.js +1 -0
- package/dist/owletto/dist/assets/{deployments-D1gbQwsy.js → deployments-DHAx8TBs.js} +1 -1
- package/dist/owletto/dist/assets/{deployments-body-DycIGlnL.js → deployments-body-B54mJoZC.js} +1 -1
- package/dist/owletto/dist/assets/{device-DyPnQkhO.js → device-Bi_9KNKQ.js} +1 -1
- package/dist/owletto/dist/assets/device-pin-tombstone-Dkmmka9d.js +1 -0
- package/dist/owletto/dist/assets/device-rows-CkTAaZ3m.js +1 -0
- package/dist/owletto/dist/assets/device._deviceId-B_WqDhY5.js +1 -0
- package/dist/owletto/dist/assets/entity-options-Bm1sbpmt.js +1 -0
- package/dist/owletto/dist/assets/entity-page-DZUGex-P.js +1 -0
- package/dist/owletto/dist/assets/entity-type-page-DSBcVv9e.js +1 -0
- package/dist/owletto/dist/assets/event-page-B837JclA.js +1 -0
- package/dist/owletto/dist/assets/events-feed-BgvLTppV.js +1 -0
- package/dist/owletto/dist/assets/{full-page-spinner-DsU-Cb3L.js → full-page-spinner-ByBsHimW.js} +1 -1
- package/dist/owletto/dist/assets/guardrails-cMGe6IIe.js +1 -0
- package/dist/owletto/dist/assets/identity-BORtpi5L.js +1 -0
- package/dist/owletto/dist/assets/index-B5lGxbbZ.js +1 -0
- package/dist/owletto/dist/assets/index-BGz-9DDG.js +1 -0
- package/dist/owletto/dist/assets/{index-DwtfHCHB.js → index-Be5BLMwZ.js} +1 -1
- package/dist/owletto/dist/assets/index-BmAuAhub.css +1 -0
- package/dist/owletto/dist/assets/{index-nOYvNROJ.js → index-BrT0gBIi.js} +1 -1
- package/dist/owletto/dist/assets/index-BrzsfXR-.js +1 -0
- package/dist/owletto/dist/assets/{index-CpWKAAGX.js → index-C1MV7ajb.js} +1 -1
- package/dist/owletto/dist/assets/index-C31QOVZH.js +1 -0
- package/dist/owletto/dist/assets/index-C6USRbY8.js +1 -0
- package/dist/owletto/dist/assets/{index-D2dcENg2.js → index-Cane2GT3.js} +1 -1
- package/dist/owletto/dist/assets/{index-1YrrvVJ4.js → index-DBs2lhwE.js} +8 -8
- package/dist/owletto/dist/assets/index-Dh8ubWqr.js +1 -0
- package/dist/owletto/dist/assets/index-DjYcFuq9.js +1 -0
- package/dist/owletto/dist/assets/index-Dpf0I2N4.js +1 -0
- package/dist/owletto/dist/assets/index-DpgsgDFc.js +1 -0
- package/dist/owletto/dist/assets/index-DqrjJ9LB.js +1 -0
- package/dist/owletto/dist/assets/{index-DtRfQcRH.js → index-GZkujXG1.js} +1595 -1595
- package/dist/owletto/dist/assets/index-pFFCzVi5.js +1 -0
- package/dist/owletto/dist/assets/{json-diff-DYeX-xLk.js → json-diff-D6sv990W.js} +3 -3
- package/dist/owletto/dist/assets/{list-skeleton-s4GPSJ8J.js → list-skeleton-B39wKVT1.js} +1 -1
- package/dist/owletto/dist/assets/login-DxnhCvKx.js +1 -0
- package/dist/owletto/dist/assets/logout-Lvib6Kk7.js +1 -0
- package/dist/owletto/dist/assets/member-scope-gate-CM-GNviT.js +1 -0
- package/dist/owletto/dist/assets/{memory-browse-page-Bibfs2sK.js → memory-browse-page-DKmyI1FJ.js} +1 -1
- package/dist/owletto/dist/assets/{missing-view-CD4DOaG8.js → missing-view-CAFqvZpi.js} +1 -1
- package/dist/owletto/dist/assets/{model-selector-XC5CI2Et.js → model-selector-BoudNhPZ.js} +1 -1
- package/dist/owletto/dist/assets/models-B8BuBmLu.js +1 -0
- package/dist/owletto/dist/assets/new-CKSjnGM9.js +1 -0
- package/dist/owletto/dist/assets/new-Jp_DtYBt.js +1 -0
- package/dist/owletto/dist/assets/new-e3C5Yokb.js +1 -0
- package/dist/owletto/dist/assets/{oauth-workspace-access-D6epOq0R.js → oauth-workspace-access-DuPiMSr2.js} +1 -1
- package/dist/owletto/dist/assets/organization-DUPBruFP.js +1 -0
- package/dist/owletto/dist/assets/{permissions-D8uJHINS.js → permissions-DqkX4mTH.js} +1 -1
- package/dist/owletto/dist/assets/{proposal-review-shell-C3K-JXjb.js → proposal-review-shell-C04RG1qM.js} +1 -1
- package/dist/owletto/dist/assets/{recent-CFcWceBl.js → recent-BmxCZQ8j.js} +1 -1
- package/dist/owletto/dist/assets/{renderer-1nRJFMGx.js → renderer-eFSU65zm.js} +1 -1
- package/dist/owletto/dist/assets/{reset-password-9RTWhBEb.js → reset-password-BinCwene.js} +1 -1
- package/dist/owletto/dist/assets/runs-DwThk2CI.js +1 -0
- package/dist/owletto/dist/assets/{runs-panel-B2852xus.js → runs-panel-DfxWCV7K.js} +1 -1
- package/dist/owletto/dist/assets/runs-table-Dh7FL3Va.js +1 -0
- package/dist/owletto/dist/assets/{schema-value-normalization-BspxVEGy.js → schema-value-normalization-CPLeOm7K.js} +1 -1
- package/dist/owletto/dist/assets/settings-CSrpSUqR.js +1 -0
- package/dist/owletto/dist/assets/{settings-9lDASETT.js → settings-DLg89oqz.js} +1 -1
- package/dist/owletto/dist/assets/skills-PQP0fNxc.js +1 -0
- package/dist/owletto/dist/assets/{switch-CxDXvPGE.js → switch-Dcx3_8kM.js} +1 -1
- package/dist/owletto/dist/assets/{use-applied-views-DvMT3wap.js → use-applied-views-BpvIIgWG.js} +1 -1
- package/dist/owletto/dist/assets/{use-mention-search-CeTEE3oE.js → use-mention-search-Vndny_Gd.js} +1 -1
- package/dist/owletto/dist/assets/{view-frame-HoBawpT2.js → view-frame-DxiuLSGA.js} +1 -1
- package/dist/owletto/dist/index.html +2 -2
- package/dist/server-main.bundle.mjs +4097 -4383
- package/npm-shrinkwrap.json +198 -207
- package/package.json +1 -1
- package/vendor/connector-sdk/dist/connector-runtime.d.ts +1 -1
- package/vendor/connector-sdk/dist/connector-runtime.js +1 -1
- package/vendor/connector-sdk/dist/connector-types.d.ts +14 -2
- package/vendor/connector-sdk/dist/define-connector.d.ts +3 -5
- package/vendor/connector-sdk/dist/define-connector.js +1 -1
- package/vendor/connector-sdk/dist/device-manifest.d.ts +0 -1
- package/vendor/connector-sdk/dist/extension-network.js +1 -2
- package/vendor/connector-sdk/package.json +1 -1
- package/vendor/core/dist/contracts/agent-settings.d.ts +0 -1
- package/vendor/core/dist/contracts/agent-settings.js +0 -1
- package/vendor/core/dist/contracts/tools/manage-classifiers.d.ts +6 -6
- package/vendor/core/dist/contracts/tools/manage-classifiers.js +4 -6
- package/vendor/core/dist/contracts/tools/manage-connections.d.ts +0 -1
- package/vendor/core/dist/contracts/tools/manage-connections.js +3 -4
- package/vendor/core/dist/contracts/tools/manage-entity.d.ts +2 -2
- package/vendor/core/dist/contracts/tools/manage-entity.js +4 -2
- package/vendor/core/dist/logger.js +13 -2
- package/vendor/core/dist/worker/wire.d.ts +1 -6
- package/vendor/core/dist/worker/wire.js +1 -1
- package/vendor/core/package.json +1 -1
- package/vendor/views/package.json +6 -1
- package/dist/owletto/dist/assets/_-00GgOtdu.js +0 -1
- package/dist/owletto/dist/assets/_-XlUwOWCI.js +0 -2
- package/dist/owletto/dist/assets/_agentId-B2DrawIk.js +0 -1
- package/dist/owletto/dist/assets/_agentId-CS0AcWH2.js +0 -1
- package/dist/owletto/dist/assets/_automationId-BLnqLtUv.js +0 -1
- package/dist/owletto/dist/assets/_connectorKey._connectionId-DcUWoZ-C.js +0 -1
- package/dist/owletto/dist/assets/_connectorKey.index-C_yKycN_.js +0 -1
- package/dist/owletto/dist/assets/_name-DlxjWkKk.js +0 -1
- package/dist/owletto/dist/assets/_owner-Cg50UU6m.js +0 -1
- package/dist/owletto/dist/assets/_shape-BWZW4mj8.js +0 -1
- package/dist/owletto/dist/assets/_skillKey-B25fO0_O.js +0 -1
- package/dist/owletto/dist/assets/_slug-DbD-wv2m.js +0 -1
- package/dist/owletto/dist/assets/_viewKey-BcTEvQ3N.js +0 -1
- package/dist/owletto/dist/assets/_viewKey-W4RjiUWL.js +0 -1
- package/dist/owletto/dist/assets/_viewKey-iGPCKSda.js +0 -1
- package/dist/owletto/dist/assets/accept-invitation-BmQKbQem.js +0 -1
- package/dist/owletto/dist/assets/activity-route-view-BvtAoGVt.js +0 -1
- package/dist/owletto/dist/assets/agent-connect-pages-DkDlFVY5.js +0 -1
- package/dist/owletto/dist/assets/agent-editor-form-DwHD9j1Y.js +0 -1
- package/dist/owletto/dist/assets/agent-guardrails-route-0PsTrqMC.js +0 -1
- package/dist/owletto/dist/assets/agent-permissions-matrix-B-Q5rmuB.js +0 -1
- package/dist/owletto/dist/assets/agent-skills-route-Cwq1QrhW.js +0 -1
- package/dist/owletto/dist/assets/agent-subpage-shell-DtzoRy6N.js +0 -1
- package/dist/owletto/dist/assets/agent-thread-D7AGGjRV.js +0 -8
- package/dist/owletto/dist/assets/agents-BqCKU4CT.js +0 -1
- package/dist/owletto/dist/assets/agents-workbench-Cl7FO7b3.js +0 -1
- package/dist/owletto/dist/assets/automation-detail-content-CKSywvzE.js +0 -1
- package/dist/owletto/dist/assets/automations-BqCKU4CT.js +0 -1
- package/dist/owletto/dist/assets/callback-DZ3YyXeV.js +0 -1
- package/dist/owletto/dist/assets/connect-BNatqg6j.js +0 -1
- package/dist/owletto/dist/assets/connect._clientId-BGG2IqiQ.js +0 -1
- package/dist/owletto/dist/assets/connected._clientId-7RU89sVW.js +0 -1
- package/dist/owletto/dist/assets/connection-CTaUGXl6.js +0 -1
- package/dist/owletto/dist/assets/connection-feed-detail-B1xieiEh.js +0 -1
- package/dist/owletto/dist/assets/connectors-NBwCLuZg.js +0 -1
- package/dist/owletto/dist/assets/create-8bBbQJGY.js +0 -1
- package/dist/owletto/dist/assets/create-Cl6cfNAp.js +0 -1
- package/dist/owletto/dist/assets/create-DrVso8O7.js +0 -1
- package/dist/owletto/dist/assets/create-automation-form-De8J-JD5.js +0 -2
- package/dist/owletto/dist/assets/deployments-C7M3fV5K.js +0 -1
- package/dist/owletto/dist/assets/device-pin-tombstone-CwJitllC.js +0 -1
- package/dist/owletto/dist/assets/device-rows-BBhW1C7Y.js +0 -1
- package/dist/owletto/dist/assets/device._deviceId-XswfXHOc.js +0 -1
- package/dist/owletto/dist/assets/entity-options-utGBmFX0.js +0 -1
- package/dist/owletto/dist/assets/entity-page-BxwuqqWk.js +0 -1
- package/dist/owletto/dist/assets/entity-type-page-BrWqk6so.js +0 -1
- package/dist/owletto/dist/assets/event-page-LIm4EDmJ.js +0 -1
- package/dist/owletto/dist/assets/events-feed-C4L8mQV7.js +0 -1
- package/dist/owletto/dist/assets/guardrails-CGFWCfbQ.js +0 -1
- package/dist/owletto/dist/assets/identity-uPYpPogR.js +0 -1
- package/dist/owletto/dist/assets/index-BKMafTe4.js +0 -1
- package/dist/owletto/dist/assets/index-BsL1-C2-.js +0 -1
- package/dist/owletto/dist/assets/index-C58oW727.js +0 -1
- package/dist/owletto/dist/assets/index-C8CR2-Ck.css +0 -1
- package/dist/owletto/dist/assets/index-CQ4s6nzy.js +0 -1
- package/dist/owletto/dist/assets/index-DCK0KhMM.js +0 -1
- package/dist/owletto/dist/assets/index-DXqiRON3.js +0 -1
- package/dist/owletto/dist/assets/index-DgEc5IvT.js +0 -1
- package/dist/owletto/dist/assets/index-DvhM9tuI.js +0 -1
- package/dist/owletto/dist/assets/index-DyYFZjh-.js +0 -1
- package/dist/owletto/dist/assets/index-oDoJENMF.js +0 -1
- package/dist/owletto/dist/assets/index-rPdUEOa3.js +0 -1
- package/dist/owletto/dist/assets/login-Di5VF2F_.js +0 -1
- package/dist/owletto/dist/assets/logout-BuaQGSnw.js +0 -1
- package/dist/owletto/dist/assets/member-scope-gate-CJqJZk7T.js +0 -1
- package/dist/owletto/dist/assets/models--8mTFOLz.js +0 -1
- package/dist/owletto/dist/assets/new-BzkA1sq2.js +0 -1
- package/dist/owletto/dist/assets/new-C3f0BShb.js +0 -1
- package/dist/owletto/dist/assets/new-DA5LF6iB.js +0 -1
- package/dist/owletto/dist/assets/organization-DOtBRqDQ.js +0 -1
- package/dist/owletto/dist/assets/runs-_yVh6PPB.js +0 -1
- package/dist/owletto/dist/assets/runs-table--dnFQatY.js +0 -1
- package/dist/owletto/dist/assets/settings-DQo_ZS2P.js +0 -1
- package/dist/owletto/dist/assets/skills-a5xQ4RE9.js +0 -1
|
@@ -1209,7 +1209,6 @@
|
|
|
1209
1209
|
"key": "create_issue",
|
|
1210
1210
|
"name": "Create Issue",
|
|
1211
1211
|
"description": "Create a new issue in the configured repository.",
|
|
1212
|
-
"requiresApproval": true,
|
|
1213
1212
|
"inputSchema": {
|
|
1214
1213
|
"type": "object",
|
|
1215
1214
|
"required": [
|
|
@@ -1247,7 +1246,6 @@
|
|
|
1247
1246
|
"key": "add_issue_comment",
|
|
1248
1247
|
"name": "Add Issue Comment",
|
|
1249
1248
|
"description": "Add a comment to an issue or pull request.",
|
|
1250
|
-
"requiresApproval": true,
|
|
1251
1249
|
"inputSchema": {
|
|
1252
1250
|
"type": "object",
|
|
1253
1251
|
"required": [
|
|
@@ -1274,7 +1272,6 @@
|
|
|
1274
1272
|
"key": "close_issue",
|
|
1275
1273
|
"name": "Close Issue",
|
|
1276
1274
|
"description": "Close an issue by number.",
|
|
1277
|
-
"requiresApproval": true,
|
|
1278
1275
|
"inputSchema": {
|
|
1279
1276
|
"type": "object",
|
|
1280
1277
|
"required": [
|
|
@@ -1297,7 +1294,6 @@
|
|
|
1297
1294
|
"key": "reopen_issue",
|
|
1298
1295
|
"name": "Reopen Issue",
|
|
1299
1296
|
"description": "Reopen an issue by number.",
|
|
1300
|
-
"requiresApproval": true,
|
|
1301
1297
|
"inputSchema": {
|
|
1302
1298
|
"type": "object",
|
|
1303
1299
|
"required": [
|
|
@@ -1320,7 +1316,6 @@
|
|
|
1320
1316
|
"key": "create_pull_request",
|
|
1321
1317
|
"name": "Create Pull Request",
|
|
1322
1318
|
"description": "Create a pull request from head to base branch.",
|
|
1323
|
-
"requiresApproval": true,
|
|
1324
1319
|
"inputSchema": {
|
|
1325
1320
|
"type": "object",
|
|
1326
1321
|
"required": [
|
|
@@ -1427,7 +1422,6 @@
|
|
|
1427
1422
|
"key": "merge_pull_request",
|
|
1428
1423
|
"name": "Merge Pull Request",
|
|
1429
1424
|
"description": "Merge a pull request by number.",
|
|
1430
|
-
"requiresApproval": true,
|
|
1431
1425
|
"annotations": {
|
|
1432
1426
|
"destructiveHint": true
|
|
1433
1427
|
},
|
|
@@ -1721,7 +1715,6 @@
|
|
|
1721
1715
|
"key": "send_email",
|
|
1722
1716
|
"name": "Send Email",
|
|
1723
1717
|
"description": "Send an email via Gmail.",
|
|
1724
|
-
"requiresApproval": true,
|
|
1725
1718
|
"inputSchema": {
|
|
1726
1719
|
"type": "object",
|
|
1727
1720
|
"required": [
|
|
@@ -1757,7 +1750,6 @@
|
|
|
1757
1750
|
"key": "create_draft",
|
|
1758
1751
|
"name": "Create Draft",
|
|
1759
1752
|
"description": "Create a draft email in Gmail.",
|
|
1760
|
-
"requiresApproval": false,
|
|
1761
1753
|
"inputSchema": {
|
|
1762
1754
|
"type": "object",
|
|
1763
1755
|
"required": [
|
|
@@ -1797,7 +1789,6 @@
|
|
|
1797
1789
|
"key": "reply",
|
|
1798
1790
|
"name": "Reply to Thread",
|
|
1799
1791
|
"description": "Send a reply to an existing email thread.",
|
|
1800
|
-
"requiresApproval": true,
|
|
1801
1792
|
"inputSchema": {
|
|
1802
1793
|
"type": "object",
|
|
1803
1794
|
"required": [
|
|
@@ -1829,7 +1820,6 @@
|
|
|
1829
1820
|
"kind": "read",
|
|
1830
1821
|
"name": "Search Emails",
|
|
1831
1822
|
"description": "Search emails by query.",
|
|
1832
|
-
"requiresApproval": false,
|
|
1833
1823
|
"inputSchema": {
|
|
1834
1824
|
"type": "object",
|
|
1835
1825
|
"required": [
|
|
@@ -1852,7 +1842,6 @@
|
|
|
1852
1842
|
"kind": "read",
|
|
1853
1843
|
"name": "Get Thread",
|
|
1854
1844
|
"description": "Read full thread content.",
|
|
1855
|
-
"requiresApproval": false,
|
|
1856
1845
|
"inputSchema": {
|
|
1857
1846
|
"type": "object",
|
|
1858
1847
|
"required": [
|
|
@@ -1871,7 +1860,6 @@
|
|
|
1871
1860
|
"kind": "read",
|
|
1872
1861
|
"name": "Download Attachment",
|
|
1873
1862
|
"description": "Download one attachment from a Gmail message. The bytes are published as an attachment with a `download_url` a device can fetch, and small text files are ALSO returned inline as `content`. Get `attachment_id` from `get_thread`, which lists each message's attachments.",
|
|
1874
|
-
"requiresApproval": false,
|
|
1875
1863
|
"requiredScopes": [
|
|
1876
1864
|
"https://www.googleapis.com/auth/gmail.readonly"
|
|
1877
1865
|
],
|
|
@@ -2101,7 +2089,6 @@
|
|
|
2101
2089
|
"key": "create_event",
|
|
2102
2090
|
"name": "Create Event",
|
|
2103
2091
|
"description": "Create a new event on Google Calendar.",
|
|
2104
|
-
"requiresApproval": true,
|
|
2105
2092
|
"requiredScopes": [
|
|
2106
2093
|
"https://www.googleapis.com/auth/calendar.events"
|
|
2107
2094
|
],
|
|
@@ -2148,7 +2135,6 @@
|
|
|
2148
2135
|
"key": "update_event",
|
|
2149
2136
|
"name": "Update Event",
|
|
2150
2137
|
"description": "Update an existing calendar event.",
|
|
2151
|
-
"requiresApproval": true,
|
|
2152
2138
|
"requiredScopes": [
|
|
2153
2139
|
"https://www.googleapis.com/auth/calendar.events"
|
|
2154
2140
|
],
|
|
@@ -2193,7 +2179,6 @@
|
|
|
2193
2179
|
"key": "delete_event",
|
|
2194
2180
|
"name": "Delete Event",
|
|
2195
2181
|
"description": "Delete/cancel an event.",
|
|
2196
|
-
"requiresApproval": true,
|
|
2197
2182
|
"annotations": {
|
|
2198
2183
|
"destructiveHint": true
|
|
2199
2184
|
},
|
|
@@ -2220,7 +2205,6 @@
|
|
|
2220
2205
|
"get_event": {
|
|
2221
2206
|
"key": "get_event",
|
|
2222
2207
|
"kind": "read",
|
|
2223
|
-
"requiresApproval": false,
|
|
2224
2208
|
"name": "Get Event",
|
|
2225
2209
|
"description": "Get full event details.",
|
|
2226
2210
|
"inputSchema": {
|
|
@@ -2456,7 +2440,6 @@
|
|
|
2456
2440
|
"download_file": {
|
|
2457
2441
|
"key": "download_file",
|
|
2458
2442
|
"kind": "read",
|
|
2459
|
-
"requiresApproval": false,
|
|
2460
2443
|
"name": "Download File",
|
|
2461
2444
|
"description": "Download one Drive file. Google Docs/Sheets/Slides are exported (text/plain, CSV); everything else is downloaded as-is, binary included. The bytes are published as an attachment with a `download_url` a device can fetch, and small text files are ALSO returned inline as `content` so they can be read without a second call.",
|
|
2462
2445
|
"requiredScopes": [
|
|
@@ -2484,7 +2467,6 @@
|
|
|
2484
2467
|
"get_file": {
|
|
2485
2468
|
"key": "get_file",
|
|
2486
2469
|
"kind": "read",
|
|
2487
|
-
"requiresApproval": false,
|
|
2488
2470
|
"name": "Get File Metadata",
|
|
2489
2471
|
"description": "Get one Drive file's metadata without fetching its content.",
|
|
2490
2472
|
"requiredScopes": [
|
|
@@ -3204,7 +3186,6 @@
|
|
|
3204
3186
|
"kind": "read",
|
|
3205
3187
|
"name": "Quote symbols",
|
|
3206
3188
|
"description": "Return a quoted or quote_unavailable result for every requested symbol.",
|
|
3207
|
-
"requiresApproval": false,
|
|
3208
3189
|
"annotations": {
|
|
3209
3190
|
"readOnlyHint": true,
|
|
3210
3191
|
"idempotentHint": true,
|
|
@@ -3467,7 +3448,6 @@
|
|
|
3467
3448
|
"kind": "read",
|
|
3468
3449
|
"name": "List Attachments",
|
|
3469
3450
|
"description": "List a message's attachments with their IDs, names, types and sizes. The feed only reports `has_attachments`, so this is how an agent learns what to download.",
|
|
3470
|
-
"requiresApproval": false,
|
|
3471
3451
|
"requiredScopes": [
|
|
3472
3452
|
"Mail.Read"
|
|
3473
3453
|
],
|
|
@@ -3489,7 +3469,6 @@
|
|
|
3489
3469
|
"kind": "read",
|
|
3490
3470
|
"name": "Download Attachment",
|
|
3491
3471
|
"description": "Download one attachment from an Outlook message. The bytes are published as an attachment with a `download_url` a device can fetch, and small text files are ALSO returned inline as `content`. Get `attachment_id` from `list_attachments`.",
|
|
3492
|
-
"requiresApproval": false,
|
|
3493
3472
|
"requiredScopes": [
|
|
3494
3473
|
"Mail.Read"
|
|
3495
3474
|
],
|
|
@@ -3615,7 +3594,7 @@
|
|
|
3615
3594
|
{
|
|
3616
3595
|
"id": "postgres",
|
|
3617
3596
|
"name": "PostgreSQL",
|
|
3618
|
-
"version": "1.0
|
|
3597
|
+
"version": "1.1.0",
|
|
3619
3598
|
"description": "Bring your own PostgreSQL database as memory, read a configured feed directly, or run governed connection-level SQL.",
|
|
3620
3599
|
"detail": {
|
|
3621
3600
|
"source_path": "postgres.ts",
|
|
@@ -4563,7 +4542,6 @@
|
|
|
4563
4542
|
"name": "Search messages",
|
|
4564
4543
|
"description": "Search WhatsApp's local full-text index globally or within one exact chat. Results are bounded; loaded-model matching is used only when the private search capability is unavailable.",
|
|
4565
4544
|
"kind": "read",
|
|
4566
|
-
"requiresApproval": false,
|
|
4567
4545
|
"annotations": {
|
|
4568
4546
|
"readOnlyHint": true,
|
|
4569
4547
|
"openWorldHint": true
|
|
@@ -4623,7 +4601,6 @@
|
|
|
4623
4601
|
"name": "Draft message",
|
|
4624
4602
|
"description": "Persist a WhatsApp draft in an exact chat without sending it.",
|
|
4625
4603
|
"kind": "write",
|
|
4626
|
-
"requiresApproval": false,
|
|
4627
4604
|
"annotations": {
|
|
4628
4605
|
"destructiveHint": false,
|
|
4629
4606
|
"idempotentHint": true
|
|
@@ -4692,7 +4669,6 @@
|
|
|
4692
4669
|
"name": "Send message",
|
|
4693
4670
|
"description": "Send a text message to an exact WhatsApp chat.",
|
|
4694
4671
|
"kind": "write",
|
|
4695
|
-
"requiresApproval": true,
|
|
4696
4672
|
"annotations": {
|
|
4697
4673
|
"destructiveHint": false,
|
|
4698
4674
|
"idempotentHint": false
|
|
@@ -4757,7 +4733,6 @@
|
|
|
4757
4733
|
"name": "Edit message",
|
|
4758
4734
|
"description": "Edit a loaded outgoing WhatsApp message.",
|
|
4759
4735
|
"kind": "write",
|
|
4760
|
-
"requiresApproval": true,
|
|
4761
4736
|
"annotations": {
|
|
4762
4737
|
"destructiveHint": false,
|
|
4763
4738
|
"idempotentHint": false
|
|
@@ -4797,7 +4772,6 @@
|
|
|
4797
4772
|
"name": "React to message",
|
|
4798
4773
|
"description": "Add or remove a reaction on a loaded WhatsApp message.",
|
|
4799
4774
|
"kind": "write",
|
|
4800
|
-
"requiresApproval": true,
|
|
4801
4775
|
"annotations": {
|
|
4802
4776
|
"destructiveHint": false,
|
|
4803
4777
|
"idempotentHint": true
|
|
@@ -4847,7 +4821,6 @@
|
|
|
4847
4821
|
"name": "Revoke message",
|
|
4848
4822
|
"description": "Delete a loaded outgoing WhatsApp message for everyone where WhatsApp permits it.",
|
|
4849
4823
|
"kind": "write",
|
|
4850
|
-
"requiresApproval": true,
|
|
4851
4824
|
"annotations": {
|
|
4852
4825
|
"destructiveHint": true,
|
|
4853
4826
|
"idempotentHint": true
|
|
@@ -6299,8 +6272,7 @@
|
|
|
6299
6272
|
"type": "string"
|
|
6300
6273
|
}
|
|
6301
6274
|
}
|
|
6302
|
-
}
|
|
6303
|
-
"requiresApproval": false
|
|
6275
|
+
}
|
|
6304
6276
|
}
|
|
6305
6277
|
},
|
|
6306
6278
|
"automation_events": null,
|
|
@@ -6612,7 +6584,6 @@
|
|
|
6612
6584
|
"kind": "read",
|
|
6613
6585
|
"name": "Search Videos",
|
|
6614
6586
|
"description": "Search public YouTube by keyword and return matching videos.",
|
|
6615
|
-
"requiresApproval": false,
|
|
6616
6587
|
"inputSchema": {
|
|
6617
6588
|
"type": "object",
|
|
6618
6589
|
"required": [
|
|
@@ -6642,7 +6613,6 @@
|
|
|
6642
6613
|
"kind": "read",
|
|
6643
6614
|
"name": "Get Video",
|
|
6644
6615
|
"description": "Fetch metadata for one YouTube video by id or URL.",
|
|
6645
|
-
"requiresApproval": false,
|
|
6646
6616
|
"inputSchema": {
|
|
6647
6617
|
"type": "object",
|
|
6648
6618
|
"required": [
|
|
@@ -6669,7 +6639,6 @@
|
|
|
6669
6639
|
"kind": "read",
|
|
6670
6640
|
"name": "Search Liked Videos",
|
|
6671
6641
|
"description": "Filter the authenticated user's liked videos by title or channel name (substring match).",
|
|
6672
|
-
"requiresApproval": false,
|
|
6673
6642
|
"inputSchema": {
|
|
6674
6643
|
"type": "object",
|
|
6675
6644
|
"required": [
|
|
@@ -6695,7 +6664,6 @@
|
|
|
6695
6664
|
"kind": "read",
|
|
6696
6665
|
"name": "List Playlists",
|
|
6697
6666
|
"description": "List the authenticated user's YouTube playlists.",
|
|
6698
|
-
"requiresApproval": false,
|
|
6699
6667
|
"inputSchema": {
|
|
6700
6668
|
"type": "object",
|
|
6701
6669
|
"properties": {
|
|
@@ -6713,7 +6681,6 @@
|
|
|
6713
6681
|
"kind": "read",
|
|
6714
6682
|
"name": "Get Playlist",
|
|
6715
6683
|
"description": "List videos in one of your playlists, with an optional title filter.",
|
|
6716
|
-
"requiresApproval": false,
|
|
6717
6684
|
"inputSchema": {
|
|
6718
6685
|
"type": "object",
|
|
6719
6686
|
"required": [
|
package/dist/component.json
CHANGED
|
@@ -360,13 +360,16 @@ ad-hoc SQL and warehouse pushdown; configured feed reads belong on
|
|
|
360
360
|
|
|
361
361
|
Actions let connectors write back to external services (e.g. create a GitHub
|
|
362
362
|
issue). Define them in the `actions` record passed to `defineConnector`. The
|
|
363
|
-
record key becomes the action key
|
|
363
|
+
record key becomes the action key. Declare what the operation does; the
|
|
364
|
+
organization controls approval through Auto, Ask, or Block policies. An action
|
|
365
|
+
with no matching policy requires approval. A non-destructive hint does not grant
|
|
366
|
+
automatic execution:
|
|
364
367
|
|
|
365
368
|
```typescript
|
|
366
369
|
interface ConnectorActionSpec {
|
|
367
370
|
name: string; // Display name
|
|
368
371
|
description?: string; // What this action does
|
|
369
|
-
|
|
372
|
+
kind?: "read" | "write"; // Defaults to write
|
|
370
373
|
inputSchema?: object; // JSON Schema for action input
|
|
371
374
|
outputSchema?: object; // JSON Schema for action output
|
|
372
375
|
annotations?: { // MCP tool annotations for client-side UX
|
|
@@ -385,7 +388,7 @@ actions: {
|
|
|
385
388
|
create_issue: {
|
|
386
389
|
name: 'Create Issue',
|
|
387
390
|
description: 'Create a new issue in the repository.',
|
|
388
|
-
|
|
391
|
+
kind: "write",
|
|
389
392
|
annotations: {
|
|
390
393
|
openWorldHint: true,
|
|
391
394
|
idempotentHint: false,
|
|
@@ -789,7 +789,6 @@ export default class GitHubConnector extends ConnectorRuntime {
|
|
|
789
789
|
key: 'create_issue',
|
|
790
790
|
name: 'Create Issue',
|
|
791
791
|
description: 'Create a new issue in the configured repository.',
|
|
792
|
-
requiresApproval: true,
|
|
793
792
|
inputSchema: {
|
|
794
793
|
type: 'object',
|
|
795
794
|
required: ['title'],
|
|
@@ -807,7 +806,6 @@ export default class GitHubConnector extends ConnectorRuntime {
|
|
|
807
806
|
key: 'add_issue_comment',
|
|
808
807
|
name: 'Add Issue Comment',
|
|
809
808
|
description: 'Add a comment to an issue or pull request.',
|
|
810
|
-
requiresApproval: true,
|
|
811
809
|
inputSchema: {
|
|
812
810
|
type: 'object',
|
|
813
811
|
required: ['issue_number', 'body'],
|
|
@@ -823,7 +821,6 @@ export default class GitHubConnector extends ConnectorRuntime {
|
|
|
823
821
|
key: 'close_issue',
|
|
824
822
|
name: 'Close Issue',
|
|
825
823
|
description: 'Close an issue by number.',
|
|
826
|
-
requiresApproval: true,
|
|
827
824
|
inputSchema: {
|
|
828
825
|
type: 'object',
|
|
829
826
|
required: ['issue_number'],
|
|
@@ -838,7 +835,6 @@ export default class GitHubConnector extends ConnectorRuntime {
|
|
|
838
835
|
key: 'reopen_issue',
|
|
839
836
|
name: 'Reopen Issue',
|
|
840
837
|
description: 'Reopen an issue by number.',
|
|
841
|
-
requiresApproval: true,
|
|
842
838
|
inputSchema: {
|
|
843
839
|
type: 'object',
|
|
844
840
|
required: ['issue_number'],
|
|
@@ -853,7 +849,6 @@ export default class GitHubConnector extends ConnectorRuntime {
|
|
|
853
849
|
key: 'create_pull_request',
|
|
854
850
|
name: 'Create Pull Request',
|
|
855
851
|
description: 'Create a pull request from head to base branch.',
|
|
856
|
-
requiresApproval: true,
|
|
857
852
|
inputSchema: {
|
|
858
853
|
type: 'object',
|
|
859
854
|
required: ['title', 'head', 'base'],
|
|
@@ -891,7 +886,6 @@ export default class GitHubConnector extends ConnectorRuntime {
|
|
|
891
886
|
key: 'merge_pull_request',
|
|
892
887
|
name: 'Merge Pull Request',
|
|
893
888
|
description: 'Merge a pull request by number.',
|
|
894
|
-
requiresApproval: true,
|
|
895
889
|
annotations: {
|
|
896
890
|
destructiveHint: true,
|
|
897
891
|
},
|
|
@@ -277,7 +277,6 @@ export default class GoogleCalendarConnector extends ConnectorRuntime<Record<str
|
|
|
277
277
|
key: 'create_event',
|
|
278
278
|
name: 'Create Event',
|
|
279
279
|
description: 'Create a new event on Google Calendar.',
|
|
280
|
-
requiresApproval: true,
|
|
281
280
|
requiredScopes: ['https://www.googleapis.com/auth/calendar.events'],
|
|
282
281
|
inputSchema: {
|
|
283
282
|
type: 'object',
|
|
@@ -303,7 +302,6 @@ export default class GoogleCalendarConnector extends ConnectorRuntime<Record<str
|
|
|
303
302
|
key: 'update_event',
|
|
304
303
|
name: 'Update Event',
|
|
305
304
|
description: 'Update an existing calendar event.',
|
|
306
|
-
requiresApproval: true,
|
|
307
305
|
requiredScopes: ['https://www.googleapis.com/auth/calendar.events'],
|
|
308
306
|
inputSchema: {
|
|
309
307
|
type: 'object',
|
|
@@ -326,7 +324,6 @@ export default class GoogleCalendarConnector extends ConnectorRuntime<Record<str
|
|
|
326
324
|
key: 'delete_event',
|
|
327
325
|
name: 'Delete Event',
|
|
328
326
|
description: 'Delete/cancel an event.',
|
|
329
|
-
requiresApproval: true,
|
|
330
327
|
annotations: {
|
|
331
328
|
destructiveHint: true,
|
|
332
329
|
},
|
|
@@ -346,7 +343,6 @@ export default class GoogleCalendarConnector extends ConnectorRuntime<Record<str
|
|
|
346
343
|
get_event: {
|
|
347
344
|
key: 'get_event',
|
|
348
345
|
kind: 'read',
|
|
349
|
-
requiresApproval: false,
|
|
350
346
|
name: 'Get Event',
|
|
351
347
|
description: 'Get full event details.',
|
|
352
348
|
inputSchema: {
|
|
@@ -408,7 +408,6 @@ export default class GoogleDriveConnector extends ConnectorRuntime<
|
|
|
408
408
|
download_file: {
|
|
409
409
|
key: 'download_file',
|
|
410
410
|
kind: 'read',
|
|
411
|
-
requiresApproval: false,
|
|
412
411
|
name: 'Download File',
|
|
413
412
|
description:
|
|
414
413
|
'Download one Drive file. Google Docs/Sheets/Slides are exported (text/plain, CSV); everything else is downloaded as-is, binary included. The bytes are published as an attachment with a `download_url` a device can fetch, and small text files are ALSO returned inline as `content` so they can be read without a second call.',
|
|
@@ -428,7 +427,6 @@ export default class GoogleDriveConnector extends ConnectorRuntime<
|
|
|
428
427
|
get_file: {
|
|
429
428
|
key: 'get_file',
|
|
430
429
|
kind: 'read',
|
|
431
|
-
requiresApproval: false,
|
|
432
430
|
name: 'Get File Metadata',
|
|
433
431
|
description: 'Get one Drive file\'s metadata without fetching its content.',
|
|
434
432
|
requiredScopes: ['https://www.googleapis.com/auth/drive.readonly'],
|
|
@@ -327,7 +327,6 @@ export default class GmailConnector extends ConnectorRuntime<GmailCheckpoint, Gm
|
|
|
327
327
|
key: 'send_email',
|
|
328
328
|
name: 'Send Email',
|
|
329
329
|
description: 'Send an email via Gmail.',
|
|
330
|
-
requiresApproval: true,
|
|
331
330
|
inputSchema: {
|
|
332
331
|
type: 'object',
|
|
333
332
|
required: ['to', 'subject', 'body'],
|
|
@@ -344,7 +343,6 @@ export default class GmailConnector extends ConnectorRuntime<GmailCheckpoint, Gm
|
|
|
344
343
|
key: 'create_draft',
|
|
345
344
|
name: 'Create Draft',
|
|
346
345
|
description: 'Create a draft email in Gmail.',
|
|
347
|
-
requiresApproval: false,
|
|
348
346
|
inputSchema: {
|
|
349
347
|
type: 'object',
|
|
350
348
|
required: ['to', 'subject', 'body'],
|
|
@@ -365,7 +363,6 @@ export default class GmailConnector extends ConnectorRuntime<GmailCheckpoint, Gm
|
|
|
365
363
|
key: 'reply',
|
|
366
364
|
name: 'Reply to Thread',
|
|
367
365
|
description: 'Send a reply to an existing email thread.',
|
|
368
|
-
requiresApproval: true,
|
|
369
366
|
inputSchema: {
|
|
370
367
|
type: 'object',
|
|
371
368
|
required: ['thread_id', 'body'],
|
|
@@ -385,7 +382,6 @@ export default class GmailConnector extends ConnectorRuntime<GmailCheckpoint, Gm
|
|
|
385
382
|
kind: 'read',
|
|
386
383
|
name: 'Search Emails',
|
|
387
384
|
description: 'Search emails by query.',
|
|
388
|
-
requiresApproval: false,
|
|
389
385
|
inputSchema: {
|
|
390
386
|
type: 'object',
|
|
391
387
|
required: ['query'],
|
|
@@ -406,7 +402,6 @@ export default class GmailConnector extends ConnectorRuntime<GmailCheckpoint, Gm
|
|
|
406
402
|
kind: 'read',
|
|
407
403
|
name: 'Get Thread',
|
|
408
404
|
description: 'Read full thread content.',
|
|
409
|
-
requiresApproval: false,
|
|
410
405
|
inputSchema: {
|
|
411
406
|
type: 'object',
|
|
412
407
|
required: ['thread_id'],
|
|
@@ -421,7 +416,6 @@ export default class GmailConnector extends ConnectorRuntime<GmailCheckpoint, Gm
|
|
|
421
416
|
name: 'Download Attachment',
|
|
422
417
|
description:
|
|
423
418
|
'Download one attachment from a Gmail message. The bytes are published as an attachment with a `download_url` a device can fetch, and small text files are ALSO returned inline as `content`. Get `attachment_id` from `get_thread`, which lists each message\'s attachments.',
|
|
424
|
-
requiresApproval: false,
|
|
425
419
|
requiredScopes: ['https://www.googleapis.com/auth/gmail.readonly'],
|
|
426
420
|
inputSchema: {
|
|
427
421
|
type: 'object',
|
|
@@ -307,7 +307,6 @@ export default class MarketQuotesConnector extends ConnectorRuntime {
|
|
|
307
307
|
name: "Quote symbols",
|
|
308
308
|
description:
|
|
309
309
|
"Return a quoted or quote_unavailable result for every requested symbol.",
|
|
310
|
-
requiresApproval: false,
|
|
311
310
|
annotations: {
|
|
312
311
|
readOnlyHint: true,
|
|
313
312
|
idempotentHint: true,
|
|
@@ -263,7 +263,6 @@ export default class MicrosoftOutlookConnector extends ConnectorRuntime {
|
|
|
263
263
|
name: 'List Attachments',
|
|
264
264
|
description:
|
|
265
265
|
"List a message's attachments with their IDs, names, types and sizes. The feed only reports `has_attachments`, so this is how an agent learns what to download.",
|
|
266
|
-
requiresApproval: false,
|
|
267
266
|
requiredScopes: ['Mail.Read'],
|
|
268
267
|
inputSchema: {
|
|
269
268
|
type: 'object',
|
|
@@ -282,7 +281,6 @@ export default class MicrosoftOutlookConnector extends ConnectorRuntime {
|
|
|
282
281
|
name: 'Download Attachment',
|
|
283
282
|
description:
|
|
284
283
|
'Download one attachment from an Outlook message. The bytes are published as an attachment with a `download_url` a device can fetch, and small text files are ALSO returned inline as `content`. Get `attachment_id` from `list_attachments`.',
|
|
285
|
-
requiresApproval: false,
|
|
286
284
|
requiredScopes: ['Mail.Read'],
|
|
287
285
|
inputSchema: {
|
|
288
286
|
type: 'object',
|
|
@@ -353,7 +353,8 @@ export default class PostgresConnector extends ConnectorRuntime {
|
|
|
353
353
|
name: 'PostgreSQL',
|
|
354
354
|
description:
|
|
355
355
|
'Bring your own PostgreSQL database as memory, read a configured feed directly, or run governed connection-level SQL.',
|
|
356
|
-
version: '1.0
|
|
356
|
+
version: '1.1.0',
|
|
357
|
+
queryCapabilities: { exactMatch: true },
|
|
357
358
|
faviconDomain: 'postgresql.org',
|
|
358
359
|
authSchema: {
|
|
359
360
|
methods: [
|
|
@@ -516,7 +517,6 @@ export default class PostgresConnector extends ConnectorRuntime {
|
|
|
516
517
|
const col = assertIdentifier(ctx.sort.column, 'sort.column');
|
|
517
518
|
orderBy = `ORDER BY q."${col}" ${ctx.sort.order === 'desc' ? 'DESC' : 'ASC'}`;
|
|
518
519
|
}
|
|
519
|
-
const wrapped = `SELECT * FROM (\n${baseSql}\n) q\n${orderBy}\nLIMIT ${limit} OFFSET ${offset}`;
|
|
520
520
|
// Real total over the whole (un-paginated) result, so the aggregator reports
|
|
521
521
|
// an accurate total_count / has_more — parity with the internal query_sql
|
|
522
522
|
// path. baseSql has no top-level LIMIT (rejected above), so this is exact.
|
|
@@ -526,7 +526,72 @@ export default class PostgresConnector extends ConnectorRuntime {
|
|
|
526
526
|
try {
|
|
527
527
|
const { data, total } = (await sql.begin(async (tx) => {
|
|
528
528
|
await setReadOnly(tx, 30000);
|
|
529
|
-
const
|
|
529
|
+
const params: string[] = [];
|
|
530
|
+
const bind = (value: string) => { params.push(value); return `$${params.length}::text`; };
|
|
531
|
+
let where = '';
|
|
532
|
+
if (ctx.exactMatch) {
|
|
533
|
+
const { columns, value } = ctx.exactMatch;
|
|
534
|
+
if (!columns.length) throw new Error('exactMatch.columns must not be empty');
|
|
535
|
+
for (const column of columns) assertIdentifier(column, 'exactMatch.column');
|
|
536
|
+
const projection = await tx.unsafe(`SELECT * FROM (\n${baseSql}\n) q LIMIT 0`);
|
|
537
|
+
const projected = projection.columns as Array<{ name: string; type: number; parser?: { array?: boolean } }>;
|
|
538
|
+
const candidates = columns.flatMap((name) => projected.filter((column) => column.name === name));
|
|
539
|
+
if (!candidates.length) return { data: projection, total: 0 };
|
|
540
|
+
const isScalar = (column: (typeof projected)[number]) => !column.parser?.array && column.type !== 17;
|
|
541
|
+
if (!candidates.some(isScalar)) {
|
|
542
|
+
throw Object.assign(new Error('Exact-match identity must be a scalar; project a text key in the source query'), { status: 400 });
|
|
543
|
+
}
|
|
544
|
+
const textMatch = (ref: string) => `btrim(${ref}, ${bind('\t\n\v\f\r \u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000\ufeff')}) = ${bind(value)}`;
|
|
545
|
+
const numberMatch = (ref: string, cast: string) => Number.isFinite(Number(value)) && String(Number(value)) === value
|
|
546
|
+
? `${ref} = ${bind(value)}::${cast}` : 'FALSE';
|
|
547
|
+
const cases = candidates.map((column) => {
|
|
548
|
+
const ref = `q.${quoteIdent(column.name)}`;
|
|
549
|
+
const jsonType = [114, 3802].includes(column.type) ? `${column.type === 114 ? 'json' : 'jsonb'}_typeof(${ref})` : undefined;
|
|
550
|
+
let present = `${ref} IS NOT NULL`;
|
|
551
|
+
let match: string;
|
|
552
|
+
if (!isScalar(column)) {
|
|
553
|
+
// Null falls through; a non-null complex key cannot use a later scalar.
|
|
554
|
+
match = 'FALSE';
|
|
555
|
+
} else if (jsonType) {
|
|
556
|
+
// JSON decoding yields JS scalars; objects/arrays are not routing keys.
|
|
557
|
+
const decoded = `(${ref} #>> '{}')`;
|
|
558
|
+
// PG12+ soft conversion guards the raw cast without losing precision.
|
|
559
|
+
// JS underflow is zero; overflow becomes null in isolate serialization.
|
|
560
|
+
const number = `(CASE WHEN jsonb_path_query_first(to_jsonb(${decoded}), '$.double()', '{}', true) IS NOT NULL THEN ${decoded} WHEN abs(${decoded}::numeric) < 1 THEN '0' ELSE NULL END)::float8`;
|
|
561
|
+
match = `CASE WHEN ${jsonType} IN ('string', 'boolean') THEN (${textMatch(decoded)}) WHEN ${jsonType} = 'number' THEN (${numberMatch(`(${number})`, 'float8')}) ELSE FALSE END`;
|
|
562
|
+
present = `CASE WHEN ${jsonType} = 'number' THEN (${number}) IS NOT NULL ELSE ${jsonType} <> 'null' END`;
|
|
563
|
+
} else if ([700, 701].includes(column.type)) {
|
|
564
|
+
// The driver parses floats as JS numbers: 0.0000001 routes as 1e-7.
|
|
565
|
+
match = numberMatch(ref, PG_OID[column.type].cast);
|
|
566
|
+
present = `abs(${ref}) < 'Infinity'::float8`;
|
|
567
|
+
} else if ([1082, 1114, 1184].includes(column.type)) {
|
|
568
|
+
// The driver returns Date values; the isolate serializes them as ISO.
|
|
569
|
+
present = `isfinite(${ref})`;
|
|
570
|
+
const date = new Date(value);
|
|
571
|
+
if (!Number.isFinite(date.getTime()) || date.toISOString() !== value) {
|
|
572
|
+
match = 'FALSE';
|
|
573
|
+
} else if (column.type === 1082) {
|
|
574
|
+
match = value.endsWith('T00:00:00.000Z') ? `${ref} = ${bind(value.slice(0, 10))}::date` : 'FALSE';
|
|
575
|
+
} else {
|
|
576
|
+
// Timestamp without zone is parsed in the worker's local zone.
|
|
577
|
+
const key = column.type === 1114
|
|
578
|
+
? new Date(date.getTime() - date.getTimezoneOffset() * 60_000).toISOString().slice(0, -1)
|
|
579
|
+
: value;
|
|
580
|
+
const bound = `${bind(key)}::${PG_OID[column.type].cast}`;
|
|
581
|
+
// Date drops source microseconds, so retain its full millisecond.
|
|
582
|
+
match = `${ref} >= ${bound} AND ${ref} < ${bound} + INTERVAL '1 millisecond'`;
|
|
583
|
+
}
|
|
584
|
+
} else {
|
|
585
|
+
match = textMatch(`${ref}::text`);
|
|
586
|
+
}
|
|
587
|
+
return `WHEN ${present} THEN (${match})`;
|
|
588
|
+
});
|
|
589
|
+
where = `WHERE CASE ${cases.join(' ')} ELSE FALSE END`;
|
|
590
|
+
}
|
|
591
|
+
const wrapped = `SELECT * FROM (\n${baseSql}\n) q\n${where}\n${orderBy}\nLIMIT ${limit} OFFSET ${offset}`;
|
|
592
|
+
const rows = await tx.unsafe(wrapped, params);
|
|
593
|
+
// Record lookup needs only its bounded result, never a full-source count.
|
|
594
|
+
if (ctx.exactMatch) return { data: rows, total: undefined };
|
|
530
595
|
const counted = (await tx.unsafe(countSql)) as unknown as Array<{ n: number }>;
|
|
531
596
|
return { data: rows, total: counted[0]?.n };
|
|
532
597
|
})) as unknown as {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Successful sync checkpoints acknowledge exact buffered revisions. Ordinary
|
|
6
6
|
* collection still supplies history and reconciles the page's current state.
|
|
7
7
|
*
|
|
8
|
-
* Auth stays in the user's signed-in WhatsApp Web tab.
|
|
9
|
-
*
|
|
8
|
+
* Auth stays in the user's signed-in WhatsApp Web tab. Org policy governs
|
|
9
|
+
* message writes; there is no connector-side action ledger.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
import {
|
|
@@ -754,7 +754,6 @@ export default class WhatsAppWebConnector extends ConnectorRuntime<
|
|
|
754
754
|
description:
|
|
755
755
|
"Search WhatsApp's local full-text index globally or within one exact chat. Results are bounded; loaded-model matching is used only when the private search capability is unavailable.",
|
|
756
756
|
kind: "read",
|
|
757
|
-
requiresApproval: false,
|
|
758
757
|
annotations: { readOnlyHint: true, openWorldHint: true },
|
|
759
758
|
inputSchema: {
|
|
760
759
|
type: "object",
|
|
@@ -801,7 +800,6 @@ export default class WhatsAppWebConnector extends ConnectorRuntime<
|
|
|
801
800
|
kind: "write",
|
|
802
801
|
// A draft is the handoff surface, not the send: it fills the chat's
|
|
803
802
|
// composer and stops. The human presses send.
|
|
804
|
-
requiresApproval: false,
|
|
805
803
|
annotations: { destructiveHint: false, idempotentHint: true },
|
|
806
804
|
inputSchema: {
|
|
807
805
|
type: "object",
|
|
@@ -833,7 +831,6 @@ export default class WhatsAppWebConnector extends ConnectorRuntime<
|
|
|
833
831
|
name: "Send message",
|
|
834
832
|
description: "Send a text message to an exact WhatsApp chat.",
|
|
835
833
|
kind: "write",
|
|
836
|
-
requiresApproval: true,
|
|
837
834
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
838
835
|
inputSchema: {
|
|
839
836
|
type: "object",
|
|
@@ -864,7 +861,6 @@ export default class WhatsAppWebConnector extends ConnectorRuntime<
|
|
|
864
861
|
name: "Edit message",
|
|
865
862
|
description: "Edit a loaded outgoing WhatsApp message.",
|
|
866
863
|
kind: "write",
|
|
867
|
-
requiresApproval: true,
|
|
868
864
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
869
865
|
inputSchema: {
|
|
870
866
|
type: "object",
|
|
@@ -890,7 +886,6 @@ export default class WhatsAppWebConnector extends ConnectorRuntime<
|
|
|
890
886
|
name: "React to message",
|
|
891
887
|
description: "Add or remove a reaction on a loaded WhatsApp message.",
|
|
892
888
|
kind: "write",
|
|
893
|
-
requiresApproval: true,
|
|
894
889
|
annotations: { destructiveHint: false, idempotentHint: true },
|
|
895
890
|
inputSchema: {
|
|
896
891
|
type: "object",
|
|
@@ -917,7 +912,6 @@ export default class WhatsAppWebConnector extends ConnectorRuntime<
|
|
|
917
912
|
description:
|
|
918
913
|
"Delete a loaded outgoing WhatsApp message for everyone where WhatsApp permits it.",
|
|
919
914
|
kind: "write",
|
|
920
|
-
requiresApproval: true,
|
|
921
915
|
annotations: { destructiveHint: true, idempotentHint: true },
|
|
922
916
|
inputSchema: {
|
|
923
917
|
type: "object",
|
package/dist/connectors/x.ts
CHANGED
|
@@ -3301,15 +3301,9 @@ export default class XConnector extends ConnectorRuntime {
|
|
|
3301
3301
|
reason_preview: { type: "string" },
|
|
3302
3302
|
},
|
|
3303
3303
|
},
|
|
3304
|
-
//
|
|
3305
|
-
//
|
|
3306
|
-
//
|
|
3307
|
-
// rejects every click_ref except focusing the composer). A Lobu gate
|
|
3308
|
-
// here would only guard "fills an already-open X page", while forcing
|
|
3309
|
-
// the user to approve a draft BEFORE they can see it in context. The
|
|
3310
|
-
// user-opened page is the approval. `linkedin.prepare_comment` is ungated for
|
|
3311
|
-
// the same reason.
|
|
3312
|
-
requiresApproval: false,
|
|
3304
|
+
// Org policy governs staging. Publishing still requires the human
|
|
3305
|
+
// to click X's Reply button: safeDispatch rejects every click_ref
|
|
3306
|
+
// except focusing the composer.
|
|
3313
3307
|
},
|
|
3314
3308
|
},
|
|
3315
3309
|
};
|