14 lines
411 B
JavaScript
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 }
|
|
}
|