@ateam-ai/mcp 0.4.79 → 0.4.81
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 +20 -2
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -658,7 +658,7 @@ export const tools = [
|
|
|
658
658
|
// it times out the run proceeds with no capability guidance at all.
|
|
659
659
|
monitoring: { safe: true, cost: "normal", latency_ms_p95: 25000, output: "bounded" },
|
|
660
660
|
description:
|
|
661
|
-
"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.",
|
|
661
|
+
"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. If the reply carries `truncated: true`, the answer ran past the length budget and was CUT OFF: what is there is correct, but a capability's ABSENCE proves nothing — ask again with a narrower goal, or use ateam_spec_search, before concluding the platform lacks something.",
|
|
662
662
|
inputSchema: {
|
|
663
663
|
type: "object",
|
|
664
664
|
properties: {
|
|
@@ -4966,7 +4966,25 @@ const handlers = {
|
|
|
4966
4966
|
throw new Error("Pass chain_id (the whole run — recommended) or job_id. ateam_conversation returns chain_id.");
|
|
4967
4967
|
}
|
|
4968
4968
|
if (!skill_id) {
|
|
4969
|
-
|
|
4969
|
+
// ASK FOR NOTHING THE TOOL CAN WORK OUT ITSELF. This used to throw
|
|
4970
|
+
// "job_id needs skill_id too — pass chain_id instead". The message was
|
|
4971
|
+
// accurate and well-written, and it was reached by FAILING FIRST, every
|
|
4972
|
+
// time: 4 occurrences on 4 different job ids in a single clean e2e, each
|
|
4973
|
+
// one a wasted turn. A good error still costs a round trip.
|
|
4974
|
+
//
|
|
4975
|
+
// /deploy/jobs/:id/status resolves ANY job id — it is the same endpoint
|
|
4976
|
+
// the chain path above already uses — so a job id without a skill needs no
|
|
4977
|
+
// skill at all. `scope` says which question was answered, because "this
|
|
4978
|
+
// job" and "the whole run" genuinely differ: a root job can read completed
|
|
4979
|
+
// while a handoff is still running.
|
|
4980
|
+
const data = await get(`/deploy/jobs/${encodeURIComponent(job_id)}/status`, sid);
|
|
4981
|
+
return {
|
|
4982
|
+
ok: true,
|
|
4983
|
+
scope: "job",
|
|
4984
|
+
job_id,
|
|
4985
|
+
...data,
|
|
4986
|
+
_note: `Answered for THIS JOB. For the whole run — including handoffs a root job does not cover — pass chain_id instead${data?.chainId ? ` (this job's chain is "${data.chainId}")` : ""}.`,
|
|
4987
|
+
};
|
|
4970
4988
|
}
|
|
4971
4989
|
// Existing single-job snapshot via Builder (unchanged shape for back-compat).
|
|
4972
4990
|
const single = await get(`/deploy/solutions/${solution_id}/skills/${skill_id}/test/${job_id}`, sid);
|