neoagent 2.3.1-beta.104 → 2.3.1-beta.105

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/lib/manager.js CHANGED
@@ -815,8 +815,8 @@ async function cmdLoginClaudeCode() {
815
815
  const { URL: NodeURL } = require('url');
816
816
  const net = require('net');
817
817
 
818
- const clientId = 'https://claude.ai/oauth/claude-code-client-metadata';
819
- const SCOPES = 'user:inference user:profile org:create_api_key user:sessions:claude_code offline_access';
818
+ const clientId = '9d1c250a-e61b-44d9-88ed-5944d1962f5e';
819
+ const SCOPES = 'user:inference user:profile org:create_api_key user:sessions:claude_code user:mcp_servers';
820
820
 
821
821
  // Find a free port (prefer high ports to avoid permission issues; fall back to 80)
822
822
  const preferredPorts = [65432, 58080, 54321, 49152, 80];
@@ -844,7 +844,7 @@ async function cmdLoginClaudeCode() {
844
844
 
845
845
  const state = crypto.randomBytes(16).toString('hex');
846
846
 
847
- const authUrl = new URL('https://claude.ai/oauth/authorize');
847
+ const authUrl = new URL('https://platform.claude.com/oauth/authorize');
848
848
  authUrl.searchParams.set('response_type', 'code');
849
849
  authUrl.searchParams.set('client_id', clientId);
850
850
  authUrl.searchParams.set('redirect_uri', redirectUri);
@@ -918,7 +918,7 @@ async function cmdLoginClaudeCode() {
918
918
  });
919
919
 
920
920
  logInfo('Exchanging authorization code for access token...');
921
- const tokenRes = await fetch('https://claude.ai/oauth/token', {
921
+ const tokenRes = await fetch('https://platform.claude.com/v1/oauth/token', {
922
922
  method: 'POST',
923
923
  headers: { 'Content-Type': 'application/json', 'Accept': 'application/json' },
924
924
  body: JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neoagent",
3
- "version": "2.3.1-beta.104",
3
+ "version": "2.3.1-beta.105",
4
4
  "description": "Proactive personal AI agent with no limits",
5
5
  "license": "MIT",
6
6
  "main": "server/index.js",
@@ -1 +1 @@
1
- 2f506dae7123235dcafdcda0f78d6a13
1
+ 338e1871f3b43cdb434b7f44e7bb3256
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"42d3d75a56efe1a2e9902f52dc8006099c45d9
37
37
 
38
38
  _flutter.loader.load({
39
39
  serviceWorkerSettings: {
40
- serviceWorkerVersion: "2650676693" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
40
+ serviceWorkerVersion: "4244290377" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
41
41
  }
42
42
  });
@@ -129338,7 +129338,7 @@ r===$&&A.b()
129338
129338
  o.push(A.ii(p,A.iY(!1,new A.a3(B.tM,A.dT(new A.cI(B.he,new A.a5V(r,p),p),p,p),p),!1,B.I,!0),p,p,0,0,0,p))}r=!1
129339
129339
  if(!s.ay)if(!s.ch){r=s.e
129340
129340
  r===$&&A.b()
129341
- r=B.b.t("mpacvqjv-54ec71e").length!==0&&r.b}if(r){r=s.d
129341
+ r=B.b.t("mpad8vys-1c837fe").length!==0&&r.b}if(r){r=s.d
129342
129342
  r===$&&A.b()
129343
129343
  r=r.ag&&!r.V?84:0
129344
129344
  q=s.e
@@ -134146,7 +134146,7 @@ $S:236}
134146
134146
  A.Ys.prototype={}
134147
134147
  A.Rr.prototype={
134148
134148
  mT(a){var s=this
134149
- if(B.b.t("mpacvqjv-54ec71e").length===0||s.a!=null)return
134149
+ if(B.b.t("mpad8vys-1c837fe").length===0||s.a!=null)return
134150
134150
  s.A5()
134151
134151
  s.a=A.q1(B.PP,new A.b58(s))},
134152
134152
  A5(){var s=0,r=A.l(t.H),q,p=2,o=[],n=this,m,l,k,j,i,h,g,f
@@ -134164,7 +134164,7 @@ if(!t.f.b(k)){s=1
134164
134164
  break}i=J.Z(k,"buildId")
134165
134165
  h=i==null?null:B.b.t(J.r(i))
134166
134166
  j=h==null?"":h
134167
- if(J.bm(j)===0||J.d(j,"mpacvqjv-54ec71e")){s=1
134167
+ if(J.bm(j)===0||J.d(j,"mpad8vys-1c837fe")){s=1
134168
134168
  break}n.b=!0
134169
134169
  n.D()
134170
134170
  p=2
@@ -134181,7 +134181,7 @@ case 2:return A.i(o.at(-1),r)}})
134181
134181
  return A.k($async$A5,r)},
134182
134182
  vb(){var s=0,r=A.l(t.H),q,p=2,o=[],n=this,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1
134183
134183
  var $async$vb=A.h(function(a2,a3){if(a2===1){o.push(a3)
134184
- s=p}for(;;)switch(s){case 0:if(B.b.t("mpacvqjv-54ec71e").length===0||n.c){s=1
134184
+ s=p}for(;;)switch(s){case 0:if(B.b.t("mpad8vys-1c837fe").length===0||n.c){s=1
134185
134185
  break}n.c=!0
134186
134186
  n.D()
134187
134187
  p=4