@ateam-ai/mcp 0.4.18 → 0.4.19
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/package.json +1 -1
- package/src/tools.js +32 -0
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -362,6 +362,26 @@ export const tools = [
|
|
|
362
362
|
required: ["type"],
|
|
363
363
|
},
|
|
364
364
|
},
|
|
365
|
+
{
|
|
366
|
+
name: "ateam_design_advisor",
|
|
367
|
+
core: true,
|
|
368
|
+
description:
|
|
369
|
+
"CONSULT THIS DURING DESIGN — before and while you design a skill/solution. Describe what you're building; it returns POINTERS to the platform capabilities that fit (per-actor storage, widgets, triggers, sub-agents, mobile data, run-scripts, multi-skill, GitHub, …), each with the /spec topic to read next (via ateam_get_spec) and the tool to wire it. Also returns 'missing' hints (capabilities your goal implies but the design hasn't wired) and lifecycle hints (e.g. connect GitHub when the project will iterate). ADVISORY ONLY — you decide and own the design. Stateless: pass the current design_state each call; consult it as often as you like as the design evolves.",
|
|
370
|
+
inputSchema: {
|
|
371
|
+
type: "object",
|
|
372
|
+
properties: {
|
|
373
|
+
goal: {
|
|
374
|
+
type: "string",
|
|
375
|
+
description: "What you're trying to build, in your own words (e.g. 'a coach that tracks each user's meals from photos and shows a dashboard').",
|
|
376
|
+
},
|
|
377
|
+
design_state: {
|
|
378
|
+
type: "object",
|
|
379
|
+
description: "Optional. The design so far (skills, connectors, capabilities already wired) so the advisor can point at what's still missing. Pass {} at the start.",
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
required: ["goal"],
|
|
383
|
+
},
|
|
384
|
+
},
|
|
365
385
|
{
|
|
366
386
|
name: "ateam_build_and_run",
|
|
367
387
|
core: true,
|
|
@@ -2209,6 +2229,10 @@ const handlers = {
|
|
|
2209
2229
|
category: "AI Team Solution Platform",
|
|
2210
2230
|
summary: "A-Team is a platform for building governed AI Teams as complete operational solutions.",
|
|
2211
2231
|
},
|
|
2232
|
+
design_advisor: {
|
|
2233
|
+
_important: "BEFORE and WHILE you design any skill/solution you MUST consult ateam_design_advisor. You do NOT know which platform capabilities exist or when to use them — the advisor does. Describe your goal to it and it returns pointers to the right capabilities (per-actor storage, widgets, triggers, sub-agents, mobile data, run-scripts, multi-skill handoff, GitHub, …) with the /spec topic to read next and the tool to wire each. It's advisory — you decide and own the design — but skipping it means you'll miss capabilities the platform already provides.",
|
|
2234
|
+
how: "ateam_design_advisor({ goal: '<what you are building, in your words>', design_state: {} }). Re-call it as the design evolves (pass the current design_state) to get 'what's still missing' hints. Then ateam_get_spec(topic) for any capability it points you to.",
|
|
2235
|
+
},
|
|
2212
2236
|
what_is_a_team: {
|
|
2213
2237
|
definition: "A Team is a structured multi-role AI system composed of Skills, Connectors, Governance contracts, and Managed Runtime deployment.",
|
|
2214
2238
|
core_components: {
|
|
@@ -2568,6 +2592,14 @@ const handlers = {
|
|
|
2568
2592
|
|
|
2569
2593
|
ateam_get_examples: async ({ type }, sid) => get(EXAMPLE_PATHS[type], sid),
|
|
2570
2594
|
|
|
2595
|
+
// Design-time capability advisor. Proxies to the Builder's /spec/advisor
|
|
2596
|
+
// (LLM over the curated capability catalog). Public endpoint (auth-exempt),
|
|
2597
|
+
// but we forward the session so a base override is honored.
|
|
2598
|
+
ateam_design_advisor: async ({ goal, design_state }, sid) => {
|
|
2599
|
+
if (!goal || typeof goal !== "string") throw new Error("goal required (a string describing what you're building)");
|
|
2600
|
+
return post("/spec/advisor", { goal, design_state: design_state || {} }, sid, { timeoutMs: 90_000, retries: 1 });
|
|
2601
|
+
},
|
|
2602
|
+
|
|
2571
2603
|
// ─── Composite: Build & Run ────────────────────────────────────────
|
|
2572
2604
|
// Validates → Deploys → Health-checks → Optionally tests
|
|
2573
2605
|
// One call replaces: validate_solution + deploy_solution + get_solution(health)
|