Set up project scaffold: Bun/OpenCode plugin with registry pattern
- AGENTS.md adapted from taskgraph for this Bun/TypeScript plugin - Dual MIT/Apache-2.0 licenses - Package.json, tsconfig, biome config following open-memory pattern - Skeleton src/ with registry-pattern tasks tool (help operation working) - Opencode.json plugin config - .gitignore for dist, node_modules, lockb - Remove typo .gitingore files, proper .gitignore in .opencode/
This commit is contained in:
10
src/index.ts
Normal file
10
src/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { Plugin } from "@opencode-ai/plugin";
|
||||
import { createTools } from "./tools.js";
|
||||
|
||||
const OpenTasksPlugin: Plugin = async (ctx) => {
|
||||
return {
|
||||
tool: createTools(ctx),
|
||||
};
|
||||
};
|
||||
|
||||
export default OpenTasksPlugin;
|
||||
Reference in New Issue
Block a user