@opencode/schema 2.2.5 → 2.2.7
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/agent.d.ts +14 -0
- package/dist/config/experimental.d.ts +13 -9
- package/dist/config/experimental.js +9 -14
- package/dist/config/flag.d.ts +18 -0
- package/dist/config/flag.js +17 -0
- package/dist/config/policy.d.ts +4 -3
- package/dist/config/policy.js +2 -0
- package/dist/config/provider.d.ts +112 -0
- package/dist/config/warming.d.ts +1 -1
- package/dist/config/warming.js +4 -2
- package/dist/config.d.ts +4 -4
- package/dist/credential.d.ts +24 -4
- package/dist/credential.js +2 -1
- package/dist/event-manifest.d.ts +24 -4
- package/dist/generate.d.ts +21 -0
- package/dist/generate.js +3 -0
- package/dist/integration.d.ts +2 -0
- package/dist/integration.js +2 -0
- package/dist/job.d.ts +113 -0
- package/dist/job.js +41 -0
- package/dist/mcp.d.ts +2 -0
- package/dist/mcp.js +6 -0
- package/dist/model.d.ts +70 -0
- package/dist/provider.d.ts +97 -0
- package/dist/provider.js +12 -0
- package/dist/session-event.d.ts +8 -8
- package/dist/session-event.js +1 -1
- package/dist/session-revert.d.ts +194 -302
- package/dist/tui-event.js +1 -1
- package/package.json +6 -6
package/dist/session-event.d.ts
CHANGED
|
@@ -1107,7 +1107,7 @@ export declare const UsageRecorded: Schema.Struct<{
|
|
|
1107
1107
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1108
1108
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1109
1109
|
};
|
|
1110
|
-
readonly source: Schema.Literals<readonly ["title", "compaction"]>;
|
|
1110
|
+
readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
|
|
1111
1111
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
1112
1112
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1113
1113
|
};
|
|
@@ -1132,7 +1132,7 @@ export declare const UsageRecorded: Schema.Struct<{
|
|
|
1132
1132
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1133
1133
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1134
1134
|
};
|
|
1135
|
-
readonly source: Schema.Literals<readonly ["title", "compaction"]>;
|
|
1135
|
+
readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
|
|
1136
1136
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
1137
1137
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1138
1138
|
};
|
|
@@ -12461,7 +12461,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12461
12461
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12462
12462
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12463
12463
|
};
|
|
12464
|
-
readonly source: Schema.Literals<readonly ["title", "compaction"]>;
|
|
12464
|
+
readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
|
|
12465
12465
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
12466
12466
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
12467
12467
|
};
|
|
@@ -12486,7 +12486,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12486
12486
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12487
12487
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12488
12488
|
};
|
|
12489
|
-
readonly source: Schema.Literals<readonly ["title", "compaction"]>;
|
|
12489
|
+
readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
|
|
12490
12490
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
12491
12491
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
12492
12492
|
};
|
|
@@ -16859,7 +16859,7 @@ export declare const Durable: Schema.toTaggedUnion<"type", readonly [...((Schema
|
|
|
16859
16859
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
16860
16860
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
16861
16861
|
};
|
|
16862
|
-
readonly source: Schema.Literals<readonly ["title", "compaction"]>;
|
|
16862
|
+
readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
|
|
16863
16863
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
16864
16864
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
16865
16865
|
};
|
|
@@ -16884,7 +16884,7 @@ export declare const Durable: Schema.toTaggedUnion<"type", readonly [...((Schema
|
|
|
16884
16884
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
16885
16885
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
16886
16886
|
};
|
|
16887
|
-
readonly source: Schema.Literals<readonly ["title", "compaction"]>;
|
|
16887
|
+
readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
|
|
16888
16888
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
16889
16889
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
16890
16890
|
};
|
|
@@ -20943,7 +20943,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.toTagged
|
|
|
20943
20943
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
20944
20944
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
20945
20945
|
};
|
|
20946
|
-
readonly source: Schema.Literals<readonly ["title", "compaction"]>;
|
|
20946
|
+
readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
|
|
20947
20947
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
20948
20948
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
20949
20949
|
};
|
|
@@ -20968,7 +20968,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.toTagged
|
|
|
20968
20968
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
20969
20969
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
20970
20970
|
};
|
|
20971
|
-
readonly source: Schema.Literals<readonly ["title", "compaction"]>;
|
|
20971
|
+
readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
|
|
20972
20972
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
20973
20973
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
20974
20974
|
};
|
package/dist/session-event.js
CHANGED
|
@@ -137,7 +137,7 @@ export const UsageRecorded = Event.durable({
|
|
|
137
137
|
...options,
|
|
138
138
|
schema: {
|
|
139
139
|
...Base,
|
|
140
|
-
source: Schema.Literals(["title", "compaction"]),
|
|
140
|
+
source: Schema.Literals(["title", "compaction", "generate"]),
|
|
141
141
|
cost: Money.USD,
|
|
142
142
|
tokens: TokenUsage.Info,
|
|
143
143
|
},
|