@synsci/sdk 2.0.94 → 2.0.95
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/dist/src/v2/gen/sdk.gen.d.ts +180 -6
- package/dist/src/v2/gen/sdk.gen.js +403 -1
- package/dist/src/v2/gen/types.gen.d.ts +653 -9
- package/package.json +1 -1
|
@@ -252,7 +252,6 @@ export type UserMessage = {
|
|
|
252
252
|
modelID: string;
|
|
253
253
|
};
|
|
254
254
|
autonomy?: "interactive" | "balanced" | "autonomous";
|
|
255
|
-
strategy?: "parallel" | "fusion";
|
|
256
255
|
};
|
|
257
256
|
variant?: string;
|
|
258
257
|
tier?: string;
|
|
@@ -844,6 +843,138 @@ export type EventTodoUpdated = {
|
|
|
844
843
|
todos: Array<Todo>;
|
|
845
844
|
};
|
|
846
845
|
};
|
|
846
|
+
export type ExperimentRun = {
|
|
847
|
+
id: string;
|
|
848
|
+
projectID: string;
|
|
849
|
+
studyID?: string;
|
|
850
|
+
ideaID?: string;
|
|
851
|
+
jobID?: string;
|
|
852
|
+
sessionID?: string;
|
|
853
|
+
name: string;
|
|
854
|
+
status: "running" | "finished" | "failed" | "killed" | "cancelled";
|
|
855
|
+
source: "job" | "kernel" | "external";
|
|
856
|
+
config: {
|
|
857
|
+
[key: string]: unknown;
|
|
858
|
+
};
|
|
859
|
+
summary: {
|
|
860
|
+
[key: string]: unknown;
|
|
861
|
+
};
|
|
862
|
+
headline: number | null;
|
|
863
|
+
baselineDelta: number | null;
|
|
864
|
+
points: number;
|
|
865
|
+
lastStep: number | null;
|
|
866
|
+
slot: number | null;
|
|
867
|
+
killReason?: string;
|
|
868
|
+
createdAt: number;
|
|
869
|
+
startedAt: number | null;
|
|
870
|
+
endedAt: number | null;
|
|
871
|
+
};
|
|
872
|
+
export type EventExperimentRunUpdated = {
|
|
873
|
+
type: "experiment.run.updated";
|
|
874
|
+
properties: {
|
|
875
|
+
run: ExperimentRun;
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
export type EventExperimentRunPoints = {
|
|
879
|
+
type: "experiment.run.points";
|
|
880
|
+
properties: {
|
|
881
|
+
runID: string;
|
|
882
|
+
keys: Array<string>;
|
|
883
|
+
lastStep: number | null;
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
export type StudyBudget = {
|
|
887
|
+
maxRuns?: number;
|
|
888
|
+
maxHours?: number;
|
|
889
|
+
maxCostUSD?: number;
|
|
890
|
+
target?: number;
|
|
891
|
+
runMinutes?: number;
|
|
892
|
+
};
|
|
893
|
+
export type StudyDirective = {
|
|
894
|
+
id: string;
|
|
895
|
+
text: string;
|
|
896
|
+
createdAt: number;
|
|
897
|
+
active: boolean;
|
|
898
|
+
};
|
|
899
|
+
export type Study = {
|
|
900
|
+
id: string;
|
|
901
|
+
projectID: string;
|
|
902
|
+
sessionID: string;
|
|
903
|
+
name: string;
|
|
904
|
+
purpose: string;
|
|
905
|
+
metric: string;
|
|
906
|
+
direction: "minimize" | "maximize";
|
|
907
|
+
status: "running" | "paused" | "halted" | "concluded";
|
|
908
|
+
root: string;
|
|
909
|
+
target: {
|
|
910
|
+
kind: "local";
|
|
911
|
+
} | {
|
|
912
|
+
kind: "ssh";
|
|
913
|
+
host_id: string;
|
|
914
|
+
} | {
|
|
915
|
+
kind: "modal";
|
|
916
|
+
gpu?: string;
|
|
917
|
+
};
|
|
918
|
+
concurrency: number;
|
|
919
|
+
killCriteria: string;
|
|
920
|
+
budget: StudyBudget;
|
|
921
|
+
review: boolean;
|
|
922
|
+
baselineRunID?: string;
|
|
923
|
+
bestRunID?: string;
|
|
924
|
+
turns: number;
|
|
925
|
+
costUSD: number;
|
|
926
|
+
lessons: string;
|
|
927
|
+
directives: Array<StudyDirective>;
|
|
928
|
+
conclusion?: string;
|
|
929
|
+
createdAt: number;
|
|
930
|
+
updatedAt: number;
|
|
931
|
+
};
|
|
932
|
+
export type EventExperimentStudyUpdated = {
|
|
933
|
+
type: "experiment.study.updated";
|
|
934
|
+
properties: {
|
|
935
|
+
study: Study;
|
|
936
|
+
};
|
|
937
|
+
};
|
|
938
|
+
export type StudyIdea = {
|
|
939
|
+
id: string;
|
|
940
|
+
studyID: string;
|
|
941
|
+
title: string;
|
|
942
|
+
description: string;
|
|
943
|
+
why: string;
|
|
944
|
+
ev: number;
|
|
945
|
+
priority: number;
|
|
946
|
+
status: "queued" | "running" | "kept" | "reverted" | "failed" | "dropped";
|
|
947
|
+
source: "seed" | "agent" | "human" | "lesson";
|
|
948
|
+
config: {
|
|
949
|
+
[key: string]: unknown;
|
|
950
|
+
};
|
|
951
|
+
runID?: string;
|
|
952
|
+
analysis?: string;
|
|
953
|
+
conclusion?: string;
|
|
954
|
+
createdAt: number;
|
|
955
|
+
startedAt: number | null;
|
|
956
|
+
endedAt: number | null;
|
|
957
|
+
};
|
|
958
|
+
export type EventExperimentIdeaUpdated = {
|
|
959
|
+
type: "experiment.idea.updated";
|
|
960
|
+
properties: {
|
|
961
|
+
idea: StudyIdea;
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
export type StudyEvent = {
|
|
965
|
+
id: string;
|
|
966
|
+
studyID: string;
|
|
967
|
+
runID?: string;
|
|
968
|
+
kind: string;
|
|
969
|
+
message: string;
|
|
970
|
+
createdAt: number;
|
|
971
|
+
};
|
|
972
|
+
export type EventExperimentStudyEvent = {
|
|
973
|
+
type: "experiment.study.event";
|
|
974
|
+
properties: {
|
|
975
|
+
event: StudyEvent;
|
|
976
|
+
};
|
|
977
|
+
};
|
|
847
978
|
export type EventMcpToolsChanged = {
|
|
848
979
|
type: "mcp.tools.changed";
|
|
849
980
|
properties: {
|
|
@@ -1034,7 +1165,7 @@ export type EventWorktreeFailed = {
|
|
|
1034
1165
|
message: string;
|
|
1035
1166
|
};
|
|
1036
1167
|
};
|
|
1037
|
-
export type Event = EventServerConnected | EventGlobalDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventProjectTrustChanged | EventAccountUpdated | EventAccountLogin | EventLspClientDiagnostics | EventLspUpdated | EventFileWatcherUpdated | EventSessionFilesystemChanged | EventProjectAccessChanged | EventVcsBranchUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionCancelled | EventPermissionReplied | EventSkillUpdated | EventSessionContext | EventSessionCompaction | EventSessionRequestProgress | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionCancelled | EventQuestionRejected | EventSessionCompacted | EventTodoUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileEdited | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorktreeReady | EventWorktreeFailed;
|
|
1168
|
+
export type Event = EventServerConnected | EventGlobalDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventProjectTrustChanged | EventAccountUpdated | EventAccountLogin | EventLspClientDiagnostics | EventLspUpdated | EventFileWatcherUpdated | EventSessionFilesystemChanged | EventProjectAccessChanged | EventVcsBranchUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionCancelled | EventPermissionReplied | EventSkillUpdated | EventSessionContext | EventSessionCompaction | EventSessionRequestProgress | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionCancelled | EventQuestionRejected | EventSessionCompacted | EventTodoUpdated | EventExperimentRunUpdated | EventExperimentRunPoints | EventExperimentStudyUpdated | EventExperimentIdeaUpdated | EventExperimentStudyEvent | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileEdited | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorktreeReady | EventWorktreeFailed;
|
|
1038
1169
|
export type GlobalEvent = {
|
|
1039
1170
|
directory: string;
|
|
1040
1171
|
payload: Event;
|
|
@@ -2265,6 +2396,30 @@ export type PermissionStanding = {
|
|
|
2265
2396
|
scope: PermissionStandingScope;
|
|
2266
2397
|
created: number;
|
|
2267
2398
|
};
|
|
2399
|
+
export type ExperimentSeries = Array<{
|
|
2400
|
+
runID: string;
|
|
2401
|
+
key: string;
|
|
2402
|
+
points: Array<{
|
|
2403
|
+
step: number;
|
|
2404
|
+
value: number;
|
|
2405
|
+
}>;
|
|
2406
|
+
}>;
|
|
2407
|
+
export type LocalGpu = {
|
|
2408
|
+
index: number;
|
|
2409
|
+
name: string;
|
|
2410
|
+
memoryTotalMB: number;
|
|
2411
|
+
memoryUsedMB: number;
|
|
2412
|
+
utilization: number;
|
|
2413
|
+
temperatureC: number | null;
|
|
2414
|
+
};
|
|
2415
|
+
export type StudyOverview = {
|
|
2416
|
+
study: Study;
|
|
2417
|
+
ideas: Array<StudyIdea>;
|
|
2418
|
+
runs: Array<ExperimentRun>;
|
|
2419
|
+
events: Array<StudyEvent>;
|
|
2420
|
+
baseline?: ExperimentRun;
|
|
2421
|
+
best?: ExperimentRun;
|
|
2422
|
+
};
|
|
2268
2423
|
export type ProviderAuthMethod = {
|
|
2269
2424
|
type: "oauth" | "api";
|
|
2270
2425
|
label: string;
|
|
@@ -2378,6 +2533,23 @@ export type McpAuthPending = {
|
|
|
2378
2533
|
} | {
|
|
2379
2534
|
pending: false;
|
|
2380
2535
|
};
|
|
2536
|
+
export type SkillRoot = {
|
|
2537
|
+
path: string;
|
|
2538
|
+
kind: "bundled" | "project" | "user" | "installed" | "config" | "runtime";
|
|
2539
|
+
skills: number;
|
|
2540
|
+
shadowed: number;
|
|
2541
|
+
};
|
|
2542
|
+
export type ShadowedSkill = {
|
|
2543
|
+
name: string;
|
|
2544
|
+
location: string;
|
|
2545
|
+
origin: "default" | "installed" | "user" | "project";
|
|
2546
|
+
by: string;
|
|
2547
|
+
};
|
|
2548
|
+
export type SkillRoots = {
|
|
2549
|
+
roots: Array<SkillRoot>;
|
|
2550
|
+
shadowed: Array<ShadowedSkill>;
|
|
2551
|
+
revision: number;
|
|
2552
|
+
};
|
|
2381
2553
|
export type Path = {
|
|
2382
2554
|
home: string;
|
|
2383
2555
|
state: string;
|
|
@@ -7080,7 +7252,6 @@ export type SettingsPreferencesGetResponses = {
|
|
|
7080
7252
|
modelID: string;
|
|
7081
7253
|
} | null;
|
|
7082
7254
|
delegation_autonomy?: "interactive" | "balanced" | "autonomous";
|
|
7083
|
-
delegation_strategy?: "parallel" | "fusion";
|
|
7084
7255
|
delegation_diversity?: "focused" | "balanced" | "exploratory";
|
|
7085
7256
|
};
|
|
7086
7257
|
};
|
|
@@ -7103,7 +7274,6 @@ export type SettingsPreferencesUpdateData = {
|
|
|
7103
7274
|
modelID: string;
|
|
7104
7275
|
} | null;
|
|
7105
7276
|
delegation_autonomy?: "interactive" | "balanced" | "autonomous";
|
|
7106
|
-
delegation_strategy?: "parallel" | "fusion";
|
|
7107
7277
|
delegation_diversity?: "focused" | "balanced" | "exploratory";
|
|
7108
7278
|
};
|
|
7109
7279
|
path?: never;
|
|
@@ -7134,7 +7304,6 @@ export type SettingsPreferencesUpdateResponses = {
|
|
|
7134
7304
|
modelID: string;
|
|
7135
7305
|
} | null;
|
|
7136
7306
|
delegation_autonomy?: "interactive" | "balanced" | "autonomous";
|
|
7137
|
-
delegation_strategy?: "parallel" | "fusion";
|
|
7138
7307
|
delegation_diversity?: "focused" | "balanced" | "exploratory";
|
|
7139
7308
|
};
|
|
7140
7309
|
};
|
|
@@ -9613,7 +9782,6 @@ export type SessionPromptData = {
|
|
|
9613
9782
|
modelID: string;
|
|
9614
9783
|
};
|
|
9615
9784
|
autonomy?: "interactive" | "balanced" | "autonomous";
|
|
9616
|
-
strategy?: "parallel" | "fusion";
|
|
9617
9785
|
};
|
|
9618
9786
|
system?: string;
|
|
9619
9787
|
variant?: string;
|
|
@@ -9793,7 +9961,6 @@ export type SessionPromptAsyncData = {
|
|
|
9793
9961
|
modelID: string;
|
|
9794
9962
|
};
|
|
9795
9963
|
autonomy?: "interactive" | "balanced" | "autonomous";
|
|
9796
|
-
strategy?: "parallel" | "fusion";
|
|
9797
9964
|
};
|
|
9798
9965
|
system?: string;
|
|
9799
9966
|
variant?: string;
|
|
@@ -9846,7 +10013,6 @@ export type SessionCommandData = {
|
|
|
9846
10013
|
modelID: string;
|
|
9847
10014
|
};
|
|
9848
10015
|
autonomy?: "interactive" | "balanced" | "autonomous";
|
|
9849
|
-
strategy?: "parallel" | "fusion";
|
|
9850
10016
|
};
|
|
9851
10017
|
variant?: string;
|
|
9852
10018
|
tier?: string;
|
|
@@ -10054,7 +10220,6 @@ export type RuntimePromptData = {
|
|
|
10054
10220
|
modelID: string;
|
|
10055
10221
|
};
|
|
10056
10222
|
autonomy?: "interactive" | "balanced" | "autonomous";
|
|
10057
|
-
strategy?: "parallel" | "fusion";
|
|
10058
10223
|
};
|
|
10059
10224
|
requestID?: string;
|
|
10060
10225
|
message?: string;
|
|
@@ -10434,6 +10599,362 @@ export type QuestionRejectResponses = {
|
|
|
10434
10599
|
200: boolean;
|
|
10435
10600
|
};
|
|
10436
10601
|
export type QuestionRejectResponse = QuestionRejectResponses[keyof QuestionRejectResponses];
|
|
10602
|
+
export type ExperimentsRunsData = {
|
|
10603
|
+
body?: never;
|
|
10604
|
+
path?: never;
|
|
10605
|
+
query?: {
|
|
10606
|
+
directory?: string;
|
|
10607
|
+
study_id?: string;
|
|
10608
|
+
status?: "running" | "finished" | "failed" | "killed" | "cancelled";
|
|
10609
|
+
limit?: number;
|
|
10610
|
+
};
|
|
10611
|
+
url: "/experiments/runs";
|
|
10612
|
+
};
|
|
10613
|
+
export type ExperimentsRunsResponses = {
|
|
10614
|
+
/**
|
|
10615
|
+
* Runs
|
|
10616
|
+
*/
|
|
10617
|
+
200: Array<ExperimentRun>;
|
|
10618
|
+
};
|
|
10619
|
+
export type ExperimentsRunsResponse = ExperimentsRunsResponses[keyof ExperimentsRunsResponses];
|
|
10620
|
+
export type ExperimentsRunData = {
|
|
10621
|
+
body?: never;
|
|
10622
|
+
path: {
|
|
10623
|
+
runID: string;
|
|
10624
|
+
};
|
|
10625
|
+
query?: {
|
|
10626
|
+
directory?: string;
|
|
10627
|
+
};
|
|
10628
|
+
url: "/experiments/runs/{runID}";
|
|
10629
|
+
};
|
|
10630
|
+
export type ExperimentsRunErrors = {
|
|
10631
|
+
/**
|
|
10632
|
+
* Not found
|
|
10633
|
+
*/
|
|
10634
|
+
404: NotFoundError;
|
|
10635
|
+
};
|
|
10636
|
+
export type ExperimentsRunError = ExperimentsRunErrors[keyof ExperimentsRunErrors];
|
|
10637
|
+
export type ExperimentsRunResponses = {
|
|
10638
|
+
/**
|
|
10639
|
+
* Run
|
|
10640
|
+
*/
|
|
10641
|
+
200: ExperimentRun;
|
|
10642
|
+
};
|
|
10643
|
+
export type ExperimentsRunResponse = ExperimentsRunResponses[keyof ExperimentsRunResponses];
|
|
10644
|
+
export type ExperimentsSeriesData = {
|
|
10645
|
+
body?: never;
|
|
10646
|
+
path?: never;
|
|
10647
|
+
query: {
|
|
10648
|
+
directory?: string;
|
|
10649
|
+
run_ids: string;
|
|
10650
|
+
keys?: string;
|
|
10651
|
+
max?: number;
|
|
10652
|
+
};
|
|
10653
|
+
url: "/experiments/series";
|
|
10654
|
+
};
|
|
10655
|
+
export type ExperimentsSeriesResponses = {
|
|
10656
|
+
/**
|
|
10657
|
+
* Series
|
|
10658
|
+
*/
|
|
10659
|
+
200: ExperimentSeries;
|
|
10660
|
+
};
|
|
10661
|
+
export type ExperimentsSeriesResponse = ExperimentsSeriesResponses[keyof ExperimentsSeriesResponses];
|
|
10662
|
+
export type ExperimentsKeysData = {
|
|
10663
|
+
body?: never;
|
|
10664
|
+
path?: never;
|
|
10665
|
+
query?: {
|
|
10666
|
+
directory?: string;
|
|
10667
|
+
run_ids?: string;
|
|
10668
|
+
study_id?: string;
|
|
10669
|
+
};
|
|
10670
|
+
url: "/experiments/keys";
|
|
10671
|
+
};
|
|
10672
|
+
export type ExperimentsKeysResponses = {
|
|
10673
|
+
/**
|
|
10674
|
+
* Keys
|
|
10675
|
+
*/
|
|
10676
|
+
200: Array<string>;
|
|
10677
|
+
};
|
|
10678
|
+
export type ExperimentsKeysResponse = ExperimentsKeysResponses[keyof ExperimentsKeysResponses];
|
|
10679
|
+
export type ExperimentsGpusData = {
|
|
10680
|
+
body?: never;
|
|
10681
|
+
path?: never;
|
|
10682
|
+
query?: {
|
|
10683
|
+
directory?: string;
|
|
10684
|
+
};
|
|
10685
|
+
url: "/experiments/gpus";
|
|
10686
|
+
};
|
|
10687
|
+
export type ExperimentsGpusResponses = {
|
|
10688
|
+
/**
|
|
10689
|
+
* GPUs
|
|
10690
|
+
*/
|
|
10691
|
+
200: Array<LocalGpu>;
|
|
10692
|
+
};
|
|
10693
|
+
export type ExperimentsGpusResponse = ExperimentsGpusResponses[keyof ExperimentsGpusResponses];
|
|
10694
|
+
export type ExperimentsStudiesData = {
|
|
10695
|
+
body?: never;
|
|
10696
|
+
path?: never;
|
|
10697
|
+
query?: {
|
|
10698
|
+
directory?: string;
|
|
10699
|
+
};
|
|
10700
|
+
url: "/experiments/studies";
|
|
10701
|
+
};
|
|
10702
|
+
export type ExperimentsStudiesResponses = {
|
|
10703
|
+
/**
|
|
10704
|
+
* Studies
|
|
10705
|
+
*/
|
|
10706
|
+
200: Array<Study>;
|
|
10707
|
+
};
|
|
10708
|
+
export type ExperimentsStudiesResponse = ExperimentsStudiesResponses[keyof ExperimentsStudiesResponses];
|
|
10709
|
+
export type ExperimentsStudyData = {
|
|
10710
|
+
body?: never;
|
|
10711
|
+
path: {
|
|
10712
|
+
studyID: string;
|
|
10713
|
+
};
|
|
10714
|
+
query?: {
|
|
10715
|
+
directory?: string;
|
|
10716
|
+
};
|
|
10717
|
+
url: "/experiments/studies/{studyID}";
|
|
10718
|
+
};
|
|
10719
|
+
export type ExperimentsStudyErrors = {
|
|
10720
|
+
/**
|
|
10721
|
+
* Not found
|
|
10722
|
+
*/
|
|
10723
|
+
404: NotFoundError;
|
|
10724
|
+
};
|
|
10725
|
+
export type ExperimentsStudyError = ExperimentsStudyErrors[keyof ExperimentsStudyErrors];
|
|
10726
|
+
export type ExperimentsStudyResponses = {
|
|
10727
|
+
/**
|
|
10728
|
+
* Overview
|
|
10729
|
+
*/
|
|
10730
|
+
200: StudyOverview;
|
|
10731
|
+
};
|
|
10732
|
+
export type ExperimentsStudyResponse = ExperimentsStudyResponses[keyof ExperimentsStudyResponses];
|
|
10733
|
+
export type ExperimentsStudyControlData = {
|
|
10734
|
+
body?: never;
|
|
10735
|
+
path: {
|
|
10736
|
+
studyID: string;
|
|
10737
|
+
action: "pause" | "resume" | "halt" | "render";
|
|
10738
|
+
};
|
|
10739
|
+
query?: {
|
|
10740
|
+
directory?: string;
|
|
10741
|
+
};
|
|
10742
|
+
url: "/experiments/studies/{studyID}/{action}";
|
|
10743
|
+
};
|
|
10744
|
+
export type ExperimentsStudyControlErrors = {
|
|
10745
|
+
/**
|
|
10746
|
+
* Bad request
|
|
10747
|
+
*/
|
|
10748
|
+
400: BadRequestError;
|
|
10749
|
+
/**
|
|
10750
|
+
* Not found
|
|
10751
|
+
*/
|
|
10752
|
+
404: NotFoundError;
|
|
10753
|
+
};
|
|
10754
|
+
export type ExperimentsStudyControlError = ExperimentsStudyControlErrors[keyof ExperimentsStudyControlErrors];
|
|
10755
|
+
export type ExperimentsStudyControlResponses = {
|
|
10756
|
+
/**
|
|
10757
|
+
* Study
|
|
10758
|
+
*/
|
|
10759
|
+
200: Study;
|
|
10760
|
+
};
|
|
10761
|
+
export type ExperimentsStudyControlResponse = ExperimentsStudyControlResponses[keyof ExperimentsStudyControlResponses];
|
|
10762
|
+
export type ExperimentsDirectiveData = {
|
|
10763
|
+
body?: {
|
|
10764
|
+
text: string;
|
|
10765
|
+
};
|
|
10766
|
+
path: {
|
|
10767
|
+
studyID: string;
|
|
10768
|
+
};
|
|
10769
|
+
query?: {
|
|
10770
|
+
directory?: string;
|
|
10771
|
+
};
|
|
10772
|
+
url: "/experiments/studies/{studyID}/directives";
|
|
10773
|
+
};
|
|
10774
|
+
export type ExperimentsDirectiveErrors = {
|
|
10775
|
+
/**
|
|
10776
|
+
* Bad request
|
|
10777
|
+
*/
|
|
10778
|
+
400: BadRequestError;
|
|
10779
|
+
/**
|
|
10780
|
+
* Not found
|
|
10781
|
+
*/
|
|
10782
|
+
404: NotFoundError;
|
|
10783
|
+
};
|
|
10784
|
+
export type ExperimentsDirectiveError = ExperimentsDirectiveErrors[keyof ExperimentsDirectiveErrors];
|
|
10785
|
+
export type ExperimentsDirectiveResponses = {
|
|
10786
|
+
/**
|
|
10787
|
+
* Study
|
|
10788
|
+
*/
|
|
10789
|
+
200: Study;
|
|
10790
|
+
};
|
|
10791
|
+
export type ExperimentsDirectiveResponse = ExperimentsDirectiveResponses[keyof ExperimentsDirectiveResponses];
|
|
10792
|
+
export type ExperimentsRetireDirectiveData = {
|
|
10793
|
+
body?: never;
|
|
10794
|
+
path: {
|
|
10795
|
+
studyID: string;
|
|
10796
|
+
directiveID: string;
|
|
10797
|
+
};
|
|
10798
|
+
query?: {
|
|
10799
|
+
directory?: string;
|
|
10800
|
+
};
|
|
10801
|
+
url: "/experiments/studies/{studyID}/directives/{directiveID}/retire";
|
|
10802
|
+
};
|
|
10803
|
+
export type ExperimentsRetireDirectiveErrors = {
|
|
10804
|
+
/**
|
|
10805
|
+
* Not found
|
|
10806
|
+
*/
|
|
10807
|
+
404: NotFoundError;
|
|
10808
|
+
};
|
|
10809
|
+
export type ExperimentsRetireDirectiveError = ExperimentsRetireDirectiveErrors[keyof ExperimentsRetireDirectiveErrors];
|
|
10810
|
+
export type ExperimentsRetireDirectiveResponses = {
|
|
10811
|
+
/**
|
|
10812
|
+
* Study
|
|
10813
|
+
*/
|
|
10814
|
+
200: Study;
|
|
10815
|
+
};
|
|
10816
|
+
export type ExperimentsRetireDirectiveResponse = ExperimentsRetireDirectiveResponses[keyof ExperimentsRetireDirectiveResponses];
|
|
10817
|
+
export type ExperimentsIdeaData = {
|
|
10818
|
+
body?: {
|
|
10819
|
+
priority?: number;
|
|
10820
|
+
status?: "queued" | "dropped";
|
|
10821
|
+
};
|
|
10822
|
+
path: {
|
|
10823
|
+
studyID: string;
|
|
10824
|
+
ideaID: string;
|
|
10825
|
+
};
|
|
10826
|
+
query?: {
|
|
10827
|
+
directory?: string;
|
|
10828
|
+
};
|
|
10829
|
+
url: "/experiments/studies/{studyID}/ideas/{ideaID}";
|
|
10830
|
+
};
|
|
10831
|
+
export type ExperimentsIdeaErrors = {
|
|
10832
|
+
/**
|
|
10833
|
+
* Not found
|
|
10834
|
+
*/
|
|
10835
|
+
404: NotFoundError;
|
|
10836
|
+
};
|
|
10837
|
+
export type ExperimentsIdeaError = ExperimentsIdeaErrors[keyof ExperimentsIdeaErrors];
|
|
10838
|
+
export type ExperimentsIdeaResponses = {
|
|
10839
|
+
/**
|
|
10840
|
+
* Idea
|
|
10841
|
+
*/
|
|
10842
|
+
200: StudyIdea;
|
|
10843
|
+
};
|
|
10844
|
+
export type ExperimentsIdeaResponse = ExperimentsIdeaResponses[keyof ExperimentsIdeaResponses];
|
|
10845
|
+
export type ExperimentsIngestRunData = {
|
|
10846
|
+
body?: {
|
|
10847
|
+
name: string;
|
|
10848
|
+
project?: string;
|
|
10849
|
+
config?: {
|
|
10850
|
+
[key: string]: unknown;
|
|
10851
|
+
};
|
|
10852
|
+
study_id?: string;
|
|
10853
|
+
session_id?: string;
|
|
10854
|
+
};
|
|
10855
|
+
path?: never;
|
|
10856
|
+
query?: {
|
|
10857
|
+
directory?: string;
|
|
10858
|
+
};
|
|
10859
|
+
url: "/experiments/ingest/runs";
|
|
10860
|
+
};
|
|
10861
|
+
export type ExperimentsIngestRunResponses = {
|
|
10862
|
+
/**
|
|
10863
|
+
* Run identity
|
|
10864
|
+
*/
|
|
10865
|
+
200: {
|
|
10866
|
+
id: string;
|
|
10867
|
+
token: string;
|
|
10868
|
+
};
|
|
10869
|
+
};
|
|
10870
|
+
export type ExperimentsIngestRunResponse = ExperimentsIngestRunResponses[keyof ExperimentsIngestRunResponses];
|
|
10871
|
+
export type ExperimentsIngestPointsData = {
|
|
10872
|
+
body?: {
|
|
10873
|
+
points: Array<{
|
|
10874
|
+
key: string;
|
|
10875
|
+
step: number;
|
|
10876
|
+
value: number;
|
|
10877
|
+
ts?: number;
|
|
10878
|
+
}>;
|
|
10879
|
+
};
|
|
10880
|
+
path: {
|
|
10881
|
+
runID: string;
|
|
10882
|
+
};
|
|
10883
|
+
query?: {
|
|
10884
|
+
directory?: string;
|
|
10885
|
+
};
|
|
10886
|
+
url: "/experiments/ingest/runs/{runID}/points";
|
|
10887
|
+
};
|
|
10888
|
+
export type ExperimentsIngestPointsErrors = {
|
|
10889
|
+
/**
|
|
10890
|
+
* Not found
|
|
10891
|
+
*/
|
|
10892
|
+
404: NotFoundError;
|
|
10893
|
+
};
|
|
10894
|
+
export type ExperimentsIngestPointsError = ExperimentsIngestPointsErrors[keyof ExperimentsIngestPointsErrors];
|
|
10895
|
+
export type ExperimentsIngestPointsResponses = {
|
|
10896
|
+
/**
|
|
10897
|
+
* Accepted count
|
|
10898
|
+
*/
|
|
10899
|
+
200: {
|
|
10900
|
+
accepted: number;
|
|
10901
|
+
};
|
|
10902
|
+
};
|
|
10903
|
+
export type ExperimentsIngestPointsResponse = ExperimentsIngestPointsResponses[keyof ExperimentsIngestPointsResponses];
|
|
10904
|
+
export type ExperimentsIngestSummaryData = {
|
|
10905
|
+
body?: {
|
|
10906
|
+
summary: {
|
|
10907
|
+
[key: string]: unknown;
|
|
10908
|
+
};
|
|
10909
|
+
};
|
|
10910
|
+
path: {
|
|
10911
|
+
runID: string;
|
|
10912
|
+
};
|
|
10913
|
+
query?: {
|
|
10914
|
+
directory?: string;
|
|
10915
|
+
};
|
|
10916
|
+
url: "/experiments/ingest/runs/{runID}/summary";
|
|
10917
|
+
};
|
|
10918
|
+
export type ExperimentsIngestSummaryErrors = {
|
|
10919
|
+
/**
|
|
10920
|
+
* Not found
|
|
10921
|
+
*/
|
|
10922
|
+
404: NotFoundError;
|
|
10923
|
+
};
|
|
10924
|
+
export type ExperimentsIngestSummaryError = ExperimentsIngestSummaryErrors[keyof ExperimentsIngestSummaryErrors];
|
|
10925
|
+
export type ExperimentsIngestSummaryResponses = {
|
|
10926
|
+
/**
|
|
10927
|
+
* Run
|
|
10928
|
+
*/
|
|
10929
|
+
200: ExperimentRun;
|
|
10930
|
+
};
|
|
10931
|
+
export type ExperimentsIngestSummaryResponse = ExperimentsIngestSummaryResponses[keyof ExperimentsIngestSummaryResponses];
|
|
10932
|
+
export type ExperimentsIngestFinishData = {
|
|
10933
|
+
body?: {
|
|
10934
|
+
status?: "finished" | "failed";
|
|
10935
|
+
};
|
|
10936
|
+
path: {
|
|
10937
|
+
runID: string;
|
|
10938
|
+
};
|
|
10939
|
+
query?: {
|
|
10940
|
+
directory?: string;
|
|
10941
|
+
};
|
|
10942
|
+
url: "/experiments/ingest/runs/{runID}/finish";
|
|
10943
|
+
};
|
|
10944
|
+
export type ExperimentsIngestFinishErrors = {
|
|
10945
|
+
/**
|
|
10946
|
+
* Not found
|
|
10947
|
+
*/
|
|
10948
|
+
404: NotFoundError;
|
|
10949
|
+
};
|
|
10950
|
+
export type ExperimentsIngestFinishError = ExperimentsIngestFinishErrors[keyof ExperimentsIngestFinishErrors];
|
|
10951
|
+
export type ExperimentsIngestFinishResponses = {
|
|
10952
|
+
/**
|
|
10953
|
+
* Run
|
|
10954
|
+
*/
|
|
10955
|
+
200: ExperimentRun;
|
|
10956
|
+
};
|
|
10957
|
+
export type ExperimentsIngestFinishResponse = ExperimentsIngestFinishResponses[keyof ExperimentsIngestFinishResponses];
|
|
10437
10958
|
export type ProviderListData = {
|
|
10438
10959
|
body?: never;
|
|
10439
10960
|
path?: never;
|
|
@@ -14928,6 +15449,97 @@ export type McpDisconnectResponses = {
|
|
|
14928
15449
|
200: boolean;
|
|
14929
15450
|
};
|
|
14930
15451
|
export type McpDisconnectResponse = McpDisconnectResponses[keyof McpDisconnectResponses];
|
|
15452
|
+
export type SettingsSkillsRemoveRootData = {
|
|
15453
|
+
body?: never;
|
|
15454
|
+
path?: never;
|
|
15455
|
+
query: {
|
|
15456
|
+
directory?: string;
|
|
15457
|
+
path: string;
|
|
15458
|
+
/**
|
|
15459
|
+
* Write the path to skills.paths in the global or the project config so it survives a restart.
|
|
15460
|
+
*/
|
|
15461
|
+
persist?: "global" | "project";
|
|
15462
|
+
};
|
|
15463
|
+
url: "/settings/skills/paths";
|
|
15464
|
+
};
|
|
15465
|
+
export type SettingsSkillsRemoveRootErrors = {
|
|
15466
|
+
/**
|
|
15467
|
+
* Not found
|
|
15468
|
+
*/
|
|
15469
|
+
404: NotFoundError;
|
|
15470
|
+
};
|
|
15471
|
+
export type SettingsSkillsRemoveRootError = SettingsSkillsRemoveRootErrors[keyof SettingsSkillsRemoveRootErrors];
|
|
15472
|
+
export type SettingsSkillsRemoveRootResponses = {
|
|
15473
|
+
/**
|
|
15474
|
+
* Roots after the removal
|
|
15475
|
+
*/
|
|
15476
|
+
200: SkillRoots;
|
|
15477
|
+
};
|
|
15478
|
+
export type SettingsSkillsRemoveRootResponse = SettingsSkillsRemoveRootResponses[keyof SettingsSkillsRemoveRootResponses];
|
|
15479
|
+
export type SettingsSkillsRootsData = {
|
|
15480
|
+
body?: never;
|
|
15481
|
+
path?: never;
|
|
15482
|
+
query?: {
|
|
15483
|
+
directory?: string;
|
|
15484
|
+
};
|
|
15485
|
+
url: "/settings/skills/paths";
|
|
15486
|
+
};
|
|
15487
|
+
export type SettingsSkillsRootsResponses = {
|
|
15488
|
+
/**
|
|
15489
|
+
* Skill roots
|
|
15490
|
+
*/
|
|
15491
|
+
200: SkillRoots;
|
|
15492
|
+
};
|
|
15493
|
+
export type SettingsSkillsRootsResponse = SettingsSkillsRootsResponses[keyof SettingsSkillsRootsResponses];
|
|
15494
|
+
export type SettingsSkillsAddRootData = {
|
|
15495
|
+
body?: {
|
|
15496
|
+
/**
|
|
15497
|
+
* Absolute path, or relative to the project directory; ~ is expanded.
|
|
15498
|
+
*/
|
|
15499
|
+
path: string;
|
|
15500
|
+
/**
|
|
15501
|
+
* Write the path to skills.paths in the global or the project config so it survives a restart.
|
|
15502
|
+
*/
|
|
15503
|
+
persist?: "global" | "project";
|
|
15504
|
+
};
|
|
15505
|
+
path?: never;
|
|
15506
|
+
query?: {
|
|
15507
|
+
directory?: string;
|
|
15508
|
+
};
|
|
15509
|
+
url: "/settings/skills/paths";
|
|
15510
|
+
};
|
|
15511
|
+
export type SettingsSkillsAddRootErrors = {
|
|
15512
|
+
/**
|
|
15513
|
+
* Bad request
|
|
15514
|
+
*/
|
|
15515
|
+
400: BadRequestError;
|
|
15516
|
+
};
|
|
15517
|
+
export type SettingsSkillsAddRootError = SettingsSkillsAddRootErrors[keyof SettingsSkillsAddRootErrors];
|
|
15518
|
+
export type SettingsSkillsAddRootResponses = {
|
|
15519
|
+
/**
|
|
15520
|
+
* The registered root
|
|
15521
|
+
*/
|
|
15522
|
+
201: SkillRoot;
|
|
15523
|
+
};
|
|
15524
|
+
export type SettingsSkillsAddRootResponse = SettingsSkillsAddRootResponses[keyof SettingsSkillsAddRootResponses];
|
|
15525
|
+
export type SettingsSkillsReloadData = {
|
|
15526
|
+
body?: never;
|
|
15527
|
+
path?: never;
|
|
15528
|
+
query?: {
|
|
15529
|
+
directory?: string;
|
|
15530
|
+
};
|
|
15531
|
+
url: "/settings/skills/reload";
|
|
15532
|
+
};
|
|
15533
|
+
export type SettingsSkillsReloadResponses = {
|
|
15534
|
+
/**
|
|
15535
|
+
* Catalog size after the rescan
|
|
15536
|
+
*/
|
|
15537
|
+
200: {
|
|
15538
|
+
skills: number;
|
|
15539
|
+
revision: number;
|
|
15540
|
+
};
|
|
15541
|
+
};
|
|
15542
|
+
export type SettingsSkillsReloadResponse = SettingsSkillsReloadResponses[keyof SettingsSkillsReloadResponses];
|
|
14931
15543
|
export type SettingsSkillsInstallData = {
|
|
14932
15544
|
body?: {
|
|
14933
15545
|
/**
|
|
@@ -15154,6 +15766,7 @@ export type AppSkillsResponses = {
|
|
|
15154
15766
|
200: Array<{
|
|
15155
15767
|
name: string;
|
|
15156
15768
|
description: string;
|
|
15769
|
+
summary?: string;
|
|
15157
15770
|
location: string;
|
|
15158
15771
|
category?: string;
|
|
15159
15772
|
tags?: Array<string>;
|
|
@@ -15174,6 +15787,7 @@ export type AppSkillsResponses = {
|
|
|
15174
15787
|
};
|
|
15175
15788
|
origin: "default" | "installed" | "user" | "project";
|
|
15176
15789
|
entry?: boolean;
|
|
15790
|
+
shadows?: Array<string>;
|
|
15177
15791
|
permission_action: PermissionAction;
|
|
15178
15792
|
recommended: boolean;
|
|
15179
15793
|
/**
|
|
@@ -15184,6 +15798,34 @@ export type AppSkillsResponses = {
|
|
|
15184
15798
|
}>;
|
|
15185
15799
|
};
|
|
15186
15800
|
export type AppSkillsResponse = AppSkillsResponses[keyof AppSkillsResponses];
|
|
15801
|
+
export type AppSkillContentData = {
|
|
15802
|
+
body?: never;
|
|
15803
|
+
path: {
|
|
15804
|
+
name: string;
|
|
15805
|
+
};
|
|
15806
|
+
query?: {
|
|
15807
|
+
directory?: string;
|
|
15808
|
+
};
|
|
15809
|
+
url: "/skill/{name}/content";
|
|
15810
|
+
};
|
|
15811
|
+
export type AppSkillContentErrors = {
|
|
15812
|
+
/**
|
|
15813
|
+
* Not found
|
|
15814
|
+
*/
|
|
15815
|
+
404: NotFoundError;
|
|
15816
|
+
};
|
|
15817
|
+
export type AppSkillContentError = AppSkillContentErrors[keyof AppSkillContentErrors];
|
|
15818
|
+
export type AppSkillContentResponses = {
|
|
15819
|
+
/**
|
|
15820
|
+
* Skill content
|
|
15821
|
+
*/
|
|
15822
|
+
200: {
|
|
15823
|
+
name: string;
|
|
15824
|
+
location: string;
|
|
15825
|
+
content: string;
|
|
15826
|
+
};
|
|
15827
|
+
};
|
|
15828
|
+
export type AppSkillContentResponse = AppSkillContentResponses[keyof AppSkillContentResponses];
|
|
15187
15829
|
export type AppSkillDeleteData = {
|
|
15188
15830
|
body?: never;
|
|
15189
15831
|
path: {
|
|
@@ -15220,6 +15862,7 @@ export type AppSkillWriteResponses = {
|
|
|
15220
15862
|
200: {
|
|
15221
15863
|
name: string;
|
|
15222
15864
|
description: string;
|
|
15865
|
+
summary?: string;
|
|
15223
15866
|
location: string;
|
|
15224
15867
|
category?: string;
|
|
15225
15868
|
tags?: Array<string>;
|
|
@@ -15240,6 +15883,7 @@ export type AppSkillWriteResponses = {
|
|
|
15240
15883
|
};
|
|
15241
15884
|
origin: "default" | "installed" | "user" | "project";
|
|
15242
15885
|
entry?: boolean;
|
|
15886
|
+
shadows?: Array<string>;
|
|
15243
15887
|
};
|
|
15244
15888
|
};
|
|
15245
15889
|
export type AppSkillWriteResponse = AppSkillWriteResponses[keyof AppSkillWriteResponses];
|