infinicode 2.5.0 → 2.5.1

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/dist/cli.js CHANGED
@@ -19,7 +19,7 @@ import { meshInstall, meshUninstall } from './commands/mesh-install.js';
19
19
  import { installTui } from './commands/install-tui.js';
20
20
  import { attachRoboparkSubcommands } from './commands/robopark.js';
21
21
  import { DEFAULT_CONFIG } from './kernel/config-schema.js';
22
- const VERSION = '2.5.0';
22
+ const VERSION = '2.5.1';
23
23
  const config = new Conf({
24
24
  projectName: 'infinicode',
25
25
  defaults: DEFAULT_CONFIG,
@@ -193,6 +193,10 @@ async function roboparkSetup(config, opts) {
193
193
  const meshRole = preset.mesh;
194
194
  // Preset defaults, overridable by explicit flags.
195
195
  const dashboard = opts.dashboard ?? preset.dashboard;
196
+ // The RoboPark scheduler API runs on the same box as the on-site hub, so the
197
+ // scheduler role links it by default → the dashboard's Sessions & Telemetry
198
+ // tab is live out of the box. Other roles don't proxy a scheduler.
199
+ const schedulerUrl = opts.schedulerUrl ?? (label === 'scheduler' ? 'http://127.0.0.1:8080' : undefined);
196
200
  const lan = opts.lan ?? preset.lan;
197
201
  const tailscale = opts.tailscale ?? (preset.tailscale && !opts.hub); // seed URL replaces discovery
198
202
  const port = opts.port ? parseInt(opts.port, 10) : DEFAULT_PORT;
@@ -241,6 +245,8 @@ async function roboparkSetup(config, opts) {
241
245
  lan,
242
246
  tag: opts.tag,
243
247
  dashboard,
248
+ schedulerUrl,
249
+ schedulerToken: opts.schedulerToken,
244
250
  gateway: opts.gateway,
245
251
  gatewayToken: opts.gatewayToken,
246
252
  };
@@ -253,6 +259,7 @@ async function roboparkSetup(config, opts) {
253
259
  'infinicode serve',
254
260
  `--role ${meshRole}`,
255
261
  dashboard ? '--dashboard' : '',
262
+ schedulerUrl ? `--scheduler-url ${schedulerUrl}` : '',
256
263
  lan ? '--lan' : '',
257
264
  tailscale ? '--tailscale' : '',
258
265
  opts.tag ? `--tag ${opts.tag}` : '',
@@ -406,6 +413,8 @@ export function attachRoboparkSubcommands(cmd, config) {
406
413
  .option('--lan', 'force zero-config LAN auto-discovery (on by default for scheduler/robot)')
407
414
  .option('--tailscale', 'force Tailscale peer discovery (on by default for scheduler/laptop)')
408
415
  .option('--dashboard', 'force the web control UI (on by default for scheduler)')
416
+ .option('--scheduler-url <url>', 'RoboPark scheduler API to link for the dashboard Sessions tab (default http://127.0.0.1:8080 for the scheduler role)')
417
+ .option('--scheduler-token <token>', 'bearer token presented to the scheduler on proxied requests')
409
418
  .option('--start', 'launch the node now instead of just writing config')
410
419
  .option('--yes', 'skip the guided wizard even with no role (non-interactive)')
411
420
  .action(async (opts) => {
@@ -9,7 +9,7 @@ import { Command } from 'commander';
9
9
  import Conf from 'conf';
10
10
  import { attachRoboparkSubcommands } from './commands/robopark.js';
11
11
  import { DEFAULT_CONFIG } from './kernel/config-schema.js';
12
- const VERSION = '2.5.0';
12
+ const VERSION = '2.5.1';
13
13
  const config = new Conf({
14
14
  projectName: 'infinicode', // share infinicode's config store (providers, federation)
15
15
  defaults: DEFAULT_CONFIG,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinicode",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
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",