@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.
- package/dist/config/agent.d.ts +42 -0
- package/dist/config/agent.js +20 -0
- package/dist/config/command.d.ts +27 -0
- package/dist/config/command.js +12 -0
- package/dist/config/compaction.d.ts +14 -0
- package/dist/config/compaction.js +13 -0
- package/dist/config/experimental.d.ts +16 -0
- package/dist/config/experimental.js +13 -0
- package/dist/config/formatter.d.ts +11 -0
- package/dist/config/formatter.js +11 -0
- package/dist/config/lsp.d.ts +20 -0
- package/dist/config/lsp.js +16 -0
- package/dist/config/mcp.d.ts +18 -0
- package/dist/config/mcp.js +14 -0
- package/dist/config/media.d.ts +15 -0
- package/dist/config/media.js +14 -0
- package/dist/config/model.d.ts +18 -0
- package/dist/config/model.js +28 -0
- package/dist/config/plugin.d.ts +11 -0
- package/dist/config/plugin.js +10 -0
- package/dist/config/policy.d.ts +10 -0
- package/dist/config/policy.js +8 -0
- package/dist/config/provider.d.ts +102 -0
- package/dist/config/provider.js +62 -0
- package/dist/config/reference.d.ts +21 -0
- package/dist/config/reference.js +18 -0
- package/dist/config/tool-output.d.ts +8 -0
- package/dist/config/tool-output.js +8 -0
- package/dist/config/warming.d.ts +10 -0
- package/dist/config/warming.js +16 -0
- package/dist/config/watcher.d.ts +7 -0
- package/dist/config/watcher.js +7 -0
- package/dist/config/websearch.d.ts +7 -0
- package/dist/config/websearch.js +7 -0
- package/dist/config.d.ts +142 -30
- package/dist/config.js +134 -0
- package/dist/mcp.d.ts +18 -24
- package/dist/mcp.js +19 -23
- package/dist/prompt.d.ts +11 -11
- 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
|
};
|