phase 01: type change for command files

This commit is contained in:
Adrian
2026-02-20 13:16:02 -05:00
parent d83c1a29c3
commit da94da90db
6 changed files with 115 additions and 17 deletions

View File

@@ -21,6 +21,7 @@ describe("writeOpenCodeBundle", () => {
config: { $schema: "https://opencode.ai/config.json" },
agents: [{ name: "agent-one", content: "Agent content" }],
plugins: [{ name: "hook.ts", content: "export {}" }],
commandFiles: [],
skillDirs: [
{
name: "skill-one",
@@ -44,6 +45,7 @@ describe("writeOpenCodeBundle", () => {
config: { $schema: "https://opencode.ai/config.json" },
agents: [{ name: "agent-one", content: "Agent content" }],
plugins: [],
commandFiles: [],
skillDirs: [
{
name: "skill-one",
@@ -68,6 +70,7 @@ describe("writeOpenCodeBundle", () => {
config: { $schema: "https://opencode.ai/config.json" },
agents: [{ name: "agent-one", content: "Agent content" }],
plugins: [],
commandFiles: [],
skillDirs: [
{
name: "skill-one",
@@ -99,6 +102,7 @@ describe("writeOpenCodeBundle", () => {
config: { $schema: "https://opencode.ai/config.json", new: "config" },
agents: [],
plugins: [],
commandFiles: [],
skillDirs: [],
}