@databutton/firebase-types 1.169.0 → 1.171.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.
|
@@ -1184,6 +1184,14 @@ export interface AgentConfig {
|
|
|
1184
1184
|
status?: AgentStatus;
|
|
1185
1185
|
primaryModel?: string;
|
|
1186
1186
|
demoEmailConfig?: DemoEmailConfig;
|
|
1187
|
+
/**
|
|
1188
|
+
* Who a newly created task falls to when nothing else names an approver — the
|
|
1189
|
+
* agent delegating a task, or a scheduled run with no creator to assign. A
|
|
1190
|
+
* Firebase user ID or an email, matching how approvers are stored on the task
|
|
1191
|
+
* itself. Null/absent leaves those tasks unassigned, which means their
|
|
1192
|
+
* approvals and clarifying questions reach nobody's inbox.
|
|
1193
|
+
*/
|
|
1194
|
+
defaultApprover?: string | null;
|
|
1187
1195
|
}
|
|
1188
1196
|
export type AgentStatus = {
|
|
1189
1197
|
available: true;
|
|
@@ -1214,6 +1222,14 @@ export interface ProjectMigrationRecord {
|
|
|
1214
1222
|
migratedAt: Timestamp;
|
|
1215
1223
|
}
|
|
1216
1224
|
export type ProjectVariant = "beyond-streamlit" | "riff";
|
|
1225
|
+
/**
|
|
1226
|
+
* Known agent type tags the platform gates specific behavior on (e.g. the
|
|
1227
|
+
* orchestrator selecting per-agent-type tool variants for
|
|
1228
|
+
* "order-confirmation-agent"). Not a closed set — projects may carry other
|
|
1229
|
+
* ad-hoc values (e.g. per-customer agents identified only via agentSpecUrl),
|
|
1230
|
+
* so this stays open with a string fallback rather than a strict union.
|
|
1231
|
+
*/
|
|
1232
|
+
export type ProjectAgentType = "order-confirmation-agent" | "supplier-communications-agent" | (string & {});
|
|
1217
1233
|
export interface IntegrationPackages {
|
|
1218
1234
|
npmPackages: {
|
|
1219
1235
|
dependencies: {
|
|
@@ -1603,7 +1619,7 @@ export interface Project {
|
|
|
1603
1619
|
/** URL to the agent type spec document (e.g. riff-agent-docs/agents/supplier-communications-agent.md). */
|
|
1604
1620
|
agentSpecUrl?: string;
|
|
1605
1621
|
/** Agent type tag identifying which kind of agent this project implements (e.g. "supplier-communications-agent"). */
|
|
1606
|
-
agentType?:
|
|
1622
|
+
agentType?: ProjectAgentType;
|
|
1607
1623
|
isShowcase?: boolean;
|
|
1608
1624
|
last_deployed?: Timestamp;
|
|
1609
1625
|
schema?: "2022-12-07" | "2022-08-22" | null;
|