
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@archships/dim-plugin-plan-mode
Advanced tools
Official supported plan-mode plugin for dim-agent-sdk.
Requires @archships/dim-agent-sdk >= 0.0.23 and
@archships/dim-plugin-api >= 0.0.9.
AgentMode metadata through setup().modesprompt.resolveplan_read / plan_writetool.beforeExecuteexec visible, but only allows an allowlisted set of read-only argv inspection commandssession.getPlugin('plan-mode')<hostDataDir>/plans/<sessionId>/plan.mdimport { createAgent, createModel } from '@archships/dim-agent-sdk'
import { createPlanModePlugin } from '@archships/dim-plugin-plan-mode'
const agent = createAgent({
model: createModel(adapter),
hostDataDir: '/tmp/dim-host-data',
plugins: [createPlanModePlugin()],
})
const session = await agent.createSession({
metadata: { planMode: true },
})
const planMode = session.getPlugin('plan-mode')
await planMode?.disable()
await planMode?.enable()
await planMode?.clearDraft()
getState(): returns { active, pendingActive?, draftPath }enable(): enables plan mode for the next run; if no run is in flight, it becomes active immediatelydisable(): disables plan mode for the next run; if no run is in flight, it becomes inactive immediatelyclearDraft(): deletes the current session draft directory under hostDataDiractivationMetadataKey: defaults to planModeextraVisibleTools: extends the default visible toolset with additional read-only toolsallowedExecPatterns: extends the built-in allow / deny / ask rules for execAgentMode directly; the behavior comes from the plugin hooks and session controllerhostDataDir is required so plan drafts stay outside the workspacewrite, edit, and patch style tools are blocked while plan mode is activeexec must use argv-style command: string[] input while plan mode is activeplan_write is the only writable artifact exposed to the model in plan modenext run only for in-flight runsagent.deleteSession(sessionId) also deletes the plan draft directorypnpm run demo:plan-mode in the repo for the scripted walkthroughFAQs
Official plan-mode plugin for dim-agent-sdk.
We found that @archships/dim-plugin-plan-mode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.