firebase-tools-with-isolate 15.24.0 → 15.25.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.
Files changed (57) hide show
  1. package/lib/api.js +4 -2
  2. package/lib/appcheck/api.js +42 -0
  3. package/lib/appcheck/prompts.js +41 -0
  4. package/lib/appcheck/types.js +2 -0
  5. package/lib/command.js +11 -3
  6. package/lib/commands/ailogic-config-get.js +75 -0
  7. package/lib/commands/ailogic-config-set.js +109 -0
  8. package/lib/commands/ailogic-providers-disable.js +39 -0
  9. package/lib/commands/ailogic-providers-enable.js +28 -0
  10. package/lib/commands/ailogic-providers-list.js +29 -0
  11. package/lib/commands/appcheck-debugtokens-create.js +95 -0
  12. package/lib/commands/appcheck-debugtokens-delete.js +48 -0
  13. package/lib/commands/appcheck-debugtokens-list.js +35 -0
  14. package/lib/commands/apps-sdkconfig.js +2 -23
  15. package/lib/commands/database-get.js +1 -1
  16. package/lib/commands/index.js +15 -0
  17. package/lib/deploy/functions/build.js +93 -3
  18. package/lib/deploy/functions/functionsDeployHelper.js +18 -12
  19. package/lib/deploy/functions/params.js +45 -11
  20. package/lib/deploy/functions/prepare.js +38 -5
  21. package/lib/deploy/functions/release/executor.js +51 -8
  22. package/lib/deploy/functions/release/fabricator.js +34 -5
  23. package/lib/deploy/functions/runtimes/node/index.js +8 -7
  24. package/lib/deploy/functions/runtimes/node/versioning.js +8 -3
  25. package/lib/deploy/functions/validate.js +5 -2
  26. package/lib/deploy/hosting/uploader.js +2 -1
  27. package/lib/emulator/controller.js +34 -15
  28. package/lib/emulator/dataconnect/pgliteServer.js +2 -1
  29. package/lib/emulator/downloadableEmulatorInfo.json +6 -6
  30. package/lib/emulator/downloadableEmulators.js +1 -0
  31. package/lib/emulator/hubExport.js +2 -1
  32. package/lib/emulator/storage/apis/firebase.js +24 -5
  33. package/lib/emulator/storage/apis/gcloud.js +16 -6
  34. package/lib/emulator/storage/rules/runtime.js +45 -33
  35. package/lib/emulator/storage/server.js +2 -5
  36. package/lib/emulator/storage/upload.js +1 -0
  37. package/lib/ensureApiEnabled.js +8 -0
  38. package/lib/experiments.js +22 -0
  39. package/lib/extensions/warnings.js +64 -0
  40. package/lib/functions/env.js +22 -2
  41. package/lib/functions/projectConfig.js +98 -12
  42. package/lib/functions/secrets.js +4 -1
  43. package/lib/gcp/ailogic.js +165 -1
  44. package/lib/gcp/cloudfunctionsv2.js +7 -0
  45. package/lib/gcp/firedata.js +5 -1
  46. package/lib/gcp/serviceusage.js +26 -0
  47. package/lib/init/features/ailogic/index.js +3 -29
  48. package/lib/init/features/database.js +1 -1
  49. package/lib/management/apps.js +16 -5
  50. package/lib/mcp/onemcp/onemcp_server.js +28 -9
  51. package/lib/mcp/tools/core/get_security_rules.js +2 -1
  52. package/lib/profiler.js +1 -1
  53. package/lib/serve/functions.js +25 -7
  54. package/lib/streamUtils.js +3 -0
  55. package/lib/tsconfig.publish.tsbuildinfo +1 -1
  56. package/package.json +3 -3
  57. package/schema/firebase-config.json +93 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-tools-with-isolate",
3
- "version": "15.24.0",
3
+ "version": "15.25.1",
4
4
  "description": "Command-Line Interface for Firebase with monorepo support",
5
5
  "main": "./lib/index.js",
6
6
  "mcpName": "io.github.firebase/firebase-mcp",
@@ -172,7 +172,7 @@
172
172
  "undici": "^6.19.0",
173
173
  "winston": "^3.0.0",
174
174
  "winston-transport": "^4.4.0",
175
- "ws": "^7.5.10",
175
+ "ws": "^8.21.1",
176
176
  "yaml": "^2.8.3",
177
177
  "zod": "^4.0.0",
178
178
  "isolate-package": "1.35.0",
@@ -226,7 +226,7 @@
226
226
  "@types/triple-beam": "^1.3.0",
227
227
  "@types/universal-analytics": "^0.4.5",
228
228
  "@types/update-notifier": "^5.1.0",
229
- "@types/ws": "^7.2.3",
229
+ "@types/ws": "^8.18.1",
230
230
  "@typescript-eslint/eslint-plugin": "^5.9.0",
231
231
  "@typescript-eslint/parser": "^5.9.0",
232
232
  "astro": "^2.2.3",
@@ -301,6 +301,9 @@
301
301
  },
302
302
  "FunctionConfig": {
303
303
  "anyOf": [
304
+ {
305
+ "$ref": "#/definitions/KitFunctionConfig"
306
+ },
304
307
  {
305
308
  "$ref": "#/definitions/LocalFunctionConfig"
306
309
  },
@@ -909,6 +912,93 @@
909
912
  },
910
913
  "type": "object"
911
914
  },
915
+ "KitFunctionConfig": {
916
+ "additionalProperties": false,
917
+ "properties": {
918
+ "ignore": {
919
+ "items": {
920
+ "type": "string"
921
+ },
922
+ "type": "array"
923
+ },
924
+ "instances": {
925
+ "additionalProperties": {
926
+ "type": "string"
927
+ },
928
+ "description": "Dictionary mapping instance IDs to their configuration directories",
929
+ "type": "object"
930
+ },
931
+ "kit": {
932
+ "description": "Unique identifier for the functions kit (peer to codebase)",
933
+ "type": "string"
934
+ },
935
+ "postdeploy": {
936
+ "anyOf": [
937
+ {
938
+ "items": {
939
+ "type": "string"
940
+ },
941
+ "type": "array"
942
+ },
943
+ {
944
+ "type": "string"
945
+ }
946
+ ]
947
+ },
948
+ "predeploy": {
949
+ "anyOf": [
950
+ {
951
+ "items": {
952
+ "type": "string"
953
+ },
954
+ "type": "array"
955
+ },
956
+ {
957
+ "type": "string"
958
+ }
959
+ ]
960
+ },
961
+ "runtime": {
962
+ "enum": [
963
+ "dart3",
964
+ "nodejs18",
965
+ "nodejs20",
966
+ "nodejs22",
967
+ "nodejs24",
968
+ "python310",
969
+ "python311",
970
+ "python312",
971
+ "python313",
972
+ "python314"
973
+ ],
974
+ "type": "string"
975
+ },
976
+ "source": {
977
+ "description": "Local directory containing the kit source code.",
978
+ "type": "string"
979
+ },
980
+ "sourcePackage": {
981
+ "additionalProperties": false,
982
+ "description": "Package details when resolved from a package repository.",
983
+ "properties": {
984
+ "id": {
985
+ "description": "Package identifier (e.g., \"@firebase-functions-kits/firestore-bigquery-export\")",
986
+ "type": "string"
987
+ }
988
+ },
989
+ "required": [
990
+ "id"
991
+ ],
992
+ "type": "object"
993
+ }
994
+ },
995
+ "required": [
996
+ "instances",
997
+ "kit",
998
+ "source"
999
+ ],
1000
+ "type": "object"
1001
+ },
912
1002
  "LocalFunctionConfig": {
913
1003
  "additionalProperties": false,
914
1004
  "properties": {
@@ -1647,6 +1737,9 @@
1647
1737
  },
1648
1738
  "functions": {
1649
1739
  "anyOf": [
1740
+ {
1741
+ "$ref": "#/definitions/KitFunctionConfig"
1742
+ },
1650
1743
  {
1651
1744
  "$ref": "#/definitions/LocalFunctionConfig"
1652
1745
  },