@opencode-ai/sdk 1.14.22 → 1.14.24
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/v2/gen/types.gen.d.ts +29 -16
- package/package.json +1 -1
|
@@ -902,31 +902,31 @@ export type SyncEventSessionUpdated = {
|
|
|
902
902
|
data: {
|
|
903
903
|
sessionID: string;
|
|
904
904
|
info: {
|
|
905
|
-
id
|
|
906
|
-
slug
|
|
907
|
-
projectID
|
|
908
|
-
workspaceID
|
|
909
|
-
directory
|
|
910
|
-
parentID
|
|
911
|
-
summary
|
|
905
|
+
id?: string | null;
|
|
906
|
+
slug?: string | null;
|
|
907
|
+
projectID?: string | null;
|
|
908
|
+
workspaceID?: string | null;
|
|
909
|
+
directory?: string | null;
|
|
910
|
+
parentID?: string | null;
|
|
911
|
+
summary?: {
|
|
912
912
|
additions: number;
|
|
913
913
|
deletions: number;
|
|
914
914
|
files: number;
|
|
915
915
|
diffs?: Array<SnapshotFileDiff>;
|
|
916
916
|
} | null;
|
|
917
917
|
share?: {
|
|
918
|
-
url
|
|
918
|
+
url?: string | null;
|
|
919
919
|
};
|
|
920
|
-
title
|
|
921
|
-
version
|
|
920
|
+
title?: string | null;
|
|
921
|
+
version?: string | null;
|
|
922
922
|
time?: {
|
|
923
|
-
created
|
|
924
|
-
updated
|
|
925
|
-
compacting
|
|
926
|
-
archived
|
|
923
|
+
created?: number | null;
|
|
924
|
+
updated?: number | null;
|
|
925
|
+
compacting?: number | null;
|
|
926
|
+
archived?: number | null;
|
|
927
927
|
};
|
|
928
|
-
permission
|
|
929
|
-
revert
|
|
928
|
+
permission?: PermissionRuleset | null;
|
|
929
|
+
revert?: {
|
|
930
930
|
messageID: string;
|
|
931
931
|
partID?: string;
|
|
932
932
|
snapshot?: string;
|
|
@@ -1372,6 +1372,19 @@ export type Config = {
|
|
|
1372
1372
|
*/
|
|
1373
1373
|
url?: string;
|
|
1374
1374
|
};
|
|
1375
|
+
/**
|
|
1376
|
+
* Thresholds for truncating tool output. When output exceeds either limit, the full text is written to the truncation directory and a preview is returned.
|
|
1377
|
+
*/
|
|
1378
|
+
tool_output?: {
|
|
1379
|
+
/**
|
|
1380
|
+
* Maximum lines of tool output before it is truncated and saved to disk (default: 2000)
|
|
1381
|
+
*/
|
|
1382
|
+
max_lines?: number;
|
|
1383
|
+
/**
|
|
1384
|
+
* Maximum bytes of tool output before it is truncated and saved to disk (default: 51200)
|
|
1385
|
+
*/
|
|
1386
|
+
max_bytes?: number;
|
|
1387
|
+
};
|
|
1375
1388
|
compaction?: {
|
|
1376
1389
|
/**
|
|
1377
1390
|
* Enable automatic compaction when context is full (default: true)
|