@integrity-labs/cloud-broker 0.5.0 → 0.5.1
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/dist/index.js +8 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21214,7 +21214,7 @@ var getCredentialsShape = getCredentialsSchema.shape;
|
|
|
21214
21214
|
// package.json
|
|
21215
21215
|
var package_default = {
|
|
21216
21216
|
name: "@integrity-labs/cloud-broker",
|
|
21217
|
-
version: "0.5.
|
|
21217
|
+
version: "0.5.1",
|
|
21218
21218
|
description: "Cloud Access Broker \u2014 MCP server that mints scoped, TTL-bounded cloud credentials per agent task. v1 ships AWS support (request_access, poll_grant, release_access, describe_scope, preview_request \u2014 STS AssumeRole under the hood); GCP, Azure, and Cloudflare land alongside in the same package as the broker grows.",
|
|
21219
21219
|
type: "module",
|
|
21220
21220
|
bin: {
|
|
@@ -21261,12 +21261,17 @@ var AGT_AGENT_ID = process.env.AGT_AGENT_ID;
|
|
|
21261
21261
|
var AGT_RUN_ID = process.env.AGT_RUN_ID ?? "";
|
|
21262
21262
|
var AGT_TOKEN = process.env.AGT_TOKEN ?? "";
|
|
21263
21263
|
var AGT_API_KEY = process.env.AGT_API_KEY ?? "";
|
|
21264
|
-
if (!AGT_HOST || !AGT_AGENT_ID || !
|
|
21264
|
+
if (!AGT_HOST || !AGT_AGENT_ID || !AGT_TOKEN && !AGT_API_KEY) {
|
|
21265
21265
|
console.error(
|
|
21266
|
-
"cloud-broker: missing env vars. Need AGT_HOST, AGT_AGENT_ID,
|
|
21266
|
+
"cloud-broker: missing env vars. Need AGT_HOST, AGT_AGENT_ID, and one of AGT_TOKEN or AGT_API_KEY."
|
|
21267
21267
|
);
|
|
21268
21268
|
process.exit(1);
|
|
21269
21269
|
}
|
|
21270
|
+
if (!AGT_RUN_ID) {
|
|
21271
|
+
console.error(
|
|
21272
|
+
"cloud-broker: AGT_RUN_ID is not set. request_access will require run_id in the args; describe_scope / get_credentials / release_access still work without it."
|
|
21273
|
+
);
|
|
21274
|
+
}
|
|
21270
21275
|
if (process.env.AGT_TEAM_SLUG) {
|
|
21271
21276
|
console.error(
|
|
21272
21277
|
"cloud-broker: AGT_TEAM_SLUG is set but no longer required (the API derives team from agent_id). Safe to remove from .mcp.json env block."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@integrity-labs/cloud-broker",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Cloud Access Broker — MCP server that mints scoped, TTL-bounded cloud credentials per agent task. v1 ships AWS support (request_access, poll_grant, release_access, describe_scope, preview_request — STS AssumeRole under the hood); GCP, Azure, and Cloudflare land alongside in the same package as the broker grows.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|