update
This commit is contained in:
1 parent
806200b3d1
commit
5547c29491
216 files changed
+5043
-3352
No files matched your search
@@ -11,6 +11,12 @@ export const companyInputSchema = z.object({
|
||||
executionMode: z.enum(["ai_ceo", "ai_cofounder"]).default("ai_ceo"),
|
||||
});
|
||||
|
||||
/**
|
||||
* Pure pi-mono connector catalog ids. Single source of truth: this zod enum.
|
||||
* The TS `ConnectorId` alias (`shared/types/enums.ts`) and the catalog
|
||||
* (`shared/connector-catalog.ts`) both derive from it. Adding a connector
|
||||
* requires editing this list only.
|
||||
*/
|
||||
export const connectorIdEnum = z.enum([
|
||||
// OAuth (5)
|
||||
"claude-pro",
|
||||
@@ -43,6 +49,8 @@ export const connectorIdEnum = z.enum([
|
||||
"google-vertex",
|
||||
]);
|
||||
|
||||
export type ConnectorId = z.infer<typeof connectorIdEnum>;
|
||||
|
||||
export const connectorInputSchema = z.object({
|
||||
id: connectorIdEnum,
|
||||
command: z.string().min(1),
|
||||
|
||||
Reference in new issue
Block a user