@cubis/foundry 0.3.35 → 0.3.36
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/bin/cubis.js +17 -3
- package/package.json +1 -1
- package/workflows/skills/postman/SKILL.md +17 -0
- package/workflows/skills/skills_index.json +20 -0
- package/workflows/skills/stitch/SKILL.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/SKILL.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/SKILL.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/SKILL.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/stitch/SKILL.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/SKILL.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/stitch/SKILL.md +17 -0
package/bin/cubis.js
CHANGED
|
@@ -151,6 +151,7 @@ const POSTMAN_API_KEY_ENV_VAR = "POSTMAN_API_KEY";
|
|
|
151
151
|
const POSTMAN_MCP_URL = "https://mcp.postman.com/minimal";
|
|
152
152
|
const POSTMAN_API_BASE_URL = "https://api.getpostman.com";
|
|
153
153
|
const POSTMAN_SKILL_ID = "postman";
|
|
154
|
+
const STITCH_SKILL_ID = "stitch";
|
|
154
155
|
const STITCH_MCP_SERVER_ID = "StitchMCP";
|
|
155
156
|
const STITCH_API_KEY_ENV_VAR = "STITCH_API_KEY";
|
|
156
157
|
const STITCH_MCP_URL = "https://stitch.googleapis.com/mcp";
|
|
@@ -3803,7 +3804,8 @@ async function resolvePostmanInstallSelection({
|
|
|
3803
3804
|
);
|
|
3804
3805
|
}
|
|
3805
3806
|
|
|
3806
|
-
const
|
|
3807
|
+
const stitchRequested = Boolean(options.stitch);
|
|
3808
|
+
const enabled = Boolean(options.postman) || hasWorkspaceOption || stitchRequested;
|
|
3807
3809
|
if (!enabled) return { enabled: false };
|
|
3808
3810
|
|
|
3809
3811
|
const envApiKey = normalizePostmanApiKey(process.env[POSTMAN_API_KEY_ENV_VAR]);
|
|
@@ -3816,7 +3818,7 @@ async function resolvePostmanInstallSelection({
|
|
|
3816
3818
|
: null;
|
|
3817
3819
|
let mcpScope = requestedMcpScope || normalizeMcpScope(scope, "project");
|
|
3818
3820
|
const warnings = [];
|
|
3819
|
-
const stitchEnabled = platform === "antigravity";
|
|
3821
|
+
const stitchEnabled = platform === "antigravity" || stitchRequested;
|
|
3820
3822
|
const envStitchApiKey = normalizePostmanApiKey(
|
|
3821
3823
|
process.env[STITCH_API_KEY_ENV_VAR],
|
|
3822
3824
|
);
|
|
@@ -5721,6 +5723,10 @@ function withInstallOptions(command) {
|
|
|
5721
5723
|
"--postman",
|
|
5722
5724
|
"optional: install Postman skill and generate cbx_config.json",
|
|
5723
5725
|
)
|
|
5726
|
+
.option(
|
|
5727
|
+
"--stitch",
|
|
5728
|
+
"optional: include Stitch MCP profile/config alongside Postman",
|
|
5729
|
+
)
|
|
5724
5730
|
.option(
|
|
5725
5731
|
"--postman-api-key <key>",
|
|
5726
5732
|
"deprecated: inline key mode is disabled. Use env vars + profiles.",
|
|
@@ -5757,6 +5763,10 @@ function withInstallOptions(command) {
|
|
|
5757
5763
|
"MCP image update policy: pinned|latest",
|
|
5758
5764
|
DEFAULT_MCP_UPDATE_POLICY,
|
|
5759
5765
|
)
|
|
5766
|
+
.option(
|
|
5767
|
+
"--mcp-tool-sync",
|
|
5768
|
+
"enable automatic MCP tool catalog sync (default: enabled)",
|
|
5769
|
+
)
|
|
5760
5770
|
.option("--no-mcp-tool-sync", "disable automatic MCP tool catalog sync")
|
|
5761
5771
|
.option(
|
|
5762
5772
|
"--terminal-integration",
|
|
@@ -6079,7 +6089,11 @@ async function runWorkflowInstall(options) {
|
|
|
6079
6089
|
scope,
|
|
6080
6090
|
overwrite: Boolean(options.overwrite),
|
|
6081
6091
|
profilePathsOverride: artifactProfilePaths,
|
|
6082
|
-
extraSkillIds: postmanSelection.enabled
|
|
6092
|
+
extraSkillIds: postmanSelection.enabled
|
|
6093
|
+
? postmanSelection.stitchEnabled
|
|
6094
|
+
? [POSTMAN_SKILL_ID, STITCH_SKILL_ID]
|
|
6095
|
+
: [POSTMAN_SKILL_ID]
|
|
6096
|
+
: [],
|
|
6083
6097
|
skillProfile: skillInstallOptions.skillProfile,
|
|
6084
6098
|
terminalVerifierSelection,
|
|
6085
6099
|
dryRun,
|
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: postman
|
|
3
|
+
description: Automate API testing and collection management with Postman MCP. Use for workspace, collection, environment, and mock operations.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Postman MCP
|
|
7
|
+
|
|
8
|
+
Use this skill when you need to work with Postman through MCP tools.
|
|
9
|
+
|
|
10
|
+
## Required Environment Variables
|
|
11
|
+
|
|
12
|
+
- `POSTMAN_API_KEY_<PROFILE>` for authenticated Postman access.
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
- Use environment variables for secrets. Do not inline API keys.
|
|
17
|
+
- Prefer tool discovery (`getEnabledTools`) before making assumptions about available tool sets.
|
|
@@ -741,6 +741,16 @@
|
|
|
741
741
|
"visual testing"
|
|
742
742
|
]
|
|
743
743
|
},
|
|
744
|
+
{
|
|
745
|
+
"id": "postman",
|
|
746
|
+
"name": "postman",
|
|
747
|
+
"canonical_id": "postman",
|
|
748
|
+
"deprecated": false,
|
|
749
|
+
"replaced_by": null,
|
|
750
|
+
"path": ".agents/skills/postman/SKILL.md",
|
|
751
|
+
"description": "Automate API testing and collection management with Postman MCP. Use for workspace, collection, environment, and mock operations.",
|
|
752
|
+
"triggers": []
|
|
753
|
+
},
|
|
744
754
|
{
|
|
745
755
|
"id": "powershell-windows",
|
|
746
756
|
"name": "powershell-windows",
|
|
@@ -980,6 +990,16 @@
|
|
|
980
990
|
"description": "Runs CodeQL-based static security analysis (database build, query pack selection, and SARIF results) for vulnerability discovery and audits. Not for custom QL authoring or CI/CD setup.",
|
|
981
991
|
"triggers": []
|
|
982
992
|
},
|
|
993
|
+
{
|
|
994
|
+
"id": "stitch",
|
|
995
|
+
"name": "stitch",
|
|
996
|
+
"canonical_id": "stitch",
|
|
997
|
+
"deprecated": false,
|
|
998
|
+
"replaced_by": null,
|
|
999
|
+
"path": ".agents/skills/stitch/SKILL.md",
|
|
1000
|
+
"description": "Automate Stitch workflows through Stitch MCP using mcp-remote transport.",
|
|
1001
|
+
"triggers": []
|
|
1002
|
+
},
|
|
983
1003
|
{
|
|
984
1004
|
"id": "stripe-best-practices",
|
|
985
1005
|
"name": "stripe-best-practices",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stitch
|
|
3
|
+
description: Automate Stitch workflows through Stitch MCP using mcp-remote transport.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Stitch MCP
|
|
7
|
+
|
|
8
|
+
Use this skill when you need to call Stitch tools through MCP passthrough.
|
|
9
|
+
|
|
10
|
+
## Required Environment Variables
|
|
11
|
+
|
|
12
|
+
- `STITCH_API_KEY_<PROFILE>` for Stitch API-key mode.
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
- Stitch transport uses `mcp-remote` to `https://stitch.googleapis.com/mcp`.
|
|
17
|
+
- Inject `X-Goog-Api-Key` from environment at runtime. Do not store raw keys in config files.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: postman
|
|
3
|
+
description: Automate API testing and collection management with Postman MCP. Use for workspace, collection, environment, and mock operations.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Postman MCP
|
|
7
|
+
|
|
8
|
+
Use this skill when you need to work with Postman through MCP tools.
|
|
9
|
+
|
|
10
|
+
## Required Environment Variables
|
|
11
|
+
|
|
12
|
+
- `POSTMAN_API_KEY_<PROFILE>` for authenticated Postman access.
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
- Use environment variables for secrets. Do not inline API keys.
|
|
17
|
+
- Prefer tool discovery (`getEnabledTools`) before making assumptions about available tool sets.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stitch
|
|
3
|
+
description: Automate Stitch workflows through Stitch MCP using mcp-remote transport.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Stitch MCP
|
|
7
|
+
|
|
8
|
+
Use this skill when you need to call Stitch tools through MCP passthrough.
|
|
9
|
+
|
|
10
|
+
## Required Environment Variables
|
|
11
|
+
|
|
12
|
+
- `STITCH_API_KEY_<PROFILE>` for Stitch API-key mode.
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
- Stitch transport uses `mcp-remote` to `https://stitch.googleapis.com/mcp`.
|
|
17
|
+
- Inject `X-Goog-Api-Key` from environment at runtime. Do not store raw keys in config files.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: postman
|
|
3
|
+
description: Automate API testing and collection management with Postman MCP. Use for workspace, collection, environment, and mock operations.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Postman MCP
|
|
7
|
+
|
|
8
|
+
Use this skill when you need to work with Postman through MCP tools.
|
|
9
|
+
|
|
10
|
+
## Required Environment Variables
|
|
11
|
+
|
|
12
|
+
- `POSTMAN_API_KEY_<PROFILE>` for authenticated Postman access.
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
- Use environment variables for secrets. Do not inline API keys.
|
|
17
|
+
- Prefer tool discovery (`getEnabledTools`) before making assumptions about available tool sets.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stitch
|
|
3
|
+
description: Automate Stitch workflows through Stitch MCP using mcp-remote transport.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Stitch MCP
|
|
7
|
+
|
|
8
|
+
Use this skill when you need to call Stitch tools through MCP passthrough.
|
|
9
|
+
|
|
10
|
+
## Required Environment Variables
|
|
11
|
+
|
|
12
|
+
- `STITCH_API_KEY_<PROFILE>` for Stitch API-key mode.
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
- Stitch transport uses `mcp-remote` to `https://stitch.googleapis.com/mcp`.
|
|
17
|
+
- Inject `X-Goog-Api-Key` from environment at runtime. Do not store raw keys in config files.
|
package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/SKILL.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: postman
|
|
3
|
+
description: Automate API testing and collection management with Postman MCP. Use for workspace, collection, environment, and mock operations.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Postman MCP
|
|
7
|
+
|
|
8
|
+
Use this skill when you need to work with Postman through MCP tools.
|
|
9
|
+
|
|
10
|
+
## Required Environment Variables
|
|
11
|
+
|
|
12
|
+
- `POSTMAN_API_KEY_<PROFILE>` for authenticated Postman access.
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
- Use environment variables for secrets. Do not inline API keys.
|
|
17
|
+
- Prefer tool discovery (`getEnabledTools`) before making assumptions about available tool sets.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stitch
|
|
3
|
+
description: Automate Stitch workflows through Stitch MCP using mcp-remote transport.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Stitch MCP
|
|
7
|
+
|
|
8
|
+
Use this skill when you need to call Stitch tools through MCP passthrough.
|
|
9
|
+
|
|
10
|
+
## Required Environment Variables
|
|
11
|
+
|
|
12
|
+
- `STITCH_API_KEY_<PROFILE>` for Stitch API-key mode.
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
- Stitch transport uses `mcp-remote` to `https://stitch.googleapis.com/mcp`.
|
|
17
|
+
- Inject `X-Goog-Api-Key` from environment at runtime. Do not store raw keys in config files.
|