Files
bare-operating-system/kernel/share/agent-workspace/index.stub.js
T
2026-04-22 02:45:44 -04:00

14 lines
411 B
JavaScript

/**
* Optional ~/.agent/index.js (seeded stub)
*
* Agent-style createAgent(llm) entrypoint for host projects.
* The stock OS agent is /bin/agent (bare-os-coreutils bundle).
*/
import { loadWorkspace } from './loader.js'
export { discoverSkills, loadSkill } from './skill-loader.js'
export async function createAgent(_llmInstance) {
const systemPrompt = await loadWorkspace()
return { systemPrompt }
}