feat(cli): list session token diagnostics in labs · Entire

feat(cli): list session token diagnostics in labs

bfdce73·

peyton-alt·2w ago·2 files·+8 added/-0 removed

Sessions

bd550c3da02aView transcript

[?
Move Session Tokens Under LabsCodex·GPT-5.5·1 step](/content/gh/entireio/cli/session/019f13fe-e5fb-76a3-b973-ba3067145518#timeline-bd550c3da02a/index.html)

Changes

2

39 unmodified lines

40
41
42
43
44
45
46
47
48
49
50
68 unmodified lines

119
120
121
122
123
124
125

39 unmodified lines

Invocation:  "entire tokens profile",
        Summary:     "Aggregate token usage across committed checkpoints",
        },
        {
        CommandPath: []string{"session", "tokens"},
        Invocation:  "entire sessions tokens",
        Summary:     "Show token usage and recommendations for a session",
        },
        {
        CommandPath: []string{"org"},
        Invocation:  "entire org",
68 unmodified lines

entire investigate --help
  entire tokens --help
  entire tokens profile --help
  entire sessions tokens --help
  entire org --help
  entire project --help
  entire repo --help

Mcmd/entire/cli/labs.go+6

28 unmodified lines

29
30
31
32
33
34
35
36

28 unmodified lines

"entire tokens",
        "entire tokens profile",
        "entire tokens profile --help",
        "entire sessions tokens",
        "entire sessions tokens --help",
    } {
        if !strings.Contains(got, want) {
            t.Fatalf("entire labs output missing %q:\n%s", want, got)