server: add cost to readable session files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fee59a2f7c
commit
4aa815b50c
|
|
@ -1391,7 +1391,7 @@ func (s *Server) makeStat(path string) plan9.Dir {
|
||||||
switch base {
|
switch base {
|
||||||
case "ctl", "prompt", "fifo.in":
|
case "ctl", "prompt", "fifo.in":
|
||||||
mode = 0200
|
mode = 0200
|
||||||
case "chat", "usage", "ctxsz", "models", "fifo.out", "offset", "statewait", "systemprompt":
|
case "chat", "usage", "cost", "ctxsz", "models", "fifo.out", "offset", "statewait", "systemprompt":
|
||||||
mode = 0444
|
mode = 0444
|
||||||
case "cfg":
|
case "cfg":
|
||||||
mode = 0666
|
mode = 0666
|
||||||
|
|
|
||||||
Reference in New Issue