brand: rename bot identity from picoclaw to aldo
Rebrand all user-facing output: system prompt identity, CLI messages, version output, onboard wizard, status command, launcher TUI description, logo emoji, and temp file prefixes. Import paths and package names are unchanged (still picoclaw internally). Made-with: Cursor
This commit is contained in:
parent
7fe4deff0d
commit
121e939236
9 changed files with 13 additions and 13 deletions
|
|
@ -181,7 +181,7 @@ func refreshMainMenu(menu *Menu, s *appState) {
|
|||
},
|
||||
{
|
||||
Label: "Start Talk",
|
||||
Description: "Open picoclaw agent in terminal",
|
||||
Description: "Open aldo agent in terminal",
|
||||
Action: func() {
|
||||
s.requestStartTalk()
|
||||
},
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"github.com/sipeed/picoclaw/pkg/config"
|
||||
)
|
||||
|
||||
const Logo = "🦞"
|
||||
const Logo = "🤖"
|
||||
|
||||
var (
|
||||
version = "dev"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ func onboard() {
|
|||
workspace := cfg.WorkspacePath()
|
||||
createWorkspaceTemplates(workspace)
|
||||
|
||||
fmt.Printf("%s picoclaw is ready!\n", internal.Logo)
|
||||
fmt.Printf("%s aldo is ready!\n", internal.Logo)
|
||||
fmt.Println("\nNext steps:")
|
||||
fmt.Println(" 1. Add your API key to", configPath)
|
||||
fmt.Println("")
|
||||
|
|
@ -43,7 +43,7 @@ func onboard() {
|
|||
fmt.Println("")
|
||||
fmt.Println(" See README.md for 17+ supported providers.")
|
||||
fmt.Println("")
|
||||
fmt.Println(" 2. Chat: picoclaw agent -m \"Hello!\"")
|
||||
fmt.Println(" 2. Chat: aldo agent -m \"Hello!\"")
|
||||
}
|
||||
|
||||
func createWorkspaceTemplates(workspace string) {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ func statusCmd() {
|
|||
|
||||
configPath := internal.GetConfigPath()
|
||||
|
||||
fmt.Printf("%s picoclaw Status\n", internal.Logo)
|
||||
fmt.Printf("%s aldo Status\n", internal.Logo)
|
||||
fmt.Printf("Version: %s\n", internal.FormatVersion())
|
||||
build, _ := internal.FormatBuildInfo()
|
||||
if build != "" {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ func NewVersionCommand() *cobra.Command {
|
|||
}
|
||||
|
||||
func printVersion() {
|
||||
fmt.Printf("%s picoclaw %s\n", internal.Logo, internal.FormatVersion())
|
||||
fmt.Printf("%s aldo %s\n", internal.Logo, internal.FormatVersion())
|
||||
build, goVer := internal.FormatBuildInfo()
|
||||
if build != "" {
|
||||
fmt.Printf(" Build: %s\n", build)
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ import (
|
|||
)
|
||||
|
||||
func NewPicoclawCommand() *cobra.Command {
|
||||
short := fmt.Sprintf("%s picoclaw - Personal AI Assistant v%s\n\n", internal.Logo, internal.GetVersion())
|
||||
short := fmt.Sprintf("%s aldo - Personal AI Assistant v%s\n\n", internal.Logo, internal.GetVersion())
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "picoclaw",
|
||||
Use: "aldo",
|
||||
Short: short,
|
||||
Example: "picoclaw list",
|
||||
Example: "aldo list",
|
||||
}
|
||||
|
||||
cmd.AddCommand(
|
||||
|
|
|
|||
|
|
@ -61,9 +61,9 @@ func NewContextBuilder(workspace string) *ContextBuilder {
|
|||
func (cb *ContextBuilder) getIdentity() string {
|
||||
workspacePath, _ := filepath.Abs(filepath.Join(cb.workspace))
|
||||
|
||||
return fmt.Sprintf(`# picoclaw 🦞
|
||||
return fmt.Sprintf(`# aldo 🤖
|
||||
|
||||
You are picoclaw, a helpful AI assistant.
|
||||
You are aldo, a helpful AI assistant.
|
||||
|
||||
## Workspace
|
||||
Your workspace is at: %s
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ func DownloadToFile(ctx context.Context, client *http.Client, req *http.Request,
|
|||
}
|
||||
|
||||
// Create temp file.
|
||||
tmpFile, err := os.CreateTemp("", "picoclaw-dl-*")
|
||||
tmpFile, err := os.CreateTemp("", "aldo-dl-*")
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("failed to create temp file: %w", err)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ func DownloadFile(url, filename string, opts DownloadOptions) string {
|
|||
opts.LoggerPrefix = "utils"
|
||||
}
|
||||
|
||||
mediaDir := filepath.Join(os.TempDir(), "picoclaw_media")
|
||||
mediaDir := filepath.Join(os.TempDir(), "aldo_media")
|
||||
if err := os.MkdirAll(mediaDir, 0o700); err != nil {
|
||||
logger.ErrorCF(opts.LoggerPrefix, "Failed to create media directory", map[string]any{
|
||||
"error": err.Error(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue