mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-19 18:04:48 +00:00
Add star repo onboarding flow (#232)
This commit is contained in:
parent
d2346bafb3
commit
34a0587cbc
9 changed files with 330 additions and 89 deletions
|
|
@ -201,6 +201,17 @@ export const WorkspaceUseInputSchema = z.object({
|
|||
});
|
||||
export type WorkspaceUseInput = z.infer<typeof WorkspaceUseInputSchema>;
|
||||
|
||||
export const StarSandboxAgentRepoInputSchema = z.object({
|
||||
workspaceId: WorkspaceIdSchema,
|
||||
});
|
||||
export type StarSandboxAgentRepoInput = z.infer<typeof StarSandboxAgentRepoInputSchema>;
|
||||
|
||||
export const StarSandboxAgentRepoResultSchema = z.object({
|
||||
repo: z.string().min(1),
|
||||
starredAt: z.number().int(),
|
||||
});
|
||||
export type StarSandboxAgentRepoResult = z.infer<typeof StarSandboxAgentRepoResultSchema>;
|
||||
|
||||
export const HistoryQueryInputSchema = z.object({
|
||||
workspaceId: WorkspaceIdSchema,
|
||||
limit: z.number().int().positive().max(500).optional(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue