chore: rename project to clawdbot

This commit is contained in:
Peter Steinberger
2026-01-04 14:32:47 +00:00
parent d48dc71fa4
commit 246adaa119
841 changed files with 4590 additions and 4328 deletions

View File

@@ -1,6 +1,6 @@
import { installSkill } from "../agents/skills-install.js";
import { buildWorkspaceSkillStatus } from "../agents/skills-status.js";
import type { ClawdisConfig } from "../config/config.js";
import type { ClawdbotConfig } from "../config/config.js";
import type { RuntimeEnv } from "../runtime.js";
import type { WizardPrompter } from "../wizard/prompts.js";
import { detectBinary, resolveNodeManagerOptions } from "./onboard-helpers.js";
@@ -30,10 +30,10 @@ function formatSkillHint(skill: {
}
function upsertSkillEntry(
cfg: ClawdisConfig,
cfg: ClawdbotConfig,
skillKey: string,
patch: { apiKey?: string },
): ClawdisConfig {
): ClawdbotConfig {
const entries = { ...cfg.skills?.entries };
const existing = (entries[skillKey] as { apiKey?: string } | undefined) ?? {};
entries[skillKey] = { ...existing, ...patch };
@@ -47,11 +47,11 @@ function upsertSkillEntry(
}
export async function setupSkills(
cfg: ClawdisConfig,
cfg: ClawdbotConfig,
workspaceDir: string,
runtime: RuntimeEnv,
prompter: WizardPrompter,
): Promise<ClawdisConfig> {
): Promise<ClawdbotConfig> {
const report = buildWorkspaceSkillStatus(workspaceDir, { config: cfg });
const eligible = report.skills.filter((s) => s.eligible);
const missing = report.skills.filter(
@@ -109,7 +109,7 @@ export async function setupSkills(
options: resolveNodeManagerOptions(),
})) as "npm" | "pnpm" | "bun";
let next: ClawdisConfig = {
let next: ClawdbotConfig = {
...cfg,
skills: {
...cfg.skills,
@@ -166,7 +166,7 @@ export async function setupSkills(
if (result.stderr) runtime.log(result.stderr.trim());
else if (result.stdout) runtime.log(result.stdout.trim());
runtime.log(
"Tip: run `clawdis doctor` to review skills + requirements.",
"Tip: run `clawdbot doctor` to review skills + requirements.",
);
}
}