@frostbridge/imdl 0.1.9 → 0.1.10

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 +20 -16
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1344,21 +1344,25 @@ async function initCommand(options) {
1344
1344
  } else {
1345
1345
  console.log(pc2.dim(` \u2022 Policies exist (${policies.length} active rules)`));
1346
1346
  }
1347
- console.log("\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501");
1348
- console.log(" Privacy Notice");
1349
- console.log("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n");
1350
- console.log(" Frostbridge monitors AI agent activity and reports to your");
1351
- console.log(" organization's security dashboard. Data collected includes:\n");
1352
- console.log(" \u2022 Tool calls (file edits, commands, MCP calls)");
1353
- console.log(" \u2022 Session metadata (agent type, project path, timestamps)");
1354
- console.log(" \u2022 Policy evaluation results\n");
1355
- console.log(" Data NOT collected:");
1356
- console.log(" \u2022 Full file contents");
1357
- console.log(" \u2022 Prompt/response text (redacted)");
1358
- console.log(" \u2022 Credentials (automatically scrubbed)\n");
1359
- console.log(" Data is retained per your organization's retention policy.");
1360
- console.log(" Contact your admin for the full privacy policy.\n");
1361
- console.log("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n");
1347
+ if (options.nonInteractive) {
1348
+ console.log(pc2.dim(" \u2022 Privacy notice auto-accepted (non-interactive mode)"));
1349
+ } else {
1350
+ console.log("\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501");
1351
+ console.log(" Privacy Notice");
1352
+ console.log("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n");
1353
+ console.log(" Frostbridge monitors AI agent activity and reports to your");
1354
+ console.log(" organization's security dashboard. Data collected includes:\n");
1355
+ console.log(" \u2022 Tool calls (file edits, commands, MCP calls)");
1356
+ console.log(" \u2022 Session metadata (agent type, project path, timestamps)");
1357
+ console.log(" \u2022 Policy evaluation results\n");
1358
+ console.log(" Data NOT collected:");
1359
+ console.log(" \u2022 Full file contents");
1360
+ console.log(" \u2022 Prompt/response text (redacted)");
1361
+ console.log(" \u2022 Credentials (automatically scrubbed)\n");
1362
+ console.log(" Data is retained per your organization's retention policy.");
1363
+ console.log(" Contact your admin for the full privacy policy.\n");
1364
+ console.log("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n");
1365
+ }
1362
1366
  config.privacyNoticeAccepted = (/* @__PURE__ */ new Date()).toISOString();
1363
1367
  saveConfig(config);
1364
1368
  for (const agent of detectedAgents) {
@@ -6009,7 +6013,7 @@ function getSafeAlternative(toolName, toolInput) {
6009
6013
  var program = new Command();
6010
6014
  program.name("imdl").description("IMDL \u2014 Intelligent Mediation & Detection Layer. AI agent security.").version("0.1.0");
6011
6015
  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);
6012
- 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 }));
6016
+ 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").option("--non-interactive", "Skip all prompts and use defaults").action((opts) => initCommand({ teamToken: opts.token || opts.teamToken, apiUrl: opts.api, nonInteractive: opts.nonInteractive }));
6013
6017
  program.command("login").description("Authenticate to your IMDL team").action(loginCommand);
6014
6018
  program.command("status").description("Show monitoring status and detected agents").action(statusCommand);
6015
6019
  program.command("logout").description("Remove authentication credentials").action(logoutCommand);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "restricted"
5
5
  },
6
- "version": "0.1.9",
6
+ "version": "0.1.10",
7
7
  "description": "IMDL — Intelligent Mediation & Detection Layer. AI agent security CLI.",
8
8
  "files": [
9
9
  "dist"