fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)

feat(ai): allow overriding oauth callback bind host closes #3396 (#3409) master