aegiscode 3.4.4 → 4.0.3

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/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "aegiscode",
3
- "version": "3.4.4",
3
+ "version": "4.0.3",
4
4
  "description": "AEGIS CLI — AI-powered coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
7
- "aegis": "./bin/cli.js",
8
- "aegis-cli": "./bin/cli.js"
7
+ "aegis": "bin/cli.js",
8
+ "aegis-cli": "bin/cli.js",
9
+ "aegiscli": "bin/cli.js",
10
+ "aegiscode": "bin/cli.js"
9
11
  },
10
12
  "scripts": {
11
13
  "build": "node esbuild.mjs",
12
14
  "build:publish": "npm run build && node scripts/make-bin.mjs",
13
- "build:standalone": "bash build-standalone.sh",
14
15
  "dev": "NODE_NO_WARNINGS=1 tsx src/main.tsx",
15
16
  "start": "node --no-deprecation dist/main.js",
16
17
  "typecheck": "tsc --noEmit",
@@ -80,8 +81,16 @@
80
81
  },
81
82
  "devDependencies": {
82
83
  "@types/node": "^22.19.19",
84
+ "@types/react": "^19.2.17",
85
+ "@types/sql.js": "^1.4.11",
86
+ "@types/yargs": "^17.0.35",
83
87
  "esbuild": "^0.28.0",
84
88
  "tsx": "^4.22.4",
85
89
  "typescript": "^5.7.2"
90
+ },
91
+ "overrides": {
92
+ "@xenova/transformers": {
93
+ "sharp": "file:../../../scripts/sharp-stub"
94
+ }
86
95
  }
87
96
  }
@@ -0,0 +1,9 @@
1
+ // aegiscode only uses @xenova/transformers for text embeddings (all-MiniLM-L6-v2),
2
+ // never image inputs — so the real `sharp` native binary (and its install-time
3
+ // prebuild-install download, a recurring source of `npm install` failures on
4
+ // flaky networks/unsupported platforms) is unneeded dead weight. This stub
5
+ // satisfies `import sharp from 'sharp'` without pulling in native bindings.
6
+ function sharp() {
7
+ throw new Error('sharp is stubbed out in aegiscode — image processing is not supported');
8
+ }
9
+ module.exports = sharp;
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "sharp",
3
+ "version": "0.32.6",
4
+ "main": "index.js"
5
+ }
File without changes