polydev-ai 1.8.82 → 1.8.83

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/mcp/login.js CHANGED
@@ -450,65 +450,64 @@ function getSuccessHTML() {
450
450
  body {
451
451
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
452
452
  display: flex; justify-content: center; align-items: center;
453
- min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
453
+ min-height: 100vh; background: #fafafa;
454
454
  padding: 20px;
455
455
  }
456
456
  .container {
457
457
  text-align: center; padding: 40px; max-width: 480px; width: 100%;
458
- background: white; border-radius: 16px;
459
- box-shadow: 0 20px 60px rgba(0,0,0,0.3);
458
+ background: white; border-radius: 12px;
459
+ border: 1px solid #e5e5e5;
460
460
  }
461
461
  .logo {
462
- width: 80px; height: 80px; margin: 0 auto 20px;
463
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
464
- border-radius: 20px; display: flex; align-items: center; justify-content: center;
465
- box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
462
+ width: 64px; height: 64px; margin: 0 auto 16px;
463
+ background: #111; border-radius: 14px;
464
+ display: flex; align-items: center; justify-content: center;
466
465
  }
467
- .logo svg { width: 48px; height: 48px; }
468
- .brand { font-size: 28px; font-weight: 700; color: #111; margin-bottom: 8px; letter-spacing: -0.5px; }
469
- .tagline { color: #666; font-size: 14px; margin-bottom: 24px; }
466
+ .logo svg { width: 36px; height: 36px; }
467
+ .brand { font-size: 24px; font-weight: 700; color: #111; margin-bottom: 4px; letter-spacing: -0.5px; }
468
+ .tagline { color: #666; font-size: 13px; margin-bottom: 24px; }
470
469
  .success-badge {
471
470
  display: inline-flex; align-items: center; gap: 8px;
472
- background: #ecfdf5; color: #059669; padding: 12px 24px;
473
- border-radius: 100px; font-weight: 600; font-size: 15px;
474
- margin-bottom: 28px;
471
+ background: #f0fdf4; color: #166534; padding: 10px 20px;
472
+ border-radius: 6px; font-weight: 600; font-size: 14px;
473
+ margin-bottom: 28px; border: 1px solid #bbf7d0;
475
474
  }
476
- .success-badge svg { width: 20px; height: 20px; }
475
+ .success-badge svg { width: 18px; height: 18px; }
477
476
  .section { text-align: left; margin-bottom: 20px; }
478
- .section-title { font-size: 12px; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
479
- .api-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
477
+ .section-title { font-size: 11px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
478
+ .api-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
480
479
  .api-item {
481
- padding: 12px; background: #f9fafb; border-radius: 8px;
482
- font-size: 13px; color: #374151; text-align: center;
480
+ padding: 10px; background: #fafafa; border-radius: 6px;
481
+ font-size: 12px; color: #333; text-align: center; border: 1px solid #eee;
483
482
  }
484
483
  .steps {
485
- background: #f9fafb; border-radius: 10px; padding: 16px;
486
- margin-bottom: 20px; text-align: left;
484
+ background: #fafafa; border-radius: 8px; padding: 14px;
485
+ margin-bottom: 20px; text-align: left; border: 1px solid #eee;
487
486
  }
488
- .step { color: #374151; font-size: 13px; margin-bottom: 10px; display: flex; gap: 10px; }
487
+ .step { color: #333; font-size: 12px; margin-bottom: 8px; display: flex; gap: 10px; }
489
488
  .step:last-child { margin-bottom: 0; }
490
489
  .step-num {
491
- width: 20px; height: 20px; background: #667eea; color: white;
492
- border-radius: 50%; font-size: 11px; font-weight: 600;
490
+ width: 18px; height: 18px; background: #111; color: white;
491
+ border-radius: 50%; font-size: 10px; font-weight: 600;
493
492
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
494
493
  }
495
- code { background: #e5e7eb; padding: 2px 6px; border-radius: 4px; font-size: 12px; }
496
- .divider { height: 1px; background: #e5e7eb; margin: 24px 0; }
494
+ code { background: #eee; padding: 2px 6px; border-radius: 4px; font-size: 11px; }
495
+ .divider { height: 1px; background: #eee; margin: 24px 0; }
497
496
  .action-btn {
498
- display: block; width: 100%; padding: 14px 20px;
499
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
500
- color: white; border: none; border-radius: 10px;
501
- font-size: 15px; font-weight: 600; cursor: pointer;
502
- text-decoration: none; margin-bottom: 12px;
503
- transition: transform 0.2s, box-shadow 0.2s;
497
+ display: block; width: 100%; padding: 12px 20px;
498
+ background: #111; color: white; border: none; border-radius: 8px;
499
+ font-size: 14px; font-weight: 600; cursor: pointer;
500
+ text-decoration: none; margin-bottom: 10px;
501
+ transition: background 0.2s;
504
502
  }
505
- .action-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4); }
503
+ .action-btn:hover { background: #333; }
506
504
  .secondary-btn {
507
- display: block; width: 100%; padding: 12px 20px;
508
- background: #f3f4f6; color: #374151; border: none; border-radius: 10px;
509
- font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none;
505
+ display: block; width: 100%; padding: 10px 20px;
506
+ background: white; color: #333; border: 1px solid #ddd; border-radius: 8px;
507
+ font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none;
510
508
  }
511
- .note { color: #9ca3af; font-size: 12px; margin-top: 20px; }
509
+ .secondary-btn:hover { background: #fafafa; }
510
+ .note { color: #999; font-size: 11px; margin-top: 16px; }
512
511
  </style>
513
512
  </head>
514
513
  <body>
package/mcp/manifest.json CHANGED
@@ -184,8 +184,8 @@
184
184
  "type": "integer",
185
185
  "description": "Maximum tokens per response",
186
186
  "minimum": 100,
187
- "maximum": 8000,
188
- "default": 2000
187
+ "maximum": 16000,
188
+ "default": 10000
189
189
  },
190
190
  "project_context": {
191
191
  "type": "object",
@@ -707,64 +707,61 @@ class StdioMCPWrapper {
707
707
  body {
708
708
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
709
709
  display: flex; justify-content: center; align-items: center;
710
- min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
710
+ min-height: 100vh; background: #fafafa;
711
711
  padding: 20px;
712
712
  }
713
713
  .container {
714
714
  text-align: center; padding: 40px; max-width: 480px; width: 100%;
715
- background: white; border-radius: 16px;
716
- box-shadow: 0 20px 60px rgba(0,0,0,0.3);
715
+ background: white; border-radius: 12px;
716
+ border: 1px solid #e5e5e5;
717
717
  }
718
718
  .logo {
719
- width: 80px; height: 80px; margin: 0 auto 20px;
720
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
721
- border-radius: 20px; display: flex; align-items: center; justify-content: center;
722
- box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
719
+ width: 64px; height: 64px; margin: 0 auto 16px;
720
+ background: #111; border-radius: 14px;
721
+ display: flex; align-items: center; justify-content: center;
723
722
  }
724
- .logo svg { width: 48px; height: 48px; }
725
- .brand { font-size: 28px; font-weight: 700; color: #111; margin-bottom: 8px; letter-spacing: -0.5px; }
726
- .tagline { color: #666; font-size: 14px; margin-bottom: 24px; }
723
+ .logo svg { width: 36px; height: 36px; }
724
+ .brand { font-size: 24px; font-weight: 700; color: #111; margin-bottom: 4px; letter-spacing: -0.5px; }
725
+ .tagline { color: #666; font-size: 13px; margin-bottom: 24px; }
727
726
  .success-badge {
728
727
  display: inline-flex; align-items: center; gap: 8px;
729
- background: #ecfdf5; color: #059669; padding: 12px 24px;
730
- border-radius: 100px; font-weight: 600; font-size: 15px;
731
- margin-bottom: 28px;
728
+ background: #f0fdf4; color: #166534; padding: 10px 20px;
729
+ border-radius: 6px; font-weight: 600; font-size: 14px;
730
+ margin-bottom: 28px; border: 1px solid #bbf7d0;
732
731
  }
733
- .success-badge svg { width: 20px; height: 20px; }
734
- .section {
735
- text-align: left; margin-bottom: 20px;
736
- }
737
- .section-title { font-size: 12px; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
732
+ .success-badge svg { width: 18px; height: 18px; }
733
+ .section { text-align: left; margin-bottom: 20px; }
734
+ .section-title { font-size: 11px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
738
735
  .cli-item {
739
736
  display: flex; align-items: center; gap: 10px;
740
- padding: 10px 14px; background: #f9fafb; border-radius: 8px;
741
- margin-bottom: 8px; font-size: 14px; color: #374151;
737
+ padding: 10px 12px; background: #fafafa; border-radius: 6px;
738
+ margin-bottom: 6px; font-size: 13px; color: #333; border: 1px solid #eee;
742
739
  }
743
740
  .cli-dot { width: 8px; height: 8px; border-radius: 50%; }
744
- .cli-dot.green { background: #10b981; }
745
- .cli-dot.yellow { background: #f59e0b; }
746
- .cli-dot.gray { background: #9ca3af; }
747
- .api-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
741
+ .cli-dot.green { background: #22c55e; }
742
+ .cli-dot.yellow { background: #eab308; }
743
+ .cli-dot.gray { background: #d4d4d4; }
744
+ .api-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
748
745
  .api-item {
749
- padding: 12px; background: #f9fafb; border-radius: 8px;
750
- font-size: 13px; color: #374151; text-align: center;
746
+ padding: 10px; background: #fafafa; border-radius: 6px;
747
+ font-size: 12px; color: #333; text-align: center; border: 1px solid #eee;
751
748
  }
752
- .divider { height: 1px; background: #e5e7eb; margin: 24px 0; }
749
+ .divider { height: 1px; background: #eee; margin: 24px 0; }
753
750
  .action-btn {
754
- display: block; width: 100%; padding: 14px 20px;
755
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
756
- color: white; border: none; border-radius: 10px;
757
- font-size: 15px; font-weight: 600; cursor: pointer;
758
- text-decoration: none; margin-bottom: 12px;
759
- transition: transform 0.2s, box-shadow 0.2s;
751
+ display: block; width: 100%; padding: 12px 20px;
752
+ background: #111; color: white; border: none; border-radius: 8px;
753
+ font-size: 14px; font-weight: 600; cursor: pointer;
754
+ text-decoration: none; margin-bottom: 10px;
755
+ transition: background 0.2s;
760
756
  }
761
- .action-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4); }
757
+ .action-btn:hover { background: #333; }
762
758
  .secondary-btn {
763
- display: block; width: 100%; padding: 12px 20px;
764
- background: #f3f4f6; color: #374151; border: none; border-radius: 10px;
765
- font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none;
759
+ display: block; width: 100%; padding: 10px 20px;
760
+ background: white; color: #333; border: 1px solid #ddd; border-radius: 8px;
761
+ font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none;
766
762
  }
767
- .note { color: #9ca3af; font-size: 12px; margin-top: 20px; }
763
+ .secondary-btn:hover { background: #fafafa; }
764
+ .note { color: #999; font-size: 11px; margin-top: 16px; }
768
765
  </style>
769
766
  </head>
770
767
  <body>
@@ -789,7 +786,7 @@ class StdioMCPWrapper {
789
786
 
790
787
  <div class="section">
791
788
  <div class="section-title">Local CLI Tools (Free)</div>
792
- ${cliListHTML}
789
+ \${cliListHTML}
793
790
  </div>
794
791
 
795
792
  <div class="section">
@@ -2299,7 +2296,6 @@ class StdioMCPWrapper {
2299
2296
 
2300
2297
  if (response.ok) {
2301
2298
  const data = await response.json();
2302
- this.isAuthenticated = true;
2303
2299
  const credits = data.credits_remaining?.toLocaleString() || 0;
2304
2300
  const tier = data.subscription_tier || 'Free';
2305
2301
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polydev-ai",
3
- "version": "1.8.82",
3
+ "version": "1.8.83",
4
4
  "engines": {
5
5
  "node": ">=20.x <=22.x"
6
6
  },