@opencode-ai/schema
Advanced tools
| export * as AI from "./ai.js"; | ||
| import { Schema } from "effect"; | ||
| export declare const ProviderMetadata: Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>; | ||
| export type ProviderMetadata = Schema.Schema.Type<typeof ProviderMetadata>; |
| export * as AI from "./ai.js"; | ||
| import { Schema } from "effect"; | ||
| export const ProviderMetadata = Schema.Record(Schema.String, Schema.Record(Schema.String, Schema.Unknown)).annotate({ | ||
| identifier: "AI.ProviderMetadata", | ||
| }); |
+1
-0
@@ -11,2 +11,3 @@ export { Agent } from "./agent.js"; | ||
| export { LLM } from "./llm.js"; | ||
| export { AI } from "./ai.js"; | ||
| export { Location } from "./location.js"; | ||
@@ -13,0 +14,0 @@ export { Mcp } from "./mcp.js"; |
+1
-0
@@ -11,2 +11,3 @@ export { Agent } from "./agent.js"; | ||
| export { LLM } from "./llm.js"; | ||
| export { AI } from "./ai.js"; | ||
| export { Location } from "./location.js"; | ||
@@ -13,0 +14,0 @@ export { Mcp } from "./mcp.js"; |
+0
-2
| export * as LLM from "./llm.js"; | ||
| import { Schema } from "effect"; | ||
| export declare const ProviderMetadata: Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>; | ||
| export type ProviderMetadata = Schema.Schema.Type<typeof ProviderMetadata>; | ||
| export declare const FinishReason: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>; | ||
| export type FinishReason = typeof FinishReason.Type; |
+0
-4
| export * as LLM from "./llm.js"; | ||
| import { Schema } from "effect"; | ||
| import { optional } from "./schema.js"; | ||
| export const ProviderMetadata = Schema.Record(Schema.String, Schema.Record(Schema.String, Schema.Unknown)).annotate({ | ||
| identifier: "LLM.ProviderMetadata", | ||
| }); | ||
| export const FinishReason = Schema.Literals(["stop", "length", "tool-calls", "content-filter", "error", "unknown"]); |
+1
-1
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/schema", | ||
| "version": "0.0.0-next-16671", | ||
| "version": "0.0.0-next-16676", | ||
| "type": "module", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
3629883
0161
1.26%56941
0.01%