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

feat(cli): list session token diagnostics in labs

0afd040·

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

Sessions

ba754cd64a09View transcript

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

Changes

2

34 unmodified lines

35
36
37
38
39
40
41
42
43
44
45
68 unmodified lines

114
115
116
117
118
119
120

34 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)