@crustdev/armordesk 1.0.3 → 1.0.4
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/cli.d.ts.map +1 -1
- package/dist/cli.js +6 -0
- package/dist/cli.mjs +6 -0
- package/package.json +1 -1
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AA2DA,wBAAsB,MAAM,CAAC,IAAI,GAAE,MAAM,EAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AA2DA,wBAAsB,MAAM,CAAC,IAAI,GAAE,MAAM,EAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,CA6ZlF"}
|
package/dist/cli.js
CHANGED
|
@@ -579,6 +579,12 @@ async function runCLI(args = process.argv.slice(2)) {
|
|
|
579
579
|
apiKey: client.apiKey,
|
|
580
580
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
581
581
|
});
|
|
582
|
+
client.token = pollRes.token;
|
|
583
|
+
client.tenantId = pollRes.user.tenant_id;
|
|
584
|
+
try {
|
|
585
|
+
await client.getMCPStatus();
|
|
586
|
+
} catch {
|
|
587
|
+
}
|
|
582
588
|
console.log("\n------------------------------------------------------------");
|
|
583
589
|
console.log(`\u2705 Authorization Approved by Browser!`);
|
|
584
590
|
console.log(` User: ${pollRes.user.name} (${pollRes.user.email})`);
|
package/dist/cli.mjs
CHANGED
|
@@ -151,6 +151,12 @@ async function runCLI(args = process.argv.slice(2)) {
|
|
|
151
151
|
apiKey: client.apiKey,
|
|
152
152
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
153
153
|
});
|
|
154
|
+
client.token = pollRes.token;
|
|
155
|
+
client.tenantId = pollRes.user.tenant_id;
|
|
156
|
+
try {
|
|
157
|
+
await client.getMCPStatus();
|
|
158
|
+
} catch {
|
|
159
|
+
}
|
|
154
160
|
console.log("\n------------------------------------------------------------");
|
|
155
161
|
console.log(`\u2705 Authorization Approved by Browser!`);
|
|
156
162
|
console.log(` User: ${pollRes.user.name} (${pollRes.user.email})`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crustdev/armordesk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Official TypeScript SDK and CLI for ArmorDesk: Enterprise AI Agent Control Plane, Governed MCP Gateway, and Cryptographic Trust Center.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|