aios-core 4.2.5 → 4.2.6
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/.aios-core/core/code-intel/code-intel-client.js +280 -0
- package/.aios-core/core/code-intel/code-intel-enricher.js +159 -0
- package/.aios-core/core/code-intel/index.js +137 -0
- package/.aios-core/core/code-intel/providers/code-graph-provider.js +201 -0
- package/.aios-core/core/code-intel/providers/provider-interface.js +108 -0
- package/.aios-core/data/entity-registry.yaml +1330 -1086
- package/.aios-core/install-manifest.yaml +25 -5
- package/package.json +1 -1
- package/packages/installer/src/wizard/pro-setup.js +8 -7
- package/pro/license/license-api.js +9 -9
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
# - SHA256 hashes for change detection
|
|
8
8
|
# - File types for categorization
|
|
9
9
|
#
|
|
10
|
-
version: 4.2.
|
|
11
|
-
generated_at: "2026-02-
|
|
10
|
+
version: 4.2.6
|
|
11
|
+
generated_at: "2026-02-16T03:53:42.042Z"
|
|
12
12
|
generator: scripts/generate-install-manifest.js
|
|
13
|
-
file_count:
|
|
13
|
+
file_count: 1000
|
|
14
14
|
files:
|
|
15
15
|
- path: cli/commands/config/index.js
|
|
16
16
|
hash: sha256:ebcad2ce3807eda29dcddff76d7a95ddc9b7fa160df21fd608f94b802237e862
|
|
@@ -180,6 +180,26 @@ files:
|
|
|
180
180
|
hash: sha256:c1266389772b3fcf3e4c91df085bd38dc0b01d0a5f98bdf977d134972ccaf49b
|
|
181
181
|
type: config
|
|
182
182
|
size: 9392
|
|
183
|
+
- path: core/code-intel/code-intel-client.js
|
|
184
|
+
hash: sha256:bd88497c8c8f312e95f746121e627c088e93d27af093d411f0521712bd17ba94
|
|
185
|
+
type: core
|
|
186
|
+
size: 7541
|
|
187
|
+
- path: core/code-intel/code-intel-enricher.js
|
|
188
|
+
hash: sha256:0bea0c1953a21621afbb4c9755e782842940cf54cdc88a4318dd7242f1fb02a8
|
|
189
|
+
type: core
|
|
190
|
+
size: 4320
|
|
191
|
+
- path: core/code-intel/index.js
|
|
192
|
+
hash: sha256:ca8c54c2decbf64183d890ab42dc8ca2deafa675d4433492cb6ce423a284ad4d
|
|
193
|
+
type: core
|
|
194
|
+
size: 3802
|
|
195
|
+
- path: core/code-intel/providers/code-graph-provider.js
|
|
196
|
+
hash: sha256:0c5ffd7b3faf82453ed1cb77f52ef10a3e67d3a1b2e2df5aac89a4fb2ac6583b
|
|
197
|
+
type: core
|
|
198
|
+
size: 6335
|
|
199
|
+
- path: core/code-intel/providers/provider-interface.js
|
|
200
|
+
hash: sha256:7d16aa715155e9c077720a6bffc7e9e5411b65f821b6b4e5e909f226796e7acb
|
|
201
|
+
type: core
|
|
202
|
+
size: 3079
|
|
183
203
|
- path: core/config/config-cache.js
|
|
184
204
|
hash: sha256:527a788cbe650aa6b13d1101ebc16419489bfef20b2ee93042f6eb6a51e898e9
|
|
185
205
|
type: core
|
|
@@ -1013,9 +1033,9 @@ files:
|
|
|
1013
1033
|
type: data
|
|
1014
1034
|
size: 34251
|
|
1015
1035
|
- path: data/entity-registry.yaml
|
|
1016
|
-
hash: sha256:
|
|
1036
|
+
hash: sha256:8d02a5c9e3f219f60059406fffeb843abfdcea1f727b954eb662c6a21ddc17c1
|
|
1017
1037
|
type: data
|
|
1018
|
-
size:
|
|
1038
|
+
size: 297196
|
|
1019
1039
|
- path: data/learned-patterns.yaml
|
|
1020
1040
|
hash: sha256:24ac0b160615583a0ff783d3da8af80b7f94191575d6db2054ec8e10a3f945dc
|
|
1021
1041
|
type: data
|
package/package.json
CHANGED
|
@@ -386,7 +386,7 @@ async function loginWithRetry(client, email) {
|
|
|
386
386
|
|
|
387
387
|
// Wait for email verification if needed
|
|
388
388
|
if (!loginResult.emailVerified) {
|
|
389
|
-
const verifyResult = await waitForEmailVerification(client, loginResult.sessionToken);
|
|
389
|
+
const verifyResult = await waitForEmailVerification(client, loginResult.sessionToken, email);
|
|
390
390
|
if (!verifyResult.success) {
|
|
391
391
|
return verifyResult;
|
|
392
392
|
}
|
|
@@ -495,7 +495,7 @@ async function createAccountFlow(client, email) {
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
if (sessionToken) {
|
|
498
|
-
const verifyResult = await waitForEmailVerification(client, sessionToken);
|
|
498
|
+
const verifyResult = await waitForEmailVerification(client, sessionToken, email);
|
|
499
499
|
if (!verifyResult.success) {
|
|
500
500
|
return verifyResult;
|
|
501
501
|
}
|
|
@@ -516,7 +516,7 @@ async function createAccountFlow(client, email) {
|
|
|
516
516
|
break;
|
|
517
517
|
}
|
|
518
518
|
// Got session but not verified yet — use the verification polling
|
|
519
|
-
const verifyResult = await waitForEmailVerification(client, sessionToken);
|
|
519
|
+
const verifyResult = await waitForEmailVerification(client, sessionToken, email);
|
|
520
520
|
if (!verifyResult.success) {
|
|
521
521
|
return verifyResult;
|
|
522
522
|
}
|
|
@@ -625,7 +625,7 @@ async function authenticateWithEmail(email, password) {
|
|
|
625
625
|
|
|
626
626
|
// Wait for email verification if needed
|
|
627
627
|
if (!emailVerified) {
|
|
628
|
-
const verifyResult = await waitForEmailVerification(client, sessionToken);
|
|
628
|
+
const verifyResult = await waitForEmailVerification(client, sessionToken, email);
|
|
629
629
|
if (!verifyResult.success) {
|
|
630
630
|
return verifyResult;
|
|
631
631
|
}
|
|
@@ -642,10 +642,11 @@ async function authenticateWithEmail(email, password) {
|
|
|
642
642
|
* User can press R to resend verification email.
|
|
643
643
|
*
|
|
644
644
|
* @param {object} client - LicenseApiClient instance
|
|
645
|
-
* @param {string} sessionToken - Session token
|
|
645
|
+
* @param {string} sessionToken - Session token (accessToken)
|
|
646
|
+
* @param {string} email - User email for resend functionality
|
|
646
647
|
* @returns {Promise<Object>} Result with { success }
|
|
647
648
|
*/
|
|
648
|
-
async function waitForEmailVerification(client, sessionToken) {
|
|
649
|
+
async function waitForEmailVerification(client, sessionToken, email) {
|
|
649
650
|
console.log('');
|
|
650
651
|
showInfo('Waiting for email verification...');
|
|
651
652
|
showInfo('Open your email and click the verification link.');
|
|
@@ -692,7 +693,7 @@ async function waitForEmailVerification(client, sessionToken) {
|
|
|
692
693
|
if (resendHint) {
|
|
693
694
|
resendHint = false;
|
|
694
695
|
try {
|
|
695
|
-
await client.resendVerification(
|
|
696
|
+
await client.resendVerification(email);
|
|
696
697
|
showInfo('Verification email resent.');
|
|
697
698
|
} catch (error) {
|
|
698
699
|
showWarning(`Could not resend: ${error.message}`);
|
|
@@ -426,7 +426,7 @@ class LicenseApiClient {
|
|
|
426
426
|
});
|
|
427
427
|
|
|
428
428
|
return {
|
|
429
|
-
sessionToken: response.
|
|
429
|
+
sessionToken: response.accessToken,
|
|
430
430
|
userId: response.userId,
|
|
431
431
|
emailVerified: response.emailVerified !== false,
|
|
432
432
|
};
|
|
@@ -455,11 +455,11 @@ class LicenseApiClient {
|
|
|
455
455
|
async checkEmailVerified(sessionToken) {
|
|
456
456
|
try {
|
|
457
457
|
const response = await this._request('POST', '/api/v1/auth/verify-status', {
|
|
458
|
-
sessionToken,
|
|
458
|
+
accessToken: sessionToken,
|
|
459
459
|
});
|
|
460
460
|
|
|
461
461
|
return {
|
|
462
|
-
verified: response.
|
|
462
|
+
verified: response.emailVerified === true,
|
|
463
463
|
email: response.email,
|
|
464
464
|
};
|
|
465
465
|
} catch (error) {
|
|
@@ -487,7 +487,7 @@ class LicenseApiClient {
|
|
|
487
487
|
async activateByAuth(sessionToken, machineId, aiosCoreVersion) {
|
|
488
488
|
try {
|
|
489
489
|
const response = await this._request('POST', '/api/v1/auth/activate-pro', {
|
|
490
|
-
sessionToken,
|
|
490
|
+
accessToken: sessionToken,
|
|
491
491
|
machineId,
|
|
492
492
|
aiosCoreVersion,
|
|
493
493
|
});
|
|
@@ -500,9 +500,9 @@ class LicenseApiClient {
|
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
return {
|
|
503
|
-
key: response.key,
|
|
503
|
+
key: response.licenseKey || response.key,
|
|
504
504
|
features: response.features,
|
|
505
|
-
seats: response.seats || { used: 1, max:
|
|
505
|
+
seats: response.seats || { used: 1, max: 3 },
|
|
506
506
|
expiresAt: response.expiresAt,
|
|
507
507
|
cacheValidDays: response.cacheValidDays || 30,
|
|
508
508
|
gracePeriodDays: response.gracePeriodDays || 7,
|
|
@@ -541,14 +541,14 @@ class LicenseApiClient {
|
|
|
541
541
|
/**
|
|
542
542
|
* Resend email verification.
|
|
543
543
|
*
|
|
544
|
-
* @param {string}
|
|
544
|
+
* @param {string} email - User email address
|
|
545
545
|
* @returns {Promise<object>} Result with { message }
|
|
546
546
|
* @throws {AuthError} On failure
|
|
547
547
|
*/
|
|
548
|
-
async resendVerification(
|
|
548
|
+
async resendVerification(email) {
|
|
549
549
|
try {
|
|
550
550
|
const response = await this._request('POST', '/api/v1/auth/resend-verification', {
|
|
551
|
-
|
|
551
|
+
email,
|
|
552
552
|
});
|
|
553
553
|
|
|
554
554
|
return {
|