@xopcai/xopc 0.0.155 → 0.0.157
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/browser-ext/manifest.json +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/gateway/static/root/assets/action-boundary-settings-panel-zQ_w0sPl.js +1 -0
- package/dist/gateway/static/root/assets/{activity-store-Btmg10yU.js → activity-store-CddlQHam.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-pdlJJov8.js → agent-avatar-dicebear-DOfTopIk.js} +1 -1
- package/dist/gateway/static/root/assets/agents-RZNd9xMI.js +2 -0
- package/dist/gateway/static/root/assets/{api-GGYxPxVF.js → api-NUlcaaV9.js} +1 -1
- package/dist/gateway/static/root/assets/{app-management-settings-panel-BU9oSmtJ.js → app-management-settings-panel-J0-z_uc1.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-B2chSkbj.js → appearance-settings-CMaQOx2C.js} +1 -1
- package/dist/gateway/static/root/assets/apps-page-BOeTZgdL.js +1 -0
- package/dist/gateway/static/root/assets/{archive-plugin-BC83GwY1.js → archive-plugin-BVwE70GV.js} +1 -1
- package/dist/gateway/static/root/assets/{attachment-load-DWSH5325.js → attachment-load-aj5U56K9.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-suggestion-card-Bc25f4wz.js → automation-suggestion-card-CKz8rxAb.js} +1 -1
- package/dist/gateway/static/root/assets/automations-page-wYN1N-Il.js +6 -0
- package/dist/gateway/static/root/assets/{binary-plugins-Kgu5yX35.js → binary-plugins-Ie6owbEw.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-B9gJmzdE.js → block-editor-BaDrd5GJ.js} +31 -31
- package/dist/gateway/static/root/assets/browser-settings-page-DD3djQtX.js +8 -0
- package/dist/gateway/static/root/assets/{capability-presets-api-6z36IfIC.js → capability-presets-api-BjO4YD-O.js} +1 -1
- package/dist/gateway/static/root/assets/{capability-presets-settings-panel-Bqzl2UZ9.js → capability-presets-settings-panel-bwezWQpF.js} +2 -2
- package/dist/gateway/static/root/assets/{channel-recipient-api-DEkm4HRd.js → channel-recipient-api-BisDU_DH.js} +1 -1
- package/dist/gateway/static/root/assets/channels-settings-Bohv9YRy.js +1 -0
- package/dist/gateway/static/root/assets/channels-status-swr-h3VHD5Uq.js +1 -0
- package/dist/gateway/static/root/assets/{connector-logo-DPriINR1.js → connector-logo-DGjjzBIH.js} +1 -1
- package/dist/gateway/static/root/assets/connectors-page-LIAkMlN-.js +2 -0
- package/dist/gateway/static/root/assets/{desktop-pet-CG91Su8E.js → desktop-pet-CoQ4Edck.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-DUzETFxq.js → desktop-pet-settings--sjUYeNX.js} +1 -1
- package/dist/gateway/static/root/assets/{directory-picker-path-field-XNbI2wM7.js → directory-picker-path-field-CpmfFDx3.js} +1 -1
- package/dist/gateway/static/root/assets/{dreaming-settings-BsLa5Nr8.js → dreaming-settings-D7rRROE7.js} +3 -3
- package/dist/gateway/static/root/assets/{extension-debug-page-C-5Nyrdu.js → extension-debug-page-BzqW3ssG.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-BEocT43y.js → extension-page-CKDbBzVR.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page--XOHrL-O.js → extension-settings-page-DjNMSdRz.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-config-api-DZrNmiR3.js → gateway-config-api-CUEAZEld.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-settings-DfBvlqb2.js → gateway-settings-h1wWBrxD.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-startup-retry-Cc5dxiD_.js → gateway-startup-retry-CbMPgpHX.js} +1 -1
- package/dist/gateway/static/root/assets/goal-create-dialog-xfO0R5Bx.js +1 -0
- package/dist/gateway/static/root/assets/goal-detail-page-CVVKF2hY.js +4 -0
- package/dist/gateway/static/root/assets/{goals-config-api-Cdghd3f3.js → goals-config-api-C-Vq8VR9.js} +1 -1
- package/dist/gateway/static/root/assets/goals-page-W666NFIU.js +2 -0
- package/dist/gateway/static/root/assets/{goals-settings-CvOdikU6.js → goals-settings-DVrTDWYS.js} +1 -1
- package/dist/gateway/static/root/assets/{heartbeat-settings-CvaxjdV_.js → heartbeat-settings-Dv8qA4E7.js} +1 -1
- package/dist/gateway/static/root/assets/{index-C4HpPu1y.js → index-DHRxn7Sy.js} +61 -64
- package/dist/gateway/static/root/assets/index-gpwk8Nro.css +1 -0
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-BVt0deH6.js → keyboard-shortcuts-settings-DEKtMZbg.js} +1 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-y5WmNSyZ.js +2 -0
- package/dist/gateway/static/root/assets/{local-apps-page-C0HGfwao.js → local-apps-page-DQT2lZk7.js} +1 -1
- package/dist/gateway/static/root/assets/{locale-store-Dt0pSudQ.js → locale-store-d9Cylz62.js} +1 -1
- package/dist/gateway/static/root/assets/logs-page-DMQaC4Jn.js +7 -0
- package/dist/gateway/static/root/assets/{markdown-split-CjVg43Kl.js → markdown-split-Cp6NxQJr.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-D-LkrsY6.js → media-plugins-Dv1cQK2J.js} +1 -1
- package/dist/gateway/static/root/assets/{messages-CqXpNawC.js → messages-Bwu1tG3T.js} +4 -4
- package/dist/gateway/static/root/assets/models-hub-panel-CoYDJvX_.js +2 -0
- package/dist/gateway/static/root/assets/{notes-page-BsoNcBQ3.js → notes-page-CePZ2we1.js} +1 -1
- package/dist/gateway/static/root/assets/notes-workbench-C9B-7EsK.js +4 -0
- package/dist/gateway/static/root/assets/{page-tabs-C9OfBAT6.js → page-tabs-C1jBfKTZ.js} +1 -1
- package/dist/gateway/static/root/assets/{preview-open-alternatives-BCrigyTS.js → preview-open-alternatives-Cl9anbg0.js} +1 -1
- package/dist/gateway/static/root/assets/project-detail-page-DG_P8S7e.js +1 -0
- package/dist/gateway/static/root/assets/projects-page-C1pro-bG.js +1 -0
- package/dist/gateway/static/root/assets/remote-access-hub-DDj6t0SQ.js +1 -0
- package/dist/gateway/static/root/assets/{save-bar-controls-CnyZMYdJ.js → save-bar-controls-CWu_o1ta.js} +1 -1
- package/dist/gateway/static/root/assets/{schedule-field-Bez97_Ou.js → schedule-field-DuZbqL7X.js} +1 -1
- package/dist/gateway/static/root/assets/{schema-form-DbKY5jSv.js → schema-form-Bixut-2d.js} +1 -1
- package/dist/gateway/static/root/assets/sessions-page-C1aZFTTX.js +1 -0
- package/dist/gateway/static/root/assets/settings-advanced-gate-CwRP1Nsl.js +1 -0
- package/dist/gateway/static/root/assets/{settings-collapsible-section-4f60Dgw-.js → settings-collapsible-section-C_7lCtCp.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-form-section-CCQ7MjdZ.js → settings-form-section-D0DPTbO0.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-loading-skeleton-CQhjhb0F.js → settings-loading-skeleton-tN-9u8dj.js} +1 -1
- package/dist/gateway/static/root/assets/settings-page-C2L9g3kd.js +1 -0
- package/dist/gateway/static/root/assets/{settings-page-layout-C7sfPFaM.js → settings-page-layout-CBUOPmx_.js} +1 -1
- package/dist/gateway/static/root/assets/setup-status-panel-DFjG5i48.js +1 -0
- package/dist/gateway/static/root/assets/{share-preview-page-DeErzPeg.js → share-preview-page-BiSh0nLu.js} +1 -1
- package/dist/gateway/static/root/assets/shares-settings-Bh2T05Hp.js +1 -0
- package/dist/gateway/static/root/assets/skill-reload-api-ppRtNzpM.js +1 -0
- package/dist/gateway/static/root/assets/skills-page-Dnw1xKKm.js +2 -0
- package/dist/gateway/static/root/assets/{system-settings-panel-Dk1ZhfpM.js → system-settings-panel-h7uqbQ-n.js} +1 -1
- package/dist/gateway/static/root/assets/{theme-store-Cd_gY2Cb.js → theme-store-DjYRaF0J.js} +1 -1
- package/dist/gateway/static/root/assets/{typed-models-lib-fe1xAgdw.js → typed-models-lib-BkqBD32C.js} +1 -1
- package/dist/gateway/static/root/assets/{use-channel-catalog-Cbo3s1uh.js → use-channel-catalog-DiWtF12K.js} +1 -1
- package/dist/gateway/static/root/assets/user-context-page-09T5O8lO.js +1 -0
- package/dist/gateway/static/root/assets/voice-api-key-field-C4770AsA.js +1 -0
- package/dist/gateway/static/root/assets/work-discovery-page-D__GQy1R.js +1 -0
- package/dist/gateway/static/root/assets/work-item-detail-page-CAIgG4im.js +1 -0
- package/dist/gateway/static/root/assets/work-page-CkZvIUpT.js +1 -0
- package/dist/gateway/static/root/assets/workflow-run-setup-panel-qqixrSRL.js +3 -0
- package/dist/gateway/static/root/assets/workflows-page-THxdPWzb.js +11 -0
- package/dist/gateway/static/root/connector-icons/local-files.svg +6 -0
- package/dist/gateway/static/root/index.html +7 -7
- package/dist/package.js +1 -1
- package/dist/src/agent/agent-manager.js +63 -61
- package/dist/src/agent/embedded/xopc-auth-storage.js +1 -1
- package/dist/src/agent/tools/factory.js +2 -2
- package/dist/src/agent/tools/session-search-tool.d.ts +2 -2
- package/dist/src/agent/tools/session-search-tool.js +8 -19
- package/dist/src/config/agent-profile.js +1 -1
- package/dist/src/config/config-surface.d.ts +0 -26
- package/dist/src/connectors/builtin-catalog.js +90 -248
- package/dist/src/connectors/composio-catalog.js +28 -1
- package/dist/src/connectors/composio-sessions.js +1 -1
- package/dist/src/connectors/composio.d.ts +1 -0
- package/dist/src/connectors/composio.js +8 -1
- package/dist/src/connectors/connector-memory-sync.d.ts +10 -0
- package/dist/src/connectors/connector-memory-sync.js +184 -38
- package/dist/src/connectors/integration-strategy.js +65 -8
- package/dist/src/connectors/memory-sync-coordinator.d.ts +28 -0
- package/dist/src/connectors/memory-sync-coordinator.js +162 -0
- package/dist/src/connectors/memory-sync-profile.d.ts +13 -0
- package/dist/src/connectors/memory-sync-profile.js +73 -0
- package/dist/src/connectors/runtime-adapter-registry.js +17 -4
- package/dist/src/connectors/runtime-status.d.ts +9 -0
- package/dist/src/connectors/runtime-status.js +68 -0
- package/dist/src/connectors/types.d.ts +2 -0
- package/dist/src/gateway/agents-admin.js +1 -1
- package/dist/src/gateway/hono/routes/connectors.js +138 -12
- package/dist/src/gateway/hono/routes/public-gateway.js +1 -0
- package/dist/src/gateway/service.d.ts +2 -0
- package/dist/src/gateway/service.js +14 -0
- package/dist/src/knowledge/index.d.ts +2 -0
- package/dist/src/knowledge/index.js +3 -1
- package/dist/src/knowledge/ingestion-service.js +40 -3
- package/dist/src/knowledge/local-folder-adapter.d.ts +7 -0
- package/dist/src/knowledge/local-folder-adapter.js +86 -0
- package/dist/src/knowledge/people-graph.d.ts +28 -0
- package/dist/src/knowledge/people-graph.js +126 -0
- package/dist/src/knowledge/types.d.ts +2 -0
- package/dist/src/user-context/projection.d.ts +2 -0
- package/dist/src/user-context/projection.js +12 -2
- package/package.json +1 -1
- package/dist/gateway/static/root/assets/agents-NDjTqOIb.js +0 -2
- package/dist/gateway/static/root/assets/apps-page-DHvwQknj.js +0 -1
- package/dist/gateway/static/root/assets/automations-page-32U6mfy-.js +0 -6
- package/dist/gateway/static/root/assets/browser-settings-page-CTWycuu_.js +0 -8
- package/dist/gateway/static/root/assets/channels-settings-DdelF9BQ.js +0 -1
- package/dist/gateway/static/root/assets/channels-status-swr-CBgr61Zt.js +0 -1
- package/dist/gateway/static/root/assets/connectors-page-CO3ASIfE.js +0 -2
- package/dist/gateway/static/root/assets/goal-create-dialog-BRVB5I7f.js +0 -1
- package/dist/gateway/static/root/assets/goal-detail-page-Drdz_llY.js +0 -4
- package/dist/gateway/static/root/assets/goals-page-CEh2UTzg.js +0 -2
- package/dist/gateway/static/root/assets/index-DjvInkv6.css +0 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-Dcmb1Ruc.js +0 -2
- package/dist/gateway/static/root/assets/logs-page-BWdV-HsP.js +0 -7
- package/dist/gateway/static/root/assets/models-hub-panel-Du41WFC6.js +0 -2
- package/dist/gateway/static/root/assets/notes-workbench-VeU2xG2r.js +0 -4
- package/dist/gateway/static/root/assets/project-detail-page-B9QsnXWV.js +0 -1
- package/dist/gateway/static/root/assets/projects-page-BbplZbzF.js +0 -1
- package/dist/gateway/static/root/assets/remote-access-hub-CfbuqKDd.js +0 -1
- package/dist/gateway/static/root/assets/sessions-page-CSQLpHd4.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-C25HTTPK.js +0 -1
- package/dist/gateway/static/root/assets/settings-page-BZb-E5vI.js +0 -1
- package/dist/gateway/static/root/assets/setup-status-panel-B1FSxWQ3.js +0 -1
- package/dist/gateway/static/root/assets/shares-settings-DDg5dL3k.js +0 -1
- package/dist/gateway/static/root/assets/skill-reload-api-B-ocgAT-.js +0 -1
- package/dist/gateway/static/root/assets/skills-page-CtO4i9ds.js +0 -2
- package/dist/gateway/static/root/assets/user-context-page-CqtVqiYz.js +0 -1
- package/dist/gateway/static/root/assets/user-profile-fields-editor-DcnCOHwp.js +0 -1
- package/dist/gateway/static/root/assets/user-profile-settings-panel-CTWZR6nV.js +0 -1
- package/dist/gateway/static/root/assets/utils-BDzZMJls.js +0 -1
- package/dist/gateway/static/root/assets/voice-api-key-field-C9Psto-d.js +0 -1
- package/dist/gateway/static/root/assets/work-discovery-page-CNVeagdJ.js +0 -1
- package/dist/gateway/static/root/assets/work-item-detail-page-DKSNc1SH.js +0 -1
- package/dist/gateway/static/root/assets/work-page-Bwbg1Ht-.js +0 -1
- package/dist/gateway/static/root/assets/workflow-run-setup-panel-ZKbrdYmp.js +0 -3
- package/dist/gateway/static/root/assets/workflows-page-DBHqpZ76.js +0 -11
- package/dist/gateway/static/root/connector-icons/brave-search.svg +0 -1
- package/dist/gateway/static/root/connector-icons/fetch.svg +0 -6
- package/dist/gateway/static/root/connector-icons/memory.svg +0 -5
- package/dist/gateway/static/root/connector-icons/playwright.svg +0 -9
- package/dist/gateway/static/root/connector-icons/sequential-thinking.svg +0 -8
- package/dist/gateway/static/root/connector-icons/time.svg +0 -6
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
//#region src/connectors/builtin-catalog.ts
|
|
2
|
-
const BUILTIN_CONNECTOR_BACKGROUNDS = {
|
|
3
|
-
"brave-search": "#FFF4ED",
|
|
4
|
-
fetch: "#E8F3FF",
|
|
5
|
-
filesystem: "#FFF7E6",
|
|
6
|
-
memory: "#F3E8FF",
|
|
7
|
-
playwright: "#FFFFFF",
|
|
8
|
-
"sequential-thinking": "#ECFDF5",
|
|
9
|
-
time: "#ECFEFF"
|
|
10
|
-
};
|
|
2
|
+
const BUILTIN_CONNECTOR_BACKGROUNDS = { filesystem: "#FFF7E6" };
|
|
11
3
|
function builtinBranding(id) {
|
|
12
4
|
return {
|
|
13
5
|
logoUrl: `/connector-icons/${id}.svg`,
|
|
@@ -15,254 +7,104 @@ function builtinBranding(id) {
|
|
|
15
7
|
backgroundColor: BUILTIN_CONNECTOR_BACKGROUNDS[id] ?? "#FFFFFF"
|
|
16
8
|
};
|
|
17
9
|
}
|
|
18
|
-
const BUILTIN_CONNECTORS = [
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
serverTemplate: {
|
|
40
|
-
command: "uvx",
|
|
41
|
-
args: ["mcp-server-fetch"]
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
integrationStrategy: {
|
|
45
|
-
lane: "mcp",
|
|
46
|
-
workload: "high_frequency",
|
|
47
|
-
preferred: true
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: "filesystem",
|
|
52
|
-
version: "1.0.0",
|
|
53
|
-
displayName: "Filesystem",
|
|
54
|
-
description: "Read and search files from an explicitly selected local directory.",
|
|
55
|
-
category: "docs",
|
|
56
|
-
kind: "mcp",
|
|
57
|
-
source: "builtin",
|
|
58
|
-
branding: builtinBranding("filesystem"),
|
|
59
|
-
capabilities: [
|
|
60
|
-
"tools",
|
|
61
|
-
"resources",
|
|
62
|
-
"runtime.mcp.stdio"
|
|
63
|
-
],
|
|
64
|
-
tags: [
|
|
65
|
-
"files",
|
|
66
|
-
"local",
|
|
67
|
-
"docs"
|
|
68
|
-
],
|
|
69
|
-
auth: { mode: "none" },
|
|
70
|
-
setup: { config: [{
|
|
10
|
+
const BUILTIN_CONNECTORS = [{
|
|
11
|
+
id: "local-files",
|
|
12
|
+
version: "1.0.0",
|
|
13
|
+
displayName: "Local Files / Obsidian",
|
|
14
|
+
description: "Incrementally ingest text and Markdown from an explicitly selected local folder.",
|
|
15
|
+
category: "docs",
|
|
16
|
+
kind: "memorySource",
|
|
17
|
+
source: "builtin",
|
|
18
|
+
branding: builtinBranding("local-files"),
|
|
19
|
+
capabilities: ["context", "memory_source"],
|
|
20
|
+
benefits: ["understand"],
|
|
21
|
+
tags: [
|
|
22
|
+
"files",
|
|
23
|
+
"local",
|
|
24
|
+
"obsidian",
|
|
25
|
+
"knowledge",
|
|
26
|
+
"personalization"
|
|
27
|
+
],
|
|
28
|
+
auth: { mode: "none" },
|
|
29
|
+
setup: { config: [
|
|
30
|
+
{
|
|
71
31
|
key: "rootPath",
|
|
72
|
-
label: "
|
|
32
|
+
label: "Knowledge folder",
|
|
73
33
|
type: "path",
|
|
74
34
|
required: true,
|
|
75
|
-
placeholder: "/Users/you/
|
|
76
|
-
description: "
|
|
77
|
-
}] },
|
|
78
|
-
runtime: {
|
|
79
|
-
type: "mcp",
|
|
80
|
-
serverId: "filesystem",
|
|
81
|
-
serverTemplate: {
|
|
82
|
-
command: "npx",
|
|
83
|
-
args: [
|
|
84
|
-
"-y",
|
|
85
|
-
"@modelcontextprotocol/server-filesystem",
|
|
86
|
-
"{{config.rootPath}}"
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
integrationStrategy: {
|
|
91
|
-
lane: "mcp",
|
|
92
|
-
workload: "high_frequency",
|
|
93
|
-
preferred: true
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
id: "time",
|
|
98
|
-
version: "1.0.0",
|
|
99
|
-
displayName: "Time",
|
|
100
|
-
description: "Convert time zones and answer current-time questions through an MCP time server.",
|
|
101
|
-
category: "automation",
|
|
102
|
-
kind: "mcp",
|
|
103
|
-
source: "builtin",
|
|
104
|
-
branding: builtinBranding("time"),
|
|
105
|
-
capabilities: ["tools", "runtime.mcp.stdio"],
|
|
106
|
-
tags: [
|
|
107
|
-
"time",
|
|
108
|
-
"timezone",
|
|
109
|
-
"utility"
|
|
110
|
-
],
|
|
111
|
-
auth: { mode: "none" },
|
|
112
|
-
setup: {},
|
|
113
|
-
runtime: {
|
|
114
|
-
type: "mcp",
|
|
115
|
-
serverId: "time",
|
|
116
|
-
serverTemplate: {
|
|
117
|
-
command: "uvx",
|
|
118
|
-
args: ["mcp-server-time"]
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
integrationStrategy: {
|
|
122
|
-
lane: "mcp",
|
|
123
|
-
workload: "high_frequency",
|
|
124
|
-
preferred: true
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
id: "playwright",
|
|
129
|
-
version: "1.0.0",
|
|
130
|
-
displayName: "Playwright",
|
|
131
|
-
description: "Automate and inspect browser pages through the official Playwright MCP server.",
|
|
132
|
-
category: "browser",
|
|
133
|
-
kind: "mcp",
|
|
134
|
-
source: "builtin",
|
|
135
|
-
branding: builtinBranding("playwright"),
|
|
136
|
-
capabilities: ["tools", "runtime.mcp.stdio"],
|
|
137
|
-
tags: [
|
|
138
|
-
"browser",
|
|
139
|
-
"automation",
|
|
140
|
-
"testing"
|
|
141
|
-
],
|
|
142
|
-
auth: { mode: "none" },
|
|
143
|
-
setup: {},
|
|
144
|
-
runtime: {
|
|
145
|
-
type: "mcp",
|
|
146
|
-
serverId: "playwright",
|
|
147
|
-
serverTemplate: {
|
|
148
|
-
command: "npx",
|
|
149
|
-
args: ["-y", "@playwright/mcp@latest"]
|
|
150
|
-
}
|
|
35
|
+
placeholder: "/Users/you/Documents/Notes",
|
|
36
|
+
description: "Only supported text files below this directory are ingested."
|
|
151
37
|
},
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
{
|
|
159
|
-
id: "memory",
|
|
160
|
-
version: "1.0.0",
|
|
161
|
-
displayName: "Memory",
|
|
162
|
-
description: "Give the agent a simple MCP knowledge graph memory store.",
|
|
163
|
-
category: "data",
|
|
164
|
-
kind: "mcp",
|
|
165
|
-
source: "builtin",
|
|
166
|
-
branding: builtinBranding("memory"),
|
|
167
|
-
capabilities: [
|
|
168
|
-
"tools",
|
|
169
|
-
"resources",
|
|
170
|
-
"runtime.mcp.stdio",
|
|
171
|
-
"memory_source"
|
|
172
|
-
],
|
|
173
|
-
tags: [
|
|
174
|
-
"memory",
|
|
175
|
-
"knowledge",
|
|
176
|
-
"personalization"
|
|
177
|
-
],
|
|
178
|
-
auth: { mode: "none" },
|
|
179
|
-
setup: {},
|
|
180
|
-
runtime: {
|
|
181
|
-
type: "mcp",
|
|
182
|
-
serverId: "memory",
|
|
183
|
-
serverTemplate: {
|
|
184
|
-
command: "npx",
|
|
185
|
-
args: ["-y", "@modelcontextprotocol/server-memory"]
|
|
186
|
-
}
|
|
38
|
+
{
|
|
39
|
+
key: "autoSync",
|
|
40
|
+
label: "Automatic sync",
|
|
41
|
+
type: "boolean",
|
|
42
|
+
defaultValue: true,
|
|
43
|
+
description: "Keep this knowledge source updated while the gateway is running."
|
|
187
44
|
},
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
45
|
+
{
|
|
46
|
+
key: "syncIntervalMinutes",
|
|
47
|
+
label: "Sync interval (minutes)",
|
|
48
|
+
type: "number",
|
|
49
|
+
defaultValue: 15,
|
|
50
|
+
description: "Automatic sync interval, clamped between 5 minutes and 24 hours."
|
|
192
51
|
}
|
|
52
|
+
] },
|
|
53
|
+
runtime: {
|
|
54
|
+
type: "memorySource",
|
|
55
|
+
sourceKind: "local-folder"
|
|
193
56
|
},
|
|
194
|
-
{
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
runtime
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
57
|
+
integrationStrategy: {
|
|
58
|
+
lane: "native",
|
|
59
|
+
workload: "core",
|
|
60
|
+
preferred: true
|
|
61
|
+
}
|
|
62
|
+
}, {
|
|
63
|
+
id: "filesystem",
|
|
64
|
+
version: "1.0.0",
|
|
65
|
+
displayName: "Filesystem",
|
|
66
|
+
description: "Read and search files from an explicitly selected local directory.",
|
|
67
|
+
category: "docs",
|
|
68
|
+
kind: "mcp",
|
|
69
|
+
source: "builtin",
|
|
70
|
+
branding: builtinBranding("filesystem"),
|
|
71
|
+
capabilities: [
|
|
72
|
+
"tools",
|
|
73
|
+
"resources",
|
|
74
|
+
"runtime.mcp.stdio"
|
|
75
|
+
],
|
|
76
|
+
benefits: ["understand"],
|
|
77
|
+
tags: [
|
|
78
|
+
"files",
|
|
79
|
+
"local",
|
|
80
|
+
"docs"
|
|
81
|
+
],
|
|
82
|
+
auth: { mode: "none" },
|
|
83
|
+
setup: { config: [{
|
|
84
|
+
key: "rootPath",
|
|
85
|
+
label: "Allowed directory",
|
|
86
|
+
type: "path",
|
|
87
|
+
required: true,
|
|
88
|
+
placeholder: "/Users/you/project",
|
|
89
|
+
description: "The only directory this connector can expose to the MCP runtime."
|
|
90
|
+
}] },
|
|
91
|
+
runtime: {
|
|
92
|
+
type: "mcp",
|
|
93
|
+
serverId: "filesystem",
|
|
94
|
+
serverTemplate: {
|
|
95
|
+
command: "npx",
|
|
96
|
+
args: [
|
|
97
|
+
"-y",
|
|
98
|
+
"@modelcontextprotocol/server-filesystem",
|
|
99
|
+
"{{config.rootPath}}"
|
|
100
|
+
]
|
|
223
101
|
}
|
|
224
102
|
},
|
|
225
|
-
{
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
description: "Search the web through the Brave Search MCP server.",
|
|
230
|
-
category: "docs",
|
|
231
|
-
kind: "mcp",
|
|
232
|
-
source: "builtin",
|
|
233
|
-
branding: builtinBranding("brave-search"),
|
|
234
|
-
capabilities: [
|
|
235
|
-
"tools",
|
|
236
|
-
"auth.apiKey",
|
|
237
|
-
"runtime.mcp.stdio"
|
|
238
|
-
],
|
|
239
|
-
tags: [
|
|
240
|
-
"search",
|
|
241
|
-
"web",
|
|
242
|
-
"research"
|
|
243
|
-
],
|
|
244
|
-
auth: { mode: "apiKey" },
|
|
245
|
-
setup: { secrets: [{
|
|
246
|
-
key: "BRAVE_API_KEY",
|
|
247
|
-
label: "Brave API key",
|
|
248
|
-
description: "Stored in the xopc credential store and passed to the MCP server at runtime.",
|
|
249
|
-
required: true
|
|
250
|
-
}] },
|
|
251
|
-
runtime: {
|
|
252
|
-
type: "mcp",
|
|
253
|
-
serverId: "brave-search",
|
|
254
|
-
serverTemplate: {
|
|
255
|
-
command: "npx",
|
|
256
|
-
args: ["-y", "@modelcontextprotocol/server-brave-search"],
|
|
257
|
-
env: { BRAVE_API_KEY: "{{secrets.BRAVE_API_KEY}}" }
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
integrationStrategy: {
|
|
261
|
-
lane: "mcp",
|
|
262
|
-
workload: "high_frequency",
|
|
263
|
-
preferred: true
|
|
264
|
-
}
|
|
103
|
+
integrationStrategy: {
|
|
104
|
+
lane: "mcp",
|
|
105
|
+
workload: "high_frequency",
|
|
106
|
+
preferred: true
|
|
265
107
|
}
|
|
266
|
-
];
|
|
108
|
+
}];
|
|
267
109
|
//#endregion
|
|
268
110
|
export { BUILTIN_CONNECTORS };
|
|
@@ -76,9 +76,19 @@ const RECOMMENDED = new Set(COMPOSIO_RECOMMENDED_TOOLKITS);
|
|
|
76
76
|
const AGENT_READY = new Set(COMPOSIO_AGENT_READY_TOOLKITS);
|
|
77
77
|
const PERSONAL_CONTEXT_TOOLKITS = new Set([
|
|
78
78
|
"gmail",
|
|
79
|
+
"googlecalendar",
|
|
79
80
|
"googledrive",
|
|
81
|
+
"googledocs",
|
|
82
|
+
"googlesheets",
|
|
80
83
|
"notion",
|
|
81
|
-
"slack"
|
|
84
|
+
"slack",
|
|
85
|
+
"github",
|
|
86
|
+
"linear",
|
|
87
|
+
"jira",
|
|
88
|
+
"outlook",
|
|
89
|
+
"microsoft_teams",
|
|
90
|
+
"one_drive",
|
|
91
|
+
"excel"
|
|
82
92
|
]);
|
|
83
93
|
const LOCAL_TOOLKIT_LOGO_FILE_NAMES = {
|
|
84
94
|
googlecalendar: "google-calendar",
|
|
@@ -145,6 +155,22 @@ const DATA_TOOLKITS = new Set([
|
|
|
145
155
|
"excel",
|
|
146
156
|
"airtable"
|
|
147
157
|
]);
|
|
158
|
+
const COMMUNICATION_TOOLKITS = new Set([
|
|
159
|
+
"gmail",
|
|
160
|
+
"outlook",
|
|
161
|
+
"slack",
|
|
162
|
+
"microsoft_teams",
|
|
163
|
+
"discord",
|
|
164
|
+
"telegram",
|
|
165
|
+
"whatsapp",
|
|
166
|
+
"twitter"
|
|
167
|
+
]);
|
|
168
|
+
function benefitsForToolkit(slug) {
|
|
169
|
+
const benefits = ["act"];
|
|
170
|
+
if (PERSONAL_CONTEXT_TOOLKITS.has(slug) || DOC_TOOLKITS.has(slug) || DATA_TOOLKITS.has(slug)) benefits.unshift("understand");
|
|
171
|
+
if (COMMUNICATION_TOOLKITS.has(slug)) benefits.push("reach");
|
|
172
|
+
return benefits;
|
|
173
|
+
}
|
|
148
174
|
function categoryForToolkit(slug) {
|
|
149
175
|
if (CODE_TOOLKITS.has(slug)) return "code";
|
|
150
176
|
if (DOC_TOOLKITS.has(slug)) return "docs";
|
|
@@ -178,6 +204,7 @@ function connectorDefinitionFromComposioToolkit(item) {
|
|
|
178
204
|
"workflows",
|
|
179
205
|
...knowledgeCapabilities
|
|
180
206
|
],
|
|
207
|
+
benefits: benefitsForToolkit(slug),
|
|
181
208
|
tags: [
|
|
182
209
|
"composio",
|
|
183
210
|
slug,
|
|
@@ -56,6 +56,7 @@ export declare const COMPOSIO_CONNECTORS: readonly ConnectorDefinition[];
|
|
|
56
56
|
export declare function saveComposioApiKey(input: {
|
|
57
57
|
secrets?: Record<string, unknown>;
|
|
58
58
|
}, resolver?: CredentialResolver): Promise<void>;
|
|
59
|
+
export declare function configureComposioApiKey(apiKey: string, resolver?: CredentialResolver): Promise<void>;
|
|
59
60
|
export declare function listComposioConnections(resolver?: CredentialResolver): Promise<ComposioConnection[]>;
|
|
60
61
|
export declare function inspectComposioConnectorHealth(toolkit: string, resolver?: CredentialResolver): Promise<ComposioConnectorHealth>;
|
|
61
62
|
export declare function getComposioInstallationPolicy(config: Config | undefined, toolkit: string): ConnectorInstallationPolicy;
|
|
@@ -306,6 +306,13 @@ async function saveComposioApiKey(input, resolver = new CredentialResolver()) {
|
|
|
306
306
|
if (typeof resolved !== "string" || !resolved.trim()) throw new Error("Composio API key is required.");
|
|
307
307
|
await resolver.saveApiKey(COMPOSIO_API_KEY_PROVIDER, resolved.trim(), { profileName: "default" });
|
|
308
308
|
}
|
|
309
|
+
async function configureComposioApiKey(apiKey, resolver = new CredentialResolver()) {
|
|
310
|
+
const normalized = apiKey.trim();
|
|
311
|
+
if (!normalized) throw new Error("Composio API key is required.");
|
|
312
|
+
if (normalized.length > 4096) throw new Error("Composio API key is too long.");
|
|
313
|
+
await new ComposioSessionsAdapter({ resolver: { resolveApiKey: async () => normalized } }).listToolkitCatalog({ principalId: LOCAL_OWNER_PRINCIPAL });
|
|
314
|
+
await resolver.saveApiKey(COMPOSIO_API_KEY_PROVIDER, normalized, { profileName: "default" });
|
|
315
|
+
}
|
|
309
316
|
async function listComposioConnections(resolver = new CredentialResolver()) {
|
|
310
317
|
await new ComposioSessionsAdapter({ resolver }).syncConnections({ principalId: LOCAL_OWNER_PRINCIPAL });
|
|
311
318
|
return listConnectorConnections({ principalId: LOCAL_OWNER_PRINCIPAL }).filter((connection) => connection.provider === "composio").map((connection) => ({
|
|
@@ -552,4 +559,4 @@ async function executeComposioTool(params, resolver = new CredentialResolver())
|
|
|
552
559
|
return result.result;
|
|
553
560
|
}
|
|
554
561
|
//#endregion
|
|
555
|
-
export { COMPOSIO_CONNECTORS, canUseComposioAction, executeComposioTool, getComposioInstallationPolicy, getComposioToolkitScope, inspectComposioConnectorHealth, isComposioActionAllowedByCatalog, listComposioConnections, listComposioTools, refreshComposioConnection, revokeComposioConnection, saveComposioApiKey, scopeForComposioAction, setComposioToolkitScope, startComposioAuthorize, toolkitFromComposioSlug, updateComposioConnection, updateComposioInstallationPolicy };
|
|
562
|
+
export { COMPOSIO_CONNECTORS, canUseComposioAction, configureComposioApiKey, executeComposioTool, getComposioInstallationPolicy, getComposioToolkitScope, inspectComposioConnectorHealth, isComposioActionAllowedByCatalog, listComposioConnections, listComposioTools, refreshComposioConnection, revokeComposioConnection, saveComposioApiKey, scopeForComposioAction, setComposioToolkitScope, startComposioAuthorize, toolkitFromComposioSlug, updateComposioConnection, updateComposioInstallationPolicy };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Config } from '../config/schema.js';
|
|
2
2
|
import { ComposioSessionsAdapter } from './composio-sessions.js';
|
|
3
|
+
export declare const COMPOSIO_MEMORY_SOURCE_TOOLKITS: Set<string>;
|
|
3
4
|
export declare function syncComposioResultToMemory(input: {
|
|
4
5
|
config: Config;
|
|
5
6
|
connectorId: string;
|
|
@@ -13,3 +14,12 @@ export declare function syncComposioResultToMemory(input: {
|
|
|
13
14
|
connectorId: string;
|
|
14
15
|
actionId: string;
|
|
15
16
|
}>;
|
|
17
|
+
export declare function syncLocalFolderToMemory(input: {
|
|
18
|
+
config: Config;
|
|
19
|
+
connectorId: string;
|
|
20
|
+
agentId: string;
|
|
21
|
+
}): Promise<{
|
|
22
|
+
connectorId: string;
|
|
23
|
+
sourceInstanceId: string;
|
|
24
|
+
recordIds: string[];
|
|
25
|
+
}>;
|