mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-10 05:27:54 -05:00
Merge pull request #881 from Pythagora-io/info
send to extension project description and list of features
This commit is contained in:
@@ -18,6 +18,8 @@ MESSAGE_TYPE = {
|
||||
'projectStats': 'projectStats', # Project stats for extension only
|
||||
'keyExpired': 'keyExpired', # (Free trial) key expired message - for extension only
|
||||
'inputPrefill': 'inputPrefill', # Prefill input field with text in extension
|
||||
'projectDescription': 'projectDescription', # Project description for extension only
|
||||
'featuresList': 'featuresList', # Features list for extension only
|
||||
}
|
||||
|
||||
LOCAL_IGNORE_MESSAGE_TYPES = [
|
||||
@@ -35,4 +37,6 @@ LOCAL_IGNORE_MESSAGE_TYPES = [
|
||||
'projectStats',
|
||||
'keyExpired',
|
||||
'inputPrefill',
|
||||
'projectDescription',
|
||||
'featuresList',
|
||||
]
|
||||
@@ -199,6 +199,7 @@ class Project:
|
||||
|
||||
print('', type='verbose', category='agent:product-owner')
|
||||
self.project_manager.get_project_description(self.spec_writer)
|
||||
print({ "project_description": self.project_description }, type='projectDescription')
|
||||
self.project_manager.get_user_stories()
|
||||
# self.user_tasks = self.project_manager.get_user_tasks()
|
||||
|
||||
@@ -237,6 +238,7 @@ class Project:
|
||||
self.finish_loading()
|
||||
|
||||
self.previous_features = get_features_by_app_id(self.args['app_id'])
|
||||
print({"featuresList": self.previous_features}, type='featuresList')
|
||||
if not self.skip_steps:
|
||||
print('', type='verbose', category='pythagora')
|
||||
if self.run_command and self.check_ipc():
|
||||
|
||||
Reference in New Issue
Block a user