Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions .github/scripts/compare-types/configs/ai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,21 +106,81 @@ const config: PackageConfig = {
reason:
'RN Firebase schema-builder does not currently expose the `anyOf` helper class, so union-schema composition is not part of the public RN AI API.',
},
{
name: 'ContextWindowCompressionConfig',
reason:
'RN Firebase live sessions do not currently expose JS SDK context-window compression controls.',
},
{
name: 'GoogleMaps',
reason:
'Google Maps grounding/tool support is not currently part of the public RN Firebase AI API.',
},
{
name: 'GoogleMapsGroundingChunk',
reason:
'RN Firebase grounding metadata currently exposes web grounding chunks only and does not surface Google Maps grounding chunks.',
},
{
name: 'GoogleMapsTool',
reason:
'RN Firebase tools do not currently expose the JS SDK Google Maps grounding tool.',
},
{
name: 'ImageConfig',
reason:
'RN Firebase generation config does not currently expose the JS SDK image generation configuration surface.',
},
{
name: 'ImageConfigAspectRatio',
reason:
'RN Firebase does not currently expose JS SDK image generation aspect-ratio presets in the public AI types.',
},
{
name: 'ImageConfigImageSize',
reason:
'RN Firebase does not currently expose JS SDK image generation size presets in the public AI types.',
},
{
name: 'LatLng',
reason:
'Coordinate typing is only used by the JS SDK Google Maps grounding surface, which RN Firebase does not currently expose.',
},
{
name: 'LiveServerGoingAwayNotice',
reason:
'RN Firebase live sessions do not currently surface the server `goingAwayNotice` message type in the public API.',
},
{
name: 'LiveSessionResumptionUpdate',
reason:
'RN Firebase live sessions do not currently surface JS SDK session-resumption update messages in the public API.',
},
{
name: 'ObjectSchemaRequest',
reason:
'RN Firebase exposes `ObjectSchemaInterface` for schema helper typing, but does not separately export the raw request-shape `ObjectSchemaRequest` type.',
},
{
name: 'RetrievalConfig',
reason:
'RN Firebase tool configuration does not currently expose the JS SDK retrieval configuration surface.',
},
{
name: 'SessionResumptionConfig',
reason:
'RN Firebase live model connection APIs do not currently expose JS SDK session-resumption configuration.',
},
{
name: 'SingleRequestOptions',
reason:
'RN Firebase does not currently expose per-call request overrides such as `AbortSignal`; requests are configured via model-level `RequestOptions` only.',
},
{
name: 'SlidingWindow',
reason:
'Sliding-window compression is part of the JS SDK context-window compression surface, which RN Firebase does not currently expose.',
},
{
name: 'ChatSessionBase',
reason:
Expand Down Expand Up @@ -151,6 +211,11 @@ const config: PackageConfig = {
reason:
'Template tool unions are part of firebase-js-sdk template tooling that RN Firebase does not currently expose.',
},
{
name: 'TemplateToolConfig',
reason:
'Template tool configuration is part of the JS SDK template tooling surface, which RN Firebase does not currently expose.',
},
{
name: 'ThinkingLevel',
reason:
Expand Down Expand Up @@ -195,6 +260,11 @@ const config: PackageConfig = {
reason:
'RN Firebase does not expose `inferenceSource` because hybrid on-device / in-cloud inference is a browser-only feature.',
},
{
name: 'FinishReason',
reason:
'RN Firebase currently exposes the earlier finish-reason enum subset and does not surface the newer JS SDK image, language, tool-call, thought-signature, and malformed-response finish reasons.',
},
{
name: 'Citation',
reason:
Expand Down Expand Up @@ -225,6 +295,16 @@ const config: PackageConfig = {
reason:
'RN Firebase function responses omit the optional `parts` field from the JS SDK declaration and only expose the structured response payload.',
},
{
name: 'GroundingChunk',
reason:
'RN Firebase grounding chunks do not currently include the JS SDK Google Maps grounding variant.',
},
{
name: 'GroundingMetadata',
reason:
'RN Firebase grounding metadata does not currently surface Google Maps widget context tokens from the JS SDK API.',
},
{
name: 'GenerationConfig',
reason:
Expand All @@ -240,6 +320,16 @@ const config: PackageConfig = {
reason:
'RN Firebase Imagen model requests do not currently accept per-call `SingleRequestOptions`, so request overrides are limited to model-level `RequestOptions`.',
},
{
name: 'LiveGenerationConfig',
reason:
'RN Firebase live generation config does not currently expose JS SDK context-window compression settings.',
},
{
name: 'LiveGenerativeModel',
reason:
'RN Firebase live model connections do not currently accept JS SDK session-resumption configuration.',
},
{
name: 'LiveResponseType',
reason:
Expand Down Expand Up @@ -290,6 +380,16 @@ const config: PackageConfig = {
reason:
'RN Firebase thinking config supports `thinkingBudget` and `includeThoughts`, but does not currently expose the JS SDK `thinkingLevel` preset field.',
},
{
name: 'Tool',
reason:
'RN Firebase tools do not currently include the JS SDK Google Maps grounding tool variant.',
},
{
name: 'ToolConfig',
reason:
'RN Firebase tool config currently exposes function calling config only and omits the JS SDK retrieval config field.',
},
{
name: 'TypedSchema',
reason:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"eslint-plugin-mocha": "^11.2.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"firebase": "^12.12.1",
"firebase": "^12.13.0",
"firebase-tools": "^15.16.0",
"genversion": "^3.2.0",
"google-java-format": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"react-native": "*"
},
"dependencies": {
"firebase": "12.12.1"
"firebase": "12.13.0"
},
"devDependencies": {
"@react-native-async-storage/async-storage": "^2.0.2",
Expand Down
2 changes: 1 addition & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"axios": "^1.15.2",
"cpy-cli": "^7.0.0",
"detox": "patch:detox@npm%3A20.51.0#~/.yarn/patches/detox-npm-20.51.0-3e13b6e309.patch",
"firebase": "^12.12.1",
"firebase": "^12.13.0",
"firebase-tools": "^15.16.0",
"jest-circus": "^30.3.0",
"jest-environment-node": "^30.3.0",
Expand Down
Loading
Loading