fixes
Some checks are pending
format / format (push) Waiting to run
snapshot / publish (push) Waiting to run

This commit is contained in:
Dax Raad 2025-09-22 04:17:09 -04:00
parent a941a82fa2
commit 85a7cf8e98
3 changed files with 3 additions and 15 deletions

View file

@ -169,7 +169,7 @@ function App() {
tab
</text>
<text fg={local.agent.color(local.agent.current().name)}></text>
<text bg={local.agent.color(local.agent.current().name)} fg={Theme.background}>
<text bg={local.agent.color(local.agent.current().name)} fg={Theme.background} wrap={false}>
{" "}
<span style={{ bold: true }}>{local.agent.current().name.toUpperCase()}</span>
<span> AGENT </span>

View file

@ -1132,13 +1132,13 @@ export namespace SessionPrompt {
Session.updatePart({
...part,
state: {
...part.state,
status: "error",
error: "Tool execution aborted",
time: {
start: Date.now(),
end: Date.now(),
},
input: {},
},
})
}

View file

@ -10,19 +10,7 @@ import { Instance } from "../project/instance"
export namespace Snapshot {
const log = Log.create({ service: "snapshot" })
export function init() {
Array.fromAsync(
new Bun.Glob("**/snapshot").scan({
absolute: true,
onlyFiles: false,
cwd: Global.Path.data,
}),
).then((files) => {
for (const file of files) {
fs.rmdir(file, { recursive: true })
}
})
}
export function init() {}
export async function track() {
if (Instance.project.vcs !== "git") return