oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1package provider
2
3import "encoding/json"
4
5func CodexStartupNotice(id json.RawMessage, method string, params json.RawMessage) bool {
6 var p struct {
7 AuthMode string `json:"authMode"`
8 }
9 return len(id) == 0 && method == "account/updated" && json.Unmarshal(params, &p) == nil && p.AuthMode == "chatgpt"
10}
11