Commit 55126ad
@W-19396339 merge develop to feature (#3153)
* Update CHANGELOG.md
* bump versions
* Bump versions in mcp server
* Initial Commit
Add initGit option
Update readme for create app tool
Always use latest for create app npx package version.
* Change when git init is run
also added basic gitignore for non-extension projects
* Update CHANGELOG.md
* Fix tests
* Rename pwa-kit-mcp project
* Update server.js
* Include bin entry in package.json
* Fix dependencies etc
* Add example with output dir
* Punctuation fix in readme
* Update program.json
PR feedback on description.
Signed-off-by: Ben Chypak <bchypak@mobify.com>
* Rename package to pwa-kit-mcp
* Update server json in readme
* Update readme and bump version
* Ensure the latest version is used in readme example
* Version align the mcp server with the platform version
* Use --initGit flag and test for .git/ creation
* Add flag both commands for template and presets
* Ensure gitignore is created
* Ensure default command includes --initGit
* Update base command
* qa prompt
* update
* Bump versions
* Clean up changelogs
* Update usid expiry to match refresh_token expiry
* Linting fix
* Update changelog
* Better prompting for cursor and create app program
* Update packages/commerce-sdk-react/src/auth/index.ts
Co-authored-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>
Signed-off-by: Jainam Sheth <99490559+shethj@users.noreply.github.com>
* Add unit tests for usid expiry
* Remove overlapping test cases
* bump version
* bump develop to next dev version
* Update changelogs
* Change version number
* Update readme
* Move tools to tools folder
* Clean up files/folders, create new tool folder.
* Lint
* A11y tests - Handle dynamic aria labels generated by chakra UI (#2864)
* Handle dynamic aria labels generated by chakra UI
* improve sanitization
---------
Co-authored-by: Alex Vuong <alex.vuong@salesforce.com>
* initial implementation of create page mcp tool
* fix
* support open url
* fix the import
* update README and changelog
* Modified create page mcp tool
* Added Image Componentsupport to Create page MCP tool
* Fixed failing tests
* Added new and fixed failing tests and corrected linting issues
* Added new test and minor update to system prompt
* Updated image component functionality
* Updated system prompt
* Fixed routes issue
* Added tests and comments
* Fixed merge conflicts and moved cursor to retail-react-app
* skip changelog
* Removed unused const
* Addressed comments
* Update reading expiry time for usid
* Removed the cursor rule
* Update codeowners file to include ownership for specific features (#2921)
* Update codeowners
* @W-18895609: 🚀 Shopper Agent Experience v3.0 (#2658)
* feat: shopper agent experience v3.0
* fix: enabling streaming (#2911)
* Committing for Rules and cleanup
* skip changelog
* Fixed tests
* Remove reference to claude and clean up readme
* Update CHANGELOG.md
* Lint fix
* Addressed comments
* Make development section more robust.
* Removed the flex hardcode in log message
* Fixing Page Tool
* Fixing Linter
* Updating the Page tool
* Fix eslint discoverability in the monorepo (@W-19068681@) (#2927)
* Attempt at fixing eslint discoverability in the monorepo
* Support other packages
* Another approach: centralize the eslint dependencies
* Add a script to sync eslint stuffs to the root
* Update package lock files
* Move timing of script to preinstall
* Update package lock files
* No need for this documentation
* Empty commit
* Simplify the script's logic
* Reverting changes for Page tool
* Added comment back
* Update packages/pwa-kit-mcp/README.md
Co-authored-by: Katia Hage <k.n.hage@salesforce.com>
Signed-off-by: Ben Chypak <bchypak@mobify.com>
* Update packages/pwa-kit-mcp/README.md
Co-authored-by: Katia Hage <k.n.hage@salesforce.com>
Signed-off-by: Ben Chypak <bchypak@mobify.com>
* Update packages/pwa-kit-mcp/README.md
Co-authored-by: Katia Hage <k.n.hage@salesforce.com>
Signed-off-by: Ben Chypak <bchypak@mobify.com>
* Update packages/pwa-kit-mcp/README.md
Co-authored-by: Katia Hage <k.n.hage@salesforce.com>
Signed-off-by: Ben Chypak <bchypak@mobify.com>
* Update packages/pwa-kit-mcp/README.md
Co-authored-by: Katia Hage <k.n.hage@salesforce.com>
Signed-off-by: Ben Chypak <bchypak@mobify.com>
* Update packages/pwa-kit-mcp/README.md
Co-authored-by: Katia Hage <k.n.hage@salesforce.com>
Signed-off-by: Ben Chypak <bchypak@mobify.com>
* Fix link
* Reverting the test change
* Update package description
* Remove folder structure section
* @W-19179026: disable streaming responses (#2964)
* Explicitly added example of what the path to your project might look like.
* Update packages/pwa-kit-mcp/README.md
Co-authored-by: Katia Hage <k.n.hage@salesforce.com>
Signed-off-by: Ben Chypak <bchypak@mobify.com>
* @W-19248293: logMCPMessage is broken
* @W-19248293: logMCPMessage is broken
* fix lint errors
* Committing for converting the createNewcomponent to use prompts instead of sessions and state
* Committing for server.js
* Committing for server.js
* Committing for server.js
* Review comments
* @W-19251796 MCP a11y performance tool format fix (#3003)
* Committing for unit tests
* @W-19251739 fix create-new-page-tool components import path
* @W-19183433: Add code owners validation to the CI pipeline (#2939)
* Update codeowners
* Update codeowners
* Update codeowners
* Add codeowners validator to the pipeline
* codeowners validator
* codeowners validator
* codeowners validator
* codeowners validator
* codeowners validator
* codeowners validator
---------
Co-authored-by: Brian Feister <47546998+bfeister@users.noreply.github.com>
* fix import when extensible is on
* update change log
* Initial Commit
* remove bug fix change logs
* add inputs for absoulte path and not rely on env variables
* Normalize path separators to forward slashes for ES6 imports
* Extra check to disallow trusted-system request from proxy
* Added GIT version control MCP tool
* Initial Commit
* Review comments
* Fixing tests
* Review comments
* Review comments
* Update CHANGELOG.md
* Fix test description
* Move the statements around
* Test updates
* Update the string so that we can explicitly catch /trusted-system/token
* Add robots.txt to mrt-reference-app.
* Align versions with develop branch expectations
* Update CHANGELOG.md
* Move trusted agent exception above the generic case
* Create agent_checkout_rebase_action.yml (#3027)
Signed-off-by: Nishant Sethunath <nsethunath+@salesforce.com>
* [CI workflow] automate generating, configurating, and deploying build from `develop` branch (@W-19170135@) (#3058)
* Add new performance metrics workflow
* Add comment
* Disable some steps that are not needed
* Update todos
* Generate the project
* Avoid dirtying workspace and remove unnecessary step
* Tweak parameters
* Allow for internal short codes
* Align with the order of answers to the extensibility question
* Create update-csp-directives.js
* Rename script for clarity
* Schedule it to run before the performance tests
* Move constant into the config file
* Move CSP directives into the config file
* Make sure the corresponding .hbs files are up to date
* Now scripts looks for the config file
* Fix linting errors
* Add auto lint fixing
* For backward compatibility
* New step to add CSP directives
* Log where the file is at
* Add a new script
* Address a few todos
* Allow updating property with the same value
* Finish and clean up the workflow
* Move scripts and remove default value for config path
* No longer assume default value for config path
And no longer preserving comments
* No longer support null, undefined values
* Delete unnecessary comments
* Revert changes in retail-react-app
* Create a new generator preset
* Revert changes to the generator
* Add csp directives to ssr.js.hbs
* Update app/constants.js files to support the new preset
* No longer needing these scripts
* Workflow now uses the new generator preset
* No need to validate app in this case
* Add the preset to more files
* Revert some changes and keep one change
* Delete extra space
* Empty commit
* Simplify the handlebar template logic
* No more hardcoding the `generated-projects` path
* Move feature toggle for partial hydration into the config file
* Remove unnecessary tests
* Update CHANGELOG.md
* Make sure all ssr.js related files are in sync
* Fix linting error
I wanted to preserve the comma at the end of the line because otherwise, I'm worried that it's easy to overlook it later.
---------
Co-authored-by: Jainam Sheth <j.sheth@salesforce.com>
* Remove specific user not found message
* @W-18905383@ Decouple lint and bundle size GA workflows (#3084)
* Extract lint and bundle size workflows
* test: lower bundle size limit to test CI failure
This is a minimal change to verify the new bundle-size workflow
correctly fails when bundle size exceeds limits. Will be reverted.
* revert: restore original bundle size limit to 62 kB
Reverts the test change that lowered the bundle size limit from 62 kB to 50 kB.
The CI workflow decoupling test was successful.
* test: add unused variable to trigger lint error
Added an unused variable to test that the lint workflow fails correctly
while the test workflow continues to run independently.
* fix: remove test lint error
Removed the unused variable that was added to test lint workflow failure.
The lint workflow decoupling test was successful.
* test: add undefined variable to trigger actual lint error
Added undefined variable reference that causes ESLint 'no-undef' error,
not just a warning. This should cause the lint workflow to fail.
* revert: restore main.jsx to original clean state
Removed both the unused variable and undefined variable that were
added for testing lint workflow failure. File is now back to original state.
* clean: remove unused IS_NOT_FORK env variable from bundle-size workflow
The IS_NOT_FORK environment variable was defined but never used in any
conditional statements within the bundle-size workflow. Removing it
simplifies the workflow and allows bundle size checks to run on all
PRs including those from forks, which is beneficial for code quality.
* clean: remove unused IS_NOT_FORK env variable from lint workflow
The IS_NOT_FORK environment variable was defined but never used in any
conditional statements within the lint workflow. Removing it simplifies
the workflow and allows linting checks to run on all PRs including
those from forks, which is beneficial for code quality.
* Modify user not found responses from SLAS
* Make the mcp server indipendent
* User not found returns 200
* Handling for responses with no body
* CI performance workflow: fix the deploy step (@W-19170135@) (#3091)
* CI perf workflow: fix the deploy step
Override the location of the .mobify credential file
* More robust fix
* Refactor the flags
* Add whitespace
* Update agent_checkout_rebase_action.yml
Signed-off-by: Nishant Sethunath <nsethunath+@salesforce.com>
* Update agent_checkout_rebase_action.yml
Signed-off-by: Nishant Sethunath <nsethunath+@salesforce.com>
* Fix how 403s are sent now that selfHandleResponse is true
* Add test
* Remove unused message
* Changelog updates
* Update translations
* Remove test case that is no longer needed
* Update agent_checkout_rebase_action.yml
Signed-off-by: Nishant Sethunath <nsethunath+@salesforce.com>
* Minor Cleanup
* CI perf workflow: fix the deploy step.. take two (@W-19345469@) (#3115)
* CI perf workflow: fix the deploy step
Override the location of the .mobify credential file
* More robust fix
* Refactor the flags
* Add whitespace
* Update credentials
* Add Slack notification
* Apply feedback
* lint
* Lockdown chakra-ui version to 2.6.0
* Update changelog
* Pin v2.7.0
* Bump vendor bundle size
* W-19396339 add back in tests that were accidentally removed in conflict
* W-19396339 lint fix
* W-19396339 package size
---------
Signed-off-by: Ben Chypak <bchypak@mobify.com>
Signed-off-by: Jainam Sheth <99490559+shethj@users.noreply.github.com>
Signed-off-by: Nishant Sethunath <nsethunath+@salesforce.com>
Co-authored-by: vcua-mobify <vcua@salesforce.com>
Co-authored-by: Ben Chypak <bchypak@salesforce.com>
Co-authored-by: Ben Chypak <bchypak@mobify.com>
Co-authored-by: Shailesh Zirpe <szirpe+sf@salesforce.com>
Co-authored-by: Jainam Sheth <j.sheth@salesforce.com>
Co-authored-by: Jainam Sheth <99490559+shethj@users.noreply.github.com>
Co-authored-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>
Co-authored-by: Alex Vuong <alex.vuong@salesforce.com>
Co-authored-by: Shailesh Zirpe <42553862+szirpesf@users.noreply.github.com>
Co-authored-by: wei-liu <wei.liu@salesforce.com>
Co-authored-by: atekur <atekur@salesforce.com>
Co-authored-by: Aditya Tekur <126732792+aditek-sf@users.noreply.github.com>
Co-authored-by: Ujwala <59447810+unandyala@users.noreply.github.com>
Co-authored-by: Avinash Kasipathy <akasipathy@salesforce.com>
Co-authored-by: snilakandan <snilakandan@salesforce.com>
Co-authored-by: Vincent Marta <vmarta@salesforce.com>
Co-authored-by: Katia Hage <k.n.hage@salesforce.com>
Co-authored-by: snilakandan13 <119348013+snilakandan13@users.noreply.github.com>
Co-authored-by: patricksullivansf <100441292+patricksullivansf@users.noreply.github.com>
Co-authored-by: Yuming Hsieh <yhsieh@salesforce.com>
Co-authored-by: Brian Feister <47546998+bfeister@users.noreply.github.com>
Co-authored-by: jitendra.bothra <jitendra.bothra@salesforce.com>
Co-authored-by: jbothra-sf <152039392+jbothra-sf@users.noreply.github.com>
Co-authored-by: Nishant Sethunath <nsethunath+@salesforce.com>
Co-authored-by: Adam Raya <adamraya@users.noreply.github.com>1 parent 3f34454 commit 55126ad
File tree
65 files changed
+3013
-1412
lines changed- .github
- actions
- e2e_generate_app
- generate_app
- push_to_mrt
- workflows
- e2e
- scripts
- packages
- pwa-kit-create-app
- assets
- bootstrap/js
- config
- overrides/app
- templates/@salesforce/retail-react-app
- app
- config
- scripts
- pwa-kit-mcp
- src
- server
- tools
- utils
- pwa-kit-runtime
- src/ssr/server
- template-mrt-reference-app
- app
- static
- template-retail-react-app
- app
- components
- island
- search
- hooks
- pages
- checkout/partials
- login
- static/translations/compiled
- config
- translations
- scripts/bump-version
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
65 files changed
+3013
-1412
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
23 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | | - | |
35 | | - | |
36 | 39 | | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | | - | |
39 | | - | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
47 | | - | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
| 61 | + | |
| 62 | + | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
| |||
107 | 114 | | |
108 | 115 | | |
109 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
110 | 121 | | |
111 | 122 | | |
| 123 | + | |
112 | 124 | | |
113 | 125 | | |
114 | | - | |
| 126 | + | |
115 | 127 | | |
116 | 128 | | |
117 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | | - | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
97 | | - | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| 104 | + | |
101 | 105 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
137 | | - | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| 235 | + | |
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
| |||
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
254 | | - | |
| 256 | + | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
| |||
346 | 348 | | |
347 | 349 | | |
348 | 350 | | |
| 351 | + | |
349 | 352 | | |
350 | 353 | | |
351 | 354 | | |
| |||
366 | 369 | | |
367 | 370 | | |
368 | 371 | | |
369 | | - | |
| 372 | + | |
370 | 373 | | |
371 | 374 | | |
372 | 375 | | |
| |||
0 commit comments