chore: add sproutclaw git workflow and track local extensions
Some checks failed
CI / build-check-test (push) Has been cancelled
Some checks failed
CI / build-check-test (push) Has been cancelled
Document main/upstream-sync/feature branch strategy, add sync/push scripts, track .pi/agent extensions and webui in git, and disable startup changelog via showChangelogOnStartup. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -89,6 +89,7 @@ export interface Settings {
|
||||
hideThinkingBlock?: boolean;
|
||||
shellPath?: string; // Custom shell path (e.g., for Cygwin users on Windows)
|
||||
quietStartup?: boolean;
|
||||
showChangelogOnStartup?: boolean;
|
||||
shellCommandPrefix?: string; // Prefix prepended to every bash command (e.g., "shopt -s expand_aliases" for alias support)
|
||||
npmCommand?: string[]; // Command used for npm package lookup/install operations, argv-style (e.g., ["mise", "exec", "node@20", "--", "npm"])
|
||||
collapseChangelog?: boolean; // Show condensed changelog after update (use /changelog for full)
|
||||
@@ -780,6 +781,16 @@ export class SettingsManager {
|
||||
this.save();
|
||||
}
|
||||
|
||||
getShowChangelogOnStartup(): boolean {
|
||||
return this.settings.showChangelogOnStartup ?? true;
|
||||
}
|
||||
|
||||
setShowChangelogOnStartup(show: boolean): void {
|
||||
this.globalSettings.showChangelogOnStartup = show;
|
||||
this.markModified("showChangelogOnStartup");
|
||||
this.save();
|
||||
}
|
||||
|
||||
getShellCommandPrefix(): string | undefined {
|
||||
return this.settings.shellCommandPrefix;
|
||||
}
|
||||
|
||||
@@ -858,6 +858,10 @@ export class InteractiveMode {
|
||||
* Only shows new entries since last seen version, skips for resumed sessions.
|
||||
*/
|
||||
private getChangelogForDisplay(): string | undefined {
|
||||
if (!this.settingsManager.getShowChangelogOnStartup()) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
// Skip changelog for resumed/continued sessions (already have messages)
|
||||
if (this.session.state.messages.length > 0) {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user