Skip to content

intern 0.1.0

Latest

Choose a tag to compare

@denizbarish denizbarish released this 28 Nov 18:51

0.1.0 (2026-11-28)

Stage 4: a second agent, exports for agents without hooks, and the open source release.

Added

  • Agent adapters (intern_agent/adapters/): claude-code (the default, unchanged behaviour), codex
    and generic. intern hook <event> --agent codex|generic converts the agent's hook input and output.
  • Codex CLI support through Codex hooks (UserPromptSubmit, PreToolUse, Stop): recall, corrections,
    and the guard on shell calls and apply_patch edits. Codex cannot "ask", so the guard's ask becomes a
    deny that says why. Codex rollout files are read for context only; corrections from Codex wait as
    untrusted until intern approve.
  • intern export --format agents|claude|cursor and --project; the cursor format writes
    .cursor/rules/intern.mdc with alwaysApply: true frontmatter.
  • The intern curator subagent for Claude Code (plugins/claude-code/agents/intern.md) and the
    /intern:intern-review command that calls it.
  • Docs: docs/architecture.md, docs/security.md, docs/lessons-format.md, CONTRIBUTING.md.
  • CI installs the wheel and runs intern --version and intern doctor --json.

Changed

  • Implicit corrections from file changes are trusted only when the prompt itself is a correction and no
    background command of the agent may still be running; an edit that is not a revert needs a correcting
    prompt, a revert needs a short or correcting one. The prompt hook first records the agent's edits from
    a turn stopped with Esc (no Stop ran), so they are not taken for the user's.
  • Rejected tool calls: only the reason the user typed is the user's; the rejected call reaches distill
    inside the untrusted agent tags, a rejection with no reason is untrusted, outside content read earlier
    in the session stays attached to later rejections, and "no" to ExitPlanMode or AskUserQuestion
    is not a rejection.
  • Repeated failures count the same command with the same error; a success in between starts again.
  • git status/diff/log/show/blame/rev-parse/ls-files count as local only while the git config they read
    names no program (diff.external, textconv, pager, fsmonitor, hooksPath, filters, gpg) and includes no