Introducing a new way to review your PRs.

Read the announcement

kenryu42 / cc-safety-net

A pre-execution guard for AI coding agents. It blocks destructive Git and file system commands, plus common attempts to access sensitive files, before a tool call runs. Supports Amp Code, Antigravity CLI, Claude Code, Codex, Cursor, DeepSeek Harness, Devin CLI, GitHub Copilot CLI, Grok Build, Hermes Agent, Kimi Code, OpenClaw, OpenCode, and Pi.

View on GitHub

20 documents · Updated Nov 23, 2026

docs / agent-connector-implementations

Agent connector implementations

CC Safety Net connects to each supported coding agent through that agent's native extension point. Each connector translates the agent's tool event into the shared guard flow, installs the connector in the agent's own state, and lets the doctor command report whether that state is present and active. The connectors cover Claude Code, Codex, Copilot CLI, Cursor, Gemini CLI, Kimi Code, OpenCode, OpenClaw, Pi, Amp, Hermes Agent, Antigravity CLI, Grok Build, DeepSeek Harness, Devin, and Droid. See hook routing and tool adapters for the shared event boundary and integration installation and detection for the wider install and doctor flow.

Connector model

The connector model separates host-specific transport from shared command and file checks. A host either calls a hook command over JSON or loads a plugin package that calls the guard directly. Installation and detection follow the same split.

Integration catalog

The catalog in src/…/catalog.ts is the central map of supported agents. It gives each agent a stable id and display name. It also records its install flag, artifact kind, version probe, and, when the agent uses a command hook, the hook flags and description.

AgentRuntime entryInstalled formDetection source
Claude CodePreToolUse command hookMarketplace pluginClaude plugin state files
CodexPreToolUse command hookMarketplace plugincodex plugin list
GitHub Copilot CLIpreToolUse command hook or pluginPlugin or hook configPlugin checkout and hook config
CursorpreToolUse command hookUser hook config or Cursor plugin~/…/hooks.json and Cursor plugin cache
Gemini CLIBeforeTool command hookExtensionGemini extension state
Kimi CodePreToolUse command hookUser hook config or native plugin guidanceKimi TOML config
OpenCodetool.execute.before plugin hookGlobal npm pluginOpenCode config
OpenClawbefore_tool_call plugin hookManaged native plugin directoryPlugin files and OpenClaw plugin config
Pitool_call extension eventnpm packagePi settings
Amp Codetool.call plugin eventHosted Personal Plugins repositoryamp plugins list
Hermes Agentpre_tool_call plugin hookManaged user plugin directoryPlugin files and Hermes config
Antigravity CLIPreToolUse command hookUser hook configAntigravity hook config
Grok BuildPreToolUse command hookUser hook configGrok Build hook config
DeepSeek HarnessTool guard plugin eventPackage in web or Desktop profileDeepSeek Harness profile manifests
Devin CLIPreToolUse command hookUser hook configDevin hook config
Factory DroidPreToolUse command hookUser hook configDroid hook config

The catalog is also the source for install target order and doctor order. This keeps the command-line selector, version probes, hook dispatch, and status output aligned when an integration is added or renamed.

References: src/…/catalog.ts• L17-31 src/…/catalog.ts• L35-280 src/…/targets.ts• L8-28

Shared hook boundary

The command-hook connectors use one shared boundary in src/…/common.ts and the shared PreToolUse adapter in src/…/pre-tool-use.ts. They read bounded JSON input, check the event and tool name, build a common tool invocation, run the guard, and convert a denial back into the host's required JSON shape. A malformed request or an unsafe working directory is denied rather than passed to the agent.

The agent files only describe the differences that matter at this boundary:

  • The event name and input field names.
  • The host tool names that carry shell commands.
  • The host's allow, deny, or ask response shape.
  • Any host-specific execution directory rule.

This boundary is used by Claude Code, Codex, Copilot CLI, Cursor, Gemini CLI, Kimi Code, Hermes Agent, Antigravity CLI, Grok Build, Devin, and Droid. OpenCode, OpenClaw, Pi, Amp, and DeepSeek Harness call the same guard through in-process plugin adapters instead of starting the CLI hook command.

References: src/…/common.ts• L27-54 src/…/common.ts• L116-242 src/…/pre-tool-use.ts• L7-79 src/…/hook.ts• L1-24 src/…/plugin-adapter.ts• L17-120

Agent connectors

The connectors share the same guard goal but do not share the same host contract. The following groups show how each agent receives the guard and where its installed state lives.

Claude-shaped hooks

Claude Code, Codex, and GitHub Copilot CLI use closely related plugin or hook models. Claude Code and Codex use the shared PreToolUse adapter, while Copilot CLI uses the same guard boundary with its own event fields and denial result. Claude Code routes shell tools plus its monitor tool. It can also recognize a Copilot shell when Copilot runs through the Claude-shaped path.

Claude Code installs cc-safety-net@cc-marketplace from the kenryu42/cc-marketplace marketplace. Its packaged hook registration is represented by hooks/hooks.json. Detection checks both the installed plugin record and the enabled plugin entry in Claude's settings. A plugin that is installed but not enabled is reported as disabled.

Codex installs through the same marketplace identity, cc-safety-net@cc-marketplace, and runs the shared PreToolUse command hook at tool time. Detection reads the text from codex plugin list. It requires the source row to report both installed and enabled. Codex trust remains a separate user action that doctor cannot verify.

GitHub Copilot CLI can receive the guard in two ways. Its plugin uses the cc-safety-net@cc-marketplace identity. Its hook adapter accepts shell events with object or JSON-string tool arguments. Detection checks repository hook files, user hook files, and inline settings before it checks plugin state. Repository settings take precedence over user settings. User hook files require Copilot CLI 0.0.422+. Inline hook definitions require 1.0.8+. An active disableAllHooks setting takes precedence and reports the connector as disabled.

References: src/…/hook.ts• L7-34 src/…/detect.ts• L10-67 hooks/hooks.json• L1-14 src/…/detect.ts• L3-42 src/…/hook.ts• L5-61 src/…/detect.ts• L40-70 src/…/detect.ts• L214-377 src/…/plugin-id.ts• L1-17 src/…/agent-detection.ts• L11-54

Command hook connectors

Cursor, Gemini CLI, Kimi Code, Antigravity CLI, Grok Build, Devin, and Droid install a command in the host's hook configuration. The command invokes the packaged CLI with an agent flag. The host controls process lifetime while the shared hook boundary controls the decision.

AgentHost event and command toolMain installed stateHost-specific behavior
CursorpreToolUse; Shell~/…/hooks.json or Cursor plugin cacheUses workspace roots and checks working_directory inside those roots. The hook entry is canonical and fail-closed. Native and imported plugins can also run the check.
Gemini CLIBeforeTool; run_shell_command~/.gemini/extensions/gemini-safety-netReturns a deny decision with a system message. A ! enablement override disables the extension.
Kimi CodePreToolUse; Bash$KIMI_CODE_HOME/config.toml or ~/…/config.tomlKeeps a command hook in TOML. A command-level cwd must remain inside the session directory.
Antigravity CLIPreToolUse; run_command~/…/hooks.jsonMaps CommandLine to the command field and selects a workspace root from workspacePaths. Install preserves other definitions and can re-enable its own disabled definition.
Grok BuildPreToolUse; run_terminal_command$GROK_HOME/…/cc-safety-net.json or ~/…/cc-safety-net.jsonUses an unscoped hook entry so all tool calls reach the adapter. It uses workspaceRoot or cwd as the trusted root. Truncated tool input is denied.
Devin CLIPreToolUse; exec and process text~/…/config.json or the Windows Devin config pathRoutes exec as a shell command and treats text sent to a process as command input. Detection reports managed hook drift.
Factory DroidPreToolUse; Execute~/…/hooks.jsonUses the shared command route. A command matcher that narrows coverage is reported as drift.

Cursor and Antigravity also protect path-bearing non-shell tools because those hosts can provide file targets outside the command field. Cursor requires a usable workspace root and keeps a requested working_directory inside that root. Their adapters deny when the workspace or target path cannot be mapped with confidence. Cursor installation preserves foreign hook definitions, removes duplicate managed entries, and restores its managed entry to the 30-second fail-closed form. Kimi Code offers a native plugin path through its host UI. The command-line installer keeps the global hook path as the automated path and warns when both paths are active.

Devin and Droid preserve other host hook definitions while replacing their own managed entry with one canonical PreToolUse command. Devin reads a platform-specific config location. Droid installs into its dedicated hooks file and can use existing settings hooks as the starting point.

Grok Build uses the classic { decision: 'allow' } or { decision: 'deny', reason } response. The adapter treats run_terminal_command as a shell command and sends other tool calls through the shared non-command path. This lets the guard apply path checks to those calls as well.

References: src/…/hook.ts• L15-119 src/…/install.ts• L8-16 src/…/install.ts• L22-36 src/…/install.ts• L89-136 src/…/detect.ts• L21-109 src/…/hook.ts• L6-52 src/…/detect.ts• L14-56 src/…/hook.ts• L12-71 src/…/install.ts• L12-20 src/…/hook.ts• L17-77 src/…/install.ts• L35-178 src/…/detect.ts• L41-81 src/…/hook.ts• L10-60 src/…/install.ts• L6-29 src/…/hook.ts• L6-45 src/…/install.ts• L14-96 src/…/detect.ts• L11-30 src/…/hook.ts• L5-12 src/…/install.ts• L13-108 src/…/detect.ts• L6-49

In-process plugin connectors

OpenCode, OpenClaw, Pi, Amp, and DeepSeek Harness load connector code inside the host process. Their adapters receive a tool event directly, resolve the host workspace, run the guard, and return the host's native block or reject result.

OpenCode exports CCSafetyNetPlugin from src/…/plugin.ts. The plugin watches tool.execute.before, adds the cc-safety-net built-in command, and installs globally as cc-safety-net@latest. Its detector reads opencode.json or opencode.jsonc. The installer also verifies that the cached package exposes a callable plugin because OpenCode can continue after a plugin load failure. The adapter maps the configured shell to a command route and checks both the configured directory and any tool workdir before evaluation. The built-in command uses the shared safety-net guidance template so the agent can explain blocks, rules, integrations, and diagnostics through the same workflow as Pi.

OpenClaw exposes a native plugin manifest, package manifest, and runtime entry. The runtime registers before_tool_call for the plain exec tool and accepts only host modes that provide a proven execution path. It resolves the agent workspace from the host runtime and keeps any workdir inside that workspace before the guard evaluates the command. Installation sends the packaged artifact to the OpenClaw plugin manager, enables it when needed, and verifies a loaded runtime state. Detection checks regular managed files, package shape, version, and same-version edits before it checks global, allow-list, deny-list, and per-plugin enablement rules.

Pi installs the npm package npm:cc-safety-net and loads its extension from Pi settings. The extension registers tool_call for guard decisions and adds the /cc-safety-net command. That command sends the shared rulebook workflow to the agent as a user message. This lets the agent guide rulebook changes without adding a second rule system. Pi uses the session working directory as the trusted context for its tool calls. It maps its bash event to the command route and sends other tool inputs through the non-command path.

Amp registers a tool.call listener through src/…/amp.ts and delegates each event to the Amp host adapter. Its personal-scope plugin is stored in the hosted Personal Plugins repository. Installation clones that repository, checks that the managed entry is a regular owned file, updates the managed plugin artifact, commits, and pushes it. It also embeds the current user policy for remote Orb execution and removes an obsolete managed entry when needed. The plugin therefore also applies to Amp Orb threads. Detection reads amp plugins list and looks for an active User Plugins entry. The adapter denies malformed events, missing workspace data, helper failures, and unusable working directories before it can pass a tool call to the guard. When Amp supplies a shell command directory, the adapter keeps that execution directory within the resolved workspace.

DeepSeek Harness loads the cc-safety-net package as a tool guard plugin. The entry registers the guard with the host's tools service. The adapter reads the session workspace from the event and supports bash and pwsh as command tools. It keeps a requested workdir inside that workspace. Other tools use the shared non-command path. A malformed event or an unusable session or requested directory becomes a block.

References: src/…/plugin.ts• L24-164 src/…/install.ts• L14-79 src/…/detect.ts• L11-51 src/…/commands.ts• L4-10 src/…/plugin.ts• L14-154 src/…/install.ts• L42-50 src/…/detect.ts• L29-67 src/…/tool-call.ts• L37-118 src/…/commands.ts• L18-37 src/…/amp.ts• L1-6 src/…/install.ts• L243-283 src/…/tool-call.ts• L51-149 src/…/detect.ts• L1-43 src/…/index.ts• L1-7 src/…/guard.ts• L28-116

Managed plugin artifacts

Hermes Agent, OpenClaw, Amp, and DeepSeek Harness have a managed artifact or package registration that must be present before the host can load the connector. The artifact or profile state carries enough ownership and version information for install, update, and doctor to tell a supported copy from an unmanaged or edited state.

Hermes installs __init__.py and plugin.yaml under the Hermes plugin directory. The Python plugin forwards supported pre_tool_call events to npx -y cc-safety-net hook --hermes-agent. It blocks when the analyzer cannot start, times out, or returns unreadable output. Hermes loads the plugin only when its config lists the plugin as enabled. File installation and host enablement are separate parts of the connector.

OpenClaw installs three files under its extension directory: the runtime entry, openclaw.plugin.json, and package.json. The manifest enables startup activation. The package manifest points OpenClaw to the runtime entry. Amp publishes one TypeScript entry under the cc-safety-net directory in the user's hosted repository and embeds the current user policy for remote Orb execution.

DeepSeek Harness installs the cc-safety-net package into the web profile and, when its Desktop CLI is found, the Desktop profile. The profile manifest records the package dependency and the enabled bundle. The installer does not change a running Desktop profile. If the Desktop CLI is not in its default location, the user must manage that profile from the host's Plugins page.

The artifact checks protect ownership and loadability rather than only checking that a path exists. A missing file, symlink, unmanaged replacement, edited same-version file, stale version, or disabled host entry produces a visible doctor result or stops installation before the host runs without protection.

References: src/…/artifact.ts• L1-20 src/…/artifact.ts• L26-57 src/…/artifact.ts• L87-119 src/…/install.ts• L21-32 src/…/detect.ts• L120-156 src/…/artifact.ts• L10-79 src/…/detect.ts• L129-207 src/…/artifact.ts• L1-18 src/…/install.ts• L242-283 src/…/install.ts• L18-28 src/…/install.ts• L101-145 src/…/detect.ts• L15-87

Installation and detection lifecycle

Installation is host-owned. The installer selects an agent, probes the required CLI when needed, applies the host's native install action, and reports the resulting path or host state. Detection is read-only for file-backed integrations. Codex and Amp are queried through their list commands because their useful state is held by the host or by a hosted repository. DeepSeek Harness is checked through its local profile manifests.

The lifecycle below shows how a selected agent moves from discovery to an active connector and how doctor verifies it later.

flowchart TD
    A[Select agent] --> B[Probe host CLI]
    B --> C{Connector kind}
    C -->|Command hook| D[Write host hook config]
    C -->|Native plugin| E[Run host plugin install]
    C -->|Managed artifact or package| F[Publish or write artifact]
    D --> G[Host loads hook]
    E --> H[Host enables and loads plugin]
    F --> H
    G --> I[Guard receives tool event]
    H --> I
    I --> J[Allow or block tool]
    J --> K[Doctor reads host state]

The install selector marks a target available when its host CLI is present. DeepSeek Harness can also become available when its Desktop CLI is found. For uninstall, a detected or unreadable configured state remains selectable so stale or damaged integrations can still be removed. Update discovers installed targets first. It refreshes only those targets and clears the shared npx cache once for connectors that invoke the packaged CLI through npx.

References: src/…/index.ts• L83-106 src/…/index.ts• L170-320 src/…/index.ts• L627-744 src/…/choices.ts• L30-108 src/…/index.ts• L20-47 src/…/install.ts• L188-199

Installation artifacts and host state

Each host keeps ownership and enablement in a different place. The table maps an install result or a doctor finding back to the host state that controls loading.

AgentArtifact or registrationEnablement or active-state check
Claude Codecc-safety-net@cc-marketplace plugin record and packaged PreToolUse hookenabledPlugins in ~/…/settings.json
Codexcc-safety-net@cc-marketplace marketplace plugininstalled, enabled in codex plugin list
GitHub Copilot CLIMarketplace checkout or JSON hook entriesPlugin setting plus repository, user, and inline hook precedence
CursorCommand entry in ~/…/hooks.json or Cursor marketplace plugin cacheManaged entry is active when present; timeout, fail-closed mode, duplicate drift, and native-plugin overlap are reported
Gemini CLI~/.gemini/extensions/gemini-safety-netExtension enablement overrides
Kimi CodePreToolUse entry in config.tomlPresence of the managed command
OpenCodeGlobal package reference in opencode.json or opencode.jsoncPresence of a package entry and runtime load verification
OpenClawextensions/cc-safety-net/ with three managed filesOpenClaw plugin switches and loaded runtime status
Pinpm:cc-safety-net package in Pi settingsPackage extension entries not disabled with -
Ampcc-safety-net/index.ts in hosted Personal Pluginsactive User Plugins row from amp plugins list
Hermes Agent__init__.py and plugin.yaml in the user plugin directoryPlugin name in plugins.enabled and not in plugins.disabled
Antigravity CLINamed cc-safety-net definition in hooks.jsonHook definition is not disabled
Grok Buildcc-safety-net.json in the global hooks directoryManaged PreToolUse command entry with full-tool coverage and expected type and timeout
DeepSeek Harnesscc-safety-net dependency in each profile's package.jsonPackage name appears in the profile's enabled dsh.profile.bundles
Devin CLIManaged PreToolUse command entry in the Devin configExpected command and timeout are present
Factory DroidManaged PreToolUse command entry in ~/…/hooks.jsonExpected command and timeout are present and coverage is not narrowed

The key distinction is between installed and active. A plugin directory or package can exist while the host has disabled it. A hook config can be present but malformed. Doctor keeps those states separate so an engineer can repair the host registration instead of reinstalling blindly. DeepSeek Harness can have the package in more than one profile, with some profiles enabled and others disabled. Cursor can also have both its command hook and a native or imported plugin active, which doctor reports as duplicate coverage.

References: src/…/detect.ts• L31-67 src/…/detect.ts• L26-49 src/…/detect.ts• L168-377 src/…/detect.ts• L61-109 src/…/detect.ts• L25-52 src/…/detect.ts• L15-40 src/…/detect.ts• L15-51 src/…/detect.ts• L186-207 src/…/detect.ts• L22-62 src/…/detect.ts• L16-43 src/…/detect.ts• L131-156 src/…/detect.ts• L62-80 src/…/detect.ts• L49-82 src/…/detect.ts• L25-87 src/…/detect.ts• L11-30 src/…/detect.ts• L6-49

Detection and repair states

The doctor combines one detector per catalog entry and reports four useful states: configured, disabled, not applicable, and not inspected. Configured means the connector is present and active. Disabled means the host records it but will not use it. Not applicable means no supported installation was found. Not inspected means the state existed but could not be read safely.

Detection avoids host commands that rewrite live configuration. It reads runtime-owned files for most agents. Codex and Amp are exceptions because their list commands expose state that is not available in a local file. The system-info path gives those outputs to the detectors and allows a longer time for cold marketplace or hosted-plugin queries. DeepSeek Harness reads each profile manifest. It reports configured when at least one installed profile has an enabled bundle, and disabled when installed profiles have no enabled bundle.

References: src/…/context.ts• L6-25 src/…/index.ts• L20-74 src/…/detect.ts• L54-87

Change checklist

When these files or sections are changed, remember to consider these:

  • Add or remove the agent in src/…/catalog.ts, the detector map, and the hook runner map together. Type checks cover missing catalog wiring, but they do not choose the correct host artifact or status rule.
  • Keep the install flag, runtime flag, legacy flag, display name, and probe command aligned. These values feed separate CLI paths and can silently make an agent selectable but unable to dispatch.
  • When a host changes its event payload, update its tool route and execution-directory mapping together. The guard must analyze the directory where the host will actually run the tool.
  • Keep artifact ownership markers, manifest entry paths, enablement checks, and runtime verification in sync. A host can load an artifact directory that exists but does not register a hook.
  • Preserve host-specific precedence rules when changing detection. Copilot hook scopes, OpenClaw allow and deny lists, Hermes enabled and disabled lists, and DeepSeek Harness profile bundle state can override a simple file-presence check.
  • Preserve Cursor's single canonical managed entry, 30-second timeout, and failClosed: true setting. Duplicate or drifted entries can leave the host partly configured while changing its safety behavior. Also keep native-plugin overlap detection aligned with the hook path.
  • Preserve Grok Build's unscoped hook entry and its expected command, type, and timeout. A matcher or split handler can narrow coverage while still looking partly installed.
  • Preserve Devin's PreToolUse entry shape and platform-specific config path. Preserve Droid's dedicated hooks-file preference and its no-narrowing coverage rule.
  • For connectors that call npx, include the target in cache invalidation when update behavior changes. A stale cache can run an older guard behind a current host configuration.
  • Keep Amp's hosted repository ownership checks, embedded policy stamp, workspace resolution, and shell-helper projection aligned. A change in any contract must still reject calls that lack a trusted workspace or usable command directory.
  • Keep the OpenCode and Pi built-in command packages aligned with CC_SAFETY_NET_TEMPLATE. A change to the shared prompt can otherwise make agent guidance differ between hosts.
  • Keep DeepSeek Harness web and Desktop profile handling aligned. Install and uninstall must account for a missing Desktop CLI, a running Desktop app, and enabled state in every target profile.

Important failure modes

TriggerConsequenceGuard
A hook payload has invalid JSON, a missing tool name, or an unusable working directoryThe host could run a tool without a trustworthy guard contextShared hook adapters emit a failed-closed denial and record the event
A plugin is installed but disabled in the hostThe agent continues without the connectorDetectors report disabled and install paths can enable the host entry where supported
OpenCode or OpenClaw accepts an install command but cannot load the runtimeThe session continues with no active protectionInstallation verifies a callable OpenCode export or an OpenClaw loaded runtime status
A managed artifact is replaced by a symlink, unmanaged file, or edited same-version fileInstall or uninstall could overwrite user data, or the host could load altered codeArtifact checks verify ownership, regular files, manifest shape, and content integrity
Cursor has duplicate managed entries, drifted timeout or fail-closed settings, or a second active pluginThe host can run a non-canonical or repeated connector definitionDetection reports drift or overlap, and reinstall collapses managed entries to one canonical fail-closed entry
Grok Build input is truncated or its hook matcher, type, or timeout driftsA large command may be analyzed incompletely, or the hook may cover fewer tools than intendedThe adapter denies truncated input, and detection reports drift for reinstall
Devin or Droid has a narrowed or malformed managed hook entrySome supported tool calls bypass the guardDetection reports the entry as absent or drifted, and reinstall restores the canonical command hook
A stale npx cache remains after an updateHook-based artifact connectors keep running an older guard versionUpdate clears the shared safety-net cache before cache-dependent targets run
Amp has no writable Personal Plugins repository or its hosted operation stallsThe personal connector cannot be published or the install can hangInstall requires a writable account repository, validates the managed artifact, and bounds the clone, commit, and push process
Amp cannot resolve its workspace or shell helper dataA tool call lacks a trusted root or command routeThe adapter turns missing workspace data, helper failures, and unusable directories into an explicit denial
Hermes cannot start, finish, or parse the analyzer subprocessHermes may ignore a callback error and run the toolThe generated Hermes plugin turns transport and analysis errors into an explicit block
DeepSeek Harness has no usable profile, a profile bundle is disabled, or its Desktop app is running during installThe package is absent or present but the host does not load itDetection reports n/a or disabled; install refuses a running Desktop profile and verifies enabled bundles afterward

Key files

FileWhy to read it
src/…/catalog.tsDefines the supported agents and the metadata shared by install, hook dispatch, and doctor.
src/…/hook.tsShows the public hook flags and the runtime hook command contract.
src/…/common.tsShows the common hook lifecycle from bounded input to guard decision.
src/…/pre-tool-use.tsDefines the shared PreToolUse event contract used by Claude Code, Codex, Devin, and Droid.
src/…/plugin-adapter.tsDefines the shared in-process plugin flow and failed-closed behavior.
src/…/index.tsShows how native commands, config edits, managed artifacts, updates, and uninstall actions are selected.
src/…/index.tsComposes the per-agent detectors into the doctor result.
src/…/hook.tsDescribes Claude Code's tool routes and its shared PreToolUse entry point.
src/…/hook.tsDescribes Codex's PreToolUse command hook and command route.
src/…/detect.tsDescribes Copilot's plugin, hook scope, version, and precedence checks.
src/…/install.tsShows the managed Cursor hook entry, native marketplace cleanup, canonical settings, duplicate handling, and fail-closed host settings.
src/…/detect.tsShows Cursor hook drift checks and overlap detection for native and imported plugins.
src/…/install.tsShows Devin's config location, managed hook replacement, and preservation of foreign handlers.
src/…/hook.tsShows Devin's command and process-text tool routes.
src/…/install.tsShows Droid's dedicated hook file, settings fallback, and managed entry removal.
src/…/detect.tsShows Droid's coverage and managed-entry drift checks.
src/…/plugin.tsShows the in-process OpenCode plugin, shell and workdir routing, and built-in command registration.
src/…/commands.tsShows the OpenCode command package and its shared agent guidance.
src/…/artifact.tsDefines the OpenClaw package identity and files that make up the loadable artifact.
src/…/plugin.tsShows OpenClaw's exec event contract, workspace boundary, and block response.
src/…/install.tsShows the hosted Personal Plugins publication flow, policy embedding, legacy migration, and ownership checks.
src/…/amp.tsShows Amp's host entry point and its tool.call registration.
src/…/tool-call.tsShows how Amp workspace and shell data become a guarded tool invocation.
src/…/artifact.tsShows the generated Hermes files and fail-closed subprocess bridge.
src/…/tool-call.tsShows Pi's tool event routing, trusted session directory, and native block result.
src/…/commands.tsShows Pi's shared command package and how it sends guidance into the agent session.
src/…/install.tsShows the Antigravity hook definition, preservation of user entries, and enablement model.
src/…/hook.tsShows Grok Build's event shape, tool routing, trusted-root checks, and response format.
src/…/install.tsShows the managed Grok Build hook file and preservation of foreign hooks.
src/…/guard.tsShows DeepSeek Harness tool event routing, command shells, trusted session directory, and block response.
src/…/install.tsShows DeepSeek Harness web and Desktop profile installation, removal, and running-app checks.
src/…/detect.tsShows profile package and enabled-bundle detection.
src/…/index.tsShows the DeepSeek Harness plugin entry and host service registration.
src/…/cc-safety-net.tsHolds the shared rulebook workflow used by the Pi and OpenCode command packages.