@ottocode/api 0.1.306 → 0.1.307
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.
|
@@ -1466,6 +1466,7 @@ export type GetConfigResponses = {
|
|
|
1466
1466
|
releaseToSend?: boolean;
|
|
1467
1467
|
fullWidthContent?: boolean;
|
|
1468
1468
|
autoCompactThresholdTokens?: number | null;
|
|
1469
|
+
ottoEnabled?: boolean;
|
|
1469
1470
|
};
|
|
1470
1471
|
};
|
|
1471
1472
|
};
|
|
@@ -1722,7 +1723,7 @@ export type GetConfigToolsResponses = {
|
|
|
1722
1723
|
tools: Array<{
|
|
1723
1724
|
name: string;
|
|
1724
1725
|
description?: string;
|
|
1725
|
-
category: 'first_class' | 'loadable' | 'core' | 'filesystem' | 'search' | 'editing' | 'shell' | 'git' | 'web' | 'mcp' | 'skill' | 'research' | 'custom' | 'other';
|
|
1726
|
+
category: 'first_class' | 'loadable' | 'core' | 'filesystem' | 'search' | 'editing' | 'shell' | 'git' | 'web' | 'mcp' | 'skill' | 'research' | 'orchestration' | 'custom' | 'other';
|
|
1726
1727
|
source: 'builtin' | 'mcp' | 'skill' | 'custom';
|
|
1727
1728
|
activation?: 'first_class' | 'loadable' | 'mcp';
|
|
1728
1729
|
required?: boolean;
|
|
@@ -2002,6 +2003,7 @@ export type UpdateDefaultsData = {
|
|
|
2002
2003
|
releaseToSend?: boolean;
|
|
2003
2004
|
fullWidthContent?: boolean;
|
|
2004
2005
|
autoCompactThresholdTokens?: number | null;
|
|
2006
|
+
ottoEnabled?: boolean;
|
|
2005
2007
|
scope?: 'global' | 'local';
|
|
2006
2008
|
};
|
|
2007
2009
|
path?: never;
|
|
@@ -2035,6 +2037,7 @@ export type UpdateDefaultsResponses = {
|
|
|
2035
2037
|
releaseToSend?: boolean;
|
|
2036
2038
|
fullWidthContent?: boolean;
|
|
2037
2039
|
autoCompactThresholdTokens?: number | null;
|
|
2040
|
+
ottoEnabled?: boolean;
|
|
2038
2041
|
};
|
|
2039
2042
|
};
|
|
2040
2043
|
};
|
|
@@ -3790,6 +3793,382 @@ export type ExportResearchSessionResponses = {
|
|
|
3790
3793
|
};
|
|
3791
3794
|
};
|
|
3792
3795
|
export type ExportResearchSessionResponse = ExportResearchSessionResponses[keyof ExportResearchSessionResponses];
|
|
3796
|
+
export type GetSessionGoalData = {
|
|
3797
|
+
body?: never;
|
|
3798
|
+
path: {
|
|
3799
|
+
sessionId: string;
|
|
3800
|
+
};
|
|
3801
|
+
query?: {
|
|
3802
|
+
/**
|
|
3803
|
+
* Project root override (defaults to current working directory).
|
|
3804
|
+
*/
|
|
3805
|
+
project?: string;
|
|
3806
|
+
};
|
|
3807
|
+
url: '/v1/sessions/{sessionId}/goal';
|
|
3808
|
+
};
|
|
3809
|
+
export type GetSessionGoalErrors = {
|
|
3810
|
+
/**
|
|
3811
|
+
* Goals disabled
|
|
3812
|
+
*/
|
|
3813
|
+
403: {
|
|
3814
|
+
error: string;
|
|
3815
|
+
};
|
|
3816
|
+
};
|
|
3817
|
+
export type GetSessionGoalError = GetSessionGoalErrors[keyof GetSessionGoalErrors];
|
|
3818
|
+
export type GetSessionGoalResponses = {
|
|
3819
|
+
/**
|
|
3820
|
+
* OK
|
|
3821
|
+
*/
|
|
3822
|
+
200: {
|
|
3823
|
+
goal: {
|
|
3824
|
+
id: string;
|
|
3825
|
+
projectPath: string;
|
|
3826
|
+
sessionId: string | null;
|
|
3827
|
+
title: string;
|
|
3828
|
+
status: 'active' | 'completed' | 'abandoned';
|
|
3829
|
+
startedAt: number | null;
|
|
3830
|
+
createdAt: number;
|
|
3831
|
+
updatedAt: number;
|
|
3832
|
+
tasks: Array<{
|
|
3833
|
+
id: string;
|
|
3834
|
+
goalId: string;
|
|
3835
|
+
position: number;
|
|
3836
|
+
content: string;
|
|
3837
|
+
status: 'pending' | 'in_progress' | 'done_pending' | 'completed' | 'blocked' | 'cancelled';
|
|
3838
|
+
note: string | null;
|
|
3839
|
+
createdAt: number;
|
|
3840
|
+
updatedAt: number;
|
|
3841
|
+
}>;
|
|
3842
|
+
} | null;
|
|
3843
|
+
};
|
|
3844
|
+
};
|
|
3845
|
+
export type GetSessionGoalResponse = GetSessionGoalResponses[keyof GetSessionGoalResponses];
|
|
3846
|
+
export type CreateSessionGoalData = {
|
|
3847
|
+
body: {
|
|
3848
|
+
title: string;
|
|
3849
|
+
tasks?: Array<string>;
|
|
3850
|
+
};
|
|
3851
|
+
path: {
|
|
3852
|
+
sessionId: string;
|
|
3853
|
+
};
|
|
3854
|
+
query?: {
|
|
3855
|
+
/**
|
|
3856
|
+
* Project root override (defaults to current working directory).
|
|
3857
|
+
*/
|
|
3858
|
+
project?: string;
|
|
3859
|
+
};
|
|
3860
|
+
url: '/v1/sessions/{sessionId}/goal';
|
|
3861
|
+
};
|
|
3862
|
+
export type CreateSessionGoalErrors = {
|
|
3863
|
+
/**
|
|
3864
|
+
* Goals disabled
|
|
3865
|
+
*/
|
|
3866
|
+
403: {
|
|
3867
|
+
error: string;
|
|
3868
|
+
};
|
|
3869
|
+
/**
|
|
3870
|
+
* Active goal already exists
|
|
3871
|
+
*/
|
|
3872
|
+
409: {
|
|
3873
|
+
error: string;
|
|
3874
|
+
};
|
|
3875
|
+
};
|
|
3876
|
+
export type CreateSessionGoalError = CreateSessionGoalErrors[keyof CreateSessionGoalErrors];
|
|
3877
|
+
export type CreateSessionGoalResponses = {
|
|
3878
|
+
/**
|
|
3879
|
+
* Created
|
|
3880
|
+
*/
|
|
3881
|
+
201: {
|
|
3882
|
+
goal: {
|
|
3883
|
+
id: string;
|
|
3884
|
+
projectPath: string;
|
|
3885
|
+
sessionId: string | null;
|
|
3886
|
+
title: string;
|
|
3887
|
+
status: 'active' | 'completed' | 'abandoned';
|
|
3888
|
+
startedAt: number | null;
|
|
3889
|
+
createdAt: number;
|
|
3890
|
+
updatedAt: number;
|
|
3891
|
+
tasks: Array<{
|
|
3892
|
+
id: string;
|
|
3893
|
+
goalId: string;
|
|
3894
|
+
position: number;
|
|
3895
|
+
content: string;
|
|
3896
|
+
status: 'pending' | 'in_progress' | 'done_pending' | 'completed' | 'blocked' | 'cancelled';
|
|
3897
|
+
note: string | null;
|
|
3898
|
+
createdAt: number;
|
|
3899
|
+
updatedAt: number;
|
|
3900
|
+
}>;
|
|
3901
|
+
};
|
|
3902
|
+
};
|
|
3903
|
+
};
|
|
3904
|
+
export type CreateSessionGoalResponse = CreateSessionGoalResponses[keyof CreateSessionGoalResponses];
|
|
3905
|
+
export type UpdateGoalData = {
|
|
3906
|
+
body: {
|
|
3907
|
+
title?: string;
|
|
3908
|
+
status?: 'active' | 'completed' | 'abandoned';
|
|
3909
|
+
};
|
|
3910
|
+
path: {
|
|
3911
|
+
goalId: string;
|
|
3912
|
+
};
|
|
3913
|
+
query?: {
|
|
3914
|
+
/**
|
|
3915
|
+
* Project root override (defaults to current working directory).
|
|
3916
|
+
*/
|
|
3917
|
+
project?: string;
|
|
3918
|
+
};
|
|
3919
|
+
url: '/v1/goals/{goalId}';
|
|
3920
|
+
};
|
|
3921
|
+
export type UpdateGoalErrors = {
|
|
3922
|
+
/**
|
|
3923
|
+
* Goals disabled
|
|
3924
|
+
*/
|
|
3925
|
+
403: {
|
|
3926
|
+
error: string;
|
|
3927
|
+
};
|
|
3928
|
+
/**
|
|
3929
|
+
* Not Found
|
|
3930
|
+
*/
|
|
3931
|
+
404: {
|
|
3932
|
+
error: string;
|
|
3933
|
+
};
|
|
3934
|
+
};
|
|
3935
|
+
export type UpdateGoalError = UpdateGoalErrors[keyof UpdateGoalErrors];
|
|
3936
|
+
export type UpdateGoalResponses = {
|
|
3937
|
+
/**
|
|
3938
|
+
* OK
|
|
3939
|
+
*/
|
|
3940
|
+
200: {
|
|
3941
|
+
goal: {
|
|
3942
|
+
id: string;
|
|
3943
|
+
projectPath: string;
|
|
3944
|
+
sessionId: string | null;
|
|
3945
|
+
title: string;
|
|
3946
|
+
status: 'active' | 'completed' | 'abandoned';
|
|
3947
|
+
startedAt: number | null;
|
|
3948
|
+
createdAt: number;
|
|
3949
|
+
updatedAt: number;
|
|
3950
|
+
tasks: Array<{
|
|
3951
|
+
id: string;
|
|
3952
|
+
goalId: string;
|
|
3953
|
+
position: number;
|
|
3954
|
+
content: string;
|
|
3955
|
+
status: 'pending' | 'in_progress' | 'done_pending' | 'completed' | 'blocked' | 'cancelled';
|
|
3956
|
+
note: string | null;
|
|
3957
|
+
createdAt: number;
|
|
3958
|
+
updatedAt: number;
|
|
3959
|
+
}>;
|
|
3960
|
+
};
|
|
3961
|
+
};
|
|
3962
|
+
};
|
|
3963
|
+
export type UpdateGoalResponse = UpdateGoalResponses[keyof UpdateGoalResponses];
|
|
3964
|
+
export type AddGoalTasksData = {
|
|
3965
|
+
body: {
|
|
3966
|
+
tasks: Array<string>;
|
|
3967
|
+
};
|
|
3968
|
+
path: {
|
|
3969
|
+
goalId: string;
|
|
3970
|
+
};
|
|
3971
|
+
query?: {
|
|
3972
|
+
/**
|
|
3973
|
+
* Project root override (defaults to current working directory).
|
|
3974
|
+
*/
|
|
3975
|
+
project?: string;
|
|
3976
|
+
};
|
|
3977
|
+
url: '/v1/goals/{goalId}/tasks';
|
|
3978
|
+
};
|
|
3979
|
+
export type AddGoalTasksErrors = {
|
|
3980
|
+
/**
|
|
3981
|
+
* Goals disabled
|
|
3982
|
+
*/
|
|
3983
|
+
403: {
|
|
3984
|
+
error: string;
|
|
3985
|
+
};
|
|
3986
|
+
/**
|
|
3987
|
+
* Not Found
|
|
3988
|
+
*/
|
|
3989
|
+
404: {
|
|
3990
|
+
error: string;
|
|
3991
|
+
};
|
|
3992
|
+
};
|
|
3993
|
+
export type AddGoalTasksError = AddGoalTasksErrors[keyof AddGoalTasksErrors];
|
|
3994
|
+
export type AddGoalTasksResponses = {
|
|
3995
|
+
/**
|
|
3996
|
+
* Created
|
|
3997
|
+
*/
|
|
3998
|
+
201: {
|
|
3999
|
+
goal: {
|
|
4000
|
+
id: string;
|
|
4001
|
+
projectPath: string;
|
|
4002
|
+
sessionId: string | null;
|
|
4003
|
+
title: string;
|
|
4004
|
+
status: 'active' | 'completed' | 'abandoned';
|
|
4005
|
+
startedAt: number | null;
|
|
4006
|
+
createdAt: number;
|
|
4007
|
+
updatedAt: number;
|
|
4008
|
+
tasks: Array<{
|
|
4009
|
+
id: string;
|
|
4010
|
+
goalId: string;
|
|
4011
|
+
position: number;
|
|
4012
|
+
content: string;
|
|
4013
|
+
status: 'pending' | 'in_progress' | 'done_pending' | 'completed' | 'blocked' | 'cancelled';
|
|
4014
|
+
note: string | null;
|
|
4015
|
+
createdAt: number;
|
|
4016
|
+
updatedAt: number;
|
|
4017
|
+
}>;
|
|
4018
|
+
};
|
|
4019
|
+
};
|
|
4020
|
+
};
|
|
4021
|
+
export type AddGoalTasksResponse = AddGoalTasksResponses[keyof AddGoalTasksResponses];
|
|
4022
|
+
export type UpdateGoalTaskData = {
|
|
4023
|
+
body: {
|
|
4024
|
+
content?: string;
|
|
4025
|
+
status?: 'pending' | 'in_progress' | 'done_pending' | 'completed' | 'blocked' | 'cancelled';
|
|
4026
|
+
note?: string | null;
|
|
4027
|
+
};
|
|
4028
|
+
path: {
|
|
4029
|
+
goalId: string;
|
|
4030
|
+
taskId: string;
|
|
4031
|
+
};
|
|
4032
|
+
query?: {
|
|
4033
|
+
/**
|
|
4034
|
+
* Project root override (defaults to current working directory).
|
|
4035
|
+
*/
|
|
4036
|
+
project?: string;
|
|
4037
|
+
};
|
|
4038
|
+
url: '/v1/goals/{goalId}/tasks/{taskId}';
|
|
4039
|
+
};
|
|
4040
|
+
export type UpdateGoalTaskErrors = {
|
|
4041
|
+
/**
|
|
4042
|
+
* Goals disabled
|
|
4043
|
+
*/
|
|
4044
|
+
403: {
|
|
4045
|
+
error: string;
|
|
4046
|
+
};
|
|
4047
|
+
/**
|
|
4048
|
+
* Not Found
|
|
4049
|
+
*/
|
|
4050
|
+
404: {
|
|
4051
|
+
error: string;
|
|
4052
|
+
};
|
|
4053
|
+
};
|
|
4054
|
+
export type UpdateGoalTaskError = UpdateGoalTaskErrors[keyof UpdateGoalTaskErrors];
|
|
4055
|
+
export type UpdateGoalTaskResponses = {
|
|
4056
|
+
/**
|
|
4057
|
+
* OK
|
|
4058
|
+
*/
|
|
4059
|
+
200: {
|
|
4060
|
+
task: {
|
|
4061
|
+
id: string;
|
|
4062
|
+
goalId: string;
|
|
4063
|
+
position: number;
|
|
4064
|
+
content: string;
|
|
4065
|
+
status: 'pending' | 'in_progress' | 'done_pending' | 'completed' | 'blocked' | 'cancelled';
|
|
4066
|
+
note: string | null;
|
|
4067
|
+
createdAt: number;
|
|
4068
|
+
updatedAt: number;
|
|
4069
|
+
};
|
|
4070
|
+
};
|
|
4071
|
+
};
|
|
4072
|
+
export type UpdateGoalTaskResponse = UpdateGoalTaskResponses[keyof UpdateGoalTaskResponses];
|
|
4073
|
+
export type StartGoalData = {
|
|
4074
|
+
body?: never;
|
|
4075
|
+
path: {
|
|
4076
|
+
goalId: string;
|
|
4077
|
+
};
|
|
4078
|
+
query?: {
|
|
4079
|
+
/**
|
|
4080
|
+
* Project root override (defaults to current working directory).
|
|
4081
|
+
*/
|
|
4082
|
+
project?: string;
|
|
4083
|
+
};
|
|
4084
|
+
url: '/v1/goals/{goalId}/start';
|
|
4085
|
+
};
|
|
4086
|
+
export type StartGoalErrors = {
|
|
4087
|
+
/**
|
|
4088
|
+
* Goals disabled
|
|
4089
|
+
*/
|
|
4090
|
+
403: {
|
|
4091
|
+
error: string;
|
|
4092
|
+
};
|
|
4093
|
+
/**
|
|
4094
|
+
* Not Found
|
|
4095
|
+
*/
|
|
4096
|
+
404: {
|
|
4097
|
+
error: string;
|
|
4098
|
+
};
|
|
4099
|
+
/**
|
|
4100
|
+
* Goal cannot be started
|
|
4101
|
+
*/
|
|
4102
|
+
409: {
|
|
4103
|
+
error: string;
|
|
4104
|
+
};
|
|
4105
|
+
};
|
|
4106
|
+
export type StartGoalError = StartGoalErrors[keyof StartGoalErrors];
|
|
4107
|
+
export type StartGoalResponses = {
|
|
4108
|
+
/**
|
|
4109
|
+
* OK
|
|
4110
|
+
*/
|
|
4111
|
+
200: {
|
|
4112
|
+
goal: {
|
|
4113
|
+
id: string;
|
|
4114
|
+
projectPath: string;
|
|
4115
|
+
sessionId: string | null;
|
|
4116
|
+
title: string;
|
|
4117
|
+
status: 'active' | 'completed' | 'abandoned';
|
|
4118
|
+
startedAt: number | null;
|
|
4119
|
+
createdAt: number;
|
|
4120
|
+
updatedAt: number;
|
|
4121
|
+
tasks: Array<{
|
|
4122
|
+
id: string;
|
|
4123
|
+
goalId: string;
|
|
4124
|
+
position: number;
|
|
4125
|
+
content: string;
|
|
4126
|
+
status: 'pending' | 'in_progress' | 'done_pending' | 'completed' | 'blocked' | 'cancelled';
|
|
4127
|
+
note: string | null;
|
|
4128
|
+
createdAt: number;
|
|
4129
|
+
updatedAt: number;
|
|
4130
|
+
}>;
|
|
4131
|
+
};
|
|
4132
|
+
};
|
|
4133
|
+
};
|
|
4134
|
+
export type StartGoalResponse = StartGoalResponses[keyof StartGoalResponses];
|
|
4135
|
+
export type ListSessionSubagentsData = {
|
|
4136
|
+
body?: never;
|
|
4137
|
+
path: {
|
|
4138
|
+
sessionId: string;
|
|
4139
|
+
};
|
|
4140
|
+
query?: {
|
|
4141
|
+
/**
|
|
4142
|
+
* Project root override (defaults to current working directory).
|
|
4143
|
+
*/
|
|
4144
|
+
project?: string;
|
|
4145
|
+
/**
|
|
4146
|
+
* Filter sub-agents by status.
|
|
4147
|
+
*/
|
|
4148
|
+
status?: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
4149
|
+
};
|
|
4150
|
+
url: '/v1/sessions/{sessionId}/subagents';
|
|
4151
|
+
};
|
|
4152
|
+
export type ListSessionSubagentsResponses = {
|
|
4153
|
+
/**
|
|
4154
|
+
* OK
|
|
4155
|
+
*/
|
|
4156
|
+
200: {
|
|
4157
|
+
subagents: Array<{
|
|
4158
|
+
id: string;
|
|
4159
|
+
parentSessionId: string;
|
|
4160
|
+
childSessionId: string;
|
|
4161
|
+
agent: string;
|
|
4162
|
+
task: string;
|
|
4163
|
+
status: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
4164
|
+
summary: string | null;
|
|
4165
|
+
reported: boolean;
|
|
4166
|
+
createdAt: number;
|
|
4167
|
+
updatedAt: number;
|
|
4168
|
+
}>;
|
|
4169
|
+
};
|
|
4170
|
+
};
|
|
4171
|
+
export type ListSessionSubagentsResponse = ListSessionSubagentsResponses[keyof ListSessionSubagentsResponses];
|
|
3793
4172
|
export type GetOttoRouterBalanceData = {
|
|
3794
4173
|
body?: never;
|
|
3795
4174
|
path?: never;
|