* Loading panel on new update
* refactor: Update COPILOT_NOT_AVAILABLE_MSG with disabled AI features message
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* remove variables
* Updated org auth handling
* refactor: Renamed fxn
* refactor: Initialize organization details in OrgHandlerUtils
This commit refactors the `initializeOrgDetails` function in `OrgHandlerUtils.ts` to improve the initialization of organization details. It now retrieves stored organization details from the global state and returns them if available. If not, it uses the PAC wrapper to fetch the organization details and stores them in the global state for future use. This change enhances the efficiency and reliability of the organization details initialization process.
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Context improvement for webpage
* refactor: Remove commented code for fetching related files
* refactor: Iapi version upgrade
* refactor: Update fetchRelatedFiles to include telemetry for error handling
* refactor: sessionId for relatedFiles
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Users/nityagi/update feature branch (#933)
* Moving auth create flow to utils (#926)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Making auth provider a common module flow (#928)
* refactor: Update QuickPickProvider to handle tab input changes (#930)
The code changes in the QuickPickProvider class handle tab input changes by checking if the active tab is an instance of vscode.TabInputCustom or vscode.TabInputText. If it is, the QuickPickProvider updates the quick pick items based on the file path of the tab input.
Note: This commit message follows the convention used in recent repository commits.
* Updates to Artemis service & telemetry endpoints for gov clouds (#906)
* Updates to artemis for gov clouds
* change
* changes
---------
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
---------
Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
* GitHub copilot chat - @powerpages contribution (#927)
* chore: Update package.json with extension dependencies and enabled API proposals for chat participants
* feat: Add PowerPagesChatParticipant for chat functionality
* feat: Add logic to handle chat requests in PowerPagesChatParticipant
* feat: Removed logs
* TODO
* formatting change
* Remove unused extension dependency
* feat: Add handler for chat requests in PowerPagesChatParticipant
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
* [@powerpages] GitHub copilot auth handling for AIB and PAC (#947)
* chore: Update package.json with extension dependencies and enabled API proposals for chat participants
* feat: Add PowerPagesChatParticipant for chat functionality
* feat: Add logic to handle chat requests in PowerPagesChatParticipant
* feat: Removed logs
* TODO
* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)
* chore: Remove unused code and update PowerPagesChatParticipant initialization
* chore: Update PowerPagesChatParticipant initialization and pac integration
* feat: Initialize organization details in PowerPagesChatParticipant
* chore: Remove unnecessary code and update OrgChangeNotifier initialization
* Fix lint warnings
* feat: Refactor PowerPagesChatParticipant class
The code changes refactor the PowerPagesChatParticipant class in the `PowerPagesChatParticipant.ts` file. The changes include:
- Fixing a typo in the `instance` property declaration
- Updating the constructor parameters to have consistent spacing
- Adding a comment to handle chat requests
- Removing a console.log statement
- Updating the `intializeOrgDetails` method to have consistent spacing
- Updating the `intializeOrgDetails` method to use destructuring assignment
- Updating the `intializeOrgDetails` method to update the `orgDetails` in the global state
- Removing unused code
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Added response for error scenarios
* Added & removed comments
* refactor: Update PowerPagesCopilot name in package.json
The code changes in the package.json file update the "name" property for the "powerpages" module to "Power Pages Copilot". This change reflects the updated name for the module.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Code refactoring for utils and constants
* Enhanced pac auth handling
* refactor: Update PowerPagesChatParticipantConstants
The code changes in the `PowerPagesChatParticipantConstants.ts` file refactor the constants used in the PowerPages chat participant. The changes include:
- Cleaning up the code formatting
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
* Resolve merge conflicts
* [@Powerpages]GitHub copilot request handling (#957)
* chore: Update package.json with extension dependencies and enabled API proposals for chat participants
* feat: Add PowerPagesChatParticipant for chat functionality
* feat: Add logic to handle chat requests in PowerPagesChatParticipant
* feat: Removed logs
* TODO
* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)
* feat: Add getActiveEditorContent function for retrieving active editor data
The code changes add a new function called getActiveEditorContent to the Utils module. This function retrieves the content and parameters of the active editor in Visual Studio Code. It is used in the PowerPagesCopilot module to get the active file content and its associated parameters.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* chore: Remove unused code and update PowerPagesChatParticipant initialization
* chore: Update PowerPagesChatParticipant initialization and pac integration
* feat: Initialize organization details in PowerPagesChatParticipant
* @powerpages aib endpoint handling
* feat: Add getActiveEditorContent function to retrieve active editor data
The code changes introduce a new function called getActiveEditorContent in the Utils module. This function allows retrieving the content and parameters of the active editor in Visual Studio Code. It is utilized in the PowerPagesCopilot module to obtain the active file content and its associated parameters.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Multiline response handling
* Todo comment for auth create exp
* feat: Handle Copilot Unavailable scenario with response to user
* Update in package.json
* chore: Remove extension dependency
* Full name for @powerpages
* refactor: Refactor PowerPagesChatParticipant class
- Removing unused code
* chat api insider version
* refactor: Refactor PowerPagesChatParticipant import paths
* Update package.json version to 1.0.1-dev and other refactoring
* refactor: Remove unused code in PowerPagesChatParticipant class
* refactor: Moved Dataverse details fetch to utils
* refactor: Added entity check to utils
* refactor: Update localization strings and package version
* chore: Remove @types/vscode dependency and update package-lock.json and package.json
* chore: Update @types/vscode dependency to version 1.89.0
* chore: Remove @types/vscode dependency and update package-lock.json and package.json
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
* [PowerPages] Copilot Availability Check for @powerpages (#962)
* feat: Add environmentID field to OrgDetails interface
The code changes add an optional `environmentID` field to the `OrgDetails` interface in the `PowerPagesChatParticipantTypes.ts` file. This field represents the ID of the environment associated with the organization. It is used in the `getEndpoint` function in the `PowerPagesChatParticipantUtils.ts` file to retrieve the intelligence endpoint and geo name for the specified organization and environment.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
* feat: Update PowerPagesChatParticipantUtils to return componentInfo and entityName
The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change allows for better handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* feat: Modify getComponentInfo to return componentInfo and entityName
The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change improves the handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* feat: Add telemetry event names for GitHub Power Pages agent (#969)
* feat: Add telemetry event names for GitHub Power Pages agent
* chore: Update telemetry event names for GitHub Power Pages agent
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
* feat: Add selected code support to getActiveEditorContent function
* feat: Add support for retrieving active editor content and parameters
The code changes in the `getActiveEditorContent` function of the `Utils.ts` file add support for retrieving the content and parameters of the active editor in Visual Studio Code. This function now handles selected code, visible code, and full file content scenarios. It also updates the `activeFileData` object with the appropriate content and line range information. This change improves the functionality of the `getActiveEditorContent` function and enhances the overall user experience.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* feat: Improve getActiveEditorContent function to handle selected code, visible code, and full file content scenario
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* feat: Commented visible code part functionality
* passing activeFileContent for prodev copilot
* Removed redundant code
* pr comments
---------
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
* Users/nityagi/update feature branch (#933)
* Moving auth create flow to utils (#926)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Making auth provider a common module flow (#928)
* refactor: Update QuickPickProvider to handle tab input changes (#930)
The code changes in the QuickPickProvider class handle tab input changes by checking if the active tab is an instance of vscode.TabInputCustom or vscode.TabInputText. If it is, the QuickPickProvider updates the quick pick items based on the file path of the tab input.
Note: This commit message follows the convention used in recent repository commits.
* Updates to Artemis service & telemetry endpoints for gov clouds (#906)
* Updates to artemis for gov clouds
* change
* changes
---------
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
---------
Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
* GitHub copilot chat - @powerpages contribution (#927)
* chore: Update package.json with extension dependencies and enabled API proposals for chat participants
* feat: Add PowerPagesChatParticipant for chat functionality
* feat: Add logic to handle chat requests in PowerPagesChatParticipant
* feat: Removed logs
* TODO
* formatting change
* Remove unused extension dependency
* feat: Add handler for chat requests in PowerPagesChatParticipant
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
* [@powerpages] GitHub copilot auth handling for AIB and PAC (#947)
* chore: Update package.json with extension dependencies and enabled API proposals for chat participants
* feat: Add PowerPagesChatParticipant for chat functionality
* feat: Add logic to handle chat requests in PowerPagesChatParticipant
* feat: Removed logs
* TODO
* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)
* chore: Remove unused code and update PowerPagesChatParticipant initialization
* chore: Update PowerPagesChatParticipant initialization and pac integration
* feat: Initialize organization details in PowerPagesChatParticipant
* chore: Remove unnecessary code and update OrgChangeNotifier initialization
* Fix lint warnings
* feat: Refactor PowerPagesChatParticipant class
The code changes refactor the PowerPagesChatParticipant class in the `PowerPagesChatParticipant.ts` file. The changes include:
- Fixing a typo in the `instance` property declaration
- Updating the constructor parameters to have consistent spacing
- Adding a comment to handle chat requests
- Removing a console.log statement
- Updating the `intializeOrgDetails` method to have consistent spacing
- Updating the `intializeOrgDetails` method to use destructuring assignment
- Updating the `intializeOrgDetails` method to update the `orgDetails` in the global state
- Removing unused code
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Added response for error scenarios
* Added & removed comments
* refactor: Update PowerPagesCopilot name in package.json
The code changes in the package.json file update the "name" property for the "powerpages" module to "Power Pages Copilot". This change reflects the updated name for the module.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Code refactoring for utils and constants
* Enhanced pac auth handling
* refactor: Update PowerPagesChatParticipantConstants
The code changes in the `PowerPagesChatParticipantConstants.ts` file refactor the constants used in the PowerPages chat participant. The changes include:
- Cleaning up the code formatting
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
* Resolve merge conflicts
* [@Powerpages]GitHub copilot request handling (#957)
* chore: Update package.json with extension dependencies and enabled API proposals for chat participants
* feat: Add PowerPagesChatParticipant for chat functionality
* feat: Add logic to handle chat requests in PowerPagesChatParticipant
* feat: Removed logs
* TODO
* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)
* feat: Add getActiveEditorContent function for retrieving active editor data
The code changes add a new function called getActiveEditorContent to the Utils module. This function retrieves the content and parameters of the active editor in Visual Studio Code. It is used in the PowerPagesCopilot module to get the active file content and its associated parameters.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* chore: Remove unused code and update PowerPagesChatParticipant initialization
* chore: Update PowerPagesChatParticipant initialization and pac integration
* feat: Initialize organization details in PowerPagesChatParticipant
* @powerpages aib endpoint handling
* feat: Add getActiveEditorContent function to retrieve active editor data
The code changes introduce a new function called getActiveEditorContent in the Utils module. This function allows retrieving the content and parameters of the active editor in Visual Studio Code. It is utilized in the PowerPagesCopilot module to obtain the active file content and its associated parameters.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Multiline response handling
* Todo comment for auth create exp
* feat: Handle Copilot Unavailable scenario with response to user
* Update in package.json
* chore: Remove extension dependency
* Full name for @powerpages
* refactor: Refactor PowerPagesChatParticipant class
- Removing unused code
* chat api insider version
* refactor: Refactor PowerPagesChatParticipant import paths
* Update package.json version to 1.0.1-dev and other refactoring
* refactor: Remove unused code in PowerPagesChatParticipant class
* refactor: Moved Dataverse details fetch to utils
* refactor: Added entity check to utils
* refactor: Update localization strings and package version
* chore: Remove @types/vscode dependency and update package-lock.json and package.json
* chore: Update @types/vscode dependency to version 1.89.0
* chore: Remove @types/vscode dependency and update package-lock.json and package.json
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
* [PowerPages] Copilot Availability Check for @powerpages (#962)
* feat: Add environmentID field to OrgDetails interface
The code changes add an optional `environmentID` field to the `OrgDetails` interface in the `PowerPagesChatParticipantTypes.ts` file. This field represents the ID of the environment associated with the organization. It is used in the `getEndpoint` function in the `PowerPagesChatParticipantUtils.ts` file to retrieve the intelligence endpoint and geo name for the specified organization and environment.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
* feat: Update PowerPagesChatParticipantUtils to return componentInfo and entityName
The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change allows for better handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* feat: Modify getComponentInfo to return componentInfo and entityName
The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change improves the handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* feat: Add telemetry event names for GitHub Power Pages agent (#969)
* feat: Add telemetry event names for GitHub Power Pages agent
* chore: Update telemetry event names for GitHub Power Pages agent
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
* chore: Update PowerPagesChatParticipantConstants with disclaimer message
* chore: Update DISCLAIMER_MESSAGE in PowerPagesChatParticipantConstants.ts
* Added link to @powerpages in existing copilot
* refactor: Update fullName and description in powerpages package.json
* feat: Remove unnecessary code and update GitHub Copilot link in PowerPagesCopilot.ts and copilot.js
* feat: Add environment message to PowerPagesCopilot.ts
* Remove unused enabledApiProposals from package.json
* chore: Update PowerPagesCopilot.ts to include sample request in GitHub Copilot chat
* chore: string updates for cost
---------
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
The auth profile error messages have been updated to provide more specific and user-friendly information. This refactor improves the user experience when dealing with authentication issues.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Users/nityagi/update feature branch (#933)
* Moving auth create flow to utils (#926)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Making auth provider a common module flow (#928)
* refactor: Update QuickPickProvider to handle tab input changes (#930)
The code changes in the QuickPickProvider class handle tab input changes by checking if the active tab is an instance of vscode.TabInputCustom or vscode.TabInputText. If it is, the QuickPickProvider updates the quick pick items based on the file path of the tab input.
Note: This commit message follows the convention used in recent repository commits.
* Updates to Artemis service & telemetry endpoints for gov clouds (#906)
* Updates to artemis for gov clouds
* change
* changes
---------
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
---------
Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
* GitHub copilot chat - @powerpages contribution (#927)
* chore: Update package.json with extension dependencies and enabled API proposals for chat participants
* feat: Add PowerPagesChatParticipant for chat functionality
* feat: Add logic to handle chat requests in PowerPagesChatParticipant
* feat: Removed logs
* TODO
* formatting change
* Remove unused extension dependency
* feat: Add handler for chat requests in PowerPagesChatParticipant
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
* [@powerpages] GitHub copilot auth handling for AIB and PAC (#947)
* chore: Update package.json with extension dependencies and enabled API proposals for chat participants
* feat: Add PowerPagesChatParticipant for chat functionality
* feat: Add logic to handle chat requests in PowerPagesChatParticipant
* feat: Removed logs
* TODO
* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)
* chore: Remove unused code and update PowerPagesChatParticipant initialization
* chore: Update PowerPagesChatParticipant initialization and pac integration
* feat: Initialize organization details in PowerPagesChatParticipant
* chore: Remove unnecessary code and update OrgChangeNotifier initialization
* Fix lint warnings
* feat: Refactor PowerPagesChatParticipant class
The code changes refactor the PowerPagesChatParticipant class in the `PowerPagesChatParticipant.ts` file. The changes include:
- Fixing a typo in the `instance` property declaration
- Updating the constructor parameters to have consistent spacing
- Adding a comment to handle chat requests
- Removing a console.log statement
- Updating the `intializeOrgDetails` method to have consistent spacing
- Updating the `intializeOrgDetails` method to use destructuring assignment
- Updating the `intializeOrgDetails` method to update the `orgDetails` in the global state
- Removing unused code
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Added response for error scenarios
* Added & removed comments
* refactor: Update PowerPagesCopilot name in package.json
The code changes in the package.json file update the "name" property for the "powerpages" module to "Power Pages Copilot". This change reflects the updated name for the module.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Code refactoring for utils and constants
* Enhanced pac auth handling
* refactor: Update PowerPagesChatParticipantConstants
The code changes in the `PowerPagesChatParticipantConstants.ts` file refactor the constants used in the PowerPages chat participant. The changes include:
- Cleaning up the code formatting
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
* Resolve merge conflicts
* [@Powerpages]GitHub copilot request handling (#957)
* chore: Update package.json with extension dependencies and enabled API proposals for chat participants
* feat: Add PowerPagesChatParticipant for chat functionality
* feat: Add logic to handle chat requests in PowerPagesChatParticipant
* feat: Removed logs
* TODO
* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)
* feat: Add getActiveEditorContent function for retrieving active editor data
The code changes add a new function called getActiveEditorContent to the Utils module. This function retrieves the content and parameters of the active editor in Visual Studio Code. It is used in the PowerPagesCopilot module to get the active file content and its associated parameters.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* chore: Remove unused code and update PowerPagesChatParticipant initialization
* chore: Update PowerPagesChatParticipant initialization and pac integration
* feat: Initialize organization details in PowerPagesChatParticipant
* @powerpages aib endpoint handling
* feat: Add getActiveEditorContent function to retrieve active editor data
The code changes introduce a new function called getActiveEditorContent in the Utils module. This function allows retrieving the content and parameters of the active editor in Visual Studio Code. It is utilized in the PowerPagesCopilot module to obtain the active file content and its associated parameters.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Multiline response handling
* Todo comment for auth create exp
* feat: Handle Copilot Unavailable scenario with response to user
* Update in package.json
* chore: Remove extension dependency
* Full name for @powerpages
* refactor: Refactor PowerPagesChatParticipant class
- Removing unused code
* chat api insider version
* refactor: Refactor PowerPagesChatParticipant import paths
* Update package.json version to 1.0.1-dev and other refactoring
* refactor: Remove unused code in PowerPagesChatParticipant class
* refactor: Moved Dataverse details fetch to utils
* refactor: Added entity check to utils
* refactor: Update localization strings and package version
* chore: Remove @types/vscode dependency and update package-lock.json and package.json
* chore: Update @types/vscode dependency to version 1.89.0
* chore: Remove @types/vscode dependency and update package-lock.json and package.json
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
* [PowerPages] Copilot Availability Check for @powerpages (#962)
* feat: Add environmentID field to OrgDetails interface
The code changes add an optional `environmentID` field to the `OrgDetails` interface in the `PowerPagesChatParticipantTypes.ts` file. This field represents the ID of the environment associated with the organization. It is used in the `getEndpoint` function in the `PowerPagesChatParticipantUtils.ts` file to retrieve the intelligence endpoint and geo name for the specified organization and environment.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
* feat: Update PowerPagesChatParticipantUtils to return componentInfo and entityName
The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change allows for better handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* feat: Modify getComponentInfo to return componentInfo and entityName
The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change improves the handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* feat: Add telemetry event names for GitHub Power Pages agent (#969)
* feat: Add telemetry event names for GitHub Power Pages agent
* chore: Update telemetry event names for GitHub Power Pages agent
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
* chore: Update npm dependency to latest stable version (#992)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* chore:Config to enable @powerpages integration in GitHub Copilot chat
```
* chore: Remove unused enabledApiProposals from package.json
* chore: Update import paths for PAC_SUCCESS constant
* Fix build error after merge from master
* Update code after review
* chore: Added code values to be skipped
---------
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
* Auth Profile listing fix (#841) (#842)
* Fix Enhanced data model filename language fetch and populate (#835)
* February release notes updates for web extension (#831)
* February release notes updates for web extension
* Update for bug fix and release extension version
* Auth Profile listing fix (#841) (#842)
* Invoking Language server only for PowerPages workspace (#952)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Fix EnvId getting null for Web extension flow (#963)
* Auth Profile listing fix (#841) (#842)
* Fix Enhanced data model filename language fetch and populate (#835)
* February release notes updates for web extension (#831)
* February release notes updates for web extension
* Update for bug fix and release extension version
* Auth Profile listing fix (#841) (#842)
* Invoking Language server only for PowerPages workspace (#952)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* envID fix for desktop extension
---------
Co-authored-by: Crash Collison <3751389+tehcrashxor@users.noreply.github.com>
Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Update release notes and fix cross geo flag read and use
* nit: fix spacing
---------
Co-authored-by: Crash Collison <3751389+tehcrashxor@users.noreply.github.com>
Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Auth Profile listing fix (#841) (#842)
* Fix Enhanced data model filename language fetch and populate (#835)
* February release notes updates for web extension (#831)
* February release notes updates for web extension
* Update for bug fix and release extension version
* Auth Profile listing fix (#841) (#842)
* Invoking Language server only for PowerPages workspace (#952)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* envID fix for desktop extension
---------
Co-authored-by: Crash Collison <3751389+tehcrashxor@users.noreply.github.com>
Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* chore: Update vscode and @types/vscode dependencies to version 1.89.0
and nessasary changes to quickpick to support.
* chore: Update vscode and @types/vscode dependencies to version 1.89.0
* auth create only when copilot webview visible
* feat: Add ignoreFocusOut option to showInputBoxAndGetOrgUrl function
---------
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>