🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@drafthq/draft

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drafthq/draft - npm Package Compare versions

Comparing version
3.3.0
to
3.3.1
+1
-1
.claude-plugin/marketplace.json

@@ -15,3 +15,3 @@ {

"description": "Context-Driven Development: draft specs and plans before implementation. Structured workflows for features and fixes.",
"version": "3.3.0",
"version": "3.3.1",
"author": {

@@ -18,0 +18,0 @@ "name": "mayurpise"

{
"name": "draft",
"description": "Context-Driven Development: draft specs and plans before implementation. Structured workflows for features and fixes.",
"version": "3.3.0",
"version": "3.3.1",
"author": {

@@ -6,0 +6,0 @@ "name": "mayurpise"

@@ -5,3 +5,3 @@ {

"description": "Context-Driven Development: draft specs and plans before implementation. Structured workflows for features and fixes.",
"version": "3.3.0",
"version": "3.3.1",
"skills": "./skills/",

@@ -8,0 +8,0 @@ "agents": "./core/agents/",

{
"name": "@drafthq/draft",
"version": "3.3.0",
"version": "3.3.1",
"description": "Context-Driven Development for AI coding agents — install Draft into Claude Code, Cursor, Codex, or opencode.",

@@ -5,0 +5,0 @@ "bin": {

@@ -70,3 +70,3 @@ <h1 align="center">Draft</h1>

| **Claude Code** | `claude-code` | Registers the plugin via `claude plugin marketplace add` + `claude plugin install` (user scope). Restart Claude Code. |
| **Cursor** | `cursor` | Copies the plugin into `~/.cursor/plugins/local/draft/`, writes `.cursor-plugin/plugin.json`, registers `draft@draft-plugins` in Cursor's plugin registry, and enables it. Restart Cursor (or Developer: Reload Window). |
| **Cursor** | `cursor` | Copies the plugin into `~/.cursor/plugins/local/draft/`, writes `.cursor-plugin/plugin.json`, registers `draft@draft-plugins` in Cursor's plugin registry, and enables it. Restart Cursor (or Developer: Reload Window). Existing installs upgrade with `draft install cursor --force`. |
| **Codex** | `codex` | Writes `./AGENTS.md`, which Codex reads automatically. |

@@ -227,2 +227,20 @@ | **opencode** | `opencode` | Writes `./AGENTS.md` + `~/.agents/skills/draft/`, both auto-discovered. |

### Context output modes (`/draft:init`)
`/draft:init` packages your architecture context in one of two modes, selected
automatically by repo size (override with `DRAFT_INIT_MODE`):
- **`monolith`** (default for small repos, tiers 1–2) — a single
graph-primary `architecture.md` is the source of truth; `.ai-context.md` is
the token-optimized AI view derived from it.
- **`okf`** (default for larger repos, tiers 3+) — an **OKF concept taxonomy**
under `draft/wiki/` is the source of truth (one concept per file, cross-links
form the graph), `.ai-context.md` becomes the navigable index root
(Synopsis + Concept Map), and `architecture.md` is demoted to a generated
rendered view. An optional self-contained offline HTML viewer ships under
`draft/wiki/web/`.
Both modes produce the same `product.md`, `tech-stack.md`, `workflow.md`,
`guardrails.md`, tracks, and `.state/` — only the architecture packaging differs.
[Full workflow →](core/methodology.md#core-workflow)

@@ -229,0 +247,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display