mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
Remove contextMode, consolidate wake policies, and default serveUi to true
Drop the unused contextMode field from the agent schema, shared types, validators, and all UI references. Merge wakeOnOnDemand and wakeOnAutomation into a single wakeOnDemand toggle. Default serveUi to true and remove the onboarding prompt for it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7ca5cfd505
commit
8c2bf0a2e6
14 changed files with 11 additions and 69 deletions
|
|
@ -34,7 +34,7 @@ function defaultConfig(): PaperclipConfig {
|
|||
},
|
||||
server: {
|
||||
port: 3100,
|
||||
serveUi: false,
|
||||
serveUi: true,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,16 +20,5 @@ export async function promptServer(): Promise<ServerConfig> {
|
|||
}
|
||||
|
||||
const port = Number(portStr) || 3100;
|
||||
|
||||
const serveUi = await p.confirm({
|
||||
message: "Serve the UI from the server?",
|
||||
initialValue: false,
|
||||
});
|
||||
|
||||
if (p.isCancel(serveUi)) {
|
||||
p.cancel("Setup cancelled.");
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
return { port, serveUi };
|
||||
return { port, serveUi: true };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue