@hyperdreamer/pi-webui 1.11.1 → 1.11.3

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 (54) hide show
  1. package/dist/client/assets/{CodeViewer-C0XQ5fEe.js → CodeViewer-GfKIAkNq.js} +1 -1
  2. package/dist/client/assets/{UnifiedDiffViewer-BGXZn_Bc.js → UnifiedDiffViewer-BsvPnGNF.js} +1 -1
  3. package/dist/client/assets/{index-CkfjnumG.js → index-DyLRACqU.js} +707 -475
  4. package/dist/client/index.html +1 -1
  5. package/dist/pi-webui-plugins/workspace-learned-skills/learnedSkillsData.js +2 -0
  6. package/dist/pi-webui-plugins/workspace-learned-skills/learnedSkillsPanelElement.js +420 -0
  7. package/dist/pi-webui-plugins/workspace-learned-skills/learnedSkillsPanelLayout.js +68 -0
  8. package/dist/pi-webui-plugins/workspace-learned-skills/package.json +9 -0
  9. package/dist/pi-webui-plugins/workspace-learned-skills/pi-webui-plugin.js +48 -0
  10. package/dist/server/app.js +31 -3
  11. package/dist/server/app.js.map +1 -1
  12. package/dist/server/learnedSkills/learnedSkillCatalog.js +66 -0
  13. package/dist/server/learnedSkills/learnedSkillCatalog.js.map +1 -0
  14. package/dist/server/learnedSkills/learnedSkillProvider.js +2 -0
  15. package/dist/server/learnedSkills/learnedSkillProvider.js.map +1 -0
  16. package/dist/server/learnedSkills/learnedSkillsRoutes.js +25 -0
  17. package/dist/server/learnedSkills/learnedSkillsRoutes.js.map +1 -0
  18. package/dist/server/learnedSkills/piHermesLearnedSkillProvider.js +123 -0
  19. package/dist/server/learnedSkills/piHermesLearnedSkillProvider.js.map +1 -0
  20. package/dist/server/learnedSkills/skillDocumentParser.js +42 -0
  21. package/dist/server/learnedSkills/skillDocumentParser.js.map +1 -0
  22. package/dist/server/memory/piHermesMemoryProvider.js +9 -7
  23. package/dist/server/memory/piHermesMemoryProvider.js.map +1 -1
  24. package/dist/server/piHermes/projectIdentity.js +103 -0
  25. package/dist/server/piHermes/projectIdentity.js.map +1 -0
  26. package/dist/server/projects/projectService.js +21 -2
  27. package/dist/server/projects/projectService.js.map +1 -1
  28. package/dist/server/sessiond.js +30 -7
  29. package/dist/server/sessiond.js.map +1 -1
  30. package/dist/server/sessions/piSessionManagerGateway.js +17 -12
  31. package/dist/server/sessions/piSessionManagerGateway.js.map +1 -1
  32. package/dist/server/storage/projectStore.js +152 -26
  33. package/dist/server/storage/projectStore.js.map +1 -1
  34. package/dist/server/usage/projectUsageBuckets.js +43 -0
  35. package/dist/server/usage/projectUsageBuckets.js.map +1 -0
  36. package/dist/server/usage/projectUsageRoutes.js +41 -0
  37. package/dist/server/usage/projectUsageRoutes.js.map +1 -0
  38. package/dist/server/usage/projectUsageService.js +85 -0
  39. package/dist/server/usage/projectUsageService.js.map +1 -0
  40. package/dist/server/usage/projectUsageSessionHeaders.js +41 -0
  41. package/dist/server/usage/projectUsageSessionHeaders.js.map +1 -0
  42. package/dist/server/usage/sessionUsageCacheStore.js +143 -0
  43. package/dist/server/usage/sessionUsageCacheStore.js.map +1 -0
  44. package/dist/server/usage/sessionUsageScanner.js +150 -0
  45. package/dist/server/usage/sessionUsageScanner.js.map +1 -0
  46. package/dist/shared/apiTypes.d.ts +46 -0
  47. package/dist/shared/apiTypes.js +1 -0
  48. package/dist/shared/apiTypes.js.map +1 -1
  49. package/dist/shared/capabilities.js +2 -0
  50. package/dist/shared/capabilities.js.map +1 -1
  51. package/dist/shared/federatedRoutes.js +3 -0
  52. package/dist/shared/federatedRoutes.js.map +1 -1
  53. package/docs/plugins.md +20 -1
  54. package/package.json +1 -1
package/docs/plugins.md CHANGED
@@ -207,7 +207,7 @@ Built-in plugins can be managed from **Settings → PI WEBUI plugins** or with t
207
207
  **Plugin id:** `workspace-memory`
208
208
  **What it does:** adds a read-only **Memory** Activity Rail activity. It is **Rail-only**: it does not contribute a workspace panel. It reads `pi-hermes-memory`-compatible data through PI WEBUI and never writes, creates, edits, or deletes memories.
209
209
 
210
- Select the circular **Memory** Rail control to open a host-owned detail dialog. The dialog shows independently collapsible **Global memory** and **Project-specific memory** groups. Project-specific memory contains entries only for the selected workspace project. Empty or missing memory data appears as a scoped empty state. An unavailable project-specific request displays a scoped **Project-specific unavailable** state while **Global memory** remains available. A failed global-memory request is presented as a retryable error in the detail view.
210
+ Select the circular **Memory** Rail control to open a host-owned detail dialog. The dialog shows independently collapsible **Global memory** and **Project-specific memory** groups. Project-specific memory contains entries only for the selected workspace project. Project scope resolves by repository root, so linked Git worktrees share the repository-root hermes identity instead of being treated as separate projects. Empty or missing memory data appears as a scoped empty state. An unavailable project-specific request displays a scoped **Project-specific unavailable** state while **Global memory** remains available. A failed global-memory request is presented as a retryable error in the detail view.
211
211
 
212
212
  With a workspace selected, the Memory activity remains visible while memory loads, when data is available, and if a memory request fails. It is hidden only after the provider confirms that the whole memory capability is unavailable. A project-specific unavailable response is a separate scoped detail state; it does not mean the whole provider is unavailable. The count badge appears only for data with one or more entries, so it is omitted in all non-data states and for zero data; when shown, it totals global and project-specific memory entries. PI WEBUI refreshes the badge immediately after a selected project or workspace change and then checks approximately every 30 seconds. This is polling; PI WEBUI does not promise instant or realtime updates.
213
213
 
@@ -221,6 +221,25 @@ Memory is bundled with PI WEBUI and enabled by default. To disable it, use **Set
221
221
  }
222
222
  ```
223
223
 
224
+ ### Learned Skills
225
+
226
+ **Plugin id:** `workspace-learned-skills`
227
+ **What it does:** adds a read-only **Learned Skills** Activity Rail activity. It is **Rail-only**: it does not contribute a workspace panel. It reviews global and project learned skills generated by compatible Pi packages through PI WEBUI and cannot add, edit, delete, install, update, enable, or disable skills.
228
+
229
+ Select the circular **Learned Skills** Rail control to open a host-owned detail dialog with a resizable list/detail view. The list groups **Project skills** and **Global skills**; selecting a skill shows its description, file path, version, and dates in the right-hand pane. Drag the separator between the list and the details to resize the list, or use the separator's arrow, Home, and End keys. Below 760px width the panel switches to single-column list/detail navigation with a back control.
230
+
231
+ The Learned Skills Rail control appears while a compatible provider loads, when data is available, and if a request fails. It is hidden only after every learned-skill provider reports the capability unavailable. The count badge appears only when data has one or more skills; when shown, it totals project and global skills. PI WEBUI refreshes the list immediately after a selected workspace or machine change and then checks approximately every 30 seconds. This is polling; PI WEBUI does not promise instant or realtime updates. After polling stops because every provider is unavailable, a later skill install or change is detected only after a browser reload.
232
+
233
+ Learned Skills is bundled with PI WEBUI and enabled by default. To disable it, use **Settings → PI WEBUI plugins** or set:
234
+
235
+ ```json
236
+ {
237
+ "plugins": {
238
+ "workspace-learned-skills": { "enabled": false }
239
+ }
240
+ }
241
+ ```
242
+
224
243
  ### Updates
225
244
 
226
245
  **Plugin id:** `updates`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperdreamer/pi-webui",
3
- "version": "1.11.1",
3
+ "version": "1.11.3",
4
4
  "description": "Web UI for persistent Pi Coding Agent sessions in real workspaces.",
5
5
  "license": "MIT",
6
6
  "author": "Federico Jaramillo Martinez and HyperDreamer",