Commit graph

19 commits

Author SHA1 Message Date
Mario Zechner
7272eb9274 Add artifacts server documentation 2025-12-14 23:36:26 +00:00
badlogic
5c0a84b2d8 Add timestamps to note skill and grep examples for searching 2025-12-13 21:01:32 +00:00
badlogic
da2ae69a83 Add Creating a Skill example and clarify standard CLI tools 2025-12-13 21:00:28 +00:00
badlogic
2e2de3905d Update Message History section and remove Key Concepts 2025-12-13 20:48:47 +00:00
badlogic
f44549cfe8 Simplify Skills section and move before Events 2025-12-13 20:43:16 +00:00
badlogic
728e1461f6 Update Memory section: remove sessions concept, clarify as rules/preferences 2025-12-13 20:35:34 +00:00
badlogic
7d73e1ff6e Replace Claude mentions with LLM in README 2025-12-13 20:33:01 +00:00
badlogic
d4f7e7c4ef Clarify mom's message flow and context management in README 2025-12-13 20:31:04 +00:00
Mario Zechner
e707ac4cd0 coding-agent, mom: add skills API export and mom skills auto-discovery
coding-agent:
- Export loadSkillsFromDir, formatSkillsForPrompt, and related types
- Refactor skills.ts to expose public API

mom:
- Add skills auto-discovery from workspace/skills and channel/skills
- Fix skill loading to use host paths (not Docker container paths)
- Update README and system prompt with SKILL.md format docs
2025-12-13 00:56:10 +01:00
Mario Zechner
e648febfa9 mom: add timezone and external event creation info to README 2025-12-12 23:00:22 +01:00
Mario Zechner
e7d2ac7a5d mom: add Events section to README 2025-12-12 22:57:48 +01:00
badlogic
d277d739b3 docs(mom): add App Home configuration step for enabling direct messages 2025-12-11 22:16:16 +01:00
Mario Zechner
71b776e290 mom: add context usage to thread summary, update docs
- Usage summary now shows context tokens vs model context window
- Updated CHANGELOG.md with all recent changes
- Updated README.md with new file structure (log.jsonl/context.jsonl)
2025-12-11 20:24:05 +01:00
Mario Zechner
706554a5d3 fix(mom): private channel messages not being logged
- Add message.groups to required bot events in README
- Add groups:history and groups:read to required scopes in README
- app_mention handler now logs messages directly instead of relying on message event
- Add deduplication in ChannelStore.logMessage() to prevent double-logging
- Remove redundant current message append in agent.ts (already in log)
2025-12-04 12:24:29 +01:00
Mario Zechner
a59553a881 Fix edit diff line number alignment and whitespace preservation
- Fix line numbers showing incorrect values for edits far from file start
  (e.g., 1,2,3 instead of 336,337,338). Skip count was added after displaying
  lines instead of before.

- Rewrite splitIntoTokensWithAnsi in pi-tui to preserve whitespace as separate
  tokens instead of discarding it. Wrapped lines now maintain proper alignment
  and code indentation.

- Update mom README: rename title, remove em-dashes for cleaner prose
2025-11-27 11:53:00 +01:00
Mario Zechner
0af6742604 Restructure mom README: improve flow, clarify concepts, enhance security section 2025-11-26 23:22:43 +01:00
Mario Zechner
4e01eca40e mom: add working memory system and improve log querying
- Add MEMORY.md files for persistent working memory
  - Global memory: workspace/MEMORY.md (shared across channels)
  - Channel memory: workspace/<channel>/MEMORY.md (channel-specific)
  - Automatically loaded into system prompt on each request

- Enhance JSONL log format with ISO 8601 dates
  - Add 'date' field for easy grepping (e.g., grep '"date":"2025-11-26"')
  - Migrated existing logs to include date field

- Improve log query efficiency
  - Add jq query patterns to prevent context overflow
  - Emphasize limiting NUMBER of messages (10-50), not truncating text
  - Show full message text and attachments in queries
  - Handle null/empty attachments with (.attachments // [])

- Optimize system prompt
  - Add current date/time for date-aware operations
  - Format recent messages as TSV (43% token savings vs raw JSONL)
  - Add efficient query examples with both JSON and TSV output

- Enhanced security documentation
  - Add prompt injection risk warnings
  - Document credential exfiltration scenarios
  - Provide mitigation strategies
2025-11-26 13:21:43 +01:00
Mario Zechner
30964e0c33 mom: Thread-based tool details, improved README, fixed message ordering 2025-11-26 01:48:41 +01:00
Mario Zechner
aa9e058249 mom: Slack bot with abort support, streaming console output, removed sandbox 2025-11-26 00:27:21 +01:00