fullcourtdefense-cli 1.7.24 → 1.7.25

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.
@@ -393,6 +393,10 @@ function mcpServerName(p) {
393
393
  * `perServerAgentName`, so ONE per-agent policy matches the same server across every runtime.
394
394
  * The client is still reported separately as `agentClient` metadata for optional per-runtime
395
395
  * constraints. Non-MCP events keep the collapsed per-developer IDE-runtime identity.
396
+ *
397
+ * The IDE-runtime identity is MACHINE-FREE (`<client>-<username>`, e.g. `cursor-boazl`):
398
+ * safeIdentityPart strips the `@hostname` part, so the same user's IDE on two laptops is
399
+ * ONE agent. Machine attribution stays in the separate `machineName` metadata field.
396
400
  */
397
401
  function agentNameForCall(event, p, client = 'cursor') {
398
402
  if (event === 'mcp') {
@@ -400,7 +404,7 @@ function agentNameForCall(event, p, client = 'cursor') {
400
404
  if (server)
401
405
  return `${safeIdentityPart(developerId())}-${safeIdentityPart(server)}`;
402
406
  }
403
- return `${client}-${developerId()}`;
407
+ return `${client}-${safeIdentityPart(developerId())}`;
404
408
  }
405
409
  /** Cursor conversation/session id when present, else a stable per-machine id. */
406
410
  function sessionId(p) {
package/dist/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "1.7.24"
2
+ "version": "1.7.25"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullcourtdefense-cli",
3
- "version": "1.7.24",
3
+ "version": "1.7.25",
4
4
  "description": "Full Court Defense CLI — security scanning for AI agents from your terminal",
5
5
  "main": "dist/index.js",
6
6
  "bin": {