@zhushanwen/pi-pending-notifications 0.8.4 → 0.8.5

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/package.json +1 -1
  2. package/src/index.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhushanwen/pi-pending-notifications",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "description": "Cross-extension async operation registration/query mechanism for Pi.",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/src/index.ts CHANGED
@@ -225,7 +225,7 @@ export default function pendingNotificationsExtension(pi: ExtensionAPI): void {
225
225
  name: "pending_notifications",
226
226
  label: "Pending Notifications",
227
227
  description:
228
- "查询当前活跃的异步操作(workflow/subagent/bash 后台任务与 session(managed session 债权))。action=count 返回数量;action=list 返回列表。状态由 EventBus + session entries 维护,无需手动注册。",
228
+ "查询当前活跃的异步操作(workflow/subagent/bash 后台任务与 session(managed session 债权))。action=count 返回数量;action=list 返回列表。",
229
229
  parameters: PendingNotificationsParams,
230
230
  execute: async (_toolCallId: string, params: { action: "count" | "list" }, _signal: AbortSignal | undefined, _onUpdate: unknown, ctx: ExtensionContext): Promise<{ content: { type: "text"; text: string }[]; details: PendingToolDetails }> => {
231
231
  // entries 现算(单一权威源):与 goal/subagent-workflow 同一原语。跨 session