Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
feat: add JSONL transcript content block models for state parsing
libokaie02709ed5c4a
diff --git a/CodePulse-macOS/Utilities/JSONLTailReader.swift b/CodePulse-macOS/Utilities/JSONLTailReader.swiftindex 7851e207..6f0ce9c0 100644--- a/CodePulse-macOS/Utilities/JSONLTailReader.swift+++ b/CodePulse-macOS/Utilities/JSONLTailReader.swift@@ -26,6 +26,53 @@ struct JSONLEntry: Codable {let timestamp: String?}+// MARK: - Transcript Content Blocks++struct JSONLContentBlock: Codable {+ let type: String+ let id: String?+ let name: String?+ let input: JSONLToolInput?+ let toolUseId: String?++ enum CodingKeys: String, CodingKey {+ case type, id, name, input+ case toolUseId = "tool_use_id"+ }+}++struct JSONLToolInput: Codable {+ let command: String?+ let filePath: String?+ let pattern: String?++ enum CodingKeys: String, CodingKey {+ case command+ case filePath = "file_path"+ case pattern+ }+}++struct JSONLTranscriptMessage: Codable {+ let role: String?+ let model: String?+ let usage: JSONLUsage?+ let content: [JSONLContentBlock]?+ let stopReason: String?++ enum CodingKeys: String, CodingKey {+ case role, model, usage, content+ case stopReason = "stop_reason"+ }+}++struct JSONLTranscriptEntry: Codable {+ let type: String?+ let subtype: String?+ let message: JSONLTranscriptMessage?+ let timestamp: String?+}+struct JSONLSessionInfo {var model: String = "Unknown"var latestInputTokens: Int = 0 // Latest turn's input tokens (for context%)