@fideliosai/shared 2026.331.0-canary.0

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.
Files changed (230) hide show
  1. package/LICENSE +22 -0
  2. package/dist/agent-url-key.d.ts +4 -0
  3. package/dist/agent-url-key.d.ts.map +1 -0
  4. package/dist/agent-url-key.js +22 -0
  5. package/dist/agent-url-key.js.map +1 -0
  6. package/dist/api.d.ts +20 -0
  7. package/dist/api.d.ts.map +1 -0
  8. package/dist/api.js +20 -0
  9. package/dist/api.js.map +1 -0
  10. package/dist/config-schema.d.ts +905 -0
  11. package/dist/config-schema.d.ts.map +1 -0
  12. package/dist/config-schema.js +159 -0
  13. package/dist/config-schema.js.map +1 -0
  14. package/dist/constants.d.ts +224 -0
  15. package/dist/constants.d.ts.map +1 -0
  16. package/dist/constants.js +553 -0
  17. package/dist/constants.js.map +1 -0
  18. package/dist/index.d.ts +10 -0
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.js +9 -0
  21. package/dist/index.js.map +1 -0
  22. package/dist/project-mentions.d.ts +17 -0
  23. package/dist/project-mentions.d.ts.map +1 -0
  24. package/dist/project-mentions.js +123 -0
  25. package/dist/project-mentions.js.map +1 -0
  26. package/dist/project-mentions.test.d.ts +2 -0
  27. package/dist/project-mentions.test.d.ts.map +1 -0
  28. package/dist/project-mentions.test.js +21 -0
  29. package/dist/project-mentions.test.js.map +1 -0
  30. package/dist/project-url-key.d.ts +3 -0
  31. package/dist/project-url-key.d.ts.map +1 -0
  32. package/dist/project-url-key.js +16 -0
  33. package/dist/project-url-key.js.map +1 -0
  34. package/dist/types/access.d.ts +67 -0
  35. package/dist/types/access.d.ts.map +1 -0
  36. package/dist/types/access.js +2 -0
  37. package/dist/types/access.js.map +1 -0
  38. package/dist/types/activity.d.ts +14 -0
  39. package/dist/types/activity.d.ts.map +1 -0
  40. package/dist/types/activity.js +2 -0
  41. package/dist/types/activity.js.map +1 -0
  42. package/dist/types/adapter-skills.d.ts +31 -0
  43. package/dist/types/adapter-skills.d.ts.map +1 -0
  44. package/dist/types/adapter-skills.js +2 -0
  45. package/dist/types/adapter-skills.js.map +1 -0
  46. package/dist/types/agent.d.ts +108 -0
  47. package/dist/types/agent.d.ts.map +1 -0
  48. package/dist/types/agent.js +2 -0
  49. package/dist/types/agent.js.map +1 -0
  50. package/dist/types/approval.d.ts +26 -0
  51. package/dist/types/approval.d.ts.map +1 -0
  52. package/dist/types/approval.js +2 -0
  53. package/dist/types/approval.js.map +1 -0
  54. package/dist/types/asset.d.ts +16 -0
  55. package/dist/types/asset.d.ts.map +1 -0
  56. package/dist/types/asset.js +2 -0
  57. package/dist/types/asset.js.map +1 -0
  58. package/dist/types/budget.d.ts +86 -0
  59. package/dist/types/budget.d.ts.map +1 -0
  60. package/dist/types/budget.js +2 -0
  61. package/dist/types/budget.js.map +1 -0
  62. package/dist/types/company-portability.d.ts +276 -0
  63. package/dist/types/company-portability.d.ts.map +1 -0
  64. package/dist/types/company-portability.js +2 -0
  65. package/dist/types/company-portability.js.map +1 -0
  66. package/dist/types/company-skill.d.ts +135 -0
  67. package/dist/types/company-skill.d.ts.map +1 -0
  68. package/dist/types/company-skill.js +2 -0
  69. package/dist/types/company-skill.js.map +1 -0
  70. package/dist/types/company.d.ts +20 -0
  71. package/dist/types/company.d.ts.map +1 -0
  72. package/dist/types/company.js +2 -0
  73. package/dist/types/company.js.map +1 -0
  74. package/dist/types/cost.d.ts +106 -0
  75. package/dist/types/cost.d.ts.map +1 -0
  76. package/dist/types/cost.js +2 -0
  77. package/dist/types/cost.js.map +1 -0
  78. package/dist/types/dashboard.d.ts +28 -0
  79. package/dist/types/dashboard.d.ts.map +1 -0
  80. package/dist/types/dashboard.js +2 -0
  81. package/dist/types/dashboard.js.map +1 -0
  82. package/dist/types/finance.d.ts +57 -0
  83. package/dist/types/finance.d.ts.map +1 -0
  84. package/dist/types/finance.js +2 -0
  85. package/dist/types/finance.js.map +1 -0
  86. package/dist/types/goal.d.ts +14 -0
  87. package/dist/types/goal.d.ts.map +1 -0
  88. package/dist/types/goal.js +2 -0
  89. package/dist/types/goal.js.map +1 -0
  90. package/dist/types/heartbeat.d.ts +118 -0
  91. package/dist/types/heartbeat.d.ts.map +1 -0
  92. package/dist/types/heartbeat.js +2 -0
  93. package/dist/types/heartbeat.js.map +1 -0
  94. package/dist/types/index.d.ts +28 -0
  95. package/dist/types/index.d.ts.map +1 -0
  96. package/dist/types/index.js +2 -0
  97. package/dist/types/index.js.map +1 -0
  98. package/dist/types/instance.d.ts +15 -0
  99. package/dist/types/instance.d.ts.map +1 -0
  100. package/dist/types/instance.js +2 -0
  101. package/dist/types/instance.js.map +1 -0
  102. package/dist/types/issue.d.ts +165 -0
  103. package/dist/types/issue.d.ts.map +1 -0
  104. package/dist/types/issue.js +2 -0
  105. package/dist/types/issue.js.map +1 -0
  106. package/dist/types/live.d.ts +9 -0
  107. package/dist/types/live.d.ts.map +1 -0
  108. package/dist/types/live.js +2 -0
  109. package/dist/types/live.js.map +1 -0
  110. package/dist/types/plugin.d.ts +419 -0
  111. package/dist/types/plugin.d.ts.map +1 -0
  112. package/dist/types/plugin.js +2 -0
  113. package/dist/types/plugin.js.map +1 -0
  114. package/dist/types/project.d.ts +67 -0
  115. package/dist/types/project.d.ts.map +1 -0
  116. package/dist/types/project.js +2 -0
  117. package/dist/types/project.js.map +1 -0
  118. package/dist/types/quota.d.ts +26 -0
  119. package/dist/types/quota.d.ts.map +1 -0
  120. package/dist/types/quota.js +2 -0
  121. package/dist/types/quota.js.map +1 -0
  122. package/dist/types/routine.d.ts +113 -0
  123. package/dist/types/routine.d.ts.map +1 -0
  124. package/dist/types/routine.js +2 -0
  125. package/dist/types/routine.js.map +1 -0
  126. package/dist/types/secrets.d.ts +32 -0
  127. package/dist/types/secrets.d.ts.map +1 -0
  128. package/dist/types/secrets.js +2 -0
  129. package/dist/types/secrets.js.map +1 -0
  130. package/dist/types/sidebar-badges.d.ts +7 -0
  131. package/dist/types/sidebar-badges.d.ts.map +1 -0
  132. package/dist/types/sidebar-badges.js +2 -0
  133. package/dist/types/sidebar-badges.js.map +1 -0
  134. package/dist/types/work-product.d.ts +27 -0
  135. package/dist/types/work-product.d.ts.map +1 -0
  136. package/dist/types/work-product.js +2 -0
  137. package/dist/types/work-product.js.map +1 -0
  138. package/dist/types/workspace-operation.d.ts +26 -0
  139. package/dist/types/workspace-operation.d.ts.map +1 -0
  140. package/dist/types/workspace-operation.js +2 -0
  141. package/dist/types/workspace-operation.js.map +1 -0
  142. package/dist/types/workspace-runtime.d.ts +86 -0
  143. package/dist/types/workspace-runtime.d.ts.map +1 -0
  144. package/dist/types/workspace-runtime.js +2 -0
  145. package/dist/types/workspace-runtime.js.map +1 -0
  146. package/dist/validators/access.d.ts +136 -0
  147. package/dist/validators/access.d.ts.map +1 -0
  148. package/dist/validators/access.js +53 -0
  149. package/dist/validators/access.js.map +1 -0
  150. package/dist/validators/adapter-skills.d.ts +156 -0
  151. package/dist/validators/adapter-skills.d.ts.map +1 -0
  152. package/dist/validators/adapter-skills.js +48 -0
  153. package/dist/validators/adapter-skills.js.map +1 -0
  154. package/dist/validators/agent.d.ts +279 -0
  155. package/dist/validators/agent.d.ts.map +1 -0
  156. package/dist/validators/agent.js +85 -0
  157. package/dist/validators/agent.js.map +1 -0
  158. package/dist/validators/approval.d.ts +57 -0
  159. package/dist/validators/approval.d.ts.map +1 -0
  160. package/dist/validators/approval.js +23 -0
  161. package/dist/validators/approval.js.map +1 -0
  162. package/dist/validators/asset.d.ts +10 -0
  163. package/dist/validators/asset.d.ts.map +1 -0
  164. package/dist/validators/asset.js +11 -0
  165. package/dist/validators/asset.js.map +1 -0
  166. package/dist/validators/budget.d.ts +56 -0
  167. package/dist/validators/budget.d.ts.map +1 -0
  168. package/dist/validators/budget.js +27 -0
  169. package/dist/validators/budget.js.map +1 -0
  170. package/dist/validators/company-portability.d.ts +1656 -0
  171. package/dist/validators/company-portability.d.ts.map +1 -0
  172. package/dist/validators/company-portability.js +211 -0
  173. package/dist/validators/company-portability.js.map +1 -0
  174. package/dist/validators/company-skill.d.ts +797 -0
  175. package/dist/validators/company-skill.d.ts.map +1 -0
  176. package/dist/validators/company-skill.js +116 -0
  177. package/dist/validators/company-skill.js.map +1 -0
  178. package/dist/validators/company.d.ts +73 -0
  179. package/dist/validators/company.d.ts.map +1 -0
  180. package/dist/validators/company.js +31 -0
  181. package/dist/validators/company.js.map +1 -0
  182. package/dist/validators/cost.d.ts +92 -0
  183. package/dist/validators/cost.d.ts.map +1 -0
  184. package/dist/validators/cost.js +26 -0
  185. package/dist/validators/cost.js.map +1 -0
  186. package/dist/validators/execution-workspace.d.ts +20 -0
  187. package/dist/validators/execution-workspace.d.ts.map +1 -0
  188. package/dist/validators/execution-workspace.js +15 -0
  189. package/dist/validators/execution-workspace.js.map +1 -0
  190. package/dist/validators/finance.d.ts +129 -0
  191. package/dist/validators/finance.d.ts.map +1 -0
  192. package/dist/validators/finance.js +32 -0
  193. package/dist/validators/finance.js.map +1 -0
  194. package/dist/validators/goal.d.ts +48 -0
  195. package/dist/validators/goal.d.ts.map +1 -0
  196. package/dist/validators/goal.js +12 -0
  197. package/dist/validators/goal.js.map +1 -0
  198. package/dist/validators/index.d.ts +21 -0
  199. package/dist/validators/index.d.ts.map +1 -0
  200. package/dist/validators/index.js +21 -0
  201. package/dist/validators/index.js.map +1 -0
  202. package/dist/validators/instance.d.ts +40 -0
  203. package/dist/validators/instance.d.ts.map +1 -0
  204. package/dist/validators/instance.js +11 -0
  205. package/dist/validators/instance.js.map +1 -0
  206. package/dist/validators/issue.d.ts +427 -0
  207. package/dist/validators/issue.d.ts.map +1 -0
  208. package/dist/validators/issue.js +91 -0
  209. package/dist/validators/issue.js.map +1 -0
  210. package/dist/validators/plugin.d.ts +1173 -0
  211. package/dist/validators/plugin.d.ts.map +1 -0
  212. package/dist/validators/plugin.js +547 -0
  213. package/dist/validators/plugin.js.map +1 -0
  214. package/dist/validators/project.d.ts +583 -0
  215. package/dist/validators/project.d.ts.map +1 -0
  216. package/dist/validators/project.js +93 -0
  217. package/dist/validators/project.js.map +1 -0
  218. package/dist/validators/routine.d.ts +167 -0
  219. package/dist/validators/routine.d.ts.map +1 -0
  220. package/dist/validators/routine.js +50 -0
  221. package/dist/validators/routine.js.map +1 -0
  222. package/dist/validators/secret.d.ts +114 -0
  223. package/dist/validators/secret.d.ts.map +1 -0
  224. package/dist/validators/secret.js +35 -0
  225. package/dist/validators/secret.js.map +1 -0
  226. package/dist/validators/work-product.d.ts +105 -0
  227. package/dist/validators/work-product.d.ts.map +1 -0
  228. package/dist/validators/work-product.js +46 -0
  229. package/dist/validators/work-product.js.map +1 -0
  230. package/package.json +44 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-schema.d.ts","sourceRoot":"","sources":["../src/config-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EAI3B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;EAG1B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW/B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;EAO7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EAI3B,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;EAEvC,CAAC;AAEH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O,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,159 @@
1
+ import { z } from "zod";
2
+ import { AUTH_BASE_URL_MODES, DEPLOYMENT_EXPOSURES, DEPLOYMENT_MODES, SECRET_PROVIDERS, STORAGE_PROVIDERS, } from "./constants.js";
3
+ export const configMetaSchema = z.object({
4
+ version: z.literal(1),
5
+ updatedAt: z.string(),
6
+ source: z.enum(["onboard", "configure", "doctor"]),
7
+ });
8
+ export const llmConfigSchema = z.object({
9
+ provider: z.enum(["claude", "openai"]),
10
+ apiKey: z.string().optional(),
11
+ });
12
+ export const s3BackupConfigSchema = z.object({
13
+ enabled: z.boolean().default(false),
14
+ bucket: z.string().default(""),
15
+ region: z.string().default("eu-west-1"),
16
+ prefix: z.string().default("fidelios/backups/"),
17
+ retentionDays: z.number().int().min(1).max(3650).default(90),
18
+ accessKeyId: z.string().optional(),
19
+ secretAccessKey: z.string().optional(),
20
+ });
21
+ export const databaseBackupConfigSchema = z.object({
22
+ enabled: z.boolean().default(true),
23
+ intervalMinutes: z.number().int().min(1).max(7 * 24 * 60).default(60),
24
+ retentionDays: z.number().int().min(1).max(3650).default(30),
25
+ dir: z.string().default("~/.fidelios/instances/default/data/backups"),
26
+ s3: s3BackupConfigSchema.default({
27
+ enabled: false,
28
+ bucket: "",
29
+ region: "eu-west-1",
30
+ prefix: "fidelios/backups/",
31
+ retentionDays: 90,
32
+ }),
33
+ });
34
+ export const databaseConfigSchema = z.object({
35
+ mode: z.enum(["embedded-postgres", "postgres"]).default("embedded-postgres"),
36
+ connectionString: z.string().optional(),
37
+ embeddedPostgresDataDir: z.string().default("~/.fidelios/instances/default/db"),
38
+ embeddedPostgresPort: z.number().int().min(1).max(65535).default(54329),
39
+ backup: databaseBackupConfigSchema.default({
40
+ enabled: true,
41
+ intervalMinutes: 60,
42
+ retentionDays: 30,
43
+ dir: "~/.fidelios/instances/default/data/backups",
44
+ }),
45
+ });
46
+ export const loggingConfigSchema = z.object({
47
+ mode: z.enum(["file", "cloud"]),
48
+ logDir: z.string().default("~/.fidelios/instances/default/logs"),
49
+ });
50
+ export const serverConfigSchema = z.object({
51
+ deploymentMode: z.enum(DEPLOYMENT_MODES).default("local_trusted"),
52
+ exposure: z.enum(DEPLOYMENT_EXPOSURES).default("private"),
53
+ host: z.string().default("127.0.0.1"),
54
+ port: z.number().int().min(1).max(65535).default(3100),
55
+ allowedHostnames: z.array(z.string().min(1)).default([]),
56
+ serveUi: z.boolean().default(true),
57
+ });
58
+ export const authConfigSchema = z.object({
59
+ baseUrlMode: z.enum(AUTH_BASE_URL_MODES).default("auto"),
60
+ publicBaseUrl: z.string().url().optional(),
61
+ disableSignUp: z.boolean().default(false),
62
+ });
63
+ export const storageLocalDiskConfigSchema = z.object({
64
+ baseDir: z.string().default("~/.fidelios/instances/default/data/storage"),
65
+ });
66
+ export const storageS3ConfigSchema = z.object({
67
+ bucket: z.string().min(1).default("fidelios"),
68
+ region: z.string().min(1).default("us-east-1"),
69
+ endpoint: z.string().optional(),
70
+ prefix: z.string().default(""),
71
+ forcePathStyle: z.boolean().default(false),
72
+ });
73
+ export const storageConfigSchema = z.object({
74
+ provider: z.enum(STORAGE_PROVIDERS).default("local_disk"),
75
+ localDisk: storageLocalDiskConfigSchema.default({
76
+ baseDir: "~/.fidelios/instances/default/data/storage",
77
+ }),
78
+ s3: storageS3ConfigSchema.default({
79
+ bucket: "fidelios",
80
+ region: "us-east-1",
81
+ prefix: "",
82
+ forcePathStyle: false,
83
+ }),
84
+ });
85
+ export const secretsLocalEncryptedConfigSchema = z.object({
86
+ keyFilePath: z.string().default("~/.fidelios/instances/default/secrets/master.key"),
87
+ });
88
+ export const secretsConfigSchema = z.object({
89
+ provider: z.enum(SECRET_PROVIDERS).default("local_encrypted"),
90
+ strictMode: z.boolean().default(false),
91
+ localEncrypted: secretsLocalEncryptedConfigSchema.default({
92
+ keyFilePath: "~/.fidelios/instances/default/secrets/master.key",
93
+ }),
94
+ });
95
+ export const fideliosConfigSchema = z
96
+ .object({
97
+ $meta: configMetaSchema,
98
+ llm: llmConfigSchema.optional(),
99
+ database: databaseConfigSchema,
100
+ logging: loggingConfigSchema,
101
+ server: serverConfigSchema,
102
+ auth: authConfigSchema.default({
103
+ baseUrlMode: "auto",
104
+ disableSignUp: false,
105
+ }),
106
+ storage: storageConfigSchema.default({
107
+ provider: "local_disk",
108
+ localDisk: {
109
+ baseDir: "~/.fidelios/instances/default/data/storage",
110
+ },
111
+ s3: {
112
+ bucket: "fidelios",
113
+ region: "us-east-1",
114
+ prefix: "",
115
+ forcePathStyle: false,
116
+ },
117
+ }),
118
+ secrets: secretsConfigSchema.default({
119
+ provider: "local_encrypted",
120
+ strictMode: false,
121
+ localEncrypted: {
122
+ keyFilePath: "~/.fidelios/instances/default/secrets/master.key",
123
+ },
124
+ }),
125
+ })
126
+ .superRefine((value, ctx) => {
127
+ if (value.server.deploymentMode === "local_trusted") {
128
+ if (value.server.exposure !== "private") {
129
+ ctx.addIssue({
130
+ code: z.ZodIssueCode.custom,
131
+ message: "server.exposure must be private when deploymentMode is local_trusted",
132
+ path: ["server", "exposure"],
133
+ });
134
+ }
135
+ return;
136
+ }
137
+ if (value.auth.baseUrlMode === "explicit" && !value.auth.publicBaseUrl) {
138
+ ctx.addIssue({
139
+ code: z.ZodIssueCode.custom,
140
+ message: "auth.publicBaseUrl is required when auth.baseUrlMode is explicit",
141
+ path: ["auth", "publicBaseUrl"],
142
+ });
143
+ }
144
+ if (value.server.exposure === "public" && value.auth.baseUrlMode !== "explicit") {
145
+ ctx.addIssue({
146
+ code: z.ZodIssueCode.custom,
147
+ message: "auth.baseUrlMode must be explicit when deploymentMode=authenticated and exposure=public",
148
+ path: ["auth", "baseUrlMode"],
149
+ });
150
+ }
151
+ if (value.server.exposure === "public" && !value.auth.publicBaseUrl) {
152
+ ctx.addIssue({
153
+ code: z.ZodIssueCode.custom,
154
+ message: "auth.publicBaseUrl is required when deploymentMode=authenticated and exposure=public",
155
+ path: ["auth", "publicBaseUrl"],
156
+ });
157
+ }
158
+ });
159
+ //# sourceMappingURL=config-schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-schema.js","sourceRoot":"","sources":["../src/config-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IACrB,SA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AY,CAAC,MAAM;gBAC3B,OAAO,EAAE,sEAAsE;gBAC/E,IAAI,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;aAC7B,CAAC,CAAC;QACL,CAAC;QACD,OAAO;IACT,CAAC;IAED,IAAI,KAAK,CAAC,IAAI,CAAC,WAAW,KAAK,UAAU,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;QACvE,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,kEAAkE;YAC3E,IAAI,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC;SAChC,CAAC,CAAC;IACL,CAAC;IAED,IAAI,KAAK,CAAC,MAAM,CAAC,QAAQ,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,CAAC,WAAW,KAAK,UAAU,EAAE,CAAC;QAChF,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,yFAAyF;YAClG,IAAI,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,IAAI,KAAK,CAAC,MAAM,CAAC,QAAQ,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;QACpE,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,sFAAsF;YAC/F,IAAI,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC;SAChC,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC"}
@@ -0,0 +1,224 @@
1
+ export declare const COMPANY_STATUSES: readonly ["active", "paused", "archived"];
2
+ export type CompanyStatus = (typeof COMPANY_STATUSES)[number];
3
+ export declare const DEPLOYMENT_MODES: readonly ["local_trusted", "authenticated"];
4
+ export type DeploymentMode = (typeof DEPLOYMENT_MODES)[number];
5
+ export declare const DEPLOYMENT_EXPOSURES: readonly ["private", "public"];
6
+ export type DeploymentExposure = (typeof DEPLOYMENT_EXPOSURES)[number];
7
+ export declare const AUTH_BASE_URL_MODES: readonly ["auto", "explicit"];
8
+ export type AuthBaseUrlMode = (typeof AUTH_BASE_URL_MODES)[number];
9
+ export declare const AGENT_STATUSES: readonly ["active", "paused", "idle", "running", "error", "pending_approval", "terminated"];
10
+ export type AgentStatus = (typeof AGENT_STATUSES)[number];
11
+ export declare const AGENT_ADAPTER_TYPES: readonly ["process", "http", "claude_local", "codex_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local"];
12
+ export type AgentAdapterType = (typeof AGENT_ADAPTER_TYPES)[number];
13
+ export declare const AGENT_ROLES: readonly ["ceo", "cto", "cmo", "cfo", "engineer", "designer", "pm", "qa", "devops", "researcher", "general"];
14
+ export type AgentRole = (typeof AGENT_ROLES)[number];
15
+ export declare const AGENT_ROLE_LABELS: Record<AgentRole, string>;
16
+ export declare const AGENT_ICON_NAMES: readonly ["bot", "cpu", "brain", "zap", "rocket", "code", "terminal", "shield", "eye", "search", "wrench", "hammer", "lightbulb", "sparkles", "star", "heart", "flame", "bug", "cog", "database", "globe", "lock", "mail", "message-square", "file-code", "git-branch", "package", "puzzle", "target", "wand", "atom", "circuit-board", "radar", "swords", "telescope", "microscope", "crown", "gem", "hexagon", "pentagon", "fingerprint"];
17
+ export type AgentIconName = (typeof AGENT_ICON_NAMES)[number];
18
+ export declare const ISSUE_STATUSES: readonly ["backlog", "todo", "in_progress", "in_review", "done", "blocked", "cancelled"];
19
+ export type IssueStatus = (typeof ISSUE_STATUSES)[number];
20
+ export declare const ISSUE_PRIORITIES: readonly ["critical", "high", "medium", "low"];
21
+ export type IssuePriority = (typeof ISSUE_PRIORITIES)[number];
22
+ export declare const ISSUE_ORIGIN_KINDS: readonly ["manual", "routine_execution"];
23
+ export type IssueOriginKind = (typeof ISSUE_ORIGIN_KINDS)[number];
24
+ export declare const GOAL_LEVELS: readonly ["company", "team", "agent", "task"];
25
+ export type GoalLevel = (typeof GOAL_LEVELS)[number];
26
+ export declare const GOAL_STATUSES: readonly ["planned", "active", "achieved", "cancelled"];
27
+ export type GoalStatus = (typeof GOAL_STATUSES)[number];
28
+ export declare const PROJECT_STATUSES: readonly ["backlog", "planned", "in_progress", "completed", "cancelled"];
29
+ export type ProjectStatus = (typeof PROJECT_STATUSES)[number];
30
+ export declare const ROUTINE_STATUSES: readonly ["active", "paused", "archived"];
31
+ export type RoutineStatus = (typeof ROUTINE_STATUSES)[number];
32
+ export declare const ROUTINE_CONCURRENCY_POLICIES: readonly ["coalesce_if_active", "always_enqueue", "skip_if_active"];
33
+ export type RoutineConcurrencyPolicy = (typeof ROUTINE_CONCURRENCY_POLICIES)[number];
34
+ export declare const ROUTINE_CATCH_UP_POLICIES: readonly ["skip_missed", "enqueue_missed_with_cap"];
35
+ export type RoutineCatchUpPolicy = (typeof ROUTINE_CATCH_UP_POLICIES)[number];
36
+ export declare const ROUTINE_TRIGGER_KINDS: readonly ["schedule", "webhook", "api"];
37
+ export type RoutineTriggerKind = (typeof ROUTINE_TRIGGER_KINDS)[number];
38
+ export declare const ROUTINE_TRIGGER_SIGNING_MODES: readonly ["bearer", "hmac_sha256"];
39
+ export type RoutineTriggerSigningMode = (typeof ROUTINE_TRIGGER_SIGNING_MODES)[number];
40
+ export declare const ROUTINE_RUN_STATUSES: readonly ["received", "coalesced", "skipped", "issue_created", "completed", "failed"];
41
+ export type RoutineRunStatus = (typeof ROUTINE_RUN_STATUSES)[number];
42
+ export declare const ROUTINE_RUN_SOURCES: readonly ["schedule", "manual", "api", "webhook"];
43
+ export type RoutineRunSource = (typeof ROUTINE_RUN_SOURCES)[number];
44
+ export declare const PAUSE_REASONS: readonly ["manual", "budget", "system"];
45
+ export type PauseReason = (typeof PAUSE_REASONS)[number];
46
+ export declare const PROJECT_COLORS: readonly ["#6366f1", "#8b5cf6", "#ec4899", "#ef4444", "#f97316", "#eab308", "#22c55e", "#14b8a6", "#06b6d4", "#3b82f6"];
47
+ export declare const APPROVAL_TYPES: readonly ["hire_agent", "approve_ceo_strategy", "budget_override_required"];
48
+ export type ApprovalType = (typeof APPROVAL_TYPES)[number];
49
+ export declare const APPROVAL_STATUSES: readonly ["pending", "revision_requested", "approved", "rejected", "cancelled"];
50
+ export type ApprovalStatus = (typeof APPROVAL_STATUSES)[number];
51
+ export declare const SECRET_PROVIDERS: readonly ["local_encrypted", "aws_secrets_manager", "gcp_secret_manager", "vault"];
52
+ export type SecretProvider = (typeof SECRET_PROVIDERS)[number];
53
+ export declare const STORAGE_PROVIDERS: readonly ["local_disk", "s3"];
54
+ export type StorageProvider = (typeof STORAGE_PROVIDERS)[number];
55
+ export declare const BILLING_TYPES: readonly ["metered_api", "subscription_included", "subscription_overage", "credits", "fixed", "unknown"];
56
+ export type BillingType = (typeof BILLING_TYPES)[number];
57
+ export declare const FINANCE_EVENT_KINDS: readonly ["inference_charge", "platform_fee", "credit_purchase", "credit_refund", "credit_expiry", "byok_fee", "gateway_overhead", "log_storage_charge", "logpush_charge", "provisioned_capacity_charge", "training_charge", "custom_model_import_charge", "custom_model_storage_charge", "manual_adjustment"];
58
+ export type FinanceEventKind = (typeof FINANCE_EVENT_KINDS)[number];
59
+ export declare const FINANCE_DIRECTIONS: readonly ["debit", "credit"];
60
+ export type FinanceDirection = (typeof FINANCE_DIRECTIONS)[number];
61
+ export declare const FINANCE_UNITS: readonly ["input_token", "output_token", "cached_input_token", "request", "credit_usd", "credit_unit", "model_unit_minute", "model_unit_hour", "gb_month", "train_token", "unknown"];
62
+ export type FinanceUnit = (typeof FINANCE_UNITS)[number];
63
+ export declare const BUDGET_SCOPE_TYPES: readonly ["company", "agent", "project"];
64
+ export type BudgetScopeType = (typeof BUDGET_SCOPE_TYPES)[number];
65
+ export declare const BUDGET_METRICS: readonly ["billed_cents"];
66
+ export type BudgetMetric = (typeof BUDGET_METRICS)[number];
67
+ export declare const BUDGET_WINDOW_KINDS: readonly ["calendar_month_utc", "lifetime"];
68
+ export type BudgetWindowKind = (typeof BUDGET_WINDOW_KINDS)[number];
69
+ export declare const BUDGET_THRESHOLD_TYPES: readonly ["soft", "hard"];
70
+ export type BudgetThresholdType = (typeof BUDGET_THRESHOLD_TYPES)[number];
71
+ export declare const BUDGET_INCIDENT_STATUSES: readonly ["open", "resolved", "dismissed"];
72
+ export type BudgetIncidentStatus = (typeof BUDGET_INCIDENT_STATUSES)[number];
73
+ export declare const BUDGET_INCIDENT_RESOLUTION_ACTIONS: readonly ["keep_paused", "raise_budget_and_resume"];
74
+ export type BudgetIncidentResolutionAction = (typeof BUDGET_INCIDENT_RESOLUTION_ACTIONS)[number];
75
+ export declare const HEARTBEAT_INVOCATION_SOURCES: readonly ["timer", "assignment", "on_demand", "automation"];
76
+ export type HeartbeatInvocationSource = (typeof HEARTBEAT_INVOCATION_SOURCES)[number];
77
+ export declare const WAKEUP_TRIGGER_DETAILS: readonly ["manual", "ping", "callback", "system"];
78
+ export type WakeupTriggerDetail = (typeof WAKEUP_TRIGGER_DETAILS)[number];
79
+ export declare const WAKEUP_REQUEST_STATUSES: readonly ["queued", "deferred_issue_execution", "claimed", "coalesced", "skipped", "completed", "failed", "cancelled"];
80
+ export type WakeupRequestStatus = (typeof WAKEUP_REQUEST_STATUSES)[number];
81
+ export declare const HEARTBEAT_RUN_STATUSES: readonly ["queued", "running", "succeeded", "failed", "cancelled", "timed_out"];
82
+ export type HeartbeatRunStatus = (typeof HEARTBEAT_RUN_STATUSES)[number];
83
+ export declare const LIVE_EVENT_TYPES: readonly ["heartbeat.run.queued", "heartbeat.run.status", "heartbeat.run.event", "heartbeat.run.log", "agent.status", "activity.logged", "plugin.ui.updated", "plugin.worker.crashed", "plugin.worker.restarted"];
84
+ export type LiveEventType = (typeof LIVE_EVENT_TYPES)[number];
85
+ export declare const PRINCIPAL_TYPES: readonly ["user", "agent"];
86
+ export type PrincipalType = (typeof PRINCIPAL_TYPES)[number];
87
+ export declare const MEMBERSHIP_STATUSES: readonly ["pending", "active", "suspended"];
88
+ export type MembershipStatus = (typeof MEMBERSHIP_STATUSES)[number];
89
+ export declare const INSTANCE_USER_ROLES: readonly ["instance_admin"];
90
+ export type InstanceUserRole = (typeof INSTANCE_USER_ROLES)[number];
91
+ export declare const INVITE_TYPES: readonly ["company_join", "bootstrap_ceo"];
92
+ export type InviteType = (typeof INVITE_TYPES)[number];
93
+ export declare const INVITE_JOIN_TYPES: readonly ["human", "agent", "both"];
94
+ export type InviteJoinType = (typeof INVITE_JOIN_TYPES)[number];
95
+ export declare const JOIN_REQUEST_TYPES: readonly ["human", "agent"];
96
+ export type JoinRequestType = (typeof JOIN_REQUEST_TYPES)[number];
97
+ export declare const JOIN_REQUEST_STATUSES: readonly ["pending_approval", "approved", "rejected"];
98
+ export type JoinRequestStatus = (typeof JOIN_REQUEST_STATUSES)[number];
99
+ export declare const PERMISSION_KEYS: readonly ["agents:create", "users:invite", "users:manage_permissions", "tasks:assign", "tasks:assign_scope", "joins:approve"];
100
+ export type PermissionKey = (typeof PERMISSION_KEYS)[number];
101
+ /**
102
+ * The current version of the Plugin API contract.
103
+ *
104
+ * Increment this value whenever a breaking change is made to the plugin API
105
+ * so that the host can reject incompatible plugin manifests.
106
+ *
107
+ * @see PLUGIN_SPEC.md §4 — Versioning
108
+ */
109
+ export declare const PLUGIN_API_VERSION: 1;
110
+ /**
111
+ * Lifecycle statuses for an installed plugin.
112
+ *
113
+ * State machine: installed → ready | error, ready → disabled | error | upgrade_pending | uninstalled,
114
+ * disabled → ready | uninstalled, error → ready | uninstalled,
115
+ * upgrade_pending → ready | error | uninstalled, uninstalled → installed (reinstall).
116
+ *
117
+ * @see {@link PluginStatus} — inferred union type
118
+ * @see PLUGIN_SPEC.md §21.3 `plugins.status`
119
+ */
120
+ export declare const PLUGIN_STATUSES: readonly ["installed", "ready", "disabled", "error", "upgrade_pending", "uninstalled"];
121
+ export type PluginStatus = (typeof PLUGIN_STATUSES)[number];
122
+ /**
123
+ * Plugin classification categories. A plugin declares one or more categories
124
+ * in its manifest to describe its primary purpose.
125
+ *
126
+ * @see PLUGIN_SPEC.md §6.2
127
+ */
128
+ export declare const PLUGIN_CATEGORIES: readonly ["connector", "workspace", "automation", "ui"];
129
+ export type PluginCategory = (typeof PLUGIN_CATEGORIES)[number];
130
+ /**
131
+ * Named permissions the host grants to a plugin. Plugins declare required
132
+ * capabilities in their manifest; the host enforces them at runtime via the
133
+ * plugin capability validator.
134
+ *
135
+ * Grouped into: Data Read, Data Write, Plugin State, Runtime/Integration,
136
+ * Agent Tools, and UI.
137
+ *
138
+ * @see PLUGIN_SPEC.md §15 — Capability Model
139
+ */
140
+ export declare const PLUGIN_CAPABILITIES: readonly ["companies.read", "projects.read", "project.workspaces.read", "issues.read", "issue.comments.read", "issue.documents.read", "agents.read", "goals.read", "goals.create", "goals.update", "activity.read", "costs.read", "issues.create", "issues.update", "issue.comments.create", "issue.documents.write", "agents.pause", "agents.resume", "agents.invoke", "agent.sessions.create", "agent.sessions.list", "agent.sessions.send", "agent.sessions.close", "activity.log.write", "metrics.write", "plugin.state.read", "plugin.state.write", "events.subscribe", "events.emit", "jobs.schedule", "webhooks.receive", "http.outbound", "secrets.read-ref", "agent.tools.register", "instance.settings.register", "ui.sidebar.register", "ui.page.register", "ui.detailTab.register", "ui.dashboardWidget.register", "ui.commentAnnotation.register", "ui.action.register"];
141
+ export type PluginCapability = (typeof PLUGIN_CAPABILITIES)[number];
142
+ /**
143
+ * UI extension slot types. Each slot type corresponds to a mount point in the
144
+ * FideliOS UI where plugin components can be rendered.
145
+ *
146
+ * @see PLUGIN_SPEC.md §19 — UI Extension Model
147
+ */
148
+ export declare const PLUGIN_UI_SLOT_TYPES: readonly ["page", "detailTab", "taskDetailView", "dashboardWidget", "sidebar", "sidebarPanel", "projectSidebarItem", "globalToolbarButton", "toolbarButton", "contextMenuItem", "commentAnnotation", "commentContextMenuItem", "settingsPage"];
149
+ export type PluginUiSlotType = (typeof PLUGIN_UI_SLOT_TYPES)[number];
150
+ /**
151
+ * Reserved company-scoped route segments that plugin page routes may not claim.
152
+ *
153
+ * These map to first-class host pages under `/:companyPrefix/...`.
154
+ */
155
+ export declare const PLUGIN_RESERVED_COMPANY_ROUTE_SEGMENTS: readonly ["dashboard", "onboarding", "companies", "company", "settings", "plugins", "org", "agents", "projects", "issues", "goals", "approvals", "costs", "activity", "inbox", "design-guide", "tests"];
156
+ export type PluginReservedCompanyRouteSegment = (typeof PLUGIN_RESERVED_COMPANY_ROUTE_SEGMENTS)[number];
157
+ /**
158
+ * Launcher placement zones describe where a plugin-owned launcher can appear
159
+ * in the host UI. These are intentionally aligned with current slot surfaces
160
+ * so manifest authors can describe launch intent without coupling to a single
161
+ * component implementation detail.
162
+ */
163
+ export declare const PLUGIN_LAUNCHER_PLACEMENT_ZONES: readonly ["page", "detailTab", "taskDetailView", "dashboardWidget", "sidebar", "sidebarPanel", "projectSidebarItem", "globalToolbarButton", "toolbarButton", "contextMenuItem", "commentAnnotation", "commentContextMenuItem", "settingsPage"];
164
+ export type PluginLauncherPlacementZone = (typeof PLUGIN_LAUNCHER_PLACEMENT_ZONES)[number];
165
+ /**
166
+ * Launcher action kinds describe what the launcher does when activated.
167
+ */
168
+ export declare const PLUGIN_LAUNCHER_ACTIONS: readonly ["navigate", "openModal", "openDrawer", "openPopover", "performAction", "deepLink"];
169
+ export type PluginLauncherAction = (typeof PLUGIN_LAUNCHER_ACTIONS)[number];
170
+ /**
171
+ * Optional size hints the host can use when rendering plugin-owned launcher
172
+ * destinations such as overlays, drawers, or full page handoffs.
173
+ */
174
+ export declare const PLUGIN_LAUNCHER_BOUNDS: readonly ["inline", "compact", "default", "wide", "full"];
175
+ export type PluginLauncherBounds = (typeof PLUGIN_LAUNCHER_BOUNDS)[number];
176
+ /**
177
+ * Render environments describe the container a launcher expects after it is
178
+ * activated. The current host may map these to concrete UI primitives.
179
+ */
180
+ export declare const PLUGIN_LAUNCHER_RENDER_ENVIRONMENTS: readonly ["hostInline", "hostOverlay", "hostRoute", "external", "iframe"];
181
+ export type PluginLauncherRenderEnvironment = (typeof PLUGIN_LAUNCHER_RENDER_ENVIRONMENTS)[number];
182
+ /**
183
+ * Entity types that a `detailTab` UI slot can attach to.
184
+ *
185
+ * @see PLUGIN_SPEC.md §19.3 — Detail Tabs
186
+ */
187
+ export declare const PLUGIN_UI_SLOT_ENTITY_TYPES: readonly ["project", "issue", "agent", "goal", "run", "comment"];
188
+ export type PluginUiSlotEntityType = (typeof PLUGIN_UI_SLOT_ENTITY_TYPES)[number];
189
+ /**
190
+ * Scope kinds for plugin state storage. Determines the granularity at which
191
+ * a plugin stores key-value state data.
192
+ *
193
+ * @see PLUGIN_SPEC.md §21.3 `plugin_state.scope_kind`
194
+ */
195
+ export declare const PLUGIN_STATE_SCOPE_KINDS: readonly ["instance", "company", "project", "project_workspace", "agent", "issue", "goal", "run"];
196
+ export type PluginStateScopeKind = (typeof PLUGIN_STATE_SCOPE_KINDS)[number];
197
+ /** Statuses for a plugin's scheduled job definition. */
198
+ export declare const PLUGIN_JOB_STATUSES: readonly ["active", "paused", "failed"];
199
+ export type PluginJobStatus = (typeof PLUGIN_JOB_STATUSES)[number];
200
+ /** Statuses for individual job run executions. */
201
+ export declare const PLUGIN_JOB_RUN_STATUSES: readonly ["pending", "queued", "running", "succeeded", "failed", "cancelled"];
202
+ export type PluginJobRunStatus = (typeof PLUGIN_JOB_RUN_STATUSES)[number];
203
+ /** What triggered a particular job run. */
204
+ export declare const PLUGIN_JOB_RUN_TRIGGERS: readonly ["schedule", "manual", "retry"];
205
+ export type PluginJobRunTrigger = (typeof PLUGIN_JOB_RUN_TRIGGERS)[number];
206
+ /** Statuses for inbound webhook deliveries. */
207
+ export declare const PLUGIN_WEBHOOK_DELIVERY_STATUSES: readonly ["pending", "success", "failed"];
208
+ export type PluginWebhookDeliveryStatus = (typeof PLUGIN_WEBHOOK_DELIVERY_STATUSES)[number];
209
+ /**
210
+ * Core domain event types that plugins can subscribe to via the
211
+ * `events.subscribe` capability.
212
+ *
213
+ * @see PLUGIN_SPEC.md §16 — Event System
214
+ */
215
+ export declare const PLUGIN_EVENT_TYPES: readonly ["company.created", "company.updated", "project.created", "project.updated", "project.workspace_created", "project.workspace_updated", "project.workspace_deleted", "issue.created", "issue.updated", "issue.comment.created", "agent.created", "agent.updated", "agent.status_changed", "agent.run.started", "agent.run.finished", "agent.run.failed", "agent.run.cancelled", "goal.created", "goal.updated", "approval.created", "approval.decided", "cost_event.created", "activity.logged"];
216
+ export type PluginEventType = (typeof PLUGIN_EVENT_TYPES)[number];
217
+ /**
218
+ * Error codes returned by the plugin bridge when a UI → worker call fails.
219
+ *
220
+ * @see PLUGIN_SPEC.md §19.7 — Error Propagation Through The Bridge
221
+ */
222
+ export declare const PLUGIN_BRIDGE_ERROR_CODES: readonly ["WORKER_UNAVAILABLE", "CAPABILITY_DENIED", "WORKER_ERROR", "TIMEOUT", "UNKNOWN"];
223
+ export type PluginBridgeErrorCode = (typeof PLUGIN_BRIDGE_ERROR_CODES)[number];
224
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,2CAA4C,CAAC;AAC1E,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D,eAAO,MAAM,gBAAgB,6CAA8C,CAAC;AAC5E,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/D,eAAO,MAAM,oBAAoB,gCAAiC,CAAC;AACnE,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvE,eAAO,MAAM,mBAAmB,+BAAgC,CAAC;AACjE,MAAM,MAAM,eAAe,GAAG,CAAC,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