fullcourtdefense-cli 1.21.10 → 1.21.11

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.
@@ -11,7 +11,7 @@ export interface LoginArgs {
11
11
  *
12
12
  * The machine authenticates to the org with a reusable fleet token (distributed
13
13
  * by IT/MDM), self-enrolls under its stable machine id, and receives a dedicated
14
- * per-machine Shield (monitor-first). Credentials are written to
14
+ * per-machine Shield (enforcing by default). Credentials are written to
15
15
  * ~/.fullcourtdefense.yml so no manual copy/paste of Shield IDs/keys is needed.
16
16
  */
17
17
  export declare function loginCommand(args: LoginArgs, config: BotGuardConfig): Promise<void>;
@@ -8,7 +8,7 @@ const machineIdentity_1 = require("../machineIdentity");
8
8
  *
9
9
  * The machine authenticates to the org with a reusable fleet token (distributed
10
10
  * by IT/MDM), self-enrolls under its stable machine id, and receives a dedicated
11
- * per-machine Shield (monitor-first). Credentials are written to
11
+ * per-machine Shield (enforcing by default). Credentials are written to
12
12
  * ~/.fullcourtdefense.yml so no manual copy/paste of Shield IDs/keys is needed.
13
13
  */
14
14
  async function loginCommand(args, config) {
@@ -58,7 +58,12 @@ async function loginCommand(args, config) {
58
58
  });
59
59
  console.log('');
60
60
  console.log(`\x1b[32m✓ ${result.reused ? 'Re-enrolled' : 'Enrolled'}\x1b[0m ${result.shieldName}`);
61
- console.log(` Mode: ${result.mode} (monitor-first — no blocking until you enable enforcement)`);
61
+ const modeNote = result.mode === 'block'
62
+ ? 'enforcing — dangerous actions and matching policies are blocked'
63
+ : result.mode === 'monitor'
64
+ ? 'monitor — actions are logged but not blocked'
65
+ : 'shadow — evaluation only, nothing is blocked';
66
+ console.log(` Mode: ${result.mode} (${modeNote}). Change it anytime from the dashboard.`);
62
67
  console.log(` Config: ${savedPath}`);
63
68
  console.log('');
64
69
  console.log('Next: \x1b[1mfullcourtdefense install-all\x1b[0m to wrap your MCP clients and install available runtime hooks.');
@@ -419,7 +419,7 @@ async function onboardCommand(args, config) {
419
419
  const dashboard = (0, notify_1.consoleUrl)('/agent-security/users?view=desktop');
420
420
  console.log('');
421
421
  if (requiredFailures.length === 0) {
422
- console.log(`${GREEN}${BOLD}This machine is protected.${RESET} It reports to your org's AI Fleet (monitor-first until an admin enables enforcement).`);
422
+ console.log(`${GREEN}${BOLD}This machine is protected.${RESET} It reports to your org's AI Fleet and enforces your policies (dangerous actions are blocked). An admin can switch it to monitor-only from the dashboard.`);
423
423
  console.log(`${DIM}Fleet view: ${dashboard}${RESET}`);
424
424
  console.log(`${DIM}Restart your AI clients (Cursor, Claude, VS Code, …) so they pick up the wrapped configs.${RESET}`);
425
425
  mark('verification', 'completed');
package/dist/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "1.21.10"
2
+ "version": "1.21.11"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullcourtdefense-cli",
3
- "version": "1.21.10",
3
+ "version": "1.21.11",
4
4
  "description": "Full Court Defense CLI — security scanning for AI agents from your terminal",
5
5
  "main": "dist/index.js",
6
6
  "bin": {