@saeeol/sdk 7.3.5 → 7.3.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/package.json CHANGED
@@ -1,44 +1,44 @@
1
- {
2
- "$schema": "https://json.schemastore.org/package.json",
3
- "name": "@saeeol/sdk",
4
- "version": "7.3.5",
5
- "type": "module",
6
- "license": "Apache-2.0",
7
- "publishConfig": {
8
- "access": "public",
9
- "registry": "https://registry.npmjs.org"
10
- },
11
- "scripts": {
12
- "typecheck": "tsgo --noEmit",
13
- "build": "bun ./script/build.ts"
14
- },
15
- "exports": {
16
- ".": "./src/index.ts",
17
- "./client": "./src/client.ts",
18
- "./server": "./src/server.ts",
19
- "./v2": "./src/v2/index.ts",
20
- "./v2/client": "./src/v2/client.ts",
21
- "./v2/gen/client": "./src/v2/gen/client/index.ts",
22
- "./v2/server": "./src/v2/server.ts"
23
- },
24
- "files": [
25
- "src"
26
- ],
27
- "devDependencies": {
28
- "@hey-api/openapi-ts": "0.90.10",
29
- "@tsconfig/node22": "22.0.2",
30
- "@types/cross-spawn": "6.0.6",
31
- "@types/node": "22.13.9",
32
- "@typescript/native-preview": "7.0.0-dev.20260316.1",
33
- "typescript": "5.8.2"
34
- },
35
- "dependencies": {
36
- "cross-spawn": "7.0.6"
37
- },
38
- "peerDependencies": {},
39
- "repository": {
40
- "type": "git",
41
- "url": "https://github.com/SAEEOL/saeeol",
42
- "directory": "packages/sdk/js"
43
- }
44
- }
1
+ {
2
+ "$schema": "https://json.schemastore.org/package.json",
3
+ "name": "@saeeol/sdk",
4
+ "version": "7.3.7",
5
+ "type": "module",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "access": "public",
9
+ "registry": "https://registry.npmjs.org"
10
+ },
11
+ "scripts": {
12
+ "typecheck": "tsgo --noEmit",
13
+ "build": "bun ./script/build.ts"
14
+ },
15
+ "exports": {
16
+ ".": "./src/index.ts",
17
+ "./client": "./src/client.ts",
18
+ "./server": "./src/server.ts",
19
+ "./v2": "./src/v2/index.ts",
20
+ "./v2/client": "./src/v2/client.ts",
21
+ "./v2/gen/client": "./src/v2/gen/client/index.ts",
22
+ "./v2/server": "./src/v2/server.ts"
23
+ },
24
+ "files": [
25
+ "src"
26
+ ],
27
+ "devDependencies": {
28
+ "@hey-api/openapi-ts": "0.90.10",
29
+ "@tsconfig/node22": "22.0.2",
30
+ "@types/cross-spawn": "6.0.6",
31
+ "@types/node": "22.13.9",
32
+ "@typescript/native-preview": "7.0.0-dev.20260316.1",
33
+ "typescript": "5.8.2"
34
+ },
35
+ "dependencies": {
36
+ "cross-spawn": "7.0.6"
37
+ },
38
+ "peerDependencies": {},
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "https://github.com/SAEEOL/saeeol",
42
+ "directory": "packages/sdk/js"
43
+ }
44
+ }
@@ -62,39 +62,6 @@ import type {
62
62
  GlobalUpgradeResponses,
63
63
  IndexingStatusResponses,
64
64
  InstanceDisposeResponses,
65
- SaeeolAudioTranscriptionsErrors,
66
- SaeeolAudioTranscriptionsResponses,
67
- SaeeolClawChatCredentialsResponses,
68
- SaeeolClawStatusResponses,
69
- SaeeolCloudSessionGetErrors,
70
- SaeeolCloudSessionGetResponses,
71
- SaeeolCloudSessionImportErrors,
72
- SaeeolCloudSessionImportResponses,
73
- SaeeolCloudSessionsErrors,
74
- SaeeolCloudSessionsResponses,
75
- SaeeolHeapSnapshotErrors,
76
- SaeeolHeapSnapshotResponses,
77
- SaeeolRemoveAgentErrors,
78
- SaeeolRemoveAgentResponses,
79
- SaeeolRemoveSkillErrors,
80
- SaeeolRemoveSkillResponses,
81
- SaeeolSessionImportMessageErrors,
82
- SaeeolSessionImportMessageResponses,
83
- SaeeolSessionImportPartErrors,
84
- SaeeolSessionImportPartResponses,
85
- SaeeolSessionImportProjectErrors,
86
- SaeeolSessionImportProjectResponses,
87
- SaeeolSessionImportSessionErrors,
88
- SaeeolSessionImportSessionResponses,
89
- SaeeolFimErrors,
90
- SaeeolFimResponses,
91
- SaeeolModesResponses,
92
- SaeeolNotificationsErrors,
93
- SaeeolNotificationsResponses,
94
- SaeeolOrganizationSetErrors,
95
- SaeeolOrganizationSetResponses,
96
- SaeeolProfileErrors,
97
- SaeeolProfileResponses,
98
65
  LspStatusResponses,
99
66
  McpAddErrors,
100
67
  McpAddResponses,
@@ -165,6 +132,39 @@ import type {
165
132
  RemoteDisableResponses,
166
133
  RemoteEnableResponses,
167
134
  RemoteStatusResponses,
135
+ SaeeolAudioTranscriptionsErrors,
136
+ SaeeolAudioTranscriptionsResponses,
137
+ SaeeolClawChatCredentialsResponses,
138
+ SaeeolClawStatusResponses,
139
+ SaeeolCloudSessionGetErrors,
140
+ SaeeolCloudSessionGetResponses,
141
+ SaeeolCloudSessionImportErrors,
142
+ SaeeolCloudSessionImportResponses,
143
+ SaeeolCloudSessionsErrors,
144
+ SaeeolCloudSessionsResponses,
145
+ SaeeolFimErrors,
146
+ SaeeolFimResponses,
147
+ SaeeolHeapSnapshotErrors,
148
+ SaeeolHeapSnapshotResponses,
149
+ SaeeolModesResponses,
150
+ SaeeolNotificationsErrors,
151
+ SaeeolNotificationsResponses,
152
+ SaeeolOrganizationSetErrors,
153
+ SaeeolOrganizationSetResponses,
154
+ SaeeolProfileErrors,
155
+ SaeeolProfileResponses,
156
+ SaeeolRemoveAgentErrors,
157
+ SaeeolRemoveAgentResponses,
158
+ SaeeolRemoveSkillErrors,
159
+ SaeeolRemoveSkillResponses,
160
+ SaeeolSessionImportMessageErrors,
161
+ SaeeolSessionImportMessageResponses,
162
+ SaeeolSessionImportPartErrors,
163
+ SaeeolSessionImportPartResponses,
164
+ SaeeolSessionImportProjectErrors,
165
+ SaeeolSessionImportProjectResponses,
166
+ SaeeolSessionImportSessionErrors,
167
+ SaeeolSessionImportSessionResponses,
168
168
  SessionAbortErrors,
169
169
  SessionAbortResponses,
170
170
  SessionChildrenErrors,
@@ -178,6 +178,7 @@ import type {
178
178
  SessionDeleteMessageResponses,
179
179
  SessionDeleteResponses,
180
180
  SessionDiffResponses,
181
+ SessionForkErrors,
181
182
  SessionForkResponses,
182
183
  SessionGetErrors,
183
184
  SessionGetResponses,
@@ -1529,72 +1530,6 @@ export class Config2 extends HeyApiClient {
1529
1530
  }
1530
1531
  }
1531
1532
 
1532
- export class Tool extends HeyApiClient {
1533
- /**
1534
- * List tool IDs
1535
- *
1536
- * Get a list of all available tool IDs, including both built-in tools and dynamically registered tools.
1537
- */
1538
- public ids<ThrowOnError extends boolean = false>(
1539
- parameters?: {
1540
- directory?: string
1541
- workspace?: string
1542
- },
1543
- options?: Options<never, ThrowOnError>,
1544
- ) {
1545
- const params = buildClientParams(
1546
- [parameters],
1547
- [
1548
- {
1549
- args: [
1550
- { in: "query", key: "directory" },
1551
- { in: "query", key: "workspace" },
1552
- ],
1553
- },
1554
- ],
1555
- )
1556
- return (options?.client ?? this.client).get<ToolIdsResponses, ToolIdsErrors, ThrowOnError>({
1557
- url: "/experimental/tool/ids",
1558
- ...options,
1559
- ...params,
1560
- })
1561
- }
1562
-
1563
- /**
1564
- * List tools
1565
- *
1566
- * Get a list of available tools with their JSON schema parameters for a specific provider and model combination.
1567
- */
1568
- public list<ThrowOnError extends boolean = false>(
1569
- parameters: {
1570
- directory?: string
1571
- workspace?: string
1572
- provider: string
1573
- model: string
1574
- },
1575
- options?: Options<never, ThrowOnError>,
1576
- ) {
1577
- const params = buildClientParams(
1578
- [parameters],
1579
- [
1580
- {
1581
- args: [
1582
- { in: "query", key: "directory" },
1583
- { in: "query", key: "workspace" },
1584
- { in: "query", key: "provider" },
1585
- { in: "query", key: "model" },
1586
- ],
1587
- },
1588
- ],
1589
- )
1590
- return (options?.client ?? this.client).get<ToolListResponses, ToolListErrors, ThrowOnError>({
1591
- url: "/experimental/tool",
1592
- ...options,
1593
- ...params,
1594
- })
1595
- }
1596
- }
1597
-
1598
1533
  export class Worktree extends HeyApiClient {
1599
1534
  /**
1600
1535
  * Remove worktree
@@ -1836,6 +1771,72 @@ export class Worktree extends HeyApiClient {
1836
1771
  }
1837
1772
  }
1838
1773
 
1774
+ export class Tool extends HeyApiClient {
1775
+ /**
1776
+ * List tool IDs
1777
+ *
1778
+ * Get a list of all available tool IDs, including both built-in tools and dynamically registered tools.
1779
+ */
1780
+ public ids<ThrowOnError extends boolean = false>(
1781
+ parameters?: {
1782
+ directory?: string
1783
+ workspace?: string
1784
+ },
1785
+ options?: Options<never, ThrowOnError>,
1786
+ ) {
1787
+ const params = buildClientParams(
1788
+ [parameters],
1789
+ [
1790
+ {
1791
+ args: [
1792
+ { in: "query", key: "directory" },
1793
+ { in: "query", key: "workspace" },
1794
+ ],
1795
+ },
1796
+ ],
1797
+ )
1798
+ return (options?.client ?? this.client).get<ToolIdsResponses, ToolIdsErrors, ThrowOnError>({
1799
+ url: "/experimental/tool/ids",
1800
+ ...options,
1801
+ ...params,
1802
+ })
1803
+ }
1804
+
1805
+ /**
1806
+ * List tools
1807
+ *
1808
+ * Get a list of available tools with their JSON schema parameters for a specific provider and model combination.
1809
+ */
1810
+ public list<ThrowOnError extends boolean = false>(
1811
+ parameters: {
1812
+ directory?: string
1813
+ workspace?: string
1814
+ provider: string
1815
+ model: string
1816
+ },
1817
+ options?: Options<never, ThrowOnError>,
1818
+ ) {
1819
+ const params = buildClientParams(
1820
+ [parameters],
1821
+ [
1822
+ {
1823
+ args: [
1824
+ { in: "query", key: "directory" },
1825
+ { in: "query", key: "workspace" },
1826
+ { in: "query", key: "provider" },
1827
+ { in: "query", key: "model" },
1828
+ ],
1829
+ },
1830
+ ],
1831
+ )
1832
+ return (options?.client ?? this.client).get<ToolListResponses, ToolListErrors, ThrowOnError>({
1833
+ url: "/experimental/tool",
1834
+ ...options,
1835
+ ...params,
1836
+ })
1837
+ }
1838
+ }
1839
+
1839
1840
  export class Session2 extends HeyApiClient {
1840
1841
  /**
1841
1842
  * List sessions
@@ -2197,7 +2198,7 @@ export class Session2 extends HeyApiClient {
2197
2198
  },
2198
2199
  ],
2199
2200
  )
2200
- return (options?.client ?? this.client).post<SessionForkResponses, unknown, ThrowOnError>({
2201
+ return (options?.client ?? this.client).post<SessionForkResponses, SessionForkErrors, ThrowOnError>({
2201
2202
  url: "/session/{sessionID}/fork",
2202
2203
  ...options,
2203
2204
  ...params,
@@ -2339,49 +2340,6 @@ export class Session2 extends HeyApiClient {
2339
2340
  })
2340
2341
  }
2341
2342
 
2342
- /**
2343
- * Summarize session
2344
- *
2345
- * Generate a concise summary of the session using AI compaction to preserve key information.
2346
- */
2347
- public summarize<ThrowOnError extends boolean = false>(
2348
- parameters: {
2349
- sessionID: string
2350
- directory?: string
2351
- workspace?: string
2352
- providerID?: string
2353
- modelID?: string
2354
- auto?: boolean
2355
- },
2356
- options?: Options<never, ThrowOnError>,
2357
- ) {
2358
- const params = buildClientParams(
2359
- [parameters],
2360
- [
2361
- {
2362
- args: [
2363
- { in: "path", key: "sessionID" },
2364
- { in: "query", key: "directory" },
2365
- { in: "query", key: "workspace" },
2366
- { in: "body", key: "providerID" },
2367
- { in: "body", key: "modelID" },
2368
- { in: "body", key: "auto" },
2369
- ],
2370
- },
2371
- ],
2372
- )
2373
- return (options?.client ?? this.client).post<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError>({
2374
- url: "/session/{sessionID}/summarize",
2375
- ...options,
2376
- ...params,
2377
- headers: {
2378
- "Content-Type": "application/json",
2379
- ...options?.headers,
2380
- ...params.headers,
2381
- },
2382
- })
2383
- }
2384
-
2385
2343
  /**
2386
2344
  * Get session messages
2387
2345
  *
@@ -2730,6 +2688,49 @@ export class Session2 extends HeyApiClient {
2730
2688
  })
2731
2689
  }
2732
2690
 
2691
+ /**
2692
+ * Summarize session
2693
+ *
2694
+ * Generate a concise summary of the session using AI compaction to preserve key information.
2695
+ */
2696
+ public summarize<ThrowOnError extends boolean = false>(
2697
+ parameters: {
2698
+ sessionID: string
2699
+ directory?: string
2700
+ workspace?: string
2701
+ providerID?: string
2702
+ modelID?: string
2703
+ auto?: boolean
2704
+ },
2705
+ options?: Options<never, ThrowOnError>,
2706
+ ) {
2707
+ const params = buildClientParams(
2708
+ [parameters],
2709
+ [
2710
+ {
2711
+ args: [
2712
+ { in: "path", key: "sessionID" },
2713
+ { in: "query", key: "directory" },
2714
+ { in: "query", key: "workspace" },
2715
+ { in: "body", key: "providerID" },
2716
+ { in: "body", key: "modelID" },
2717
+ { in: "body", key: "auto" },
2718
+ ],
2719
+ },
2720
+ ],
2721
+ )
2722
+ return (options?.client ?? this.client).post<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError>({
2723
+ url: "/session/{sessionID}/summarize",
2724
+ ...options,
2725
+ ...params,
2726
+ headers: {
2727
+ "Content-Type": "application/json",
2728
+ ...options?.headers,
2729
+ ...params.headers,
2730
+ },
2731
+ })
2732
+ }
2733
+
2733
2734
  /**
2734
2735
  * Revert message
2735
2736
  *
@@ -5604,11 +5605,7 @@ export class Heap extends HeyApiClient {
5604
5605
  },
5605
5606
  ],
5606
5607
  )
5607
- return (options?.client ?? this.client).post<
5608
- SaeeolHeapSnapshotResponses,
5609
- SaeeolHeapSnapshotErrors,
5610
- ThrowOnError
5611
- >({
5608
+ return (options?.client ?? this.client).post<SaeeolHeapSnapshotResponses, SaeeolHeapSnapshotErrors, ThrowOnError>({
5612
5609
  url: "/saeeol/heap/snapshot",
5613
5610
  ...options,
5614
5611
  ...params,
@@ -5642,18 +5639,20 @@ export class Organization extends HeyApiClient {
5642
5639
  },
5643
5640
  ],
5644
5641
  )
5645
- return (options?.client ?? this.client).post<SaeeolOrganizationSetResponses, SaeeolOrganizationSetErrors, ThrowOnError>(
5646
- {
5647
- url: "/saeeol/api/organization",
5648
- ...options,
5649
- ...params,
5650
- headers: {
5651
- "Content-Type": "application/json",
5652
- ...options?.headers,
5653
- ...params.headers,
5654
- },
5642
+ return (options?.client ?? this.client).post<
5643
+ SaeeolOrganizationSetResponses,
5644
+ SaeeolOrganizationSetErrors,
5645
+ ThrowOnError
5646
+ >({
5647
+ url: "/saeeol/api/organization",
5648
+ ...options,
5649
+ ...params,
5650
+ headers: {
5651
+ "Content-Type": "application/json",
5652
+ ...options?.headers,
5653
+ ...params.headers,
5655
5654
  },
5656
- )
5655
+ })
5657
5656
  }
5658
5657
  }
5659
5658
 
@@ -5737,7 +5736,11 @@ export class Session3 extends HeyApiClient {
5737
5736
  },
5738
5737
  ],
5739
5738
  )
5740
- return (options?.client ?? this.client).get<SaeeolCloudSessionGetResponses, SaeeolCloudSessionGetErrors, ThrowOnError>({
5739
+ return (options?.client ?? this.client).get<
5740
+ SaeeolCloudSessionGetResponses,
5741
+ SaeeolCloudSessionGetErrors,
5742
+ ThrowOnError
5743
+ >({
5741
5744
  url: "/saeeol/api/cloud/session/{id}",
5742
5745
  ...options,
5743
5746
  ...params,
@@ -5856,6 +5859,80 @@ export class Claw extends HeyApiClient {
5856
5859
  }
5857
5860
 
5858
5861
  export class Saeeol extends HeyApiClient {
5862
+ /**
5863
+ * Remove a skill
5864
+ *
5865
+ * Remove a skill by deleting its directory from disk and clearing it from cache.
5866
+ */
5867
+ public removeSkill<ThrowOnError extends boolean = false>(
5868
+ parameters?: {
5869
+ directory?: string
5870
+ workspace?: string
5871
+ location?: string
5872
+ },
5873
+ options?: Options<never, ThrowOnError>,
5874
+ ) {
5875
+ const params = buildClientParams(
5876
+ [parameters],
5877
+ [
5878
+ {
5879
+ args: [
5880
+ { in: "query", key: "directory" },
5881
+ { in: "query", key: "workspace" },
5882
+ { in: "body", key: "location" },
5883
+ ],
5884
+ },
5885
+ ],
5886
+ )
5887
+ return (options?.client ?? this.client).post<SaeeolRemoveSkillResponses, SaeeolRemoveSkillErrors, ThrowOnError>({
5888
+ url: "/saeeol/skill/remove",
5889
+ ...options,
5890
+ ...params,
5891
+ headers: {
5892
+ "Content-Type": "application/json",
5893
+ ...options?.headers,
5894
+ ...params.headers,
5895
+ },
5896
+ })
5897
+ }
5898
+
5899
+ /**
5900
+ * Remove a custom agent
5901
+ *
5902
+ * Remove a custom (non-native) agent by deleting its markdown file from disk and refreshing state.
5903
+ */
5904
+ public removeAgent<ThrowOnError extends boolean = false>(
5905
+ parameters?: {
5906
+ directory?: string
5907
+ workspace?: string
5908
+ name?: string
5909
+ },
5910
+ options?: Options<never, ThrowOnError>,
5911
+ ) {
5912
+ const params = buildClientParams(
5913
+ [parameters],
5914
+ [
5915
+ {
5916
+ args: [
5917
+ { in: "query", key: "directory" },
5918
+ { in: "query", key: "workspace" },
5919
+ { in: "body", key: "name" },
5920
+ ],
5921
+ },
5922
+ ],
5923
+ )
5924
+ return (options?.client ?? this.client).post<SaeeolRemoveAgentResponses, SaeeolRemoveAgentErrors, ThrowOnError>({
5925
+ url: "/saeeol/agent/remove",
5926
+ ...options,
5927
+ ...params,
5928
+ headers: {
5929
+ "Content-Type": "application/json",
5930
+ ...options?.headers,
5931
+ ...params.headers,
5932
+ },
5933
+ })
5934
+ }
5935
+
5859
5936
  /**
5860
5937
  * Get Saeeol Gateway profile
5861
5938
  *
@@ -6027,6 +6104,16 @@ export class Saeeol extends HeyApiClient {
6027
6104
  })
6028
6105
  }
6029
6106
 
6107
+ private _sessionImport?: SessionImport
6108
+ get sessionImport(): SessionImport {
6109
+ return (this._sessionImport ??= new SessionImport({ client: this.client }))
6110
+ }
6111
+
6112
+ private _heap?: Heap
6113
+ get heap(): Heap {
6114
+ return (this._heap ??= new Heap({ client: this.client }))
6115
+ }
6116
+
6030
6117
  private _organization?: Organization
6031
6118
  get organization(): Organization {
6032
6119
  return (this._organization ??= new Organization({ client: this.client }))
@@ -6046,94 +6133,6 @@ export class Saeeol extends HeyApiClient {
6046
6133
  get claw(): Claw {
6047
6134
  return (this._claw ??= new Claw({ client: this.client }))
6048
6135
  }
6049
-
6050
- /**
6051
- * Remove a skill
6052
- *
6053
- * Remove a skill by deleting its directory from disk and clearing it from cache.
6054
- */
6055
- public removeSkill<ThrowOnError extends boolean = false>(
6056
- parameters?: {
6057
- directory?: string
6058
- workspace?: string
6059
- location?: string
6060
- },
6061
- options?: Options<never, ThrowOnError>,
6062
- ) {
6063
- const params = buildClientParams(
6064
- [parameters],
6065
- [
6066
- {
6067
- args: [
6068
- { in: "query", key: "directory" },
6069
- { in: "query", key: "workspace" },
6070
- { in: "body", key: "location" },
6071
- ],
6072
- },
6073
- ],
6074
- )
6075
- return (options?.client ?? this.client).post<SaeeolRemoveSkillResponses, SaeeolRemoveSkillErrors, ThrowOnError>(
6076
- {
6077
- url: "/saeeol/skill/remove",
6078
- ...options,
6079
- ...params,
6080
- headers: {
6081
- "Content-Type": "application/json",
6082
- ...options?.headers,
6083
- ...params.headers,
6084
- },
6085
- },
6086
- )
6087
- }
6088
-
6089
- /**
6090
- * Remove a custom agent
6091
- *
6092
- * Remove a custom (non-native) agent by deleting its markdown file from disk and refreshing state.
6093
- */
6094
- public removeAgent<ThrowOnError extends boolean = false>(
6095
- parameters?: {
6096
- directory?: string
6097
- workspace?: string
6098
- name?: string
6099
- },
6100
- options?: Options<never, ThrowOnError>,
6101
- ) {
6102
- const params = buildClientParams(
6103
- [parameters],
6104
- [
6105
- {
6106
- args: [
6107
- { in: "query", key: "directory" },
6108
- { in: "query", key: "workspace" },
6109
- { in: "body", key: "name" },
6110
- ],
6111
- },
6112
- ],
6113
- )
6114
- return (options?.client ?? this.client).post<SaeeolRemoveAgentResponses, SaeeolRemoveAgentErrors, ThrowOnError>(
6115
- {
6116
- url: "/saeeol/agent/remove",
6117
- ...options,
6118
- ...params,
6119
- headers: {
6120
- "Content-Type": "application/json",
6121
- ...options?.headers,
6122
- ...params.headers,
6123
- },
6124
- },
6125
- )
6126
- }
6127
-
6128
- private _sessionImport?: SessionImport
6129
- get sessionImport(): SessionImport {
6130
- return (this._sessionImport ??= new SessionImport({ client: this.client }))
6131
- }
6132
-
6133
- private _heap?: Heap
6134
- get heap(): Heap {
6135
- return (this._heap ??= new Heap({ client: this.client }))
6136
- }
6137
6136
  }
6138
6137
 
6139
6138
  export class SaeeolClient extends HeyApiClient {
@@ -6179,16 +6178,16 @@ export class SaeeolClient extends HeyApiClient {
6179
6178
  return (this._config ??= new Config2({ client: this.client }))
6180
6179
  }
6181
6180
 
6182
- private _tool?: Tool
6183
- get tool(): Tool {
6184
- return (this._tool ??= new Tool({ client: this.client }))
6185
- }
6186
-
6187
6181
  private _worktree?: Worktree
6188
6182
  get worktree(): Worktree {
6189
6183
  return (this._worktree ??= new Worktree({ client: this.client }))
6190
6184
  }
6191
6185
 
6186
+ private _tool?: Tool
6187
+ get tool(): Tool {
6188
+ return (this._tool ??= new Tool({ client: this.client }))
6189
+ }
6190
+
6192
6191
  private _session?: Session2
6193
6192
  get session(): Session2 {
6194
6193
  return (this._session ??= new Session2({ client: this.client }))