/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */
// ---------------------------------------------------------------------------
// SessionChangeTracker — tracks files written/edited during the current session
// ---------------------------------------------------------------------------
/**
 * Tracks files written or edited during the current runtime session.
 *
 * Ownership is explicit: the runtime creates one tracker and shares it with
 * write/edit tools plus diff-oriented command surfaces that need to inspect it.
 */
export class SessionChangeTracker {
    changed = new Set();
    recordChange(filePath) {
        this.changed.add(filePath);
    }
    getChangedFiles() {
        return Array.from(this.changed);
    }
    clear() {
        this.changed.clear();
    }
    count() {
        return this.changed.size;
    }
}
