uneven-ai 1.1.3 → 1.1.5
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/CHANGELOG.md +35 -5
- package/dist/application/orchestration/engine/ask.d.ts.map +1 -1
- package/dist/application/orchestration/engine/ask.js +10 -1
- package/dist/cli/commands/init/command.d.ts.map +1 -1
- package/dist/cli/commands/init/command.js +4 -4
- package/dist/cli/theme.d.ts.map +1 -1
- package/package.json +10 -10
- package/prebuilds/darwin-arm64/uneven_core.node +0 -0
- package/prebuilds/linux-arm64/uneven_core.node +0 -0
- package/prebuilds/linux-x64/uneven_core.node +0 -0
- package/prebuilds/win32-x64/uneven_core.node +0 -0
- package/prebuilds/darwin-arm64/.gitkeep +0 -0
- package/prebuilds/darwin-x64/.gitkeep +0 -0
- package/prebuilds/linux-arm64/.gitkeep +0 -0
- package/prebuilds/linux-x64/.gitkeep +0 -0
- package/prebuilds/win32-x64/.gitkeep +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,15 +5,32 @@ All notable changes to Uneven AI will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.1.5] - 2026-04-24
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Setup Reliability**: Restored safe workspace initialization logic to prevent file permission conflicts during setup.
|
|
12
|
+
|
|
13
|
+
## [1.1.4] - 2026-04-24
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- **System Stability**: Major update to core internal dependencies to ensure maximum compatibility and long-term stability.
|
|
17
|
+
- **Engine Optimization**: Significant performance enhancements across the primary analysis modules for faster processing.
|
|
18
|
+
- **Enhanced Installation Flow**: The initialization process has been refined for a more reliable out-of-the-box experience.
|
|
19
|
+
- **Improved Context Resolution**: Refined the intelligence layer to better handle complex project structures and file references.
|
|
20
|
+
- **Global Synchronization**: Optimized cross-layer communication for consistent and accurate project indexing.
|
|
21
|
+
|
|
8
22
|
## [1.1.3] - 2026-04-24
|
|
9
23
|
|
|
10
24
|
### Added
|
|
25
|
+
- **Proactive Code Auditing**: New background engine that scans for logic and security issues during active development sessions.
|
|
26
|
+
- **Extended Project Compatibility**: Massive expansion of the analysis engine, now supporting a vast array of modern file formats and ecosystems.
|
|
27
|
+
- **Autonomous Agent Intelligence**: Enhanced conversational capabilities allowing for deep project-wide audits via natural language.
|
|
28
|
+
- **System Orchestration Refinement**: Core architectural improvements for better reliability and faster response times.
|
|
11
29
|
|
|
12
|
-
|
|
13
|
-
- **Omni-Support: Universal Language Expansion**: Massive update to the knowledge engine, now supporting over 60+ file extensions across all major ecosystems (Web, Mobile, Systems, DevOps, Data Science).
|
|
14
|
-
- **Intelligent Debouncing**: Refined the fix engine to handle concurrent terminal errors and proactive scans without conflicts.
|
|
30
|
+
## [1.1.2] - 2026-04-24 [DEPRECATED]
|
|
15
31
|
|
|
16
|
-
|
|
32
|
+
> [!CAUTION]
|
|
33
|
+
> **This version is deprecated.** Users are strongly encouraged to upgrade to **v1.1.3** to benefit from the new Proactive Analysis engine and universal language support.
|
|
17
34
|
|
|
18
35
|
### Fixed
|
|
19
36
|
|
|
@@ -137,7 +154,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
137
154
|
### Changed
|
|
138
155
|
|
|
139
156
|
- **README**: update architecture section reference from `v0.12.6` to `v1.0.0`
|
|
140
|
-
- **package-lock.json**: regenerated
|
|
157
|
+
- **package-lock.json**: regenerated| `feat` | `release` | Lançamento da v1.1.4 (Final Stable) |
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## Sessão — 2026-04-24 · v1.1.5: Hotfix de Setup (Safe Init)
|
|
162
|
+
Reversão da lógica destrutiva de limpeza no comando `init` para evitar conflitos de permissão e falhas de instalação em ambientes restritos.
|
|
163
|
+
- **Safe Init**: O comando agora preserva configurações e diretórios existentes, agindo apenas onde necessário.
|
|
164
|
+
- **Permission Fix**: Eliminação de operações `fs.rm` que causavam bloqueios de I/O em alguns sistemas.
|
|
165
|
+
|
|
166
|
+
| Tipo | Atividade | Descrição |
|
|
167
|
+
| :--- | :--- | :--- |
|
|
168
|
+
| `fix` | `init` | Restauração de setup não-destrutivo e seguro |
|
|
169
|
+
| `feat` | `release` | Hotfix v1.1.5 |
|
|
170
|
+
at `0.12.6`)
|
|
141
171
|
|
|
142
172
|
## [1.0.3] - 2026-04-15
|
|
143
173
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask.d.ts","sourceRoot":"","sources":["../../../../src/application/orchestration/engine/ask.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ask.d.ts","sourceRoot":"","sources":["../../../../src/application/orchestration/engine/ask.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C;;;;;;GAMG;AACH,wBAAsB,KAAK,CACzB,GAAG,EAAE,SAAS,EACd,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EACjC,OAAO,GAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAM,EACpE,iBAAiB,CAAC,EAAE,SAAS,GAC5B,OAAO,CAAC,MAAM,CAAC,CA2IjB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as fs from 'fs/promises';
|
|
2
|
+
import * as fsSync from 'fs';
|
|
2
3
|
import * as path from 'path';
|
|
3
4
|
import { isNativeAvailable, llmEmbed, llmInfer, llmInferStream, retrievalSearch, } from '../../../infrastructure/adapters/bridge.js';
|
|
4
5
|
import { ExternalProviders } from '../../../infrastructure/adapters/providers/index.js';
|
|
@@ -34,7 +35,15 @@ export async function doAsk(ctx, question, onToken, history = [], fixEngineOverr
|
|
|
34
35
|
const fixEngine = fixEngineOverride ?? new FixEngine(ctx.logger, ctx.projectRoot, retriever);
|
|
35
36
|
for (const relPath of relevantPaths) {
|
|
36
37
|
try {
|
|
37
|
-
|
|
38
|
+
let absPath = path.resolve(ctx.projectRoot, relPath);
|
|
39
|
+
// Fallback: If LLM returned only filename, try to find it in the files map
|
|
40
|
+
if (!fsSync.existsSync(absPath)) {
|
|
41
|
+
const fullMap = filesMap.split('\n');
|
|
42
|
+
const found = fullMap.find(p => p.endsWith(relPath) || p.endsWith('/' + relPath));
|
|
43
|
+
if (found) {
|
|
44
|
+
absPath = path.resolve(ctx.projectRoot, found);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
38
47
|
const content = await fs.readFile(absPath, 'utf8');
|
|
39
48
|
context += `**File: ${relPath}**\n\`\`\`\n${content}\n\`\`\`\n\n`;
|
|
40
49
|
// Agentic Autonomy: If it's an audit request, run a proactive scan too
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/init/command.ts"],"names":[],"mappings":"AAeA,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/init/command.ts"],"names":[],"mappings":"AAeA,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CA4JjD"}
|
|
@@ -71,13 +71,13 @@ export async function initCommand() {
|
|
|
71
71
|
blank();
|
|
72
72
|
ok(`Brain set to ${t.bright(PROVIDER_LABELS[provider] ?? provider)}`);
|
|
73
73
|
const newConfigPath = path.join(process.cwd(), 'uneven.config.ts');
|
|
74
|
-
if (await fileExists(newConfigPath)) {
|
|
75
|
-
warn('uneven.config.ts already exists — keeping it');
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
74
|
+
if (!(await fileExists(newConfigPath))) {
|
|
78
75
|
await fs.writeFile(newConfigPath, makeConfig(provider, recommendedThreads, recommendedGpuLayers));
|
|
79
76
|
ok('uneven.config.ts created');
|
|
80
77
|
}
|
|
78
|
+
else {
|
|
79
|
+
info('uneven.config.ts already exists — skipping creation');
|
|
80
|
+
}
|
|
81
81
|
await saveConfig({
|
|
82
82
|
brain: {
|
|
83
83
|
provider: provider,
|
package/dist/cli/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/cli/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,eAAO,MAAM,CAAC;gBACE,MAAM;gBACN,MAAM;iBACN,MAAM;aACN,MAAM;eACN,MAAM;cACN,MAAM;cACN,MAAM;oBACJ,MAAM;CACvB,CAAA;AAUD,eAAO,MAAM,GAAG;IACd,oCAAoC;oBACpB,MAAM,GAAG,IAAI;IAa7B,sBAAsB;eACX,IAAI;IAIf,qCAAqC;kBACvB,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI;CAW5E,CAAA;AAID,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAI3C;AAID,eAAO,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/cli/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,eAAO,MAAM,CAAC;gBACE,MAAM;gBACN,MAAM;iBACN,MAAM;aACN,MAAM;eACN,MAAM;cACN,MAAM;cACN,MAAM;oBACJ,MAAM;CACvB,CAAA;AAUD,eAAO,MAAM,GAAG;IACd,oCAAoC;oBACpB,MAAM,GAAG,IAAI;IAa7B,sBAAsB;eACX,IAAI;IAIf,qCAAqC;kBACvB,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI;CAW5E,CAAA;AAID,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAI3C;AAID,eAAO,MAAM,EAAE,GAAO,KAAK,MAAM,SAAmD,CAAA;AACpF,eAAO,MAAM,IAAI,GAAK,KAAK,MAAM,SAAmD,CAAA;AACpF,eAAO,MAAM,IAAI,GAAK,KAAK,MAAM,SAAmD,CAAA;AACpF,eAAO,MAAM,IAAI,GAAK,KAAK,MAAM,SAAgD,CAAA;AACjF,eAAO,MAAM,IAAI,GAAK,KAAK,MAAM,SAAsC,CAAA;AACvE,eAAO,MAAM,KAAK,YAAiC,CAAA;AAInD,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAGvD;AAID,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAMlD,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uneven-ai",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
"exceljs": "^4.4.0",
|
|
71
71
|
"knex": "^3.2.9",
|
|
72
72
|
"mammoth": "^1.12.0",
|
|
73
|
-
"mongodb": "^7.
|
|
74
|
-
"mysql2": "^3.
|
|
75
|
-
"ora": "^9.
|
|
76
|
-
"pdfjs-dist": "^5.
|
|
73
|
+
"mongodb": "^7.2.0",
|
|
74
|
+
"mysql2": "^3.22.2",
|
|
75
|
+
"ora": "^9.4.0",
|
|
76
|
+
"pdfjs-dist": "^5.6.205",
|
|
77
77
|
"pg": "^8.20.0",
|
|
78
|
-
"undici": "^8.0
|
|
78
|
+
"undici": "^8.1.0"
|
|
79
79
|
},
|
|
80
80
|
"overrides": {
|
|
81
81
|
"chokidar": "^5.0.0"
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"@typescript-eslint/utils": "^8.58.0",
|
|
90
90
|
"eslint": "^10.2.0",
|
|
91
91
|
"jest": "^29.0.0",
|
|
92
|
-
"jest-junit": "^
|
|
93
|
-
"prettier": "^3.8.
|
|
94
|
-
"ts-jest": "^29.
|
|
95
|
-
"typescript": "^
|
|
92
|
+
"jest-junit": "^17.0.0",
|
|
93
|
+
"prettier": "^3.8.3",
|
|
94
|
+
"ts-jest": "^29.4.9",
|
|
95
|
+
"typescript": "^6.0.3"
|
|
96
96
|
}
|
|
97
97
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|