Skip to content

Commit eb2603b

Browse files
sdk
1 parent 69cb91a commit eb2603b

File tree

2 files changed

+6
-22
lines changed

2 files changed

+6
-22
lines changed

packages/sdk/js/src/v2/gen/sdk.gen.ts

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2520,17 +2520,7 @@ export class Control extends HeyApiClient {
25202520
},
25212521
options?: Options<never, ThrowOnError>,
25222522
) {
2523-
const params = buildClientParams(
2524-
[parameters],
2525-
[
2526-
{
2527-
args: [
2528-
{ in: "query", key: "directory" },
2529-
{ key: "body", map: "body" },
2530-
],
2531-
},
2532-
],
2533-
)
2523+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }, { in: "body" }] }])
25342524
return (options?.client ?? this.client).post<TuiControlResponseResponses, unknown, ThrowOnError>({
25352525
url: "/tui/control/response",
25362526
...options,
@@ -2782,17 +2772,7 @@ export class Tui extends HeyApiClient {
27822772
},
27832773
options?: Options<never, ThrowOnError>,
27842774
) {
2785-
const params = buildClientParams(
2786-
[parameters],
2787-
[
2788-
{
2789-
args: [
2790-
{ in: "query", key: "directory" },
2791-
{ key: "body", map: "body" },
2792-
],
2793-
},
2794-
],
2795-
)
2775+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }, { in: "body" }] }])
27962776
return (options?.client ?? this.client).post<TuiPublishResponses, TuiPublishErrors, ThrowOnError>({
27972777
url: "/tui/publish",
27982778
...options,

packages/sdk/js/src/v2/gen/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,6 +1815,10 @@ export type Config = {
18151815
* Tools that should only be available to primary agents.
18161816
*/
18171817
primary_tools?: Array<string>
1818+
/**
1819+
* Tools that should only be available to subagents.
1820+
*/
1821+
subagent_tools?: Array<string>
18181822
/**
18191823
* Continue the agent loop when a tool call is denied
18201824
*/

0 commit comments

Comments
 (0)