@databutton/firebase-types 1.176.1 → 1.177.1

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.
@@ -1803,6 +1803,15 @@ export interface ProjectTemplate {
1803
1803
  build: ProjectTemplateBuildSnapshot;
1804
1804
  targetPoolSize?: number;
1805
1805
  variant: ProjectVariant;
1806
+ /**
1807
+ * The project kind and SKU inherited by projects created from this template.
1808
+ * Snapshotted from the project the template was built from, so a new agent
1809
+ * starts out as the same kind of agent, with the same SKU, as the one it was
1810
+ * modelled on. Unset means the created project gets no kind or SKU either.
1811
+ */
1812
+ specialType?: SpecialProjectType;
1813
+ /** See {@link ProjectAgentType}. Snapshotted alongside {@link specialType}. */
1814
+ agentType?: ProjectAgentType;
1806
1815
  initialPromptInstructions?: string;
1807
1816
  secretNames?: string[];
1808
1817
  secretRefs?: {
@@ -2745,8 +2754,19 @@ export interface AgentSkillBase {
2745
2754
  content: string;
2746
2755
  availability: "draft" | "preview" | "active";
2747
2756
  /**
2748
- * Restricts which kind of project can see this skill, mirroring
2749
- * SpecialProjectType on the project doc.
2757
+ * Restricts which kinds of project can see this skill, mirroring
2758
+ * SpecialProjectType on the project doc. More than one kind may be listed:
2759
+ * a skill that reads the same for an operational agent and for a strategic
2760
+ * agent (a copilot) is tagged with both rather than duplicated per kind,
2761
+ * while one that does not — configuring a trigger, say — names only the kind
2762
+ * it applies to.
2763
+ *
2764
+ * Set this on new and edited skills. Unset or empty falls back to `type`.
2765
+ */
2766
+ types?: SpecialProjectType[] | null;
2767
+ /**
2768
+ * Superseded by `types`, which can carry more than one kind. Still read when
2769
+ * `types` is unset, so skills written before it keep resolving.
2750
2770
  * - null: defaults to SpecialProjectType.APP (backwards compatible)
2751
2771
  */
2752
2772
  type?: SpecialProjectType | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.176.1",
3
+ "version": "1.177.1",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {