Resources

Cline Paperclip Adapter

External Paperclip adapter that wraps Cline CLI 2.x as a managed subprocess. Passes prompts as arguments, parses JSON output, and maintains task IDs for session resumption across heartbeats — verified across nine consecutive 30-second heartbeats resuming the same task.

External [Paperclip](https://github.com/paperclipai/paperclip) adapter that integrates [Cline CLI 2.x](https://github.com/cline/cline) as a managed subprocess. Wraps Cline, passes prompts as arguments, parses JSON output, and maintains task IDs for session resumption across heartbeats.

Part of the [@superbiche/paperclip-adapters](https://github.com/superbiche/paperclip-adapters) external adapter pack — runtime support for agent CLIs beyond Paperclip's builtin set.

Verified behavior

Session persistence demonstrated through nine consecutive 30-second heartbeats resuming the same task Watchdog terminates runs on hang-prone requests, categorizing them with specific error codes Token aggregation and event discrimination verified against Cline's native implementation

Install

bash curl -X POST http://127.0.0.1:3100/api/adapters/install \ -H 'content-type: application/json' \ -d '{"packageName":"@superbiche/cline-paperclip-adapter"}'

Requires a pre-authenticated Cline configuration directory — initialize once with the Cline CLI using your API credentials and model selection.

Configuration

Adapter type: "clinelocal". Required fields include command path, config directory, model, and timeout values. Full configuration schema is exposed via the Paperclip API.

License

Visit resource

Shared by superbiche