Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@tarquinen/opencode-smart-title

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tarquinen/opencode-smart-title

OpenCode plugin that automatically generates meaningful session titles using AI and smart context selection

Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
236
-42.44%
Maintainers
1
Weekly downloads
 
Created
Source

Smart Title Plugin

Auto-generates meaningful session titles for your OpenCode conversations using AI.

What It Does

  • Watches your conversation and generates short, descriptive titles
  • Updates automatically when the session becomes idle (you stop typing)
  • Uses OpenCode's unified auth - no API keys needed
  • Works with any authenticated AI provider

Installation

npm install @tarquinen/opencode-smart-title

Add to ~/.config/opencode/opencode.json:

{
  "plugin": ["@tarquinen/opencode-smart-title"]
}

Configuration

Edit ~/.config/opencode/smart-title.jsonc:

{
  // Enable or disable the plugin
  "enabled": true,

  // Enable debug logging
  "debug": false,

  // Optional: Use a specific model (otherwise uses smart fallbacks)
  // "model": "anthropic/claude-haiku-4-5",

  // Update title every N idle events (1 = every time you pause)
  "updateThreshold": 1
}

How It Works

Trigger: Updates when session goes idle (you stop typing)

Model Selection:

  • Try configured model (if specified)
  • Try fallback models from authenticated providers in priority order:
    • openai/gpt-5-mini
    • anthropic/claude-haiku-4-5
    • google/gemini-2.5-flash
    • deepseek/deepseek-chat
    • xai/grok-4-fast
    • alibaba/qwen3-coder-flash
    • zai/glm-4.5-flash
    • opencode/big-pickle

Update Threshold:

  • 1 = Update every idle (default)
  • 2 = Update every other idle
  • 3 = Update every third idle, etc.

Troubleshooting

Enable debug logging:

{ "debug": true }

View logs:

tail -f ~/.config/opencode/logs/smart-title/$(date +%Y-%m-%d).log

Plugin not working?

  • Make sure you're authenticated with at least one provider
  • Check that enabled: true in config
  • Restart OpenCode after config changes

License

MIT

Keywords

opencode

FAQs

Package last updated on 21 Nov 2025

Did you know?

Socket

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.

Install

Related posts