agentwatch-core 0.1.2

Core detection library for AgentWatch - identifies AI coding agents
Documentation
// ── Microsoft: VS Code extension host ────────────────────────────────────────

use crate::detection::types::{AgentFingerprint, ProcessRole};

pub const FINGERPRINTS: &[AgentFingerprint] = &[
    // VS Code extension host (main detection)
    AgentFingerprint {
        id: "vscode-agent", name: "VS Code Agent", icon: "",
        vendor: "Microsoft", color: "#007acc",
        role: ProcessRole::HostApp, confidence: 75,
        requires: &["extensionHost|vscode-server|code-server"],
        excludes: &["grep"],
        host_app: Some("VS Code"),
        adopt_children: false,
    },

    // VS Code extensions (helpers) - e.g., ChatGPT extension, etc.
    // Excludes Continue.dev which has its own fingerprint in others.rs
    AgentFingerprint {
        id: "vscode-extension", name: "VS Code Extension", icon: "",
        vendor: "Microsoft", color: "#5c9fd6",
        role: ProcessRole::Helper, confidence: 70,
        requires: &[".vscode/extensions"],
        excludes: &["grep", "continue"],
        host_app: Some("VS Code"),
        adopt_children: false,
    },
];