infinicode 2.8.17 → 2.8.19

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.
@@ -160,7 +160,14 @@ async function setupRobot(config, opts, ctx, internal) {
160
160
  '--auto-update',
161
161
  '--supervised',
162
162
  ];
163
- const schedulerUrl = `http://${ctx.hub?.ip ?? '127.0.0.1'}:${opts.schedulerPort ? parseInt(opts.schedulerPort, 10) : DEFAULT_SCHEDULER_PORT}`;
163
+ // Derive the scheduler host from the SAME hubUrl used for the mesh seed
164
+ // (respects an explicit --hub-url), not from ctx.hub — using auto-discovery
165
+ // here independently of the mesh seed meant an explicit --hub-url only
166
+ // repointed the mesh connection while the scheduler (enroll/heartbeat/
167
+ // preview-agent) silently kept talking to whatever hub auto-discovery
168
+ // found (e.g. a real hub reachable over Tailscale), not the one requested.
169
+ const hubHost = new URL(hubUrl).hostname;
170
+ const schedulerUrl = `http://${hubHost}:${opts.schedulerPort ? parseInt(opts.schedulerPort, 10) : DEFAULT_SCHEDULER_PORT}`;
164
171
  const previewAgentArgs = [
165
172
  'preview-agent',
166
173
  '--scheduler-url', schedulerUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinicode",
3
- "version": "2.8.17",
3
+ "version": "2.8.19",
4
4
  "description": "OpenKernel — provider-agnostic AI execution kernel. Native coding agent + mission-driven execution runtime.",
5
5
  "type": "module",
6
6
  "main": "./dist/kernel/index.js",
@@ -5,8 +5,12 @@
5
5
  # that's wrong off a real Pi, where plain `pip install opencv-python` is the
6
6
  # normal path. Use this file for a demo/dev machine; use
7
7
  # requirements_pi_unified.txt (+ apt) on an actual Raspberry Pi.
8
+ # numpy is intentionally unpinned on the upper end — modern opencv-python
9
+ # wheels are built against numpy 2.x, and pinning <2 forces pip to source-
10
+ # build an old numpy with no prebuilt wheel for current Python versions
11
+ # (needs a C/C++ compiler most demo machines don't have installed).
8
12
  flask==3.0.0
9
13
  flask-cors==4.0.0
10
14
  opencv-python>=4.8
11
- numpy>=1.24,<2
15
+ numpy>=1.24
12
16
  requests>=2.31