opencode-orchestrator 0.5.16 → 0.5.17

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 (82) hide show
  1. package/README.md +360 -24
  2. package/dist/agents/subagents/librarian.d.ts +10 -0
  3. package/dist/agents/subagents/researcher.d.ts +11 -0
  4. package/dist/core/agents/concurrency.d.ts +2 -6
  5. package/dist/core/agents/config.d.ts +1 -1
  6. package/dist/core/agents/consts/index.d.ts +4 -0
  7. package/dist/core/agents/consts/task-status.const.d.ts +12 -0
  8. package/dist/core/agents/interfaces/concurrency-config.interface.d.ts +9 -0
  9. package/dist/core/agents/interfaces/index.d.ts +6 -3
  10. package/dist/core/agents/interfaces/{parallel-task.d.ts → parallel-task.interface.d.ts} +4 -8
  11. package/dist/core/agents/interfaces/resume-input.interface.d.ts +17 -0
  12. package/dist/core/agents/interfaces/task-progress.interface.d.ts +9 -0
  13. package/dist/core/agents/manager/event-handler.d.ts +34 -0
  14. package/dist/core/agents/manager/index.d.ts +10 -0
  15. package/dist/core/agents/manager/task-cleaner.d.ts +17 -0
  16. package/dist/core/agents/manager/task-launcher.d.ts +20 -0
  17. package/dist/core/agents/manager/task-poller.d.ts +26 -0
  18. package/dist/core/agents/manager/task-resumer.d.ts +18 -0
  19. package/dist/core/agents/manager.d.ts +11 -29
  20. package/dist/core/agents/task-store.d.ts +29 -3
  21. package/dist/core/agents/types/index.d.ts +1 -1
  22. package/dist/core/agents/types/parallel-task-status.type.d.ts +4 -0
  23. package/dist/core/bus/event-bus.d.ts +53 -0
  24. package/dist/core/bus/index.d.ts +19 -0
  25. package/dist/core/bus/interfaces.d.ts +34 -0
  26. package/dist/core/bus/types.d.ts +12 -0
  27. package/dist/core/cache/constants.d.ts +6 -0
  28. package/dist/core/cache/document-cache.d.ts +6 -0
  29. package/dist/core/cache/index.d.ts +4 -0
  30. package/dist/core/cache/interfaces.d.ts +53 -0
  31. package/dist/core/cache/operations.d.ts +36 -0
  32. package/dist/core/cache/utils.d.ts +20 -0
  33. package/dist/core/loop/formatters.d.ts +16 -0
  34. package/dist/core/loop/interfaces.d.ts +34 -0
  35. package/dist/core/loop/parser.d.ts +8 -0
  36. package/dist/core/loop/stats.d.ts +24 -0
  37. package/dist/core/loop/todo-enforcer.d.ts +9 -0
  38. package/dist/core/notification/event-integration.d.ts +7 -0
  39. package/dist/core/notification/presets.d.ts +14 -0
  40. package/dist/core/notification/toast-core.d.ts +28 -0
  41. package/dist/core/notification/toast.d.ts +9 -0
  42. package/dist/core/notification/types.d.ts +19 -0
  43. package/dist/core/orchestrator/types/task-status.d.ts +2 -2
  44. package/dist/core/progress/calculator.d.ts +11 -0
  45. package/dist/core/progress/formatters.d.ts +20 -0
  46. package/dist/core/progress/interfaces.d.ts +54 -0
  47. package/dist/core/progress/store.d.ts +28 -0
  48. package/dist/core/progress/tracker.d.ts +11 -0
  49. package/dist/core/queue/async-queue.d.ts +46 -0
  50. package/dist/core/queue/async-utils.d.ts +20 -0
  51. package/dist/core/queue/index.d.ts +8 -0
  52. package/dist/core/queue/work-pool.d.ts +19 -0
  53. package/dist/core/recovery/auto-recovery.d.ts +9 -0
  54. package/dist/core/recovery/constants.d.ts +6 -0
  55. package/dist/core/recovery/handler.d.ts +27 -0
  56. package/dist/core/recovery/interfaces.d.ts +63 -0
  57. package/dist/core/recovery/patterns.d.ts +8 -0
  58. package/dist/core/session/interfaces.d.ts +53 -0
  59. package/dist/core/session/shared-context.d.ts +8 -0
  60. package/dist/core/session/store.d.ts +44 -0
  61. package/dist/core/session/summary.d.ts +7 -0
  62. package/dist/core/task/interfaces.d.ts +54 -0
  63. package/dist/core/task/parser.d.ts +8 -0
  64. package/dist/core/task/scheduler.d.ts +12 -0
  65. package/dist/core/task/store.d.ts +32 -0
  66. package/dist/core/task/summary.d.ts +7 -0
  67. package/dist/core/task/task-decomposer.d.ts +10 -0
  68. package/dist/index.d.ts +56 -2
  69. package/dist/index.js +2598 -674
  70. package/dist/shared/agent.d.ts +2 -0
  71. package/dist/shared/constants.d.ts +56 -3
  72. package/dist/shared/event-types.d.ts +77 -0
  73. package/dist/tools/background-cmd/list.d.ts +2 -2
  74. package/dist/tools/parallel/delegate-task.d.ts +3 -0
  75. package/dist/tools/web/cache-docs.d.ts +21 -0
  76. package/dist/tools/web/codesearch.d.ts +19 -0
  77. package/dist/tools/web/index.d.ts +9 -0
  78. package/dist/tools/web/webfetch.d.ts +19 -0
  79. package/dist/tools/web/websearch.d.ts +17 -0
  80. package/package.json +8 -7
  81. package/dist/core/agents/types/parallel-task-status.d.ts +0 -4
  82. /package/dist/core/agents/interfaces/{launch-input.d.ts → launch-input.interface.d.ts} +0 -0
package/dist/index.d.ts CHANGED
@@ -104,13 +104,13 @@ declare const OrchestratorPlugin: (input: PluginInput) => Promise<{
104
104
  args: {
105
105
  status: import("zod").ZodOptional<import("zod").ZodEnum<{
106
106
  running: "running";
107
- done: "done";
108
107
  error: "error";
108
+ done: "done";
109
109
  all: "all";
110
110
  }>>;
111
111
  };
112
112
  execute(args: {
113
- status?: "running" | "done" | "error" | "all" | undefined;
113
+ status?: "running" | "error" | "done" | "all" | undefined;
114
114
  }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
115
115
  };
116
116
  kill_background: {
@@ -122,6 +122,59 @@ declare const OrchestratorPlugin: (input: PluginInput) => Promise<{
122
122
  taskId: string;
123
123
  }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
124
124
  };
125
+ webfetch: {
126
+ description: string;
127
+ args: {
128
+ url: import("zod").ZodString;
129
+ cache: import("zod").ZodOptional<import("zod").ZodBoolean>;
130
+ selector: import("zod").ZodOptional<import("zod").ZodString>;
131
+ };
132
+ execute(args: {
133
+ url: string;
134
+ cache?: boolean | undefined;
135
+ selector?: string | undefined;
136
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
137
+ };
138
+ websearch: {
139
+ description: string;
140
+ args: {
141
+ query: import("zod").ZodString;
142
+ maxResults: import("zod").ZodOptional<import("zod").ZodNumber>;
143
+ };
144
+ execute(args: {
145
+ query: string;
146
+ maxResults?: number | undefined;
147
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
148
+ };
149
+ cache_docs: {
150
+ description: string;
151
+ args: {
152
+ action: import("zod").ZodEnum<{
153
+ list: "list";
154
+ get: "get";
155
+ clear: "clear";
156
+ stats: "stats";
157
+ }>;
158
+ filename: import("zod").ZodOptional<import("zod").ZodString>;
159
+ };
160
+ execute(args: {
161
+ action: "list" | "get" | "clear" | "stats";
162
+ filename?: string | undefined;
163
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
164
+ };
165
+ codesearch: {
166
+ description: string;
167
+ args: {
168
+ query: import("zod").ZodString;
169
+ language: import("zod").ZodOptional<import("zod").ZodString>;
170
+ repo: import("zod").ZodOptional<import("zod").ZodString>;
171
+ };
172
+ execute(args: {
173
+ query: string;
174
+ language?: string | undefined;
175
+ repo?: string | undefined;
176
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
177
+ };
125
178
  };
126
179
  config: (config: Record<string, unknown>) => Promise<void>;
127
180
  "chat.message": (msgInput: any, msgOutput: any) => Promise<void>;
@@ -143,4 +196,5 @@ declare const OrchestratorPlugin: (input: PluginInput) => Promise<{
143
196
  };
144
197
  }) => Promise<void>;
145
198
  }>;
199
+ export { OrchestratorPlugin };
146
200
  export default OrchestratorPlugin;