"use strict";
// ============================================================
// teach-context.ts — Profile → context injection logic
//
// Converts developer profile to context source for @cell injection.
// ============================================================
Object.defineProperty(exports, "__esModule", { value: true });
exports.getProfileForContext = getProfileForContext;
const teach_store_1 = require("./teach-store");
const teach_parser_1 = require("./teach-parser");
function getProfileForContext() {
    const profile = (0, teach_store_1.getFullProfile)();
    if (Object.keys(profile).length === 0)
        return null;
    const contextString = (0, teach_parser_1.profileToContextString)(profile);
    if (!contextString)
        return null;
    return {
        type: 'developer_profile',
        reason: 'developer identity and preferences',
        data: contextString,
        importance: 85, // High priority — identity is critical context
    };
}
//# sourceMappingURL=teach-context.js.map