@@ -292,16 +292,16 @@ type SessionToolsHandlePendingToolCallResult struct {
292292}
293293
294294type SessionToolsHandlePendingToolCallParams struct {
295- Error * string `json:"error,omitempty"`
296- RequestID string `json:"requestId"`
297- Result * ResultUnion `json:"result"`
295+ Error * string `json:"error,omitempty"`
296+ RequestID string `json:"requestId"`
297+ Result * ResultUnion `json:"result"`
298298}
299299
300300type ResultResult struct {
301- Error * string `json:"error,omitempty"`
302- ResultType * string `json:"resultType,omitempty"`
303- TextResultForLlm string `json:"textResultForLlm"`
304- ToolTelemetry map [string ]interface {} `json:"toolTelemetry,omitempty"`
301+ Error * string `json:"error,omitempty"`
302+ ResultType * string `json:"resultType,omitempty"`
303+ TextResultForLlm string `json:"textResultForLlm"`
304+ ToolTelemetry map [string ]interface {} `json:"toolTelemetry,omitempty"`
305305}
306306
307307type SessionPermissionsHandlePendingPermissionRequestResult struct {
@@ -310,16 +310,16 @@ type SessionPermissionsHandlePendingPermissionRequestResult struct {
310310}
311311
312312type SessionPermissionsHandlePendingPermissionRequestParams struct {
313- RequestID string `json:"requestId"`
314- Result SessionPermissionsHandlePendingPermissionRequestParamsResult `json:"result"`
313+ RequestID string `json:"requestId"`
314+ Result SessionPermissionsHandlePendingPermissionRequestParamsResult `json:"result"`
315315}
316316
317317type SessionPermissionsHandlePendingPermissionRequestParamsResult struct {
318- Kind Kind `json:"kind"`
319- Rules []interface {} `json:"rules,omitempty"`
320- Feedback * string `json:"feedback,omitempty"`
321- Message * string `json:"message,omitempty"`
322- Path * string `json:"path,omitempty"`
318+ Kind Kind `json:"kind"`
319+ Rules []interface {} `json:"rules,omitempty"`
320+ Feedback * string `json:"feedback,omitempty"`
321+ Message * string `json:"message,omitempty"`
322+ Path * string `json:"path,omitempty"`
323323}
324324
325325type SessionLogResult struct {
@@ -371,18 +371,18 @@ type SessionShellKillParams struct {
371371type Mode string
372372
373373const (
374- Autopilot Mode = "autopilot"
374+ Autopilot Mode = "autopilot"
375375 Interactive Mode = "interactive"
376- Plan Mode = "plan"
376+ Plan Mode = "plan"
377377)
378378
379379type Kind string
380380
381381const (
382- Approved Kind = "approved"
383- DeniedByContentExclusionPolicy Kind = "denied-by-content-exclusion-policy"
384- DeniedByRules Kind = "denied-by-rules"
385- DeniedInteractivelyByUser Kind = "denied-interactively-by-user"
382+ Approved Kind = "approved"
383+ DeniedByContentExclusionPolicy Kind = "denied-by-content-exclusion-policy"
384+ DeniedByRules Kind = "denied-by-rules"
385+ DeniedInteractivelyByUser Kind = "denied-interactively-by-user"
386386 DeniedNoApprovalRuleAndCouldNotRequestFromUser Kind = "denied-no-approval-rule-and-could-not-request-from-user"
387387)
388388
@@ -391,23 +391,23 @@ const (
391391type Level string
392392
393393const (
394- Error Level = "error"
395- Info Level = "info"
394+ Error Level = "error"
395+ Info Level = "info"
396396 Warning Level = "warning"
397397)
398398
399399// Signal to send (default: SIGTERM)
400400type Signal string
401401
402402const (
403- Sigint Signal = "SIGINT"
403+ Sigint Signal = "SIGINT"
404404 Sigkill Signal = "SIGKILL"
405405 Sigterm Signal = "SIGTERM"
406406)
407407
408408type ResultUnion struct {
409409 ResultResult * ResultResult
410- String * string
410+ String * string
411411}
412412
413413type ServerModelsRpcApi struct {
0 commit comments