aisnitch 0.2.25 → 0.2.26

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/index.d.cts CHANGED
@@ -43,6 +43,7 @@ declare const AutoUpdateConfigSchema: z.ZodObject<{
43
43
  declare const ConfigSchema: z.ZodObject<{
44
44
  wsPort: z.ZodDefault<z.ZodNumber>;
45
45
  httpPort: z.ZodDefault<z.ZodNumber>;
46
+ dashboardPort: z.ZodDefault<z.ZodNumber>;
46
47
  /**
47
48
  * 📖 This is intentionally a partial record because most users will only
48
49
  * override a couple of adapters instead of all supported tools at once.
@@ -3395,6 +3396,7 @@ interface TuiInitialFilters {
3395
3396
  interface TuiDaemonSnapshot {
3396
3397
  readonly active: boolean;
3397
3398
  readonly busyAction?: 'starting' | 'stopping' | null;
3399
+ readonly dashboardUrl: string;
3398
3400
  readonly httpUrl: string;
3399
3401
  readonly pid: number | null;
3400
3402
  readonly socketPath: string | null;
package/dist/index.d.ts CHANGED
@@ -43,6 +43,7 @@ declare const AutoUpdateConfigSchema: z.ZodObject<{
43
43
  declare const ConfigSchema: z.ZodObject<{
44
44
  wsPort: z.ZodDefault<z.ZodNumber>;
45
45
  httpPort: z.ZodDefault<z.ZodNumber>;
46
+ dashboardPort: z.ZodDefault<z.ZodNumber>;
46
47
  /**
47
48
  * 📖 This is intentionally a partial record because most users will only
48
49
  * override a couple of adapters instead of all supported tools at once.
@@ -3395,6 +3396,7 @@ interface TuiInitialFilters {
3395
3396
  interface TuiDaemonSnapshot {
3396
3397
  readonly active: boolean;
3397
3398
  readonly busyAction?: 'starting' | 'stopping' | null;
3399
+ readonly dashboardUrl: string;
3398
3400
  readonly httpUrl: string;
3399
3401
  readonly pid: number | null;
3400
3402
  readonly socketPath: string | null;
package/dist/index.js CHANGED
@@ -8956,6 +8956,7 @@ var AutoUpdateConfigSchema = z3.strictObject({
8956
8956
  var ConfigSchema = z3.strictObject({
8957
8957
  wsPort: z3.number().int().min(1024).max(65535).default(4820),
8958
8958
  httpPort: z3.number().int().min(1024).max(65535).default(4821),
8959
+ dashboardPort: z3.number().int().min(1024).max(65535).default(5174),
8959
8960
  /**
8960
8961
  * 📖 This is intentionally a partial record because most users will only
8961
8962
  * override a couple of adapters instead of all supported tools at once.
@@ -8974,6 +8975,7 @@ var ConfigSchema = z3.strictObject({
8974
8975
  var DEFAULT_CONFIG = {
8975
8976
  wsPort: 4820,
8976
8977
  httpPort: 4821,
8978
+ dashboardPort: 5174,
8977
8979
  adapters: {},
8978
8980
  autoUpdate: {
8979
8981
  enabled: true,
@@ -9276,7 +9278,7 @@ import { WebSocket, WebSocketServer } from "ws";
9276
9278
 
9277
9279
  // src/package-info.ts
9278
9280
  var AISNITCH_PACKAGE_NAME = "aisnitch";
9279
- var AISNITCH_VERSION = "0.2.25";
9281
+ var AISNITCH_VERSION = "0.2.26";
9280
9282
  var AISNITCH_DESCRIPTION = "Universal bridge for AI coding tool activity \u2014 capture, normalize, stream.";
9281
9283
  function getPackageScaffoldInfo() {
9282
9284
  return {
@@ -11421,6 +11423,10 @@ function Header({
11421
11423
  ] }) }),
11422
11424
  daemon ? /* @__PURE__ */ jsxs5(Fragment2, { children: [
11423
11425
  /* @__PURE__ */ jsx6(Text6, { color: connected ? TUI_THEME.success : TUI_THEME.warning, children: connected ? `\u25CF ${connectionLabel}` : `\u25CB ${connectionLabel}` }),
11426
+ /* @__PURE__ */ jsxs5(Text6, { color: TUI_THEME.success, children: [
11427
+ "Web ",
11428
+ daemon.dashboardUrl
11429
+ ] }),
11424
11430
  /* @__PURE__ */ jsxs5(Text6, { color: TUI_THEME.muted, children: [
11425
11431
  "WS ",
11426
11432
  daemon.wsUrl
@@ -11613,7 +11619,7 @@ function StatusBar({
11613
11619
  }) {
11614
11620
  const streamState = streamFrozen ? `Frozen +${pendingEventCount}` : latestEvent?.type ?? "Live";
11615
11621
  const focusLabel = focusPanel === "events" ? "events" : viewMode === "full-data" ? "inspector" : "sessions";
11616
- const daemonLabel = daemon === void 0 ? null : daemon.busyAction ? `Daemon ${daemon.busyAction}` : daemon.active ? `Daemon active \xB7 ${daemon.wsUrl}` : `Daemon not active \xB7 ${daemon.wsUrl}`;
11622
+ const daemonLabel = daemon === void 0 ? null : daemon.busyAction ? `Daemon ${daemon.busyAction}` : daemon.active ? `Daemon active \xB7 Web ${daemon.dashboardUrl}` : `Daemon not active \xB7 Web ${daemon.dashboardUrl}`;
11617
11623
  return /* @__PURE__ */ jsxs9(
11618
11624
  Box9,
11619
11625
  {