@ateam-ai/mcp 0.4.18 → 0.4.20
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 +59 -0
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -362,6 +362,46 @@ 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
|
+
},
|
|
385
|
+
{
|
|
386
|
+
name: "ateam_spec_search",
|
|
387
|
+
core: true,
|
|
388
|
+
description:
|
|
389
|
+
"Semantic search over the FULL ateam platform /spec documentation — the deep fallback behind ateam_design_advisor. Ask a natural-language 'how do I…' question and get the most relevant doc chunks (with their topic + heading), then read the full topic via ateam_get_spec(topic). Use this when the advisor's pointer isn't enough, or for details/examples on anything — including topics outside the curated capability list. Read-only.",
|
|
390
|
+
inputSchema: {
|
|
391
|
+
type: "object",
|
|
392
|
+
properties: {
|
|
393
|
+
query: {
|
|
394
|
+
type: "string",
|
|
395
|
+
description: "Natural-language question, e.g. 'how do I send a proactive daily reminder?' or 'per-user persistence'.",
|
|
396
|
+
},
|
|
397
|
+
top_k: {
|
|
398
|
+
type: "number",
|
|
399
|
+
description: "How many chunks to return (default 8, max 25).",
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
required: ["query"],
|
|
403
|
+
},
|
|
404
|
+
},
|
|
365
405
|
{
|
|
366
406
|
name: "ateam_build_and_run",
|
|
367
407
|
core: true,
|
|
@@ -2209,6 +2249,10 @@ const handlers = {
|
|
|
2209
2249
|
category: "AI Team Solution Platform",
|
|
2210
2250
|
summary: "A-Team is a platform for building governed AI Teams as complete operational solutions.",
|
|
2211
2251
|
},
|
|
2252
|
+
design_advisor: {
|
|
2253
|
+
_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.",
|
|
2254
|
+
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. For anything deeper — details, examples, or topics outside the capability list — ateam_spec_search({ query: '<how do I…>' }) does a semantic search over the FULL spec docs.",
|
|
2255
|
+
},
|
|
2212
2256
|
what_is_a_team: {
|
|
2213
2257
|
definition: "A Team is a structured multi-role AI system composed of Skills, Connectors, Governance contracts, and Managed Runtime deployment.",
|
|
2214
2258
|
core_components: {
|
|
@@ -2568,6 +2612,21 @@ const handlers = {
|
|
|
2568
2612
|
|
|
2569
2613
|
ateam_get_examples: async ({ type }, sid) => get(EXAMPLE_PATHS[type], sid),
|
|
2570
2614
|
|
|
2615
|
+
// Design-time capability advisor. Proxies to the Builder's /spec/advisor
|
|
2616
|
+
// (LLM over the curated capability catalog). Public endpoint (auth-exempt),
|
|
2617
|
+
// but we forward the session so a base override is honored.
|
|
2618
|
+
ateam_design_advisor: async ({ goal, design_state }, sid) => {
|
|
2619
|
+
if (!goal || typeof goal !== "string") throw new Error("goal required (a string describing what you're building)");
|
|
2620
|
+
return post("/spec/advisor", { goal, design_state: design_state || {} }, sid, { timeoutMs: 90_000, retries: 1 });
|
|
2621
|
+
},
|
|
2622
|
+
|
|
2623
|
+
// Semantic search over the full /spec corpus (Builder /spec/search → the
|
|
2624
|
+
// sysSpecSearch-mcp platform connector). Public read-only endpoint.
|
|
2625
|
+
ateam_spec_search: async ({ query, top_k }, sid) => {
|
|
2626
|
+
if (!query || typeof query !== "string") throw new Error("query required (a string question)");
|
|
2627
|
+
return post("/spec/search", { query, ...(top_k ? { top_k } : {}) }, sid, { timeoutMs: 30_000, retries: 1 });
|
|
2628
|
+
},
|
|
2629
|
+
|
|
2571
2630
|
// ─── Composite: Build & Run ────────────────────────────────────────
|
|
2572
2631
|
// Validates → Deploys → Health-checks → Optionally tests
|
|
2573
2632
|
// One call replaces: validate_solution + deploy_solution + get_solution(health)
|