npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

opencode-seamless-agent

v0.1.4

Published

A OpenCode CLI plugin that makes IA Agent requiring user confirmation before actions are executed.

Downloads

1,915

Readme

Seamless Agent

npm version License: MIT

A OpenCode CLI plugin that makes IA Agent require user confirmation before actions are executed. This adds an extra layer of safety and control to automated processes.

Features

  • Action interception - Captures IA Agent actions before execution
  • User confirmation - Prompts for approval on each action
  • Seamless integration - Works transparently with OpenCode CLI
  • Configurable behavior - Customize confirmation prompts and rules

Requirements

  • OpenCode SDK ≥ 1.0.126 - Required for agent context preservation and message insertion patterns

Installation

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

{
  "plugin": ["opencode-seamless-agente"]
}

OpenCode auto-installs plugins on startup.

Version Pinning

Pin to a specific version:

{
  "plugin": ["[email protected]"]
}

Plugin Updates

Check installed version:

cat ~/.cache/opencode/node_modules/opencode-seamless-agente/package.json | grep version

Force update to latest:

rm -rf ~/.cache/opencode

Then restart OpenCode.

Quick Start

1. Install the Plugin

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

{
  "plugin": ["opencode-seamless-agente"]
}

2. Restart OpenCode

The plugin will load and start intercepting IA Agent actions.

3. Use the IA Agent

Once installed, the askUser tool is automatically available to the IA Agent in OpenCode CLI.

Recommended System Prompt

To ensure the AI always asks for your confirmation before completing tasks, add the following to your custom instructions or system prompt:

Always use the askUser tool before completing any task to confirm with the user that the request was fulfilled correctly.

You can add this into your OpenCode instructions file or project configuration.

Usage

When the IA Agent use this tool, the following should happen:

  1. A Notification will appears in the OpenCode CLI console
  2. Type your response
  3. The agent continues based on your input

Troubleshooting

Plugin not loading?

  • Verify plugin is listed in opencode.json
  • Check console for loading errors
  • Restart OpenCode after configuration changes

No confirmation prompts?

  • Check if the model was correctly instructed to use the took.
  • Ask to the agent if the tool askUser is available. If it's not, try reinstalling/updating the plugin

Contributing

Contributions welcome! Fork, create a feature branch, and submit a PR.

License

MIT - see LICENSE

References


Not affiliated with OpenAI or Anthropic. This is an independent open-source project.