9e89ca4a9e
Add --chrome flag support for Claude adapter. Detect max-turns exhaustion (via subtype, stop_reason, or result text) and clear the session to prevent stale session re-use. Add unit tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
515 B
TypeScript
24 lines
515 B
TypeScript
import type { CreateConfigValues } from "@paperclip/adapter-utils";
|
|
|
|
export const defaultCreateValues: CreateConfigValues = {
|
|
adapterType: "claude_local",
|
|
cwd: "",
|
|
promptTemplate: "",
|
|
model: "",
|
|
thinkingEffort: "",
|
|
chrome: false,
|
|
dangerouslySkipPermissions: false,
|
|
search: false,
|
|
dangerouslyBypassSandbox: false,
|
|
command: "",
|
|
args: "",
|
|
extraArgs: "",
|
|
envVars: "",
|
|
envBindings: {},
|
|
url: "",
|
|
bootstrapPrompt: "",
|
|
maxTurnsPerRun: 80,
|
|
heartbeatEnabled: false,
|
|
intervalSec: 300,
|
|
};
|