File tree Expand file tree Collapse file tree
src/modules/copilot/hooks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @unchainedshop/admin-ui" ,
33 "license" : " EUPL-1.2" ,
4- "version" : " 4.0.35 " ,
4+ "version" : " 4.0.0-rc.15 " ,
55 "description" : " Unchained Commerce Admin UI Template" ,
66 "main" : " ./out/index.html" ,
77 "files" : [
88 " dist" ,
99 " out"
1010 ],
1111 "scripts" : {
12+ "prepublishOnly" : " npm run build" ,
1213 "dev" : " next dev" ,
1314 "build" : " node ./generate-permissions.js && NODE_ENV=production next build" ,
1415 "start" : " next start" ,
Original file line number Diff line number Diff line change @@ -132,18 +132,18 @@ export const useChatManager = () => {
132132 const localizedError =
133133 errorMessage . includes ( '401' ) || errorMessage . includes ( 'Unauthorized' )
134134 ? intl . formatMessage ( {
135- id : 'chat.error.auth' ,
136- defaultMessage :
137- '🔐 **Authentication Error**\n\nYour session has expired or the authentication token is invalid.\n\n*Please refresh or log in again.*' ,
138- } )
139- : intl . formatMessage (
140- {
141- id : 'chat.error.submission' ,
135+ id : 'chat.error.auth' ,
142136 defaultMessage :
143- '❌ **Submission Error**\n\nFailed to send your message.\n\n**Error:** {details}\n\n*Please ensure the backend is running.*' ,
144- } ,
145- { details : errorMessage } ,
146- ) ;
137+ '🔐 **Authentication Error**\n\nYour session has expired or the authentication token is invalid.\n\n*Please refresh or log in again.*' ,
138+ } )
139+ : intl . formatMessage (
140+ {
141+ id : 'chat.error.submission' ,
142+ defaultMessage :
143+ '❌ **Submission Error**\n\nFailed to send your message.\n\n**Error:** {details}\n\n*Please ensure the backend is running.*' ,
144+ } ,
145+ { details : errorMessage } ,
146+ ) ;
147147
148148 const chatError : UIMessage = {
149149 id : `error-${ Date . now ( ) } ` ,
Original file line number Diff line number Diff line change 3939 "@ai-sdk/openai-compatible" : " ^1.0.10" ,
4040 "@scure/bip32" : " 2.0.0" ,
4141 "@scure/btc-signer" : " ^2.0.0" ,
42- "@unchainedshop/admin-ui" : " ^4.0.32 " ,
42+ "@unchainedshop/admin-ui" : " ^4.0.0-rc.15 " ,
4343 "@unchainedshop/api" : " ^4.0.0-rc.15" ,
4444 "@unchainedshop/core-delivery" : " ^4.0.0-rc.15" ,
4545 "@unchainedshop/core-payment" : " ^4.0.0-rc.15" ,
Original file line number Diff line number Diff line change 4141 "@fastify/session" : " ^11.1.0" ,
4242 "@scure/bip32" : " ^2.0.0" ,
4343 "@scure/btc-signer" : " ^2.0.0" ,
44- "@unchainedshop/admin-ui" : " ^4.0.32 " ,
44+ "@unchainedshop/admin-ui" : " ^4.0.0-rc.15 " ,
4545 "@unchainedshop/api" : " ^4.0.0-rc.15" ,
4646 "@unchainedshop/core-delivery" : " ^4.0.0-rc.15" ,
4747 "@unchainedshop/core-payment" : " ^4.0.0-rc.15" ,
Original file line number Diff line number Diff line change 3737 "@fastify/multipart" : " ^9.0.3" ,
3838 "@fastify/oauth2" : " ^8.1.2" ,
3939 "@fastify/session" : " ^11.1.0" ,
40- "@unchainedshop/admin-ui" : " ^4.0.32 " ,
40+ "@unchainedshop/admin-ui" : " ^4.0.0-rc.15 " ,
4141 "@unchainedshop/platform" : " ^4.0.0-rc.15" ,
4242 "@unchainedshop/plugins" : " ^4.0.0-rc.15" ,
4343 "fastify" : " ^5.4.0"
Original file line number Diff line number Diff line change 7474 "dev:watch" : " tsc --build -w" ,
7575 "update-version" : " npm version --no-git-tag-version --workspaces --include-workspace-root" ,
7676 "clean" : " tsc --build --clean" ,
77- "build" : " npm run clean && tsc --build"
77+ "build" : " run-p build:*" ,
78+ "build:packages" : " npm run clean && tsc --build" ,
79+ "build:admin-ui" : " cd admin-ui && npm run build"
7880 },
7981 "devDependencies" : {
8082 "@eslint/js" : " ^9.26.0" ,
9496 "typescript" : " ^5.8.3" ,
9597 "typescript-eslint" : " ^8.36.0" ,
9698 "wait-on" : " ^8.0.3" ,
97- "workspaces-run" : " ^1.0.2"
99+ "workspaces-run" : " ^1.0.2" ,
100+ "@modelcontextprotocol/sdk" : " ^1.15.1"
98101 },
99102 "trustedDependencies" : [
100103 " @mongodb-js/zstd"
101- ],
102- "dependencies" : {
103- "@modelcontextprotocol/sdk" : " ^1.15.1"
104- }
104+ ]
105105}
You can’t perform that action at this time.
0 commit comments