@opencode/ai 2.2.1 → 2.2.2
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/image.d.ts +1 -0
- package/dist/schema/events.d.ts +2 -0
- package/dist/speech.d.ts +1 -0
- package/dist/transcription.d.ts +1 -0
- package/dist/video.d.ts +1 -0
- package/package.json +5 -5
package/dist/image.d.ts
CHANGED
|
@@ -430,6 +430,7 @@ export declare const ImageEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
430
430
|
}>]>>;
|
|
431
431
|
readonly providerMetadata: Schema.optional<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>;
|
|
432
432
|
}>]> & {
|
|
433
|
+
readonly tag: "type";
|
|
433
434
|
readonly discriminants: readonly ["generation-queued", "generation-progress", "image-partial", "image", "finish"];
|
|
434
435
|
readonly cases: {
|
|
435
436
|
finish: Schema.Struct<{
|
package/dist/schema/events.d.ts
CHANGED
|
@@ -912,6 +912,7 @@ export declare const LLMEvent: Schema.Union<readonly [Schema.refine<{
|
|
|
912
912
|
readonly type: Schema.tag<"raw">;
|
|
913
913
|
readonly data: Schema.Unknown;
|
|
914
914
|
}>]> & {
|
|
915
|
+
readonly tag: "type";
|
|
915
916
|
readonly discriminants: readonly ["compaction", "step-start", "text-start", "text-delta", "text-end", "reasoning-start", "reasoning-delta", "reasoning-end", "tool-input-start", "tool-input-delta", "tool-input-end", "tool-input-error", "tool-call", "tool-result", "tool-error", "media", "step-finish", "finish", "provider-error", "raw"];
|
|
916
917
|
readonly cases: {
|
|
917
918
|
compaction: Schema.refine<{
|
|
@@ -4933,6 +4934,7 @@ declare const LLMResponse_base: Schema.Class<LLMResponse, Schema.Struct<{
|
|
|
4933
4934
|
readonly type: Schema.tag<"raw">;
|
|
4934
4935
|
readonly data: Schema.Unknown;
|
|
4935
4936
|
}>]> & {
|
|
4937
|
+
readonly tag: "type";
|
|
4936
4938
|
readonly discriminants: readonly ["compaction", "step-start", "text-start", "text-delta", "text-end", "reasoning-start", "reasoning-delta", "reasoning-end", "tool-input-start", "tool-input-delta", "tool-input-end", "tool-input-error", "tool-call", "tool-result", "tool-error", "media", "step-finish", "finish", "provider-error", "raw"];
|
|
4937
4939
|
readonly cases: {
|
|
4938
4940
|
compaction: Schema.refine<{
|
package/dist/speech.d.ts
CHANGED
|
@@ -335,6 +335,7 @@ export declare const SpeechEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
335
335
|
}>]>>;
|
|
336
336
|
readonly providerMetadata: Schema.optional<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>;
|
|
337
337
|
}>]> & {
|
|
338
|
+
readonly tag: "type";
|
|
338
339
|
readonly discriminants: readonly ["generation-queued", "generation-progress", "audio-delta", "timestamps", "finish"];
|
|
339
340
|
readonly cases: {
|
|
340
341
|
"audio-delta": Schema.Struct<{
|
package/dist/transcription.d.ts
CHANGED
|
@@ -305,6 +305,7 @@ export declare const TranscriptionEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
305
305
|
readonly providerMetadata: Schema.optional<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>;
|
|
306
306
|
readonly type: Schema.tag<"finish">;
|
|
307
307
|
}>]> & {
|
|
308
|
+
readonly tag: "type";
|
|
308
309
|
readonly discriminants: readonly ["generation-queued", "generation-progress", "text-delta", "segment", "finish"];
|
|
309
310
|
readonly cases: {
|
|
310
311
|
finish: Schema.Struct<{
|
package/dist/video.d.ts
CHANGED
|
@@ -492,6 +492,7 @@ export declare const VideoEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
492
492
|
}>]>>;
|
|
493
493
|
readonly providerMetadata: Schema.optional<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>;
|
|
494
494
|
}>]> & {
|
|
495
|
+
readonly tag: "type";
|
|
495
496
|
readonly discriminants: readonly ["generation-queued", "generation-progress", "video", "finish"];
|
|
496
497
|
readonly cases: {
|
|
497
498
|
finish: Schema.Struct<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"name": "@opencode/ai",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -515,8 +515,8 @@
|
|
|
515
515
|
},
|
|
516
516
|
"devDependencies": {
|
|
517
517
|
"@clack/prompts": "1.0.0-alpha.1",
|
|
518
|
-
"@effect/platform-node": "4.0.
|
|
519
|
-
"@opencode/http-recorder": "2.2.
|
|
518
|
+
"@effect/platform-node": "4.0.6",
|
|
519
|
+
"@opencode/http-recorder": "2.2.2",
|
|
520
520
|
"@tsconfig/bun": "1.0.9",
|
|
521
521
|
"@types/bun": "1.4.3",
|
|
522
522
|
"@typescript/native": "npm:typescript@7.1.0-beta",
|
|
@@ -526,9 +526,9 @@
|
|
|
526
526
|
"@aws-sdk/credential-providers": "3.1057.0",
|
|
527
527
|
"@smithy/eventstream-codec": "4.2.14",
|
|
528
528
|
"@smithy/util-utf8": "4.2.2",
|
|
529
|
-
"@opencode/schema": "2.2.
|
|
529
|
+
"@opencode/schema": "2.2.2",
|
|
530
530
|
"aws4fetch": "1.0.20",
|
|
531
|
-
"effect": "4.0.
|
|
531
|
+
"effect": "4.0.6",
|
|
532
532
|
"google-auth-library": "10.5.0"
|
|
533
533
|
},
|
|
534
534
|
"repository": {
|