@nanocollective/nanocoder
Version:
A local-first CLI coding agent that brings the power of agentic coding tools like Claude Code and Gemini CLI to local models or controlled APIs like OpenRouter
14 lines • 481 B
JavaScript
import React from 'react';
/**
* Creates a stub command that is handled specially elsewhere (app.tsx / app-util.ts).
* The handler returns an empty fragment — actual logic lives in the app layer
* where full state context is available.
*/
export function createStubCommand(name, description) {
return {
name,
description,
handler: () => Promise.resolve(React.createElement(React.Fragment)),
};
}
//# sourceMappingURL=create-stub-command.js.map