@opencode-ai/schema 0.0.0-next-16670 → 0.0.0-next-16676
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/ai.d.ts +4 -0
- package/dist/ai.js +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/llm.d.ts +0 -2
- package/dist/llm.js +0 -4
- package/package.json +1 -1
package/dist/ai.d.ts
ADDED
package/dist/ai.js
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { FileSystem } from "./filesystem.js";
|
|
|
8
8
|
export { Form } from "./form.js";
|
|
9
9
|
export { Integration } from "./integration.js";
|
|
10
10
|
export { LLM } from "./llm.js";
|
|
11
|
+
export { AI } from "./ai.js";
|
|
11
12
|
export { Location } from "./location.js";
|
|
12
13
|
export { Mcp } from "./mcp.js";
|
|
13
14
|
export { Model } from "./model.js";
|
package/dist/index.js
CHANGED
|
@@ -8,6 +8,7 @@ export { FileSystem } from "./filesystem.js";
|
|
|
8
8
|
export { Form } from "./form.js";
|
|
9
9
|
export { Integration } from "./integration.js";
|
|
10
10
|
export { LLM } from "./llm.js";
|
|
11
|
+
export { AI } from "./ai.js";
|
|
11
12
|
export { Location } from "./location.js";
|
|
12
13
|
export { Mcp } from "./mcp.js";
|
|
13
14
|
export { Model } from "./model.js";
|
package/dist/llm.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export * as LLM from "./llm.js";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
|
-
export declare const ProviderMetadata: Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4
|
-
export type ProviderMetadata = Schema.Schema.Type<typeof ProviderMetadata>;
|
|
5
3
|
export declare const FinishReason: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
6
4
|
export type FinishReason = typeof FinishReason.Type;
|
package/dist/llm.js
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
export * as LLM from "./llm.js";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
|
-
import { optional } from "./schema.js";
|
|
4
|
-
export const ProviderMetadata = Schema.Record(Schema.String, Schema.Record(Schema.String, Schema.Unknown)).annotate({
|
|
5
|
-
identifier: "LLM.ProviderMetadata",
|
|
6
|
-
});
|
|
7
3
|
export const FinishReason = Schema.Literals(["stop", "length", "tool-calls", "content-filter", "error", "unknown"]);
|