@tradejs/app 3.1.29-beta.263 → 3.1.29-beta.265

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tradejs/app",
3
- "version": "3.1.29-beta.263",
3
+ "version": "3.1.29-beta.265",
4
4
  "description": "Installable Next.js UI for the TradeJS TypeScript framework: dashboards, backtests, charts, and runtime data.",
5
5
  "keywords": [
6
6
  "tradejs",
@@ -59,11 +59,11 @@
59
59
  "@emotion/react": "^11.14.0",
60
60
  "@modelcontextprotocol/sdk": "^1.32.1",
61
61
  "@node-oauth/oauth2-server": "^5.3.0",
62
- "@tradejs/core": "^3.1.29-beta.263",
63
- "@tradejs/indicators": "^3.1.29-beta.263",
64
- "@tradejs/infra": "^3.1.29-beta.263",
65
- "@tradejs/node": "^3.1.29-beta.263",
66
- "@tradejs/types": "^3.1.29-beta.263",
62
+ "@tradejs/core": "^3.1.29-beta.265",
63
+ "@tradejs/indicators": "^3.1.29-beta.265",
64
+ "@tradejs/infra": "^3.1.29-beta.265",
65
+ "@tradejs/node": "^3.1.29-beta.265",
66
+ "@tradejs/types": "^3.1.29-beta.265",
67
67
  "@types/bcryptjs": "2.4.6",
68
68
  "@types/lodash": "4.17.24",
69
69
  "@types/node": "24.13.3",
@@ -4,7 +4,11 @@ import { Box } from '@chakra-ui/react';
4
4
  import { usePathname } from 'next/navigation';
5
5
  import { Sidebar } from '#shared/Sidebar';
6
6
 
7
- const AUTH_ROUTES = ['/routes/signin', '/routes/install'];
7
+ const AUTH_ROUTES = [
8
+ '/routes/signin',
9
+ '/routes/install',
10
+ '/routes/mcp/consent',
11
+ ];
8
12
 
9
13
  const isAuthRoute = (pathname: string) =>
10
14
  AUTH_ROUTES.some((route) => pathname.startsWith(route));
@@ -41,6 +41,24 @@
41
41
  .main button:hover {
42
42
  background: var(--chakra-colors-bg-muted, #333);
43
43
  }
44
+ .main .allowButton {
45
+ background: #0f766e;
46
+ border-color: #0f766e;
47
+ color: #fff;
48
+ }
49
+ .main .allowButton:hover {
50
+ background: #115e59;
51
+ border-color: #115e59;
52
+ }
53
+ .main .denyButton {
54
+ background: #b91c1c;
55
+ border-color: #b91c1c;
56
+ color: #fff;
57
+ }
58
+ .main .denyButton:hover {
59
+ background: #991b1b;
60
+ border-color: #991b1b;
61
+ }
44
62
  .main button:focus-visible,
45
63
  .main input:focus-visible {
46
64
  outline: 2px solid #60a5fa;
@@ -51,10 +51,20 @@ export default async function ConsentPage({
51
51
  </label>
52
52
  ))}
53
53
  </fieldset>
54
- <button name="decision" value="allow" type="submit">
54
+ <button
55
+ className={styles.allowButton}
56
+ name="decision"
57
+ value="allow"
58
+ type="submit"
59
+ >
55
60
  Allow access
56
61
  </button>{' '}
57
- <button name="decision" value="deny" type="submit">
62
+ <button
63
+ className={styles.denyButton}
64
+ name="decision"
65
+ value="deny"
66
+ type="submit"
67
+ >
58
68
  Deny
59
69
  </button>
60
70
  </form>