myaiforone 1.1.42 → 1.1.45
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/agents/platform/agentcreator/CLAUDE.md +2 -0
- package/agents/platform/hub/CLAUDE.md +2 -1
- package/bin/cli.js +7 -0
- package/config.example.json +172 -52
- package/dist/anthropic-executor.d.ts +26 -0
- package/dist/anthropic-executor.d.ts.map +1 -0
- package/dist/anthropic-executor.js +179 -0
- package/dist/anthropic-executor.js.map +1 -0
- package/dist/auth-helper.d.ts +32 -0
- package/dist/auth-helper.d.ts.map +1 -0
- package/dist/auth-helper.js +49 -0
- package/dist/auth-helper.js.map +1 -0
- package/dist/config.d.ts +36 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +47 -3
- package/dist/config.js.map +1 -1
- package/dist/executor.d.ts.map +1 -1
- package/dist/executor.js +119 -5
- package/dist/executor.js.map +1 -1
- package/dist/index.js +213 -2
- package/dist/index.js.map +1 -1
- package/dist/license.d.ts +6 -0
- package/dist/license.d.ts.map +1 -1
- package/dist/license.js +11 -0
- package/dist/license.js.map +1 -1
- package/dist/mcp-http.d.ts +34 -0
- package/dist/mcp-http.d.ts.map +1 -0
- package/dist/mcp-http.js +206 -0
- package/dist/mcp-http.js.map +1 -0
- package/dist/web-ui.d.ts +6 -0
- package/dist/web-ui.d.ts.map +1 -1
- package/dist/web-ui.js +789 -53
- package/dist/web-ui.js.map +1 -1
- package/docs/SharedAgentArchitecture.md +99 -16
- package/docs/SharedAgentBuildChecklist.md +119 -0
- package/docs/TeamGatewaysBuildChecklist.md +240 -0
- package/docs/superpowers/specs/2026-04-16-per-gateway-settings-modal-design.md +142 -0
- package/docs/user-guide.md +614 -4
- package/mcp-catalog.json +14 -0
- package/package.json +1 -1
- package/public/activity.html +2 -0
- package/public/admin.html +938 -18
- package/public/agent-dashboard.html +50 -2
- package/public/api-docs.html +35 -3
- package/public/auth.js +204 -0
- package/public/automations.html +2 -0
- package/public/changelog.html +2 -0
- package/public/gym.html +2 -0
- package/public/home.html +6 -2
- package/public/home2.html +10 -2
- package/public/index.html +5 -2
- package/public/lab.html +5 -2
- package/public/library.html +8 -3
- package/public/marketplace.html +2 -0
- package/public/mcp-docs.html +27 -2
- package/public/mini.html +10 -2
- package/public/monitor.html +2 -0
- package/public/org.html +49 -3
- package/public/projects.html +2 -0
- package/public/server-mode.js +94 -0
- package/public/settings.html +2 -0
- package/public/tasks.html +2 -0
- package/public/user-guide.html +2 -0
- package/scripts/service-control.sh +19 -0
- package/scripts/xbar-myagent.5s.sh +6 -6
- package/server/mcp-server/dist/index.d.ts +3 -1
- package/server/mcp-server/dist/index.js +152 -4
- package/server/mcp-server/dist/lib/api-client.d.ts +14 -1
- package/server/mcp-server/dist/lib/api-client.js +28 -3
- package/server/mcp-server/index.ts +170 -4
- package/server/mcp-server/lib/api-client.ts +41 -4
- package/src/anthropic-executor.ts +231 -0
- package/src/auth-helper.ts +64 -0
- package/src/config.ts +86 -3
- package/src/executor.ts +112 -5
- package/src/index.ts +218 -2
- package/src/license.ts +11 -0
- package/src/mcp-http.ts +267 -0
- package/src/web-ui.ts +766 -44
|
@@ -63,6 +63,8 @@ Every agent in `config.json` has these fields:
|
|
|
63
63
|
- `advancedMemory` — if true, enables semantic memory with daily journals + vector search
|
|
64
64
|
- `wiki` — if true, enables wiki learning. The agent saves learned facts to `learned.md` after conversations. Use with `wikiSync` for automatic merging into `context.md`
|
|
65
65
|
- `wikiSync` — `{ enabled: true, schedule: "0 0 * * *" }` — scheduled sync that merges `learned.md` into `context.md` on a cron schedule
|
|
66
|
+
- `shared` — if true, agent is stored under `SharedAgents/` instead of `PersonalAgents/`. Requires `sharedAgentsEnabled: true` in service config AND a license with the `sharedAgents` feature
|
|
67
|
+
- `conversationLogMode` — `"shared"` (default, one `conversation_log.jsonl` for all senders) or `"per-user"` (separate `conversation_log_<senderId>.jsonl` per user, for multi-user shared agents)
|
|
66
68
|
- `autonomousCapable` — if true, agent can run without user approval for tool calls
|
|
67
69
|
- `allowedTools` — which Claude tools the agent can use (Read, Edit, Write, Glob, Grep, Bash, WebFetch, WebSearch, etc.)
|
|
68
70
|
- `mentionAliases` — how users address the agent in group chats (e.g., `@financer`)
|
|
@@ -30,6 +30,7 @@ Your job: understand what the user wants, pick the right MCP tool, execute it, a
|
|
|
30
30
|
**Files** → `browse_drive` · `read_drive_file` · `search_drive` · `upload_file` · `list_agent_files`
|
|
31
31
|
**Accounts** → `list_accounts` · `start_account_login` · `submit_login_code` · `check_account_status`
|
|
32
32
|
**Config** → `get_service_config` · `update_service_config` · `restart_service` · `set_model` · `test_provider`
|
|
33
|
+
**Shared Agents** → `get_storage_info` · `update_storage_config` · `get_conversation_senders` · `get_conversation_log`
|
|
33
34
|
**Auth** → `pair_sender` · `unpair_sender` · `list_paired_senders`
|
|
34
35
|
**Cost** → `get_agent_cost` · `get_all_costs`
|
|
35
36
|
**Misc** → `get_profile` · `update_profile` · `trigger_wiki_sync` · `trigger_heartbeat` · `get_gym_feed`
|
|
@@ -37,7 +38,7 @@ Your job: understand what the user wants, pick the right MCP tool, execute it, a
|
|
|
37
38
|
|
|
38
39
|
## Complex Params (non-obvious only)
|
|
39
40
|
|
|
40
|
-
**`create_agent`** — required: `agentId`, `name`, `alias` · optional: `description`, `workspace`, `organization`, `persistent`, `streaming`, `advancedMemory`, `wiki`, `wikiSync`, `tools[]`, `skills[]`, `mcps[]`, `agentClass`, `timeout`
|
|
41
|
+
**`create_agent`** — required: `agentId`, `name`, `alias` · optional: `description`, `workspace`, `organization`, `persistent`, `streaming`, `advancedMemory`, `wiki`, `wikiSync`, `tools[]`, `skills[]`, `mcps[]`, `agentClass`, `timeout`, `shared` (boolean), `conversationLogMode` ("shared"|"per-user")
|
|
41
42
|
|
|
42
43
|
**`create_goal`** — `agentId`, `id`, `description`, `heartbeat` (cron expr for frequency) · optional: `successCriteria`, `instructions`
|
|
43
44
|
|
package/bin/cli.js
CHANGED
|
@@ -440,6 +440,13 @@ function registerAgents() {
|
|
|
440
440
|
function build() {
|
|
441
441
|
printChecklist();
|
|
442
442
|
|
|
443
|
+
// If dist/ already exists (npm install from registry ships prebuilt), skip build.
|
|
444
|
+
// This avoids needing tsc (a devDependency) on consumer machines.
|
|
445
|
+
if (existsSync(join(PROJECT_ROOT, 'dist', 'index.js'))) {
|
|
446
|
+
stepDone('Build already present (prebuilt)');
|
|
447
|
+
return;
|
|
448
|
+
}
|
|
449
|
+
|
|
443
450
|
console.log(' Running: npm run build');
|
|
444
451
|
console.log('');
|
|
445
452
|
|
package/config.example.json
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"platformDefaultExecutor": "claude",
|
|
19
19
|
"ollamaBaseUrl": "http://localhost:11434",
|
|
20
20
|
"providerKeys": {
|
|
21
|
+
"anthropic": "",
|
|
21
22
|
"openai": "",
|
|
22
23
|
"xai": "",
|
|
23
24
|
"google": "",
|
|
@@ -27,9 +28,16 @@
|
|
|
27
28
|
},
|
|
28
29
|
"gymEnabled": true,
|
|
29
30
|
"gymOnlyMode": false,
|
|
30
|
-
"aibriefingEnabled": false
|
|
31
|
+
"aibriefingEnabled": false,
|
|
32
|
+
"sharedAgentsEnabled": false,
|
|
33
|
+
"_comment_sharedAgentsDir": "Override SharedAgents folder path (default: ~/Desktop/MyAIforOne Drive/SharedAgents)",
|
|
34
|
+
"_comment_auth": "Enable auth for shared gateway deployments. Off by default — personal gateways stay open.",
|
|
35
|
+
"auth": {
|
|
36
|
+
"enabled": false,
|
|
37
|
+
"tokens": [],
|
|
38
|
+
"webPassword": null
|
|
39
|
+
}
|
|
31
40
|
},
|
|
32
|
-
|
|
33
41
|
"channels": {
|
|
34
42
|
"imessage": {
|
|
35
43
|
"enabled": false,
|
|
@@ -69,36 +77,49 @@
|
|
|
69
77
|
}
|
|
70
78
|
}
|
|
71
79
|
},
|
|
72
|
-
|
|
73
80
|
"mcps": {
|
|
74
81
|
"_comment_platform_mcps": "REQUIRED: These platform MCPs must be registered on every installation. myaiforone-local is the gateway's own MCP server (agents, tasks, projects, orgs). aigym-platform connects to AI Gym for training programs and learner progress. Assign them to specific agents via each agent's mcps array — they are NOT auto-assigned to all agents.",
|
|
75
|
-
|
|
76
82
|
"myaiforone-local": {
|
|
77
83
|
"type": "stdio",
|
|
78
84
|
"command": "node",
|
|
79
|
-
"args": [
|
|
85
|
+
"args": [
|
|
86
|
+
"./server/mcp-server/dist/index.js"
|
|
87
|
+
],
|
|
80
88
|
"env": {
|
|
81
89
|
"MYAGENT_API_URL": "http://localhost:4888"
|
|
82
90
|
}
|
|
83
91
|
},
|
|
92
|
+
"myaiforone-remote": {
|
|
93
|
+
"type": "stdio",
|
|
94
|
+
"command": "node",
|
|
95
|
+
"args": [
|
|
96
|
+
"./server/mcp-server/dist/index.js"
|
|
97
|
+
],
|
|
98
|
+
"env": {
|
|
99
|
+
"MYAGENT_API_URL": "https://your-railway-app.up.railway.app"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
84
102
|
"aigym-platform": {
|
|
85
103
|
"type": "http",
|
|
86
104
|
"url": "https://app.aigym.studio/mcp",
|
|
87
|
-
"headers": {
|
|
105
|
+
"headers": {
|
|
106
|
+
"Authorization": "Bearer ${AIGYM_API_KEY}"
|
|
107
|
+
}
|
|
88
108
|
},
|
|
89
|
-
|
|
90
109
|
"aiforone_computeruse": {
|
|
91
110
|
"type": "stdio",
|
|
92
111
|
"command": "node",
|
|
93
|
-
"args": [
|
|
112
|
+
"args": [
|
|
113
|
+
"./mcps/aiforone_computeruse/server.js"
|
|
114
|
+
]
|
|
94
115
|
},
|
|
95
|
-
|
|
96
116
|
"_comment_optional_mcps": "Optional MCPs below — add API keys for the services you use. Agents reference these by name in their mcps array.",
|
|
97
|
-
|
|
98
117
|
"finney": {
|
|
99
118
|
"type": "http",
|
|
100
119
|
"url": "https://finneymcp.agenticledger.ai/mcp",
|
|
101
|
-
"headers": {
|
|
120
|
+
"headers": {
|
|
121
|
+
"Authorization": "Bearer ${FINNEY_API_KEY}"
|
|
122
|
+
}
|
|
102
123
|
},
|
|
103
124
|
"lighthouse": {
|
|
104
125
|
"type": "http",
|
|
@@ -107,182 +128,254 @@
|
|
|
107
128
|
"stripe": {
|
|
108
129
|
"type": "http",
|
|
109
130
|
"url": "https://stripemcp.agenticledger.ai/mcp",
|
|
110
|
-
"headers": {
|
|
131
|
+
"headers": {
|
|
132
|
+
"Authorization": "Bearer ${STRIPE_API_KEY}"
|
|
133
|
+
}
|
|
111
134
|
},
|
|
112
135
|
"quickbooks": {
|
|
113
136
|
"type": "http",
|
|
114
137
|
"url": "https://qbomcp.agenticledger.ai/mcp",
|
|
115
|
-
"headers": {
|
|
138
|
+
"headers": {
|
|
139
|
+
"Authorization": "Bearer ${QBO_ACCESS_TOKEN}"
|
|
140
|
+
}
|
|
116
141
|
},
|
|
117
142
|
"xero": {
|
|
118
143
|
"type": "http",
|
|
119
144
|
"url": "https://xeromcp.agenticledger.ai/mcp",
|
|
120
|
-
"headers": {
|
|
145
|
+
"headers": {
|
|
146
|
+
"Authorization": "Bearer ${XERO_AUTH}"
|
|
147
|
+
}
|
|
121
148
|
},
|
|
122
149
|
"netsuite": {
|
|
123
150
|
"type": "http",
|
|
124
151
|
"url": "https://netsuitemcp.agenticledger.ai/mcp",
|
|
125
|
-
"headers": {
|
|
152
|
+
"headers": {
|
|
153
|
+
"Authorization": "Bearer ${NETSUITE_AUTH}"
|
|
154
|
+
}
|
|
126
155
|
},
|
|
127
156
|
"plaid": {
|
|
128
157
|
"type": "http",
|
|
129
158
|
"url": "https://plaidmcp.agenticledger.ai/mcp",
|
|
130
|
-
"headers": {
|
|
159
|
+
"headers": {
|
|
160
|
+
"Authorization": "Bearer ${PLAID_API_KEY}"
|
|
161
|
+
}
|
|
131
162
|
},
|
|
132
163
|
"mercury": {
|
|
133
164
|
"type": "http",
|
|
134
165
|
"url": "https://mercurymcp.agenticledger.ai/mcp",
|
|
135
|
-
"headers": {
|
|
166
|
+
"headers": {
|
|
167
|
+
"Authorization": "Bearer ${MERCURY_API_TOKEN}"
|
|
168
|
+
}
|
|
136
169
|
},
|
|
137
170
|
"brex": {
|
|
138
171
|
"type": "http",
|
|
139
172
|
"url": "https://brexmcp.agenticledger.ai/mcp",
|
|
140
|
-
"headers": {
|
|
173
|
+
"headers": {
|
|
174
|
+
"Authorization": "Bearer ${BREX_API_TOKEN}"
|
|
175
|
+
}
|
|
141
176
|
},
|
|
142
177
|
"ramp": {
|
|
143
178
|
"type": "http",
|
|
144
179
|
"url": "https://rampmcp.agenticledger.ai/mcp",
|
|
145
|
-
"headers": {
|
|
180
|
+
"headers": {
|
|
181
|
+
"Authorization": "Bearer ${RAMP_AUTH}"
|
|
182
|
+
}
|
|
146
183
|
},
|
|
147
184
|
"expensify": {
|
|
148
185
|
"type": "http",
|
|
149
186
|
"url": "https://expensifymcp.agenticledger.ai/mcp",
|
|
150
|
-
"headers": {
|
|
187
|
+
"headers": {
|
|
188
|
+
"Authorization": "Bearer ${EXPENSIFY_AUTH}"
|
|
189
|
+
}
|
|
151
190
|
},
|
|
152
191
|
"billcom": {
|
|
153
192
|
"type": "http",
|
|
154
193
|
"url": "https://billcommcp.agenticledger.ai/mcp",
|
|
155
|
-
"headers": {
|
|
194
|
+
"headers": {
|
|
195
|
+
"Authorization": "Bearer ${BILLCOM_AUTH}"
|
|
196
|
+
}
|
|
156
197
|
},
|
|
157
198
|
"paypal": {
|
|
158
199
|
"type": "http",
|
|
159
200
|
"url": "https://paypalmcp.agenticledger.ai/mcp",
|
|
160
|
-
"headers": {
|
|
201
|
+
"headers": {
|
|
202
|
+
"Authorization": "Bearer ${PAYPAL_AUTH}"
|
|
203
|
+
}
|
|
161
204
|
},
|
|
162
205
|
"square": {
|
|
163
206
|
"type": "http",
|
|
164
207
|
"url": "https://squaremcp.agenticledger.ai/mcp",
|
|
165
|
-
"headers": {
|
|
208
|
+
"headers": {
|
|
209
|
+
"Authorization": "Bearer ${SQUARE_ACCESS_TOKEN}"
|
|
210
|
+
}
|
|
166
211
|
},
|
|
167
212
|
"modern-treasury": {
|
|
168
213
|
"type": "http",
|
|
169
214
|
"url": "https://moderntreasurymcp.agenticledger.ai/mcp",
|
|
170
|
-
"headers": {
|
|
215
|
+
"headers": {
|
|
216
|
+
"Authorization": "Bearer ${MODERN_TREASURY_API_KEY}"
|
|
217
|
+
}
|
|
171
218
|
},
|
|
172
219
|
"avalara": {
|
|
173
220
|
"type": "http",
|
|
174
221
|
"url": "https://avalaramcp.agenticledger.ai/mcp",
|
|
175
|
-
"headers": {
|
|
222
|
+
"headers": {
|
|
223
|
+
"Authorization": "Bearer ${AVALARA_AUTH}"
|
|
224
|
+
}
|
|
176
225
|
},
|
|
177
226
|
"gusto": {
|
|
178
227
|
"type": "http",
|
|
179
228
|
"url": "https://gustomcp.agenticledger.ai/mcp",
|
|
180
|
-
"headers": {
|
|
229
|
+
"headers": {
|
|
230
|
+
"Authorization": "Bearer ${GUSTO_ACCESS_TOKEN}"
|
|
231
|
+
}
|
|
181
232
|
},
|
|
182
233
|
"chargebee": {
|
|
183
234
|
"type": "http",
|
|
184
235
|
"url": "https://chargebeemcp.agenticledger.ai/mcp",
|
|
185
|
-
"headers": {
|
|
236
|
+
"headers": {
|
|
237
|
+
"Authorization": "Bearer ${CHARGEBEE_AUTH}"
|
|
238
|
+
}
|
|
186
239
|
},
|
|
187
240
|
"hubspot": {
|
|
188
241
|
"type": "http",
|
|
189
242
|
"url": "https://hubspotmcp.agenticledger.ai/mcp",
|
|
190
|
-
"headers": {
|
|
243
|
+
"headers": {
|
|
244
|
+
"Authorization": "Bearer ${HUBSPOT_ACCESS_TOKEN}"
|
|
245
|
+
}
|
|
191
246
|
},
|
|
192
247
|
"karbon": {
|
|
193
248
|
"type": "http",
|
|
194
249
|
"url": "https://karbonmcp.agenticledger.ai/mcp",
|
|
195
|
-
"headers": {
|
|
250
|
+
"headers": {
|
|
251
|
+
"Authorization": "Bearer ${KARBON_BEARER_TOKEN}"
|
|
252
|
+
}
|
|
196
253
|
},
|
|
197
254
|
"smartsheets": {
|
|
198
255
|
"type": "http",
|
|
199
256
|
"url": "https://smartsheetsmcp.agenticledger.ai/mcp",
|
|
200
|
-
"headers": {
|
|
257
|
+
"headers": {
|
|
258
|
+
"Authorization": "Bearer ${SMARTSHEET_API_KEY}"
|
|
259
|
+
}
|
|
201
260
|
},
|
|
202
261
|
"notion-finance": {
|
|
203
262
|
"type": "http",
|
|
204
263
|
"url": "https://notionfinancemcp.agenticledger.ai/mcp",
|
|
205
|
-
"headers": {
|
|
264
|
+
"headers": {
|
|
265
|
+
"Authorization": "Bearer ${NOTION_API_KEY}"
|
|
266
|
+
}
|
|
206
267
|
},
|
|
207
268
|
"granola": {
|
|
208
269
|
"type": "http",
|
|
209
270
|
"url": "https://granolamcp.agenticledger.ai/mcp",
|
|
210
|
-
"headers": {
|
|
271
|
+
"headers": {
|
|
272
|
+
"Authorization": "Bearer ${GRANOLA_API_KEY}"
|
|
273
|
+
}
|
|
211
274
|
},
|
|
212
275
|
"fireflies": {
|
|
213
276
|
"type": "http",
|
|
214
277
|
"url": "https://firefliesmcp.agenticledger.ai/mcp",
|
|
215
|
-
"headers": {
|
|
278
|
+
"headers": {
|
|
279
|
+
"Authorization": "Bearer ${FIREFLIES_API_KEY}"
|
|
280
|
+
}
|
|
216
281
|
},
|
|
217
282
|
"floqast": {
|
|
218
283
|
"type": "http",
|
|
219
284
|
"url": "https://floqastmcp.agenticledger.ai/mcp",
|
|
220
|
-
"headers": {
|
|
285
|
+
"headers": {
|
|
286
|
+
"Authorization": "Bearer ${FLOQAST_API_KEY}"
|
|
287
|
+
}
|
|
221
288
|
},
|
|
222
289
|
"bitwave": {
|
|
223
290
|
"type": "http",
|
|
224
291
|
"url": "https://bitwavemcp.agenticledger.ai/mcp",
|
|
225
|
-
"headers": {
|
|
292
|
+
"headers": {
|
|
293
|
+
"Authorization": "Bearer ${BITWAVE_AUTH}"
|
|
294
|
+
}
|
|
226
295
|
},
|
|
227
296
|
"tres": {
|
|
228
297
|
"type": "http",
|
|
229
298
|
"url": "https://tresmcp.agenticledger.ai/mcp",
|
|
230
|
-
"headers": {
|
|
299
|
+
"headers": {
|
|
300
|
+
"Authorization": "Bearer ${TRES_AUTH}"
|
|
301
|
+
}
|
|
231
302
|
},
|
|
232
303
|
"fireblocks": {
|
|
233
304
|
"type": "http",
|
|
234
305
|
"url": "https://fireblocksmcp.agenticledger.ai/mcp",
|
|
235
|
-
"headers": {
|
|
306
|
+
"headers": {
|
|
307
|
+
"Authorization": "Bearer ${FIREBLOCKS_AUTH}"
|
|
308
|
+
}
|
|
236
309
|
},
|
|
237
310
|
"catalyx-wallet": {
|
|
238
311
|
"type": "http",
|
|
239
312
|
"url": "https://catalyxwalletmcp.agenticledger.ai/mcp",
|
|
240
|
-
"headers": {
|
|
313
|
+
"headers": {
|
|
314
|
+
"Authorization": "Bearer ${CATALYX_AUTH}"
|
|
315
|
+
}
|
|
241
316
|
},
|
|
242
317
|
"enterprise-wallet": {
|
|
243
318
|
"type": "http",
|
|
244
319
|
"url": "https://enterprisewalletmcp.agenticledger.ai/mcp",
|
|
245
|
-
"headers": {
|
|
320
|
+
"headers": {
|
|
321
|
+
"Authorization": "Bearer ${EWM_API_KEY}"
|
|
322
|
+
}
|
|
246
323
|
},
|
|
247
324
|
"lightspark-sdk": {
|
|
248
325
|
"type": "http",
|
|
249
326
|
"url": "https://lightsparksdkmcp.agenticledger.ai/mcp",
|
|
250
|
-
"headers": {
|
|
327
|
+
"headers": {
|
|
328
|
+
"Authorization": "Bearer ${LIGHTSPARK_SDK_AUTH}"
|
|
329
|
+
}
|
|
251
330
|
},
|
|
252
331
|
"lightspark-grid": {
|
|
253
332
|
"type": "http",
|
|
254
333
|
"url": "https://lightsparkgridmcp.agenticledger.ai/mcp",
|
|
255
|
-
"headers": {
|
|
334
|
+
"headers": {
|
|
335
|
+
"Authorization": "Bearer ${LIGHTSPARK_GRID_AUTH}"
|
|
336
|
+
}
|
|
256
337
|
},
|
|
257
338
|
"ccview": {
|
|
258
339
|
"type": "http",
|
|
259
340
|
"url": "https://ccviewmcp.agenticledger.ai/mcp",
|
|
260
|
-
"headers": {
|
|
341
|
+
"headers": {
|
|
342
|
+
"Authorization": "Bearer ${CCVIEW_API_KEY}"
|
|
343
|
+
}
|
|
261
344
|
},
|
|
262
345
|
"metabase": {
|
|
263
346
|
"type": "http",
|
|
264
347
|
"url": "https://metabasemcp.agenticledger.ai/mcp",
|
|
265
|
-
"headers": {
|
|
348
|
+
"headers": {
|
|
349
|
+
"Authorization": "Bearer ${METABASE_API_KEY}"
|
|
350
|
+
}
|
|
266
351
|
},
|
|
267
352
|
"cubedev": {
|
|
268
353
|
"type": "http",
|
|
269
354
|
"url": "https://cubedevmcp.agenticledger.ai/mcp",
|
|
270
|
-
"headers": {
|
|
355
|
+
"headers": {
|
|
356
|
+
"Authorization": "Bearer ${CUBE_API_TOKEN}"
|
|
357
|
+
}
|
|
271
358
|
},
|
|
272
359
|
"p2p-lambda": {
|
|
273
360
|
"type": "http",
|
|
274
361
|
"url": "https://p2plambdamcp.agenticledger.ai/mcp",
|
|
275
|
-
"headers": {
|
|
362
|
+
"headers": {
|
|
363
|
+
"Authorization": "Bearer ${P2P_LAMBDA_KEY}"
|
|
364
|
+
}
|
|
276
365
|
},
|
|
277
366
|
"github": {
|
|
278
367
|
"type": "http",
|
|
279
368
|
"url": "https://api.githubcopilot.com/mcp/",
|
|
280
|
-
"headers": {
|
|
369
|
+
"headers": {
|
|
370
|
+
"Authorization": "Bearer ${GITHUB_PERSONAL_ACCESS_TOKEN}"
|
|
371
|
+
}
|
|
281
372
|
},
|
|
282
373
|
"greptile": {
|
|
283
374
|
"type": "http",
|
|
284
375
|
"url": "https://api.greptile.com/mcp",
|
|
285
|
-
"headers": {
|
|
376
|
+
"headers": {
|
|
377
|
+
"Authorization": "Bearer ${GREPTILE_API_KEY}"
|
|
378
|
+
}
|
|
286
379
|
},
|
|
287
380
|
"gitlab": {
|
|
288
381
|
"type": "http",
|
|
@@ -295,11 +388,36 @@
|
|
|
295
388
|
"supabase": {
|
|
296
389
|
"type": "http",
|
|
297
390
|
"url": "https://mcp.supabase.com/mcp"
|
|
391
|
+
},
|
|
392
|
+
"youtube-transcript": {
|
|
393
|
+
"type": "http",
|
|
394
|
+
"url": "https://youtube-transcriptmcp.agenticledger.ai/mcp",
|
|
395
|
+
"headers": {
|
|
396
|
+
"Authorization": "Bearer youtube"
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"agents": {
|
|
401
|
+
"_shared-agent-example (remove underscore to activate)": {
|
|
402
|
+
"name": "Finance Analyst",
|
|
403
|
+
"description": "Shared finance agent for the whole team",
|
|
404
|
+
"agentHome": "~/Desktop/MyAIforOne Drive/SharedAgents/FinanceDept/finance-analyst",
|
|
405
|
+
"workspace": "~/Desktop/MyAIforOne Drive/SharedAgents/FinanceDept/finance-analyst",
|
|
406
|
+
"claudeMd": "~/Desktop/MyAIforOne Drive/SharedAgents/FinanceDept/finance-analyst/CLAUDE.md",
|
|
407
|
+
"memoryDir": "~/Desktop/MyAIforOne Drive/SharedAgents/FinanceDept/finance-analyst/memory",
|
|
408
|
+
"shared": true,
|
|
409
|
+
"conversationLogMode": "shared",
|
|
410
|
+
"allowedTools": [
|
|
411
|
+
"Read",
|
|
412
|
+
"Write",
|
|
413
|
+
"Edit",
|
|
414
|
+
"Bash",
|
|
415
|
+
"Glob",
|
|
416
|
+
"Grep"
|
|
417
|
+
],
|
|
418
|
+
"routes": []
|
|
298
419
|
}
|
|
299
420
|
},
|
|
300
|
-
|
|
301
|
-
"agents": {},
|
|
302
|
-
|
|
303
421
|
"defaultAgent": null,
|
|
304
422
|
"defaultSkills": [
|
|
305
423
|
"opProjectCreate",
|
|
@@ -324,11 +442,13 @@
|
|
|
324
442
|
"sop_webartifactsbuilder",
|
|
325
443
|
"sop_xlsx"
|
|
326
444
|
],
|
|
327
|
-
"defaultMcps": [
|
|
445
|
+
"defaultMcps": [
|
|
446
|
+
"aiforone_computeruse"
|
|
447
|
+
],
|
|
328
448
|
"deployment": {
|
|
329
449
|
"provider": "railway",
|
|
330
450
|
"deployToken": "",
|
|
331
451
|
"githubOrg": "",
|
|
332
452
|
"githubToken": ""
|
|
333
453
|
}
|
|
334
|
-
}
|
|
454
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Anthropic executor — uses the Anthropic Messages API directly.
|
|
3
|
+
*
|
|
4
|
+
* Used on server deployments (Railway) where the `claude` CLI is not available,
|
|
5
|
+
* or when explicitly selected via executor format: "anthropic:claude-sonnet-4-6",
|
|
6
|
+
* "anthropic:claude-haiku-4-5-20251001", etc.
|
|
7
|
+
*
|
|
8
|
+
* Default model: claude-sonnet-4-6
|
|
9
|
+
*/
|
|
10
|
+
export interface AnthropicOptions {
|
|
11
|
+
model?: string;
|
|
12
|
+
apiKey: string;
|
|
13
|
+
systemPrompt: string;
|
|
14
|
+
message: string;
|
|
15
|
+
timeout?: number;
|
|
16
|
+
temperature?: number;
|
|
17
|
+
maxTokens?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare function executeAnthropic(opts: AnthropicOptions): Promise<string>;
|
|
20
|
+
export declare function streamAnthropic(opts: AnthropicOptions): AsyncGenerator<string>;
|
|
21
|
+
export declare function checkAnthropicHealth(apiKey: string): Promise<{
|
|
22
|
+
ok: boolean;
|
|
23
|
+
error?: string;
|
|
24
|
+
models?: string[];
|
|
25
|
+
}>;
|
|
26
|
+
//# sourceMappingURL=anthropic-executor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anthropic-executor.d.ts","sourceRoot":"","sources":["../src/anthropic-executor.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AASH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA2BD,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,CA0D9E;AAGD,wBAAuB,eAAe,CAAC,IAAI,EAAE,gBAAgB,GAAG,cAAc,CAAC,MAAM,CAAC,CAmErF;AAGD,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,MAAM,GACb,OAAO,CAAC;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CA6C7D"}
|