Skip to content

an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions

fix: resolve merge markers from a botched dirty-tree checkout (errand side kept)

Gulumed4f91b965e3
diff --git a/src/renderer/src/scene/office/OfficeFloor.tsx b/src/renderer/src/scene/office/OfficeFloor.tsx
index 6d8533b6..56fd948d 100644
--- a/src/renderer/src/scene/office/OfficeFloor.tsx
+++ b/src/renderer/src/scene/office/OfficeFloor.tsx
@@ -70,6 +70,7 @@ interface CoffeeRun {
timer: number;
}
+
interface Runtime {
character: Character;
seatIndex: number | null;
@@ -950,6 +951,15 @@ export function OfficeFloor() {
}
releaseRun(rt);
}
+ // And for a coffee run: real work cancels it mid-stride — a mug already
+ // in hand simply rides along to the desk (cupCarryHome parks it there).
+ if (rt.run) {
+ if (agent.status === 'idle' || agent.status === 'success') {
+ c.setStatusGlyph(agent.status === 'success' ? 'success' : 'none');
+ return;
+ }
+ releaseRun(rt);
+ }
// A thought cloud above the head shows what the agent is doing RIGHT NOW
// (its live `action`, e.g. "edit App.tsx"). Working → sit at the desk;