-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Dupe of feat(mcp): revamp firebase init with orchestration API integration #9182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 11 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2b87a86
Add Firebase App provisioning API integration
TrCaM 74f3687
Firebase MCP init tool schema change to support provisioning
TrCaM 6c2b93a
Add methods to detect existing local apps from directories
TrCaM 31e6327
Add methods to ensure local file locations for app provisioning
TrCaM b68727f
Wire up provisioning logic with fake API service - Verify logic first…
TrCaM 1c2cc10
Archive mock provisioning service for future reference
TrCaM d411761
Complete first working version of revamped firebase init MCP tool
TrCaM a1cd048
Merge master into feature branch
TrCaM 647eb87
Fix lint/formating - Add unit test for new firebase init tool
TrCaM 3309d71
Fix lint/formating - Add unit test for new firebase init tool
TrCaM 0a0af59
Minor pr fixes
joehan 193d196
Adding missing files
joehan 5f3a6b9
Merge branch 'master' into jh-provisioning
joehan e3afdee
Merge branch 'master' into jh-provisioning
joehan 9814ef9
Merge branch 'master' into jh-provisioning
joehan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export interface AiLogicInfo { | ||
// Minimal interface - no configuration needed | ||
[key: string]: unknown; | ||
} | ||
|
||
/** | ||
* | ||
*/ | ||
export async function askQuestions(): Promise<void> { | ||
// No-op - questions already handled by MCP schema | ||
} | ||
|
||
/** | ||
* | ||
*/ | ||
Comment on lines
+13
to
+15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
export async function actuate(): Promise<void> { | ||
// No-op - AI Logic provisioning happens via API, no local config changes needed | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ export interface SetupInfo { | |
dataconnectSdk?: features.DataconnectSdkInfo; | ||
storage?: features.StorageInfo; | ||
apptesting?: features.ApptestingInfo; | ||
ailogic?: features.AiLogicInfo; | ||
} | ||
|
||
interface Feature { | ||
|
@@ -96,11 +97,19 @@ const featuresList: Feature[] = [ | |
askQuestions: features.apptestingAskQuestions, | ||
actuate: features.apptestingAcutate, | ||
}, | ||
{ | ||
name: "ailogic", | ||
askQuestions: features.aiLogicAskQuestions, | ||
actuate: features.aiLogicActuate, | ||
}, | ||
{ name: "aitools", displayName: "AI Tools", doSetup: features.aitools }, | ||
]; | ||
|
||
const featureMap = new Map(featuresList.map((feature) => [feature.name, feature])); | ||
|
||
/** | ||
* | ||
*/ | ||
Comment on lines
+110
to
+112
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
export async function init(setup: Setup, config: Config, options: any): Promise<any> { | ||
const nextFeature = setup.features?.shift(); | ||
if (nextFeature) { | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The JSDoc comment for this function is empty. Adding a brief description, even for a no-op function, improves code clarity and helps other developers understand its purpose without reading the implementation details.