hablas-ai 1.3.19 → 1.3.21

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,7 +1,7 @@
1
1
  {
2
2
  "name": "hablas-ai",
3
- "version": "1.3.19",
4
- "description": "Premium multi-agent AI coding agent for your terminallocal-first via Ollama, NVIDIA NIM, or any OpenAI-compatible API. Watch the team work in front of you.",
3
+ "version": "1.3.21",
4
+ "description": "Premium terminal AI coding agent with a unified runtime direct leader handling for simple turns, internal specialist coordination for serious engineering work.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
7
  "hablas": "./bin/hablas-shim.js"
@@ -25,9 +25,10 @@
25
25
  "dev": "ts-node src/index.ts",
26
26
  "start": "node dist/index.js",
27
27
  "lint": "tsc --noEmit",
28
- "test": "npm run test:channel && npm run test:parity",
28
+ "test": "npm run test:channel && npm run test:parity && npm run test:runtime",
29
29
  "test:channel": "ts-node --transpile-only src/agents/__tests__/agent-channel.test.ts",
30
- "test:parity": "ts-node --transpile-only src/agents/__tests__/parity.test.ts"
30
+ "test:parity": "ts-node --transpile-only src/agents/__tests__/parity.test.ts",
31
+ "test:runtime": "ts-node --transpile-only src/runtime/__tests__/unified-runtime.test.ts"
31
32
  },
32
33
  "keywords": [
33
34
  "cli",
package/postinstall.js CHANGED
@@ -81,6 +81,12 @@ async function main() {
81
81
  const destPath = path.resolve(BIN_DIR, config.filename);
82
82
  const downloadUrl = `https://github.com/${REPO}/releases/download/v${VERSION}/${config.filename}`;
83
83
 
84
+ if (!fs.existsSync(CHECKSUM_FILE)) {
85
+ console.log(`ℹ️ No bundled checksum database found for v${VERSION}.`);
86
+ console.log(`👉 Using the bundled Node.js runtime wrapper for this installation.`);
87
+ return;
88
+ }
89
+
84
90
  console.log(`🌐 Downloading native binary for ${process.platform}-${process.arch}...`);
85
91
  console.log(` URL: ${downloadUrl}`);
86
92
 
@@ -124,8 +130,8 @@ async function main() {
124
130
  console.log(`🎉 Hablas CLI production binary successfully installed globally!`);
125
131
 
126
132
  } catch (err) {
127
- console.error(`\n Error during postinstall binary setup: ${err.message}`);
128
- console.log(`⚠️ Falling back to pure Node.js bundled runtime wrapper.`);
133
+ console.error(`\n⚠️ Native binary setup skipped: ${err.message}`);
134
+ console.log(`👉 Falling back to the bundled Node.js runtime wrapper.`);
129
135
 
130
136
  // Clean up corrupted file if any
131
137
  if (fs.existsSync(destPath)) {