MCPcopy Create free account
hub / github.com/compozy/agh / sessionPromptValues

Function sessionPromptValues

internal/cli/session.go:1275–1290  ·  view source on GitHub ↗
(result SessionPromptResultRecord)

Source from the content-addressed store, hash-verified

1273}
1274
1275func sessionPromptValues(result SessionPromptResultRecord) []string {
1276 return []string{
1277 result.Status,
1278 string(result.Mode),
1279 strconv.FormatBool(result.Queued),
1280 strconv.FormatBool(result.Staged),
1281 strconv.FormatBool(result.Interrupted),
1282 result.QueueEntryID,
1283 strconv.Itoa(result.QueuePosition),
1284 strconv.FormatInt(result.QueueGeneration, 10),
1285 result.PreviousTurnID,
1286 result.NewTurnID,
1287 strconv.Itoa(result.CanceledQueuedEntries),
1288 string(result.FallbackModeIfNoToolResult),
1289 }
1290}
1291
1292func filterActiveSessions(items []SessionRecord) []SessionRecord {
1293 filtered := make([]SessionRecord, 0, len(items))

Callers 1

sessionPromptBundleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected