MCPcopy
hub / github.com/CodebuffAI/codebuff / capture

Method capture

freebuff/e2e/utils/freebuff-session.ts:150–152  ·  view source on GitHub ↗

Capture current terminal output, optionally waiting first.

(waitSeconds?: number)

Source from the content-addressed store, hash-verified

148
149 /** Capture current terminal output, optionally waiting first. */
150 async capture(waitSeconds?: number): Promise<string> {
151 return tmuxCapture(this.name, { waitSeconds, noSave: true })
152 }
153
154 /** Capture and auto-save to the session logs directory with a label. */
155 async captureLabeled(label: string, waitSeconds?: number): Promise<string> {

Callers 15

waitForFileContentMethod · 0.95
waitForReadyMethod · 0.95
waitForTextMethod · 0.95
ReferrerTrackerFunction · 0.80
SetupGuideFunction · 0.80
handleCopyFunction · 0.80
FAQListFunction · 0.80
HomeClientFunction · 0.80
GetStartedClientFunction · 0.80
createFreebuffTmuxToolsFunction · 0.80

Calls 1

tmuxCaptureFunction · 0.90

Tested by 1

openHelpFunction · 0.64