@aiti-ai/aiti-event-bus 0.1.7 → 0.1.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.
- package/README.md +19 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# aiti-event-bus · 页面事件总线
|
|
2
2
|
|
|
3
|
+
## 来源 · Origin
|
|
4
|
+
|
|
5
|
+
本包是 **aiti** 生态的组成部分——以 [pi](https://pi.dev) 为引擎的个人 AI 开发工作台与本地调试注入生态:**aiti-agent**(自托管 Web 工作台,基于开源项目 [pi-web](https://github.com/aiti-ai/pi-web) 构建,浏览器为主操作面)+ 各开发工具内的调试注入(aiti-devtools)+ 丰富的扩展体系。
|
|
6
|
+
|
|
7
|
+
This package is part of the **aiti** ecosystem — a personal AI development workbench powered by [pi](https://pi.dev): **aiti-agent** (a self-hosted web workbench built on the open-source [pi-web](https://github.com/aiti-ai/pi-web)) plus debug injection into mainstream dev tools (aiti-devtools) and a rich extension system.
|
|
8
|
+
|
|
9
|
+
**English**: The page event bus for pi-web: takes over __piPageEvents, v0.2 topic subscriptions with server-side filtering, publish-local for high-frequency frames, load-priority guarantee and STALE_CONN silent rebuild.
|
|
10
|
+
|
|
11
|
+
- 工作台 / workbench: <https://github.com/aiti-ai/pi-web>
|
|
12
|
+
- 生态仓库 / monorepo: <https://github.com/aiti-ai/aiti-ai>
|
|
13
|
+
- 官网 / site: <https://aiti.pw>
|
|
14
|
+
|
|
15
|
+
|
|
3
16
|
> ❝ 一条总线,全部帧。 ❞
|
|
4
17
|
|
|
5
18
|
页面事件总线归口扩展(依赖注入方案 **P0.5**,`docs/pi-web-ext-dependency-injection-plan.md` §4-E,2026-09-06 拍板):总线实现归本扩展持有,core `lib/agent-page-events.ts` 不删不改、退为兜底宿主 + core 自用通道(SessionSidebar running)。
|
|
@@ -71,3 +84,9 @@ ctx.services?.get("aiti-event-bus.publish")?.publish("my:evt", { ... });
|
|
|
71
84
|
```
|
|
72
85
|
|
|
73
86
|
稳态拓扑:2 条 SSE——core route(SessionSidebar 自用 running)+ 本扩展 `/events`(其余页面消费,含 aiti-cmd 终端流的主题订阅);消费方全部迁 ctx 后 core route 仅剩 SessionSidebar 自用。
|
|
87
|
+
|
|
88
|
+
## 文档 · Documentation
|
|
89
|
+
|
|
90
|
+
- 中文完整文档(aiti-docs): <https://aiti.pw/extensions/aiti-event-bus.html>
|
|
91
|
+
- English docs: <https://aiti.pw/en/extensions/aiti-event-bus.html>
|
|
92
|
+
- 扩展注册表 / registry: <https://aiti.pw/extensions.html> · machine-readable <https://aiti.pw/extensions.json>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiti-ai/aiti-event-bus",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "页面事件总线归口(链式接管 __piPageEvents + 全帧 SSE + publish/subscribe 服务出口)",
|
|
5
5
|
"soul": "一条总线,全部帧。",
|
|
6
6
|
"scripts": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"aitiExtProtocol": "1.0",
|
|
11
11
|
"license": "MIT",
|
|
12
|
-
"contentHash": "
|
|
12
|
+
"contentHash": "4d0e90b3884f5fb0",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git+https://github.com/aiti-ai/aiti-ai.git",
|