refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -262,7 +262,7 @@ async function waitForLocalCallback(params: {
|
||||
res.end(
|
||||
"<!doctype html><html><head><meta charset='utf-8'/></head>" +
|
||||
"<body><h2>Gemini CLI OAuth complete</h2>" +
|
||||
"<p>You can close this window and return to Clawdbot.</p></body></html>",
|
||||
"<p>You can close this window and return to Moltbot.</p></body></html>",
|
||||
);
|
||||
|
||||
finish(undefined, { code, state });
|
||||
@@ -367,7 +367,7 @@ async function discoverProject(accessToken: string): Promise<string> {
|
||||
Authorization: `Bearer ${accessToken}`,
|
||||
"Content-Type": "application/json",
|
||||
"User-Agent": "google-api-nodejs-client/9.15.1",
|
||||
"X-Goog-Api-Client": "gl-node/clawdbot",
|
||||
"X-Goog-Api-Client": "gl-node/moltbot",
|
||||
};
|
||||
|
||||
const loadBody = {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"name": "@moltbot/google-gemini-cli-auth",
|
||||
"version": "2026.1.26",
|
||||
"type": "module",
|
||||
"description": "Clawdbot Gemini CLI OAuth provider plugin",
|
||||
"clawdbot": {
|
||||
"description": "Moltbot Gemini CLI OAuth provider plugin",
|
||||
"moltbot": {
|
||||
"extensions": [
|
||||
"./index.ts"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user