@frostbridge/imdl 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +14 -4
package/dist/index.js CHANGED
@@ -1271,6 +1271,9 @@ async function initCommand(options) {
1271
1271
  if (isNewConfig) {
1272
1272
  config.developerId = `dev_${randomUUID2().slice(0, 8)}`;
1273
1273
  }
1274
+ if (options.apiUrl) {
1275
+ config.apiUrl = options.apiUrl;
1276
+ }
1274
1277
  if (options.teamToken) {
1275
1278
  try {
1276
1279
  const joinRes = await fetch(`${config.apiUrl}/api/teams/join`, {
@@ -4328,6 +4331,7 @@ var CATEGORY_LABELS = {
4328
4331
  shell: "Shell",
4329
4332
  network: "Network",
4330
4333
  mcp_tools: "MCP Tools",
4334
+ code_execution: "Code Execution",
4331
4335
  agentic_mode: "Agentic Mode"
4332
4336
  };
4333
4337
  var AGENT_LABELS = {
@@ -5639,7 +5643,7 @@ function getSafeAlternative(toolName, toolInput) {
5639
5643
  var program = new Command();
5640
5644
  program.name("imdl").description("IMDL \u2014 Intelligent Mediation & Detection Layer. AI agent security.").version("0.1.0");
5641
5645
  program.command("scan").description("Scan MCP server configs for security risks").option("-p, --path <path>", "Path to MCP config file").option("-u, --url <url>", "GitHub URL or org/repo to scan").option("--json", "Output as JSON").option("--no-color", "Disable colored output").option("-q, --quiet", "Only show warnings and errors").option("-d, --deep", "Deep scan: static code analysis + GitHub issue scanning").action(scanCommand);
5642
- program.command("init").description("Detect AI agents and install monitoring hooks").option("-t, --token <token>", "Invite token to join a team").option("--team-token <token>", "Alias for --token").action((opts) => initCommand({ teamToken: opts.token || opts.teamToken }));
5646
+ program.command("init").description("Detect AI agents and install monitoring hooks").option("-t, --token <token>", "Invite token to join a team").option("--team-token <token>", "Alias for --token").option("--api <url>", "API URL to connect to").action((opts) => initCommand({ teamToken: opts.token || opts.teamToken, apiUrl: opts.api }));
5643
5647
  program.command("login").description("Authenticate to your IMDL team").action(loginCommand);
5644
5648
  program.command("status").description("Show monitoring status and detected agents").action(statusCommand);
5645
5649
  program.command("logout").description("Remove authentication credentials").action(logoutCommand);
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "@frostbridge/imdl",
3
- "publishConfig": { "access": "restricted" },
4
- "version": "0.1.0",
3
+ "publishConfig": {
4
+ "access": "restricted"
5
+ },
6
+ "version": "0.1.1",
5
7
  "description": "IMDL — Intelligent Mediation & Detection Layer. AI agent security CLI.",
6
- "files": ["dist"],
8
+ "files": [
9
+ "dist"
10
+ ],
7
11
  "type": "module",
8
12
  "bin": {
9
13
  "imdl": "./dist/index.js"
@@ -28,6 +32,12 @@
28
32
  "vitest": "^4.1.0",
29
33
  "@types/node": "^22.15.0"
30
34
  },
31
- "keywords": ["security", "ai", "mcp", "agent", "governance"],
35
+ "keywords": [
36
+ "security",
37
+ "ai",
38
+ "mcp",
39
+ "agent",
40
+ "governance"
41
+ ],
32
42
  "license": "MIT"
33
43
  }