Skip to content

Commit f4d4ede

Browse files
committed
chore(sdk): regenerate types for parent agent hook inputs
1 parent 24eb459 commit f4d4ede

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2128,6 +2128,7 @@ export class Session2 extends HeyApiClient {
21282128
modelID: string
21292129
}
21302130
agent?: string
2131+
parentAgent?: string
21312132
noReply?: boolean
21322133
tools?: {
21332134
[key: string]: boolean
@@ -2150,6 +2151,7 @@ export class Session2 extends HeyApiClient {
21502151
{ in: "body", key: "messageID" },
21512152
{ in: "body", key: "model" },
21522153
{ in: "body", key: "agent" },
2154+
{ in: "body", key: "parentAgent" },
21532155
{ in: "body", key: "noReply" },
21542156
{ in: "body", key: "tools" },
21552157
{ in: "body", key: "format" },
@@ -2260,6 +2262,7 @@ export class Session2 extends HeyApiClient {
22602262
modelID: string
22612263
}
22622264
agent?: string
2265+
parentAgent?: string
22632266
noReply?: boolean
22642267
tools?: {
22652268
[key: string]: boolean
@@ -2282,6 +2285,7 @@ export class Session2 extends HeyApiClient {
22822285
{ in: "body", key: "messageID" },
22832286
{ in: "body", key: "model" },
22842287
{ in: "body", key: "agent" },
2288+
{ in: "body", key: "parentAgent" },
22852289
{ in: "body", key: "noReply" },
22862290
{ in: "body", key: "tools" },
22872291
{ in: "body", key: "format" },
@@ -2374,6 +2378,7 @@ export class Session2 extends HeyApiClient {
23742378
workspace?: string
23752379
messageID?: string
23762380
agent?: string
2381+
parentAgent?: string
23772382
model?: {
23782383
providerID: string
23792384
modelID: string
@@ -2392,6 +2397,7 @@ export class Session2 extends HeyApiClient {
23922397
{ in: "query", key: "workspace" },
23932398
{ in: "body", key: "messageID" },
23942399
{ in: "body", key: "agent" },
2400+
{ in: "body", key: "parentAgent" },
23952401
{ in: "body", key: "model" },
23962402
{ in: "body", key: "command" },
23972403
],

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ export type UserMessage = {
553553
diffs: Array<SnapshotFileDiff>
554554
}
555555
agent: string
556+
parentAgent?: string
556557
model: {
557558
providerID: string
558559
modelID: string
@@ -3643,6 +3644,7 @@ export type SessionPromptData = {
36433644
modelID: string
36443645
}
36453646
agent?: string
3647+
parentAgent?: string
36463648
noReply?: boolean
36473649
/**
36483650
* @deprecated tools and permissions have been merged, you can set permissions on the session itself now
@@ -3843,6 +3845,7 @@ export type SessionPromptAsyncData = {
38433845
modelID: string
38443846
}
38453847
agent?: string
3848+
parentAgent?: string
38463849
noReply?: boolean
38473850
/**
38483851
* @deprecated tools and permissions have been merged, you can set permissions on the session itself now
@@ -3943,6 +3946,7 @@ export type SessionShellData = {
39433946
body?: {
39443947
messageID?: string
39453948
agent: string
3949+
parentAgent?: string
39463950
model?: {
39473951
providerID: string
39483952
modelID: string

0 commit comments

Comments
 (0)