@llblab/pi-kit 0.1.10 → 0.1.11

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to `@llblab/pi-kit` are documented here.
4
4
 
5
+ ## 0.1.11 - 2026-08-28
6
+
7
+ - `Telegram Hotfix`: Advances `@llblab/pi-telegram` to `0.39.4`, preventing repeated extension errors when print, RPC, ACP, or other headless hosts refresh lifecycle status without an initialized theme while preserving interactive status rendering.
8
+
5
9
  ## 0.1.10 - 2026-08-26
6
10
 
7
11
  - `Extension Releases`: Advances `@llblab/pi-grow-loop` to `0.7.3` for the current bounded continuation protocol and `@llblab/pi-telegram` to `0.39.3` for Windows IPC replacement fencing, trusted outbound voice command compatibility, and macOS lock-recovery contention handling.
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  | `@llblab/pi-actors` | `0.50.0` | Extension and Skills |
10
10
  | `@llblab/pi-codex-usage` | `0.9.3` | Extension |
11
11
  | `@llblab/pi-grow-loop` | `0.7.3` | Extension and Skills |
12
- | `@llblab/pi-telegram` | `0.39.3` | Extension and Skills |
12
+ | `@llblab/pi-telegram` | `0.39.4` | Extension and Skills |
13
13
 
14
14
  Versions are exact by design. Updating an extension does not change an installed kit until this repository explicitly advances that dependency and publishes a new kit version.
15
15
 
@@ -2,6 +2,10 @@
2
2
 
3
3
  > Each release keeps at most 8 outcome records of at most 512 characters.
4
4
 
5
+ ## 0.39.4: Headless Status Bar Hotfix
6
+
7
+ - `Headless Hosts`: Skips status-bar rendering when a print, RPC, ACP, or other non-interactive host has not initialized its theme, preventing repeated extension errors during lifecycle status refreshes while preserving normal interactive status updates and error propagation.
8
+
5
9
  ## 0.39.3: Windows IPC And Outbound Voice Hotfix
6
10
 
7
11
  - `Windows IPC Replacement`: Replaces an older same-process Named Pipe server before a new session generation listens on the stable endpoint, preventing `EADDRINUSE` during reload while keeping a late stop from invalidating its successor.
@@ -628,18 +628,28 @@ export function createTelegramStatusHtmlBuilder<TContext>(deps: {
628
628
  );
629
629
  }
630
630
 
631
+ function resolveStatusBarTheme(
632
+ ctx: TelegramStatusRuntimeContext,
633
+ ): TelegramStatusBarTheme | undefined {
634
+ try {
635
+ const theme = ctx.ui?.theme;
636
+ return typeof theme?.fg === "function" ? theme : undefined;
637
+ } catch {
638
+ return undefined;
639
+ }
640
+ }
641
+
631
642
  export function createTelegramStatusRuntime<
632
643
  TContext extends TelegramStatusRuntimeContext,
633
644
  >(deps: TelegramStatusRuntimeDeps<TContext>): TelegramStatusRuntime<TContext> {
634
645
  const statusKey = deps.statusKey ?? "telegram";
635
646
  return {
636
647
  updateStatus: (ctx, error) => {
648
+ const theme = resolveStatusBarTheme(ctx);
649
+ if (!theme) return;
637
650
  ctx.ui.setStatus(
638
651
  statusKey,
639
- buildTelegramStatusBarText(
640
- ctx.ui.theme,
641
- deps.getStatusBarState(ctx, error),
642
- ),
652
+ buildTelegramStatusBarText(theme, deps.getStatusBarState(ctx, error)),
643
653
  );
644
654
  },
645
655
  getStatusLines: (options) =>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llblab/pi-telegram",
3
- "version": "0.39.3",
3
+ "version": "0.39.4",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llblab/pi-kit",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -43,7 +43,7 @@
43
43
  "@llblab/pi-actors": "0.50.0",
44
44
  "@llblab/pi-codex-usage": "0.9.3",
45
45
  "@llblab/pi-grow-loop": "0.7.3",
46
- "@llblab/pi-telegram": "0.39.3"
46
+ "@llblab/pi-telegram": "0.39.4"
47
47
  },
48
48
  "bundledDependencies": [
49
49
  "@llblab/pi-actors",