@codexstar/pi-listen 1.0.6 → 1.0.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.
@@ -27,12 +27,11 @@ import type {
27
27
  ExtensionCommandContext,
28
28
  MessageRenderOptions,
29
29
  } from "@mariozechner/pi-coding-agent";
30
- import type { CustomMessage } from "@mariozechner/pi-coding-agent/dist/core/messages.js";
30
+ import type { Theme } from "@mariozechner/pi-coding-agent";
31
31
  import { streamSimple } from "@mariozechner/pi-ai";
32
32
  import type { AssistantMessageEvent } from "@mariozechner/pi-ai";
33
33
  import { isKeyRelease, isKeyRepeat, matchesKey } from "@mariozechner/pi-tui";
34
34
  import type { Component } from "@mariozechner/pi-tui";
35
- import type { Theme } from "@mariozechner/pi-coding-agent/dist/modes/interactive/theme/theme.js";
36
35
  import { spawn, spawnSync, type ChildProcess } from "node:child_process";
37
36
  import * as fs from "node:fs";
38
37
  import * as net from "node:net";
@@ -756,7 +755,7 @@ export default function (pi: ExtensionAPI) {
756
755
 
757
756
  // ─── BTW Message Renderer ────────────────────────────────────────────────
758
757
 
759
- pi.registerMessageRenderer("btw", (message: CustomMessage<BtwExchange>, _options: MessageRenderOptions, _theme: Theme): Component | undefined => {
758
+ pi.registerMessageRenderer<BtwExchange>("btw", (message, _options: MessageRenderOptions, _theme: Theme): Component | undefined => {
760
759
  const ex = message.details;
761
760
  if (!ex) return undefined;
762
761
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codexstar/pi-listen",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Voice input, first-run onboarding, and side-channel BTW conversations for Pi",
5
5
  "type": "module",
6
6
  "keywords": [