MCPcopy Create free account

hub / github.com/cs50/ddb50.vsix / functions

Functions20 in github.com/cs50/ddb50.vsix

↓ 9 callersFunctionaddMessage
({ id = uuidv4(), text, fromDuck }, askGpt = true)
static/ddb.js:117
↓ 4 callersFunctiongetEnergy
* Gets ddbEnergy from local storage * (can regenerate based on elapsed time) * @param {tf} regen * @returns {number|null} ddbEnergy
static/ddb.js:280
↓ 4 callersMethodwebviewDeltaUpdate
(id: string, content: string)
src/extension.ts:299
↓ 3 callersFunctionresetMessages
()
static/ddb.js:143
↓ 3 callersFunctionsetEnergy
* Sets ddbEnergy in local storage, renders changes * @param {number} ddbEnergy
static/ddb.js:326
↓ 2 callersMethodgetGptResponse
(id: string, payload: any, contextMessage: string="", chat = true)
src/extension.ts:198
↓ 2 callersFunctionreply
(prevMsg)
static/ddb.js:139
↓ 2 callersFunctionuuidv4
()
static/ddb.js:342
↓ 1 callersMethodcreateDisplayMessage
(message: string)
src/extension.ts:184
↓ 1 callersFunctiongetGptResponse
(id, message)
static/ddb.js:89
↓ 1 callersMethodgetHtmlForWebview
(webview: vscode.Webview)
src/extension.ts:308
↓ 1 callersFunctiongetTiredMessage
* Gets a random message when ddb is tired * @param {string} id
static/ddb.js:101
↓ 1 callersFunctionincreaseEnergy
* Increases ddbEnergy by specified amount, then renders changes * @param {number} increaseAmount
static/ddb.js:258
↓ 1 callersFunctionrenderEnergy
* Renders ddb's energy bar in the DOM * @param {number} ddbEnergy
static/ddb.js:200
↓ 1 callersFunctionrestoreMessages
()
static/ddb.js:154
Functionactivate
(context: vscode.ExtensionContext)
src/extension.ts:15
Methodconstructor
( private readonly _extensionUri: vscode.Uri, private readonly context: vscode.ExtensionContex
src/extension.ts:147
Functiondeactivate
()
src/extension.ts:367
Functionresize
(e)
static/ddb.js:385
MethodresolveWebviewView
( webviewView: vscode.WebviewView, _context: vscode.WebviewViewResolveContext, _token:
src/extension.ts:152