@askexenow/exe-os 0.8.30 → 0.8.32
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/dist/bin/cli.js +1 -1
- package/dist/bin/exe-doctor.js +4 -2
- package/dist/bin/setup.js +1 -1
- package/package.json +1 -1
- package/src/commands/exe/setup.md +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -5002,7 +5002,7 @@ async function runSetupWizard(opts = {}) {
|
|
|
5002
5002
|
if (res.ok) {
|
|
5003
5003
|
const data = await res.json();
|
|
5004
5004
|
if (data.apiKey) {
|
|
5005
|
-
cloudConfig = { apiKey: data.apiKey, endpoint: "https://
|
|
5005
|
+
cloudConfig = { apiKey: data.apiKey, endpoint: "https://askexe.com/cloud" };
|
|
5006
5006
|
const { saveLicense: saveLicense3, mirrorLicenseKey: mirrorLicenseKey3 } = await Promise.resolve().then(() => (init_license(), license_exports));
|
|
5007
5007
|
saveLicense3(data.apiKey);
|
|
5008
5008
|
mirrorLicenseKey3(data.apiKey);
|
package/dist/bin/exe-doctor.js
CHANGED
|
@@ -1441,9 +1441,10 @@ async function auditNullVectors(client, flags) {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
async function auditDuplicates(client, flags) {
|
|
1443
1443
|
const { clause, args } = agentFilter(flags);
|
|
1444
|
+
const backfillExclude = clause ? " AND tool_name != 'ConversationBackfill'" : " WHERE tool_name != 'ConversationBackfill'";
|
|
1444
1445
|
const groups = await client.execute({
|
|
1445
1446
|
sql: `SELECT raw_text, COUNT(*) as cnt
|
|
1446
|
-
FROM memories${clause}
|
|
1447
|
+
FROM memories${clause}${backfillExclude}
|
|
1447
1448
|
GROUP BY raw_text
|
|
1448
1449
|
HAVING cnt > 1
|
|
1449
1450
|
ORDER BY cnt DESC
|
|
@@ -1474,7 +1475,7 @@ async function auditDuplicates(client, flags) {
|
|
|
1474
1475
|
}
|
|
1475
1476
|
async function auditBloated(client, flags) {
|
|
1476
1477
|
const { clause, args } = agentFilter(flags);
|
|
1477
|
-
const where = clause ? clause + " AND LENGTH(raw_text) > 5120" : " WHERE LENGTH(raw_text) > 5120";
|
|
1478
|
+
const where = clause ? clause + " AND LENGTH(raw_text) > 5120 AND tool_name != 'ConversationBackfill'" : " WHERE LENGTH(raw_text) > 5120 AND tool_name != 'ConversationBackfill'";
|
|
1478
1479
|
const result = await client.execute({
|
|
1479
1480
|
sql: `SELECT id, agent_id, LENGTH(raw_text) as size, tool_name
|
|
1480
1481
|
FROM memories${where}
|
|
@@ -1500,6 +1501,7 @@ async function auditOrphanedProjects(client) {
|
|
|
1500
1501
|
const result = await client.execute(
|
|
1501
1502
|
`SELECT project_name, COUNT(*) as cnt
|
|
1502
1503
|
FROM memories
|
|
1504
|
+
WHERE tool_name != 'ConversationBackfill'
|
|
1503
1505
|
GROUP BY project_name
|
|
1504
1506
|
ORDER BY cnt DESC`
|
|
1505
1507
|
);
|
package/dist/bin/setup.js
CHANGED
|
@@ -2474,7 +2474,7 @@ async function runSetupWizard(opts = {}) {
|
|
|
2474
2474
|
if (res.ok) {
|
|
2475
2475
|
const data = await res.json();
|
|
2476
2476
|
if (data.apiKey) {
|
|
2477
|
-
cloudConfig = { apiKey: data.apiKey, endpoint: "https://
|
|
2477
|
+
cloudConfig = { apiKey: data.apiKey, endpoint: "https://askexe.com/cloud" };
|
|
2478
2478
|
const { saveLicense: saveLicense3, mirrorLicenseKey: mirrorLicenseKey3 } = await Promise.resolve().then(() => (init_license(), license_exports));
|
|
2479
2479
|
saveLicense3(data.apiKey);
|
|
2480
2480
|
mirrorLicenseKey3(data.apiKey);
|
package/package.json
CHANGED
|
@@ -68,7 +68,7 @@ Use AskUserQuestion to ask for their Exe Cloud API key (exe_sk_...).
|
|
|
68
68
|
|
|
69
69
|
Validate the key:
|
|
70
70
|
```bash
|
|
71
|
-
curl -s "https://
|
|
71
|
+
curl -s "https://askexe.com/cloud/auth/verify" \
|
|
72
72
|
-H "Authorization: Bearer USER_API_KEY" | cat
|
|
73
73
|
```
|
|
74
74
|
|