@opencode-ai/sdk 1.1.44 → 1.1.46

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.
@@ -1573,26 +1573,6 @@ export type Config = {
1573
1573
  prune?: boolean;
1574
1574
  };
1575
1575
  experimental?: {
1576
- hook?: {
1577
- file_edited?: {
1578
- [key: string]: Array<{
1579
- command: Array<string>;
1580
- environment?: {
1581
- [key: string]: string;
1582
- };
1583
- }>;
1584
- };
1585
- session_completed?: Array<{
1586
- command: Array<string>;
1587
- environment?: {
1588
- [key: string]: string;
1589
- };
1590
- }>;
1591
- };
1592
- /**
1593
- * Number of retries for chat completions on failure
1594
- */
1595
- chatMaxRetries?: number;
1596
1576
  disable_paste_summary?: boolean;
1597
1577
  /**
1598
1578
  * Enable the batch tool
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/sdk",
4
- "version": "1.1.44",
4
+ "version": "1.1.46",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -9,30 +9,12 @@
9
9
  "build": "./script/build.ts"
10
10
  },
11
11
  "exports": {
12
- ".": {
13
- "import": "./dist/index.js",
14
- "types": "./dist/index.d.ts"
15
- },
16
- "./client": {
17
- "import": "./dist/client.js",
18
- "types": "./dist/client.d.ts"
19
- },
20
- "./server": {
21
- "import": "./dist/server.js",
22
- "types": "./dist/server.d.ts"
23
- },
24
- "./v2": {
25
- "import": "./dist/v2/index.js",
26
- "types": "./dist/v2/index.d.ts"
27
- },
28
- "./v2/client": {
29
- "import": "./dist/v2/client.js",
30
- "types": "./dist/v2/client.d.ts"
31
- },
32
- "./v2/server": {
33
- "import": "./dist/v2/server.js",
34
- "types": "./dist/v2/server.d.ts"
35
- }
12
+ ".": "./src/index.ts",
13
+ "./client": "./src/client.ts",
14
+ "./server": "./src/server.ts",
15
+ "./v2": "./src/v2/index.ts",
16
+ "./v2/client": "./src/v2/client.ts",
17
+ "./v2/server": "./src/v2/server.ts"
36
18
  },
37
19
  "files": [
38
20
  "dist"
@@ -48,4 +30,4 @@
48
30
  "publishConfig": {
49
31
  "directory": "dist"
50
32
  }
51
- }
33
+ }