@yahaha-studio/kichi-forwarder 0.0.1-alpha.51 → 0.0.1-alpha.52

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.
Files changed (2) hide show
  1. package/index.ts +5 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -50,7 +50,11 @@ const STATE_PATH = path.join(KICHI_WORLD_DIR, "state.json");
50
50
  const MAX_NOTEBOARD_TEXT_LENGTH = 200;
51
51
  const MAX_MESSAGE_RECEIVED_PREVIEW_WIDTH = 20;
52
52
  const MAX_AGENT_END_PREVIEW_WIDTH = 10;
53
- const MESSAGE_RECEIVED_ELLIPSIS = "...";
53
+ const MESSAGE_RECEIVED_ELLIPSIS = "...";
54
+ let cachedStaticConfig: KichiStaticConfig | null = null;
55
+ let cachedStaticConfigMtime = 0;
56
+ let service: KichiForwarderService | null = null;
57
+ let pluginApi: OpenClawPluginApi | null = null;
54
58
 
55
59
  function isAlbumConfig(value: unknown): value is Album {
56
60
  if (!value || typeof value !== "object") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yahaha-studio/kichi-forwarder",
3
- "version": "0.0.1-alpha.51",
3
+ "version": "0.0.1-alpha.52",
4
4
  "description": "Forward OpenClaw agent events to external WebSocket server for visualization",
5
5
  "type": "module",
6
6
  "main": "index.ts",