@opencode-ai/sdk 0.7.1 → 0.7.3
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/gen/types.gen.d.ts +10 -0
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ export type Event = ({
|
|
|
34
34
|
} & EventSessionIdle) | ({
|
|
35
35
|
type: "session.error";
|
|
36
36
|
} & EventSessionError) | ({
|
|
37
|
+
type: "session.compacted";
|
|
38
|
+
} & EventSessionCompacted) | ({
|
|
37
39
|
type: "server.connected";
|
|
38
40
|
} & EventServerConnected);
|
|
39
41
|
export type EventInstallationUpdated = {
|
|
@@ -401,6 +403,7 @@ export type Session = {
|
|
|
401
403
|
time: {
|
|
402
404
|
created: number;
|
|
403
405
|
updated: number;
|
|
406
|
+
compacting?: number;
|
|
404
407
|
};
|
|
405
408
|
revert?: {
|
|
406
409
|
messageID: string;
|
|
@@ -436,6 +439,12 @@ export type EventSessionError = {
|
|
|
436
439
|
} & MessageAbortedError);
|
|
437
440
|
};
|
|
438
441
|
};
|
|
442
|
+
export type EventSessionCompacted = {
|
|
443
|
+
type: "session.compacted";
|
|
444
|
+
properties: {
|
|
445
|
+
sessionID: string;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
439
448
|
export type EventServerConnected = {
|
|
440
449
|
type: "server.connected";
|
|
441
450
|
properties: {
|
|
@@ -641,6 +650,7 @@ export type Config = {
|
|
|
641
650
|
};
|
|
642
651
|
}>;
|
|
643
652
|
};
|
|
653
|
+
disable_paste_summary?: boolean;
|
|
644
654
|
};
|
|
645
655
|
};
|
|
646
656
|
export type KeybindsConfig = {
|