- Restored docs/ directory that was accidentally deleted by `git add -A` in the v0.2.3 release script - Replaced generic "P" favicon with actual paperclip icon using brand primary color (#2563EB) - Added light/dark logo SVGs for Mintlify navbar (paperclip icon + wordmark) - Updated docs.json with logo configuration for dark/light mode - Fixed release.sh to stage only release-related files instead of `git add -A` to prevent sweeping unrelated changes into release commits Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
title, summary
| title | summary |
|---|---|
| Process Adapter | Generic shell process adapter |
The process adapter executes arbitrary shell commands. Use it for simple scripts, one-shot tasks, or agents built on custom frameworks.
When to Use
- Running a Python script that calls the Paperclip API
- Executing a custom agent loop
- Any runtime that can be invoked as a shell command
When Not to Use
- If you need session persistence across runs (use
claude_localorcodex_local) - If the agent needs conversational context between heartbeats
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
command |
string | Yes | Shell command to execute |
cwd |
string | No | Working directory |
env |
object | No | Environment variables |
timeoutSec |
number | No | Process timeout |
How It Works
- Paperclip spawns the configured command as a child process
- Standard Paperclip environment variables are injected (
PAPERCLIP_AGENT_ID,PAPERCLIP_API_KEY, etc.) - The process runs to completion
- Exit code determines success/failure
Example
An agent that runs a Python script:
{
"adapterType": "process",
"adapterConfig": {
"command": "python3 /path/to/agent.py",
"cwd": "/path/to/workspace",
"timeoutSec": 300
}
}
The script can use the injected environment variables to authenticate with the Paperclip API and perform work.