MCPcopy
hub / github.com/virattt/dexter / append

Method append

src/agent/scratchpad.ts:452–454  ·  view source on GitHub ↗

* Append-only write

(entry: ScratchpadEntry)

Source from the content-addressed store, hash-verified

450 * Append-only write
451 */
452 private append(entry: ScratchpadEntry): void {
453 appendFileSync(this.filepath, JSON.stringify(entry) + '\n');
454 }
455
456 /**
457 * Parse and validate a single JSONL line. Returns null for malformed or invalid entries.

Callers 4

constructorMethod · 0.95
addToolResultMethod · 0.95
addThinkingMethod · 0.95
getFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected