drizzy-agent 0.2.0 → 0.3.0

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 (71) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +19 -3
  3. package/dist/cli/config-manager/config-context.d.ts +1 -1
  4. package/dist/cli/config-manager/detect-and-remove-oh-my-opencode.d.ts +29 -0
  5. package/dist/cli/config-manager/detect-current-config.d.ts +13 -1
  6. package/dist/cli/config-manager/generate-drizzy-config.d.ts +2 -0
  7. package/dist/cli/config-manager/oh-my-opencode-paths.d.ts +6 -0
  8. package/dist/cli/config-manager/write-drizzy-config.d.ts +2 -0
  9. package/dist/cli/config-manager.d.ts +4 -2
  10. package/dist/cli/index.js +11203 -11260
  11. package/dist/cli/run/agent-resolver.d.ts +2 -2
  12. package/dist/cli/tui-install-prompts.d.ts +2 -1
  13. package/dist/cli/types.d.ts +6 -0
  14. package/dist/config/index.d.ts +2 -2
  15. package/dist/config/schema/{oh-my-opencode-config.d.ts → drizzy-agent-config.d.ts} +2 -2
  16. package/dist/config/schema.d.ts +1 -1
  17. package/dist/create-hooks.d.ts +2 -2
  18. package/dist/create-managers.d.ts +2 -2
  19. package/dist/create-tools.d.ts +2 -2
  20. package/dist/features/claude-code-plugin-loader/types.d.ts +1 -1
  21. package/dist/features/claude-tasks/session-storage.d.ts +5 -5
  22. package/dist/features/claude-tasks/storage.d.ts +4 -4
  23. package/dist/hooks/anthropic-context-window-limit-recovery/executor.d.ts +2 -2
  24. package/dist/hooks/anthropic-context-window-limit-recovery/recovery-hook.d.ts +2 -2
  25. package/dist/hooks/anthropic-context-window-limit-recovery/summarize-retry-strategy.d.ts +2 -2
  26. package/dist/hooks/auto-update-checker/constants.d.ts +2 -2
  27. package/dist/hooks/comment-checker/downloader.d.ts +1 -1
  28. package/dist/hooks/keyword-detector/constants.d.ts +1 -0
  29. package/dist/hooks/keyword-detector/detector.d.ts +1 -1
  30. package/dist/hooks/keyword-detector/git/default.d.ts +12 -0
  31. package/dist/hooks/keyword-detector/git/index.d.ts +1 -0
  32. package/dist/hooks/preemptive-compaction.d.ts +2 -2
  33. package/dist/hooks/runtime-fallback/fallback-models.d.ts +2 -2
  34. package/dist/hooks/runtime-fallback/types.d.ts +3 -3
  35. package/dist/hooks/shared/compaction-model-resolver.d.ts +2 -2
  36. package/dist/index.d.ts +3 -3
  37. package/dist/index.js +354 -344
  38. package/dist/mcp/index.d.ts +2 -2
  39. package/dist/plugin/available-categories.d.ts +2 -2
  40. package/dist/plugin/chat-message.d.ts +2 -2
  41. package/dist/plugin/event.d.ts +2 -2
  42. package/dist/plugin/hooks/create-continuation-hooks.d.ts +2 -2
  43. package/dist/plugin/hooks/create-core-hooks.d.ts +2 -2
  44. package/dist/plugin/hooks/create-session-hooks.d.ts +2 -2
  45. package/dist/plugin/hooks/create-skill-hooks.d.ts +2 -2
  46. package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +2 -2
  47. package/dist/plugin/hooks/create-transform-hooks.d.ts +2 -2
  48. package/dist/plugin/skill-context.d.ts +2 -2
  49. package/dist/plugin/tool-registry.d.ts +2 -2
  50. package/dist/plugin/ultrawork-model-override.d.ts +3 -3
  51. package/dist/plugin/unstable-agent-babysitter.d.ts +2 -2
  52. package/dist/plugin-config.d.ts +5 -5
  53. package/dist/plugin-handlers/agent-config-handler.d.ts +2 -2
  54. package/dist/plugin-handlers/command-config-handler.d.ts +2 -2
  55. package/dist/plugin-handlers/config-handler.d.ts +2 -2
  56. package/dist/plugin-handlers/mcp-config-handler.d.ts +2 -2
  57. package/dist/plugin-handlers/plugin-components-loader.d.ts +2 -2
  58. package/dist/plugin-handlers/tool-config-handler.d.ts +2 -2
  59. package/dist/plugin-interface.d.ts +2 -2
  60. package/dist/shared/agent-variant.d.ts +4 -4
  61. package/dist/shared/data-path.d.ts +3 -3
  62. package/dist/shared/external-plugin-detector.d.ts +1 -1
  63. package/dist/shared/opencode-config-dir-types.d.ts +1 -1
  64. package/dist/shared/system-directive.d.ts +2 -2
  65. package/dist/tools/task/task-create.d.ts +2 -2
  66. package/dist/tools/task/task-get.d.ts +2 -2
  67. package/dist/tools/task/task-list.d.ts +2 -2
  68. package/dist/tools/task/task-update.d.ts +2 -2
  69. package/package.json +12 -12
  70. package/dist/cli/config-manager/generate-omo-config.d.ts +0 -2
  71. package/dist/cli/config-manager/write-omo-config.d.ts +0 -2
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Portions of this software are licensed as follows:
4
4
 
5
- - All third party components incorporated into the oh-my-opencode Software are licensed under the original license
5
+ - All third party components incorporated into the drizzy-agent Software are licensed under the original license
6
6
  provided by the owner of the applicable component.
7
7
  - Content outside of the above mentioned files or restrictions is available under the "Sustainable Use
8
8
  License" as defined below.
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # DrizzyAgent
2
2
 
3
- **DrizzyAgent** is an AI agent harness built on top of the Oh My OpenCode architecture. It provides a multi-agent orchestration system for coding tasks with specialized agents for different types of work.
3
+ **DrizzyAgent** is an AI agent harness that extends Claude Code (OpenCode fork) with multi-agent orchestration. It provides a powerful system for coding tasks with specialized agents for different types of work.
4
+
5
+ > If you have a stale cached plugin install, clear it with: `rm -rf ~/.cache/opencode/node_modules/drizzy-agent`
4
6
 
5
7
  Built for those who want the power of multi-model AI agents without the complexity of managing them manually.
6
8
 
@@ -71,8 +73,12 @@ Skills bring domain expertise:
71
73
 
72
74
  ## Installation
73
75
 
76
+ To install drizzy-agent, run:
77
+
74
78
  ```bash
75
- npm install drizzy-agent
79
+ npx drizzy-agent install
80
+ # or
81
+ bunx drizzy-agent install
76
82
  ```
77
83
 
78
84
  Or install as an OpenCode plugin:
@@ -104,6 +110,16 @@ Create `.opencode/drizzy-agent.jsonc` or `~/.config/opencode/drizzy-agent.jsonc`
104
110
  }
105
111
  ```
106
112
 
113
+ ### Troubleshooting: Version Display Issues
114
+
115
+ If you see an old version (like 3.11.2) instead of the current version, clear the cache:
116
+
117
+ ```bash
118
+ rm -rf ~/.cache/opencode/node_modules/drizzy-agent
119
+ ```
120
+
121
+ This removes cached data from the previous package name.
122
+
107
123
  ## Development
108
124
 
109
125
  ```bash
@@ -135,4 +151,4 @@ SUL-1.0 (Source Available License)
135
151
 
136
152
  ---
137
153
 
138
- *Built on the Oh My OpenCode foundation. Forked and customized for specific agent workflows.*
154
+ *Named after the author's nickname "Drizzy" built for developers who want serious AI assistance without the overhead.*
@@ -10,4 +10,4 @@ export declare function resetConfigContext(): void;
10
10
  export declare function getConfigDir(): string;
11
11
  export declare function getConfigJson(): string;
12
12
  export declare function getConfigJsonc(): string;
13
- export declare function getOmoConfigPath(): string;
13
+ export declare function getDrizzyConfigPath(): string;
@@ -0,0 +1,29 @@
1
+ import { type OmoConfigPaths } from "./oh-my-opencode-paths";
2
+ export interface OmoDetectionResult {
3
+ isInstalled: boolean;
4
+ configPath?: string;
5
+ pluginEntry?: string;
6
+ openCodeConfigPath?: string;
7
+ }
8
+ /**
9
+ * Detects if oh-my-opencode (or oh-my-openagent) is installed
10
+ * Checks for:
11
+ * 1. Plugin entry in opencode.json/opencode.jsonc
12
+ * 2. Config file at oh-my-opencode.json
13
+ */
14
+ export declare function detectOhMyOpencode(paths?: OmoConfigPaths): OmoDetectionResult;
15
+ /**
16
+ * Removes oh-my-opencode plugin entry from opencode.json/opencode.jsonc
17
+ */
18
+ export declare function removeOhMyOpencodeFromOpenCodeConfig(paths?: OmoConfigPaths): {
19
+ success: boolean;
20
+ error?: string;
21
+ };
22
+ /**
23
+ * Removes oh-my-opencode config files
24
+ */
25
+ export declare function removeOhMyOpencodeConfig(paths?: OmoConfigPaths): {
26
+ success: boolean;
27
+ removedPaths: string[];
28
+ error?: string;
29
+ };
@@ -1,2 +1,14 @@
1
+ import { parseJsonc } from "../../shared/jsonc-parser";
1
2
  import type { DetectedConfig } from "../types";
2
- export declare function detectCurrentConfig(): DetectedConfig;
3
+ import { getConfigDir, getDrizzyConfigPath } from "./config-context";
4
+ import { detectConfigFormat } from "./opencode-config-format";
5
+ import { parseOpenCodeConfigFileWithError } from "./parse-opencode-config-file";
6
+ interface DetectCurrentConfigDependencies {
7
+ detectConfigFormat: typeof detectConfigFormat;
8
+ getConfigDir: typeof getConfigDir;
9
+ getDrizzyConfigPath: typeof getDrizzyConfigPath;
10
+ parseJsonc: typeof parseJsonc;
11
+ parseOpenCodeConfigFileWithError: typeof parseOpenCodeConfigFileWithError;
12
+ }
13
+ export declare function detectCurrentConfig(deps?: DetectCurrentConfigDependencies): DetectedConfig;
14
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { InstallConfig } from "../types";
2
+ export declare function generateDrizzyConfig(installConfig: InstallConfig): Record<string, unknown>;
@@ -0,0 +1,6 @@
1
+ export interface OmoConfigPaths {
2
+ configDir: string;
3
+ configJson: string;
4
+ configJsonc: string;
5
+ }
6
+ export declare function getOmoConfigPaths(): OmoConfigPaths;
@@ -0,0 +1,2 @@
1
+ import type { ConfigMergeResult, InstallConfig } from "../types";
2
+ export declare function writeDrizzyConfig(installConfig: InstallConfig): ConfigMergeResult;
@@ -3,9 +3,11 @@ export { initConfigContext, getConfigContext, resetConfigContext, } from "./conf
3
3
  export { fetchNpmDistTags } from "./config-manager/npm-dist-tags";
4
4
  export { getPluginNameWithVersion } from "./config-manager/plugin-name-with-version";
5
5
  export { addPluginToOpenCodeConfig } from "./config-manager/add-plugin-to-opencode-config";
6
- export { generateOmoConfig } from "./config-manager/generate-omo-config";
7
- export { writeOmoConfig } from "./config-manager/write-omo-config";
6
+ export { generateDrizzyConfig } from "./config-manager/generate-drizzy-config";
7
+ export { writeDrizzyConfig } from "./config-manager/write-drizzy-config";
8
8
  export { isOpenCodeInstalled, getOpenCodeVersion } from "./config-manager/opencode-binary";
9
9
  export { detectCurrentConfig } from "./config-manager/detect-current-config";
10
10
  export type { BunInstallResult } from "./config-manager/bun-install";
11
11
  export { runBunInstall, runBunInstallWithDetails } from "./config-manager/bun-install";
12
+ export type { OmoDetectionResult } from "./config-manager/detect-and-remove-oh-my-opencode";
13
+ export { detectOhMyOpencode, removeOhMyOpencodeFromOpenCodeConfig, removeOhMyOpencodeConfig, } from "./config-manager/detect-and-remove-oh-my-opencode";