@opencode-ai/schema 0.0.0-next-16909 → 0.0.0-next-16926

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 (40) hide show
  1. package/dist/config/agent.d.ts +42 -0
  2. package/dist/config/agent.js +20 -0
  3. package/dist/config/command.d.ts +27 -0
  4. package/dist/config/command.js +12 -0
  5. package/dist/config/compaction.d.ts +14 -0
  6. package/dist/config/compaction.js +13 -0
  7. package/dist/config/experimental.d.ts +16 -0
  8. package/dist/config/experimental.js +13 -0
  9. package/dist/config/formatter.d.ts +11 -0
  10. package/dist/config/formatter.js +11 -0
  11. package/dist/config/lsp.d.ts +20 -0
  12. package/dist/config/lsp.js +16 -0
  13. package/dist/config/mcp.d.ts +18 -0
  14. package/dist/config/mcp.js +14 -0
  15. package/dist/config/media.d.ts +15 -0
  16. package/dist/config/media.js +14 -0
  17. package/dist/config/model.d.ts +18 -0
  18. package/dist/config/model.js +28 -0
  19. package/dist/config/plugin.d.ts +11 -0
  20. package/dist/config/plugin.js +10 -0
  21. package/dist/config/policy.d.ts +10 -0
  22. package/dist/config/policy.js +8 -0
  23. package/dist/config/provider.d.ts +102 -0
  24. package/dist/config/provider.js +62 -0
  25. package/dist/config/reference.d.ts +21 -0
  26. package/dist/config/reference.js +18 -0
  27. package/dist/config/tool-output.d.ts +8 -0
  28. package/dist/config/tool-output.js +8 -0
  29. package/dist/config/warming.d.ts +10 -0
  30. package/dist/config/warming.js +16 -0
  31. package/dist/config/watcher.d.ts +7 -0
  32. package/dist/config/watcher.js +7 -0
  33. package/dist/config/websearch.d.ts +7 -0
  34. package/dist/config/websearch.js +7 -0
  35. package/dist/config.d.ts +142 -30
  36. package/dist/config.js +134 -0
  37. package/dist/mcp.d.ts +18 -24
  38. package/dist/mcp.js +19 -23
  39. package/dist/prompt.d.ts +11 -11
  40. package/package.json +1 -1
package/dist/prompt.d.ts CHANGED
@@ -177,6 +177,14 @@ export declare const Prompt: Schema.Struct<{
177
177
  }> & {
178
178
  equivalence: import("effect/Equivalence").Equivalence<{
179
179
  readonly text: string;
180
+ readonly agents?: readonly {
181
+ readonly name: string;
182
+ readonly mention?: {
183
+ readonly start: number;
184
+ readonly end: number;
185
+ readonly text: string;
186
+ } | undefined;
187
+ }[] | undefined;
180
188
  readonly files?: readonly {
181
189
  readonly data: string;
182
190
  readonly source: {
@@ -194,6 +202,9 @@ export declare const Prompt: Schema.Struct<{
194
202
  readonly text: string;
195
203
  } | undefined;
196
204
  }[] | undefined;
205
+ }>;
206
+ fromUserMessage: (input: Pick<Prompt, "text" | "files" | "agents">) => {
207
+ readonly text: string;
197
208
  readonly agents?: readonly {
198
209
  readonly name: string;
199
210
  readonly mention?: {
@@ -202,9 +213,6 @@ export declare const Prompt: Schema.Struct<{
202
213
  readonly text: string;
203
214
  } | undefined;
204
215
  }[] | undefined;
205
- }>;
206
- fromUserMessage: (input: Pick<Prompt, "text" | "files" | "agents">) => {
207
- readonly text: string;
208
216
  readonly files?: readonly {
209
217
  readonly data: string;
210
218
  readonly source: {
@@ -222,13 +230,5 @@ export declare const Prompt: Schema.Struct<{
222
230
  readonly text: string;
223
231
  } | undefined;
224
232
  }[] | undefined;
225
- readonly agents?: readonly {
226
- readonly name: string;
227
- readonly mention?: {
228
- readonly start: number;
229
- readonly end: number;
230
- readonly text: string;
231
- } | undefined;
232
- }[] | undefined;
233
233
  };
234
234
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/schema",
4
- "version": "0.0.0-next-16909",
4
+ "version": "0.0.0-next-16926",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {