mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-11 05:11:49 +01:00
fix(connections): preserve wizard recovery and repository restrictions
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
cf8578a9dd
commit
87945c8cf3
15 files changed
+750
-189
No files matched your search
@@ -71,6 +71,8 @@ export const chatGitHubRegistrations = pgTable(
|
||||
redemptionId: string;
|
||||
returnState: string;
|
||||
webhookSecretHash?: string;
|
||||
identityLeaseId?: string;
|
||||
identityLeaseExpiresAt?: string;
|
||||
identityStateHash?: string;
|
||||
identityExpiresAt?: string;
|
||||
identityRedemptionId?: string;
|
||||
|
||||
@@ -199,6 +199,8 @@ export interface ChatEndpointSetupState {
|
||||
appName?: string;
|
||||
cloudRegistrationId?: string;
|
||||
initialRepositoriesImported?: boolean;
|
||||
repositorySelectionSaved?: boolean;
|
||||
initialRepositoryImportPending?: boolean;
|
||||
};
|
||||
step: "choose_agent" | "provider_setup" | "test" | "complete";
|
||||
/** Server-generated boundary; only provider events at or after this time can complete setup. */
|
||||
|
||||
@@ -5,6 +5,7 @@ export type GitHubAppOwner = {
|
||||
export type GitHubAppRegistrationInput = GitHubAppOwner & { name: string };
|
||||
export type GitHubAppCloudState = GitHubAppOwner & {
|
||||
id: string;
|
||||
returnOrigin?: string;
|
||||
status: "pending" | "exchanging" | "credentials" | "installed" | "failed";
|
||||
expiresAt: string;
|
||||
appId?: string;
|
||||
|
||||
Reference in new issue
Block a user