@vibes.diy/api-types 2.0.0-dev-cli-j → 2.0.0-dev-cli-l

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/settings.d.ts CHANGED
@@ -24,7 +24,7 @@ export declare const userSettingModelDefaults: import("arktype/internal/variants
24
24
  name: string;
25
25
  description: string;
26
26
  featured?: boolean | undefined;
27
- preSelected?: ("app" | "chat" | "img")[] | undefined;
27
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
28
28
  } | undefined;
29
29
  apiKey?: string | undefined;
30
30
  } | undefined;
@@ -34,7 +34,7 @@ export declare const userSettingModelDefaults: import("arktype/internal/variants
34
34
  name: string;
35
35
  description: string;
36
36
  featured?: boolean | undefined;
37
- preSelected?: ("app" | "chat" | "img")[] | undefined;
37
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
38
38
  } | undefined;
39
39
  apiKey?: string | undefined;
40
40
  } | undefined;
@@ -44,7 +44,7 @@ export declare const userSettingModelDefaults: import("arktype/internal/variants
44
44
  name: string;
45
45
  description: string;
46
46
  featured?: boolean | undefined;
47
- preSelected?: ("app" | "chat" | "img")[] | undefined;
47
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
48
48
  } | undefined;
49
49
  apiKey?: string | undefined;
50
50
  } | undefined;
@@ -73,7 +73,7 @@ export declare const userSettingItem: import("arktype/internal/variants/object.t
73
73
  name: string;
74
74
  description: string;
75
75
  featured?: boolean | undefined;
76
- preSelected?: ("app" | "chat" | "img")[] | undefined;
76
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
77
77
  } | undefined;
78
78
  apiKey?: string | undefined;
79
79
  } | undefined;
@@ -83,7 +83,7 @@ export declare const userSettingItem: import("arktype/internal/variants/object.t
83
83
  name: string;
84
84
  description: string;
85
85
  featured?: boolean | undefined;
86
- preSelected?: ("app" | "chat" | "img")[] | undefined;
86
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
87
87
  } | undefined;
88
88
  apiKey?: string | undefined;
89
89
  } | undefined;
@@ -93,7 +93,7 @@ export declare const userSettingItem: import("arktype/internal/variants/object.t
93
93
  name: string;
94
94
  description: string;
95
95
  featured?: boolean | undefined;
96
- preSelected?: ("app" | "chat" | "img")[] | undefined;
96
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
97
97
  } | undefined;
98
98
  apiKey?: string | undefined;
99
99
  } | undefined;
@@ -124,7 +124,7 @@ export declare const reqEnsureUserSettings: import("arktype/internal/variants/ob
124
124
  name: string;
125
125
  description: string;
126
126
  featured?: boolean | undefined;
127
- preSelected?: ("app" | "chat" | "img")[] | undefined;
127
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
128
128
  } | undefined;
129
129
  apiKey?: string | undefined;
130
130
  } | undefined;
@@ -134,7 +134,7 @@ export declare const reqEnsureUserSettings: import("arktype/internal/variants/ob
134
134
  name: string;
135
135
  description: string;
136
136
  featured?: boolean | undefined;
137
- preSelected?: ("app" | "chat" | "img")[] | undefined;
137
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
138
138
  } | undefined;
139
139
  apiKey?: string | undefined;
140
140
  } | undefined;
@@ -144,7 +144,7 @@ export declare const reqEnsureUserSettings: import("arktype/internal/variants/ob
144
144
  name: string;
145
145
  description: string;
146
146
  featured?: boolean | undefined;
147
- preSelected?: ("app" | "chat" | "img")[] | undefined;
147
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
148
148
  } | undefined;
149
149
  apiKey?: string | undefined;
150
150
  } | undefined;
@@ -173,7 +173,7 @@ export declare const resEnsureUserSettings: import("arktype/internal/variants/ob
173
173
  name: string;
174
174
  description: string;
175
175
  featured?: boolean | undefined;
176
- preSelected?: ("app" | "chat" | "img")[] | undefined;
176
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
177
177
  } | undefined;
178
178
  apiKey?: string | undefined;
179
179
  } | undefined;
@@ -183,7 +183,7 @@ export declare const resEnsureUserSettings: import("arktype/internal/variants/ob
183
183
  name: string;
184
184
  description: string;
185
185
  featured?: boolean | undefined;
186
- preSelected?: ("app" | "chat" | "img")[] | undefined;
186
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
187
187
  } | undefined;
188
188
  apiKey?: string | undefined;
189
189
  } | undefined;
@@ -193,7 +193,7 @@ export declare const resEnsureUserSettings: import("arktype/internal/variants/ob
193
193
  name: string;
194
194
  description: string;
195
195
  featured?: boolean | undefined;
196
- preSelected?: ("app" | "chat" | "img")[] | undefined;
196
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
197
197
  } | undefined;
198
198
  apiKey?: string | undefined;
199
199
  } | undefined;
@@ -420,7 +420,7 @@ export declare const reqEnsureAppSettingsApp: import("arktype/internal/variants/
420
420
  name: string;
421
421
  description: string;
422
422
  featured?: boolean | undefined;
423
- preSelected?: ("app" | "chat" | "img")[] | undefined;
423
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
424
424
  } | undefined;
425
425
  apiKey?: string | undefined;
426
426
  };
@@ -441,7 +441,7 @@ export declare const reqEnsureAppSettingsChat: import("arktype/internal/variants
441
441
  name: string;
442
442
  description: string;
443
443
  featured?: boolean | undefined;
444
- preSelected?: ("app" | "chat" | "img")[] | undefined;
444
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
445
445
  } | undefined;
446
446
  apiKey?: string | undefined;
447
447
  };
@@ -462,7 +462,7 @@ export declare const reqEnsureAppSettingsImg: import("arktype/internal/variants/
462
462
  name: string;
463
463
  description: string;
464
464
  featured?: boolean | undefined;
465
- preSelected?: ("app" | "chat" | "img")[] | undefined;
465
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
466
466
  } | undefined;
467
467
  apiKey?: string | undefined;
468
468
  };
@@ -642,7 +642,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
642
642
  name: string;
643
643
  description: string;
644
644
  featured?: boolean | undefined;
645
- preSelected?: ("app" | "chat" | "img")[] | undefined;
645
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
646
646
  };
647
647
  apiKey?: string | undefined;
648
648
  };
@@ -655,7 +655,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
655
655
  name: string;
656
656
  description: string;
657
657
  featured?: boolean | undefined;
658
- preSelected?: ("app" | "chat" | "img")[] | undefined;
658
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
659
659
  };
660
660
  apiKey?: string | undefined;
661
661
  };
@@ -668,7 +668,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
668
668
  name: string;
669
669
  description: string;
670
670
  featured?: boolean | undefined;
671
- preSelected?: ("app" | "chat" | "img")[] | undefined;
671
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
672
672
  };
673
673
  apiKey?: string | undefined;
674
674
  };
@@ -689,7 +689,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
689
689
  name: string;
690
690
  description: string;
691
691
  featured?: boolean | undefined;
692
- preSelected?: ("app" | "chat" | "img")[] | undefined;
692
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
693
693
  } | undefined;
694
694
  apiKey?: string | undefined;
695
695
  } | undefined;
@@ -699,7 +699,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
699
699
  name: string;
700
700
  description: string;
701
701
  featured?: boolean | undefined;
702
- preSelected?: ("app" | "chat" | "img")[] | undefined;
702
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
703
703
  } | undefined;
704
704
  apiKey?: string | undefined;
705
705
  } | undefined;
@@ -709,7 +709,7 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
709
709
  name: string;
710
710
  description: string;
711
711
  featured?: boolean | undefined;
712
- preSelected?: ("app" | "chat" | "img")[] | undefined;
712
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
713
713
  } | undefined;
714
714
  apiKey?: string | undefined;
715
715
  } | undefined;
@@ -898,7 +898,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
898
898
  name: string;
899
899
  description: string;
900
900
  featured?: boolean | undefined;
901
- preSelected?: ("app" | "chat" | "img")[] | undefined;
901
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
902
902
  };
903
903
  apiKey?: string | undefined;
904
904
  };
@@ -911,7 +911,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
911
911
  name: string;
912
912
  description: string;
913
913
  featured?: boolean | undefined;
914
- preSelected?: ("app" | "chat" | "img")[] | undefined;
914
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
915
915
  };
916
916
  apiKey?: string | undefined;
917
917
  };
@@ -924,7 +924,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
924
924
  name: string;
925
925
  description: string;
926
926
  featured?: boolean | undefined;
927
- preSelected?: ("app" | "chat" | "img")[] | undefined;
927
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
928
928
  };
929
929
  apiKey?: string | undefined;
930
930
  };
@@ -945,7 +945,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
945
945
  name: string;
946
946
  description: string;
947
947
  featured?: boolean | undefined;
948
- preSelected?: ("app" | "chat" | "img")[] | undefined;
948
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
949
949
  } | undefined;
950
950
  apiKey?: string | undefined;
951
951
  } | undefined;
@@ -955,7 +955,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
955
955
  name: string;
956
956
  description: string;
957
957
  featured?: boolean | undefined;
958
- preSelected?: ("app" | "chat" | "img")[] | undefined;
958
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
959
959
  } | undefined;
960
960
  apiKey?: string | undefined;
961
961
  } | undefined;
@@ -965,7 +965,7 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
965
965
  name: string;
966
966
  description: string;
967
967
  featured?: boolean | undefined;
968
- preSelected?: ("app" | "chat" | "img")[] | undefined;
968
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
969
969
  } | undefined;
970
970
  apiKey?: string | undefined;
971
971
  } | undefined;
@@ -1184,7 +1184,7 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
1184
1184
  name: string;
1185
1185
  description: string;
1186
1186
  featured?: boolean | undefined;
1187
- preSelected?: ("app" | "chat" | "img")[] | undefined;
1187
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
1188
1188
  };
1189
1189
  apiKey?: string | undefined;
1190
1190
  };
@@ -1197,7 +1197,7 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
1197
1197
  name: string;
1198
1198
  description: string;
1199
1199
  featured?: boolean | undefined;
1200
- preSelected?: ("app" | "chat" | "img")[] | undefined;
1200
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
1201
1201
  };
1202
1202
  apiKey?: string | undefined;
1203
1203
  };
@@ -1210,7 +1210,7 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
1210
1210
  name: string;
1211
1211
  description: string;
1212
1212
  featured?: boolean | undefined;
1213
- preSelected?: ("app" | "chat" | "img")[] | undefined;
1213
+ preSelected?: ("app" | "chat" | "fs-set" | "fs-update" | "img")[] | undefined;
1214
1214
  };
1215
1215
  apiKey?: string | undefined;
1216
1216
  };
@@ -1,7 +1,7 @@
1
1
  import { Result } from "@adviser/cement";
2
2
  import { VibesDiyError, ResError, VibeFile } from "./common.js";
3
3
  import { ReqEnsureAppSlug, ResEnsureAppSlug, ReqListUserSlugAppSlug, ResListUserSlugAppSlug, ReqGetChatDetails, ResGetChatDetails, ReqGetAppByFsId, ResGetAppByFsId, ReqSetModeFs, ResSetModeFs, ReqListUserSlugBindings, ResListUserSlugBindings, ReqCreateUserSlugBinding, ResCreateUserSlugBinding, ReqDeleteUserSlugBinding, ResDeleteUserSlugBinding } from "./app.js";
4
- import { ReqOpenChat, ResPromptChatSection, SectionEvent, ResAddFS, ReqListModels, ResListModels } from "./chat.js";
4
+ import { ReqOpenChat, ResPromptChatSection, SectionEvent, ReqListModels, ResListModels, FSUpdate } from "./chat.js";
5
5
  import { ReqEnsureUserSettings, ResEnsureUserSettings, ReqListApplicationChats, ResListApplicationChats, ReqEnsureAppSettings, ResEnsureAppSettings } from "./settings.js";
6
6
  import { ReqFPCloudToken, ResFPCloudToken } from "./fpcloud-token.js";
7
7
  import { ReqCreateInvite, ResCreateInvite, ReqRevokeInvite, ResRevokeInvite, ReqRedeemInvite, ResRedeemInviteOK, ReqHasAccessInvite, ResHasAccessInvite, ReqInviteSetRole, ResInviteSetRole, ReqListInviteGrants, ResListInviteGrants } from "./invite-flow.js";
@@ -19,7 +19,7 @@ export type LLMChatEntry = typeof LLMChatEntry.infer;
19
19
  export type OnResponseTypes = ResError | SectionEvent;
20
20
  export interface LLMChat extends LLMChatEntry {
21
21
  prompt(req: LLMRequest): Promise<Result<ResPromptChatSection, VibesDiyError>>;
22
- addFS(fs: VibeFile[]): Promise<Result<ResAddFS, VibesDiyError>>;
22
+ promptFS(req: FSUpdate | VibeFile[]): Promise<Result<ResPromptChatSection, VibesDiyError>>;
23
23
  readonly sectionStream: ReadableStream<OnResponseTypes>;
24
24
  close(force?: boolean): Promise<void>;
25
25
  }