@skj1724/oh-my-opencode 3.22.0 → 3.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/agents/btw-advisor.d.ts +5 -0
  2. package/dist/agents/btw-advisor.test.d.ts +1 -0
  3. package/dist/agents/index.d.ts +1 -0
  4. package/dist/agents/types.d.ts +1 -1
  5. package/dist/cli/index.js +20 -7
  6. package/dist/config/schema.d.ts +137 -3
  7. package/dist/features/boulder-state/event-bus.d.ts +9 -1
  8. package/dist/features/boulder-state/storage.d.ts +1 -0
  9. package/dist/features/boulder-state/types.d.ts +5 -0
  10. package/dist/features/boulder-state/types.test.d.ts +1 -0
  11. package/dist/features/builtin-commands/templates/btw.d.ts +1 -0
  12. package/dist/features/builtin-commands/types.d.ts +1 -1
  13. package/dist/hooks/atlas/plan-completion.test.d.ts +1 -0
  14. package/dist/hooks/index.d.ts +1 -0
  15. package/dist/hooks/plan-completion/archive.test.d.ts +1 -0
  16. package/dist/hooks/plan-completion/extract-learnings.test.d.ts +1 -0
  17. package/dist/hooks/plan-completion/generate-report.test.d.ts +1 -0
  18. package/dist/hooks/plan-completion/index.d.ts +13 -0
  19. package/dist/hooks/plan-completion/index.test.d.ts +1 -0
  20. package/dist/hooks/plan-completion/integration.test.d.ts +1 -0
  21. package/dist/hooks/plan-completion/update-summary.test.d.ts +1 -0
  22. package/dist/index.js +761 -272
  23. package/dist/shared/frontmatter.d.ts +7 -0
  24. package/dist/tools/btw/constants.d.ts +1 -0
  25. package/dist/tools/btw/index.d.ts +3 -0
  26. package/dist/tools/btw/post-processor.d.ts +1 -0
  27. package/dist/tools/btw/post-processor.test.d.ts +1 -0
  28. package/dist/tools/btw/tools.d.ts +3 -0
  29. package/dist/tools/btw/tools.test.d.ts +1 -0
  30. package/dist/tools/btw/types.d.ts +3 -0
  31. package/dist/tools/index.d.ts +1 -0
  32. package/package.json +1 -1
@@ -4,4 +4,11 @@ export interface FrontmatterResult<T = Record<string, unknown>> {
4
4
  hadFrontmatter: boolean;
5
5
  parseError: boolean;
6
6
  }
7
+ export interface CompletionAction {
8
+ type: string;
9
+ enabled: boolean;
10
+ message?: string;
11
+ command?: string;
12
+ }
7
13
  export declare function parseFrontmatter<T = Record<string, unknown>>(content: string): FrontmatterResult<T>;
14
+ export declare function parseCompletionActions(planPath: string): CompletionAction[];
@@ -0,0 +1 @@
1
+ export declare const BTW_TOOL_DESCRIPTION: string;
@@ -0,0 +1,3 @@
1
+ export { createBtwTool } from "./tools";
2
+ export { postProcessBtwResponse } from "./post-processor";
3
+ export type { BtwArgs } from "./types";
@@ -0,0 +1 @@
1
+ export declare function postProcessBtwResponse(response: string): string;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { type PluginInput, type ToolDefinition } from "@opencode-ai/plugin";
2
+ import type { BackgroundManager } from "../../features/background-agent";
3
+ export declare function createBtwTool(ctx: PluginInput, backgroundManager: BackgroundManager): ToolDefinition;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ export interface BtwArgs {
2
+ question: string;
3
+ }
@@ -11,5 +11,6 @@ type OpencodeClient = PluginInput["client"];
11
11
  export { createCallOmoAgent } from "./call-omo-agent";
12
12
  export { createLookAt } from "./look-at";
13
13
  export { createDelegateTask } from "./delegate-task";
14
+ export { createBtwTool } from "./btw";
14
15
  export declare function createBackgroundTools(manager: BackgroundManager, client: OpencodeClient): Record<string, ToolDefinition>;
15
16
  export declare const builtinTools: Record<string, ToolDefinition>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skj1724/oh-my-opencode",
3
- "version": "3.22.00",
3
+ "version": "3.23.01",
4
4
  "description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",