// assistantAliases maps transcript type/role values to the canonical "assistant" kind.…
Jump to turn (13)
- 1// assistantAliases maps transcript type/role values to the canonical "assistant
- 2yeah clean up any of the dead code in transcript/compact
- 3why was it using gemini stuff for claude to begin with? that seems totally wrong
- 4make sure all the agents only have parsing for their corresponding agents
- 5make sure all the compact files only have parsing for their corresponding agents
- 6droid.go is for Factory AI droid but Factory AI Droid goes to jsonl.go? that's c
- 7Ok, but why is there droid-specific code in the compact.go file? droid-specific
- 8// userAliases maps JSONL type/role values to the canonical "user" kind. // Cove
- 9if we're checking TypeUser, shouldn't TypeUser also be updated to include "human
- 10// convertLine converts a single JSONL line into zero or more compact transcript
- 11Check the diff between cmd/entire/cli/transcript/compact/testdata/opencodeexpect
- 12compare it against cmd/entire/cli/transcript/testdata/opencodeexpected.jsonl on
- 13simplify /simplify
- User
// assistantAliases maps transcript type/role values to the canonical "assistant" kind. var assistantAliases = map[string]bool{ transcript.TypeAssistant: true, "gemini": true, }
why is this set for claudecode compact?
Assistant· claude-opus-4-6
Now let me check if this file is actually shared across agents (not just Claude Code).
The comment on
compactJSONLat line 48 answers it: this function handles Claude Code, Cursor, and Factory AI Droid transcripts. And looking at thedroid.gofile also referencesassistantAliases:Assistant· claude-opus-4-6
Now let me check why "gemini" is there — is it because Gemini CLI transcripts also use
compactJSONL?