apteva 0.1.7 → 0.1.8

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,6 +1,6 @@
1
1
  {
2
2
  "name": "apteva",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Run AI agents locally. Multi-provider support for Claude, GPT, Gemini, Llama, and more.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/binary.ts CHANGED
@@ -98,7 +98,7 @@ export async function ensureBinary(binDir: string, silent = false): Promise<{ su
98
98
  try {
99
99
  if (!silent && attempt > 1) {
100
100
  // Clear line and show retry status
101
- process.stdout.write(`\r Binary ${c.orange}retry ${attempt}/${MAX_RETRIES}...${c.reset} `);
101
+ process.stdout.write(`\r Agent ${c.orange}retry ${attempt}/${MAX_RETRIES}...${c.reset} `);
102
102
  }
103
103
 
104
104
  const response = await fetchWithTimeout(url, DOWNLOAD_TIMEOUT);
@@ -132,7 +132,7 @@ export async function ensureBinary(binDir: string, silent = false): Promise<{ su
132
132
  // Show success
133
133
  if (!silent) {
134
134
  const sizeMB = (arrayBuffer.byteLength / 1024 / 1024).toFixed(1);
135
- console.log(`\r${c.green}ready${c.reset} ${c.gray}(${sizeMB}MB downloaded)${c.reset} `);
135
+ console.log(`\r${c.green}binary ready${c.reset} ${c.gray}(${sizeMB}MB downloaded)${c.reset} `);
136
136
  }
137
137
 
138
138
  return { success: true, path: binaryPath, downloaded: true };
package/src/server.ts CHANGED
@@ -74,12 +74,12 @@ console.log(`
74
74
  `);
75
75
 
76
76
  // Check binary - ensureBinary handles progress output when downloading
77
- process.stdout.write(` ${c.darkGray}Binary${c.reset} `);
77
+ process.stdout.write(` ${c.darkGray}Agent${c.reset} `);
78
78
  const binaryResult = await ensureBinary(BIN_DIR);
79
79
  // ensureBinary prints its own status when downloading/failing
80
80
  // We only need to print "ready" if binary already existed
81
81
  if (binaryResult.success && !binaryResult.downloaded) {
82
- console.log(`${c.gray}ready${c.reset}`);
82
+ console.log(`${c.gray}binary ready${c.reset}`);
83
83
  }
84
84
 
85
85
  // Check database
@@ -93,7 +93,8 @@ console.log(`${c.gray}${configuredProviders.length} configured${c.reset}`);
93
93
 
94
94
  const server = Bun.serve({
95
95
  port: PORT,
96
- development: false, // Suppress "Started development server" message
96
+ hostname: "0.0.0.0", // Listen on all interfaces
97
+ development: false, // Suppress "Started server" message
97
98
 
98
99
  async fetch(req: Request): Promise<Response> {
99
100
  const url = new URL(req.url);