feat(ai-profiles): add plugin profile SDK and Cline demo (#342)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
11
examples/cline-ai-plugin/bin/idea-cline-adapter.mjs
Executable file
11
examples/cline-ai-plugin/bin/idea-cline-adapter.mjs
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env node
|
||||
import { runAdapter } from "../src/adapter.mjs";
|
||||
|
||||
try {
|
||||
await runAdapter({ input: process.stdin, output: process.stdout });
|
||||
} catch {
|
||||
process.stderr.write("Cline adapter stopped safely.\n");
|
||||
process.exitCode = 1;
|
||||
} finally {
|
||||
process.stdin.destroy();
|
||||
}
|
||||
Reference in New Issue
Block a user