You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,9 @@ packages/
28
28
-**Habit Tracking**: 8 AI tools in `packages/gateway/src/tools/habit-tools.ts`, DB repo in `db/repositories/habits.ts` (645 lines), REST API in `routes/productivity.ts`, HabitsPage UI with streak heatmap
29
29
-**Utilities**: `TTLCache<K,V>` in `packages/gateway/src/utils/ttl-cache.ts` β generic cache with auto-prune. `chat-post-processor.ts` in `assistant/` β extracted from conversation-service
-**Cost tracking**: `calculateExecutionCost(provider, model, usage)` in `agent-runner-utils.ts` β wraps `@ownpilot/core``calculateCost()`. Used by BackgroundAgentRunner, SubagentRunner, FleetWorker, SoulHeartbeatService
31
+
-**Cost tracking**: `calculateExecutionCost(provider, model, usage)` in `agent-runner-utils.ts` β wraps `@ownpilot/core``calculateCost()`. Used by ClawRunner, SubagentRunner, FleetWorker, SoulHeartbeatService
32
32
-**Workflow system**: 24 node types (including `clawNode`), copilot prompt in `routes/workflow-copilot-prompt.ts`, executors in `services/workflow/node-executors.ts`, service in `services/workflow/workflow-service.ts`. Centralized `dispatchNode()` method handles all node types. Copilot uses short type names (e.g. `"llm"`, `"claw"`) β UI's `convertDefinitionToReactFlow()` converts to `*Node` suffix
33
-
-**Fleet Command**: FleetManager + FleetWorker with 4 worker types (ai-chat, coding-cli, api-call, mcp-bridge). 68 tests in `fleet-manager.test.ts`. Task dependencies cascade failures via `failDependentTasks()`
33
+
-**Fleet Command**: FleetManager + FleetWorker with 5 worker types (ai-chat, coding-cli, api-call, mcp-bridge, claw). 68 tests in `fleet-manager.test.ts`. Task dependencies cascade failures via `failDependentTasks()`
@@ -722,7 +709,7 @@ Agents are AI assistants with specific system prompts, tool assignments, model p
722
709
723
710
## Soul Agents
724
711
725
-
Soul agents are autonomous agents with rich identity, personality, and heartbeat-driven lifecycle. They combine the scheduling power of background agents with a full identity framework.
712
+
Soul agents are autonomous agents with rich identity, personality, and heartbeat-driven lifecycle. They combine scheduling with a full identity framework.
726
713
727
714
### Soul Configuration
728
715
@@ -804,59 +791,14 @@ The creator uses a dedicated agent with a specialized system prompt, ensuring it
804
791
805
792
---
806
793
807
-
## Background Agents
808
-
809
-
Persistent autonomous agents that run independently from user chat sessions.
810
-
811
-
### Configuration
812
-
813
-
```typescript
814
-
{
815
-
name: string// Agent name
816
-
mission: string// What the agent should accomplish
|`error`| Agent encountered an error (auto-pauses after 5 consecutive errors) |
840
-
841
-
### Features
842
-
843
-
-**Full tool access** β Same 250+ tools as chat agents, plus extensions, plugins, and MCP tools
844
-
-**Memory injection** β Agent system prompt enhanced with relevant memories and active goals
845
-
-**Workspace isolation** β Each agent gets a dedicated file workspace
846
-
-**Stop conditions** β `MISSION_COMPLETE` sentinel or `max_cycles:N` to auto-stop
847
-
-**Budget tracking** β Auto-stop when budget exceeded
848
-
-**Session persistence** β State saved to DB every 30 seconds; auto-recovery on restart
849
-
850
-
---
851
-
852
794
## Subagents
853
795
854
-
Ephemeral child agents for parallel task delegation. Unlike background agents (which are persistent and cycle-based), subagents run once to completion and are discarded.
796
+
Ephemeral child agents for parallel task delegation. Unlike claw agents (which are persistent and cycle-based), subagents run once to completion and are discarded.
0 commit comments