Commit Graph

16 Commits

Author SHA1 Message Date
cbe3f86890 refactor: router is pure relay — no replies, no side effects
Agent sees system messages from Tracker and acts via tools.
Router only forwards message.new events to agent session.
2026-02-24 12:11:49 +01:00
64eca81f5a refactor: router has zero side effects — agent controls everything via tools
Removed: auto in_progress, auto in_review, selfAssignedTasks tracking.
Router only forwards events to agent session and posts replies.
Agent decides status changes, task flow, etc. through MCP tools.
2026-02-24 11:57:19 +01:00
e58c39dc0c fix: skip auto-processing for self-assigned tasks (taken via tool call)
When agent takes a task via take_task tool in conversation, the
task.assigned event is now skipped (no duplicate in_progress→in_review).
2026-02-24 11:45:11 +01:00
9d897621a7 fix: session_id generated at agent load (not lazy) 2026-02-24 11:19:24 +01:00
a9b2d43f84 fix: lazy session_id — generated on first agent invocation, not at startup 2026-02-24 11:18:00 +01:00
cb618a195e feat: persistent session UUID in agent.json
- session_id auto-generated on first run, saved to agent.json
- Survives agent renames (slug changes don't break session history)
- Directory mode: agent works inside its folder (agentHome = workspace)
2026-02-24 10:45:48 +01:00
a89e9a1bb9 feat: offset param in list_messages tool (pagination) 2026-02-24 10:30:49 +01:00
a8f205609b fix: single session per agent instance
One agent = one session. Chat, tasks, tools — all share the same
context. Session ID: 'agent-{slug}' (stable across restarts).
2026-02-23 22:28:57 +01:00
b2a620185f fix: stable session IDs for chat/task context persistence
- Chat messages use 'chat-{chat_id}' session → conversation history preserved
- Task messages use 'task-{task_id}' session → task context preserved
- Previously every message created a new random session (no memory)
2026-02-23 22:25:57 +01:00
7dd39f65f6 feat: MCP-compatible tracker tools (Function Calling hybrid)
- 14 tools: tasks (7), steps (2), messages (2), projects (2), members (1)
- TypeBox schemas for parameter validation
- Injected via customTools into Pi Agent Core session
- Tools wrap TrackerClient REST methods
2026-02-23 21:51:02 +01:00
58f5ebca68 fix: restore file attachment stubs with proper TODO 2026-02-23 14:12:39 +01:00
f97aa64142 fix: align with AGENT-PROTOCOL v1.0 — correct WS types, heartbeat, REST auth 2026-02-23 13:57:32 +01:00
Eugene
368b9abf69 update 2026-02-23 15:48:14 +03:00
d04d9e0d3a docs: add remote agent URLs (agent-ws, agent-api) 2026-02-23 12:53:24 +01:00
01d90116f4 docs: full Tracker integration protocol for agent development 2026-02-23 12:46:42 +01:00
Eugene
0525cea647 init 2026-02-21 02:41:39 +03:00