@ateam-ai/mcp 0.3.54 → 0.3.55
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 +13 -4
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -676,7 +676,15 @@ export const tools = [
|
|
|
676
676
|
"Upload connector code to Core and restart — WITHOUT redeploying skills. " +
|
|
677
677
|
"Use this to update connector source code (server.js, UI assets, plugins) quickly. " +
|
|
678
678
|
"Set github=true to pull files from the solution's GitHub repo, or pass files directly. " +
|
|
679
|
-
"Much faster than ateam_build_and_run for connector-only changes
|
|
679
|
+
"Much faster than ateam_build_and_run for connector-only changes.\n\n" +
|
|
680
|
+
"⚠️ REPLACE, NOT MERGE: this overwrites the ENTIRE connector directory. Any file you do not " +
|
|
681
|
+
"include is DELETED — omit ui-dist/ and the UI plugins 404 with {\"error\":\"Not found\"}; omit " +
|
|
682
|
+
"src/ and the connector won't start. When passing `files`, send the WHOLE connector (every " +
|
|
683
|
+
"source file AND every ui-dist asset), not just what you changed. (node_modules survives only " +
|
|
684
|
+
"because npm install re-runs on restart — that is NOT a merge.)\n" +
|
|
685
|
+
"⚠️ github=true reads the `main` branch, NOT `dev`. A change that's only on dev will deploy " +
|
|
686
|
+
"STALE. Either promote first (ateam_github_promote dev→main) then github=true, or pass `files` " +
|
|
687
|
+
"directly for a dev-only deploy.",
|
|
680
688
|
inputSchema: {
|
|
681
689
|
type: "object",
|
|
682
690
|
properties: {
|
|
@@ -690,7 +698,7 @@ export const tools = [
|
|
|
690
698
|
},
|
|
691
699
|
github: {
|
|
692
700
|
type: "boolean",
|
|
693
|
-
description: "If true, pull connector
|
|
701
|
+
description: "If true, pull the FULL connector from GitHub and replace the deployed dir. Reads the `main` branch (NOT dev) — promote dev→main first or it deploys stale code. Default: false.",
|
|
694
702
|
},
|
|
695
703
|
files: {
|
|
696
704
|
type: "array",
|
|
@@ -702,7 +710,7 @@ export const tools = [
|
|
|
702
710
|
},
|
|
703
711
|
required: ["path", "content"],
|
|
704
712
|
},
|
|
705
|
-
description: "Files to upload. Alternative to github=true.",
|
|
713
|
+
description: "Files to upload. Alternative to github=true. REPLACES the whole connector dir — include EVERY file (all source + all ui-dist assets), not just the ones you changed; any file omitted here is deleted from the deployment.",
|
|
706
714
|
},
|
|
707
715
|
},
|
|
708
716
|
required: ["solution_id", "connector_id"],
|
|
@@ -820,7 +828,8 @@ export const tools = [
|
|
|
820
828
|
name: "ateam_upload_connector_files",
|
|
821
829
|
core: false,
|
|
822
830
|
description:
|
|
823
|
-
"Upload source files for a connector's MCP server. Use this INSTEAD of mcp_store in ateam_build_and_run when the source code is too large to inline. Upload files first, then build_and_run without mcp_store. (Advanced.)"
|
|
831
|
+
"Upload source files for a connector's MCP server. Use this INSTEAD of mcp_store in ateam_build_and_run when the source code is too large to inline. Upload files first, then build_and_run without mcp_store. (Advanced.)\n\n" +
|
|
832
|
+
"⚠️ STAGES ONLY — these files are saved for your NEXT solution deploy; they do NOT update the running connector (the response says \"staged for next deploy\"). To push connector code to the LIVE runtime and restart it immediately, use ateam_upload_connector (which replaces the whole connector dir).",
|
|
824
833
|
inputSchema: {
|
|
825
834
|
type: "object",
|
|
826
835
|
properties: {
|