@ateam-ai/mcp 0.3.14 → 0.3.16
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 +2 -17
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -1767,30 +1767,15 @@ const handlers = {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
|
|
1769
1769
|
// Phase 4: Auto-push to main branch (non-blocking)
|
|
1770
|
-
let github_result;
|
|
1771
|
-
try {
|
|
1772
|
-
github_result = await post(
|
|
1773
|
-
`/deploy/solutions/${solution_id}/github/push`,
|
|
1774
|
-
{ push_to_github: true, message: `Patch: ${target}${skill_id ? ` ${skill_id}` : ''} — ${Object.keys(updates || {}).join(', ')}` },
|
|
1775
|
-
sid,
|
|
1776
|
-
{ timeoutMs: 60_000 },
|
|
1777
|
-
);
|
|
1778
|
-
phases.push({ phase: 'github', status: github_result.skipped ? 'skipped' : 'done' });
|
|
1779
|
-
} catch (err) {
|
|
1780
|
-
github_result = { error: err.message };
|
|
1781
|
-
phases.push({ phase: 'github', status: 'error', error: err.message });
|
|
1782
|
-
}
|
|
1783
|
-
|
|
1784
1770
|
return {
|
|
1785
1771
|
ok: true,
|
|
1786
1772
|
solution_id,
|
|
1787
1773
|
branch: 'main',
|
|
1788
1774
|
phases,
|
|
1789
|
-
|
|
1775
|
+
patched: patched,
|
|
1790
1776
|
redeploy: redeployResult,
|
|
1791
1777
|
...(test_result && { test_result }),
|
|
1792
|
-
|
|
1793
|
-
_status: '✅ Patched + redeployed + pushed to main.',
|
|
1778
|
+
_status: '✅ Patched on GitHub + redeployed.',
|
|
1794
1779
|
_next: 'Create a checkpoint before making more changes: ateam_github_promote(solution_id)',
|
|
1795
1780
|
};
|
|
1796
1781
|
},
|