@ateam-ai/mcp 0.4.86 → 0.4.87
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 +2 -2
- package/src/tools.js +20 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ateam-ai/mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.87",
|
|
4
4
|
"mcpName": "io.github.ariekogan/ateam-mcp",
|
|
5
5
|
"description": "A-Team MCP Server — build, validate, and deploy multi-agent solutions from any AI environment",
|
|
6
6
|
"type": "module",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"start:http": "node src/index.js --http",
|
|
14
14
|
"dev": "node --watch src/index.js",
|
|
15
15
|
"dev:http": "node --watch src/index.js --http",
|
|
16
|
-
"test": "node test/session-isolation.test.mjs && node test/widget-protocol.test.mjs && node test/actor-binding.test.mjs && node test/spec-topics.test.mjs"
|
|
16
|
+
"test": "node test/session-isolation.test.mjs && node test/widget-protocol.test.mjs && node test/actor-binding.test.mjs && node test/spec-topics.test.mjs && node --test test/deploy-status-truth.test.mjs"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"mcp",
|
package/src/tools.js
CHANGED
|
@@ -3957,12 +3957,28 @@ const handlers = {
|
|
|
3957
3957
|
health,
|
|
3958
3958
|
...(widget_health && { widget_health }),
|
|
3959
3959
|
...(test_result && { test_result }),
|
|
3960
|
-
|
|
3960
|
+
// The GitHub outcome is reported WHATEVER it was. Filtering out the error
|
|
3961
|
+
// case left a failed push visible only inside `phases` — which nothing
|
|
3962
|
+
// reads — while _status went on claiming the push succeeded.
|
|
3963
|
+
...(github_result && { github: github_result }),
|
|
3961
3964
|
...(agent_doc_result && !agent_doc_result.error && { agent_doc: agent_doc_result }),
|
|
3962
3965
|
...(validation.warnings?.length > 0 && { validation_warnings: validation.warnings }),
|
|
3963
|
-
_status
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
+
// _status must describe WHAT HAPPENED. It previously asserted
|
|
3967
|
+
// "pushed to main" unconditionally — when the push failed, when it was
|
|
3968
|
+
// skipped (GitHub disabled, or push_to_github not opted in), and when no
|
|
3969
|
+
// push was attempted at all. Worse, its only variable was widget_health,
|
|
3970
|
+
// an unrelated flag: whether the code reached GitHub could not change the
|
|
3971
|
+
// sentence claiming the code reached GitHub.
|
|
3972
|
+
_status: [
|
|
3973
|
+
'✅ Deployed to Core',
|
|
3974
|
+
github_result?.error ? `⚠️ GitHub push FAILED: ${github_result.error}`
|
|
3975
|
+
: github_result?.skipped ? `⚠️ GitHub push skipped${github_result.reason ? ` (${github_result.reason})` : ''} — Core and GitHub now differ`
|
|
3976
|
+
: github_result ? '+ pushed to main'
|
|
3977
|
+
: '⚠️ no GitHub push attempted — Core and GitHub may differ',
|
|
3978
|
+
...(widget_health && !widget_health.ok
|
|
3979
|
+
? [`⚠️ ${widget_health.issues?.length || 0} widget(s) not rendering — see widget_health.`]
|
|
3980
|
+
: []),
|
|
3981
|
+
].join(' '),
|
|
3966
3982
|
_next: 'Create a checkpoint before making more changes: ateam_github_promote(solution_id)',
|
|
3967
3983
|
};
|
|
3968
3984
|
},
|