@pasko70/pibo 1.9.2 → 1.9.4

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 (120) hide show
  1. package/README.md +183 -183
  2. package/context/codex-base-prompt.md +148 -148
  3. package/context/compute-worker.md +23 -23
  4. package/context/pibo-compaction-prompt.md +100 -100
  5. package/context/pibo-native-tooling.md +18 -18
  6. package/context/pibo-system-prompt.md +77 -77
  7. package/dist/apps/chat/agent-store.js +248 -248
  8. package/dist/apps/chat/data/project-service.js +168 -168
  9. package/dist/apps/chat/data/read-state-service.js +18 -18
  10. package/dist/apps/chat/data/session-query-service.js +25 -25
  11. package/dist/apps/chat/data/timeline-query-service.js +14 -14
  12. package/dist/apps/chat/static-assets.js +854 -854
  13. package/dist/apps/chat/workflow-persistence.js +255 -255
  14. package/dist/apps/chat-ui/assets/{dist-CjYtD7ZT.js → dist-9a5adSX0.js} +1 -1
  15. package/dist/apps/chat-ui/assets/{dist-9lsp1UpA.js → dist-BJftG-mN.js} +1 -1
  16. package/dist/apps/chat-ui/assets/{dist-2KdPXbMT.js → dist-BmIDFlGO.js} +1 -1
  17. package/dist/apps/chat-ui/assets/{dist-BWbWIOcD.js → dist-CCNYUBAQ.js} +1 -1
  18. package/dist/apps/chat-ui/assets/{dist-Cge8JklW.js → dist-Cmr0ZAV7.js} +1 -1
  19. package/dist/apps/chat-ui/assets/{dist-DFhhiR8M.js → dist-Crc-B1sZ.js} +1 -1
  20. package/dist/apps/chat-ui/assets/{dist-5GM30SQK.js → dist-DHPwmWcR.js} +1 -1
  21. package/dist/apps/chat-ui/assets/{dist-C-5u2QIS.js → dist-U3lqQ0aI.js} +1 -1
  22. package/dist/apps/chat-ui/assets/{dist-Idz5kzy8.js → dist-_poCjCWK.js} +1 -1
  23. package/dist/apps/chat-ui/assets/{dist-Etxmpyxg.js → dist-ffW7mw39.js} +1 -1
  24. package/dist/apps/chat-ui/assets/{dist-BYKMZlI0.js → dist-w2d_3LSu.js} +1 -1
  25. package/dist/apps/chat-ui/assets/{index-BqD_bm7z.js → index-rXMhSu4U.js} +9 -9
  26. package/dist/apps/chat-ui/index.html +17 -17
  27. package/dist/apps/chat-ui/manifest.webmanifest +25 -25
  28. package/dist/apps/chat-ui/sw.js +47 -47
  29. package/dist/apps/chat-vscode-web/assets/index-BAMxIaI_.js +41 -0
  30. package/dist/apps/chat-vscode-web/index.html +13 -13
  31. package/dist/apps/cli-ui/cliSessionsCommand.js +23 -23
  32. package/dist/apps/context-files-ui/index.html +11 -11
  33. package/dist/cli.js +39 -39
  34. package/dist/compute/cli.js +54 -54
  35. package/dist/core/session-router.js +5 -2
  36. package/dist/cron/cli.js +15 -15
  37. package/dist/cron/store.js +49 -49
  38. package/dist/data/cli.js +23 -23
  39. package/dist/data/event-log.js +23 -23
  40. package/dist/data/message-store.js +20 -20
  41. package/dist/data/navigation-store.js +9 -9
  42. package/dist/data/observation-store.js +4 -4
  43. package/dist/data/payload-store.js +17 -17
  44. package/dist/data/schema.js +431 -431
  45. package/dist/data/session-store.js +4 -4
  46. package/dist/data/telemetry-queries.js +54 -54
  47. package/dist/data/telemetry.js +197 -197
  48. package/dist/debug/events.js +12 -12
  49. package/dist/debug/failures.js +6 -6
  50. package/dist/debug/index.js +227 -227
  51. package/dist/debug/messages.js +6 -6
  52. package/dist/debug/pty.js +124 -124
  53. package/dist/debug/session.js +29 -29
  54. package/dist/debug/tools.js +5 -5
  55. package/dist/debug/web-snapshot-browser-scripts.js +294 -294
  56. package/dist/debug/web-streaming-browser-library.js +925 -925
  57. package/dist/debug/web-streaming-browser-scripts.js +232 -232
  58. package/dist/debug/web-streaming-provider-telemetry.js +4 -4
  59. package/dist/debug/web.js +93 -93
  60. package/dist/gateway/cli.js +19 -19
  61. package/dist/mcp/config-command.js +53 -53
  62. package/dist/mcp/index.js +21 -21
  63. package/dist/mcp/registry.js +11 -11
  64. package/dist/pi-packages/cli.js +11 -11
  65. package/dist/plugins/context-files-store.js +110 -110
  66. package/dist/plugins/context-files.js +4 -4
  67. package/dist/ralph/cli.js +18 -18
  68. package/dist/ralph/templates.js +140 -140
  69. package/dist/reliability/store.js +226 -226
  70. package/dist/session-ui/sessionActivity.js +30 -0
  71. package/dist/sessions/pibo-data-store.js +16 -16
  72. package/dist/sessions/sqlite-store.js +53 -53
  73. package/dist/setup/cli.js +58 -58
  74. package/dist/signals/projector.js +26 -11
  75. package/dist/signals/registry.js +41 -0
  76. package/dist/tools/agent-browser-wrapper.js +80 -80
  77. package/dist/tools/browser-use-cdp.js +12 -12
  78. package/dist/tools/browser-use-wrapper.js +762 -762
  79. package/dist/tools/guides.js +538 -538
  80. package/dist/tools/index.js +99 -99
  81. package/dist/tools/runtime/node-worker-source.js +205 -205
  82. package/dist/tools/runtime/python-worker-source.js +177 -177
  83. package/dist/vscode/cli.js +9 -9
  84. package/dist/web-annotations/cdp.js +900 -900
  85. package/dist/web-annotations/store.js +96 -96
  86. package/docs/README.md +23 -23
  87. package/docs/ops/install-developer-host.md +112 -112
  88. package/docs/ops/install-user-host.md +96 -96
  89. package/docs/ops/upgrade-user-to-developer-host.md +69 -69
  90. package/docs/ops/vscode-extension-release.md +160 -160
  91. package/package.json +95 -95
  92. package/skills/builtin/graphify/SKILL.md +52 -52
  93. package/skills/builtin/pi-agent-harness/SKILL.md +319 -319
  94. package/skills/builtin/pi-agent-harness/agents/openai.yaml +4 -4
  95. package/skills/builtin/pibo-docker-system/SKILL.md +170 -170
  96. package/skills/builtin/pibo-spec-writing/SKILL.md +330 -330
  97. package/skills/builtin/prd/SKILL.md +143 -143
  98. package/skills/builtin/ralph-loop/SKILL.md +359 -359
  99. package/skills/builtin/ralph-prd-json/SKILL.md +123 -123
  100. package/skills/builtin/skill-creator/LICENSE.txt +201 -201
  101. package/skills/builtin/skill-creator/SKILL.md +513 -513
  102. package/skills/builtin/skill-creator/agents/analyzer.md +274 -274
  103. package/skills/builtin/skill-creator/agents/comparator.md +202 -202
  104. package/skills/builtin/skill-creator/agents/grader.md +223 -223
  105. package/skills/builtin/skill-creator/assets/eval_review.html +146 -146
  106. package/skills/builtin/skill-creator/eval-viewer/generate_review.py +471 -471
  107. package/skills/builtin/skill-creator/eval-viewer/viewer.html +1325 -1325
  108. package/skills/builtin/skill-creator/references/schemas.md +430 -430
  109. package/skills/builtin/skill-creator/scripts/aggregate_benchmark.py +401 -401
  110. package/skills/builtin/skill-creator/scripts/generate_report.py +326 -326
  111. package/skills/builtin/skill-creator/scripts/improve_description.py +247 -247
  112. package/skills/builtin/skill-creator/scripts/package_skill.py +136 -136
  113. package/skills/builtin/skill-creator/scripts/quick_validate.py +102 -102
  114. package/skills/builtin/skill-creator/scripts/run_eval.py +310 -310
  115. package/skills/builtin/skill-creator/scripts/run_loop.py +328 -328
  116. package/skills/builtin/skill-creator/scripts/utils.py +47 -47
  117. package/skills/builtin/web-annotations/SKILL.md +93 -93
  118. package/src/mcp/LICENSE.mcp-cli +21 -21
  119. package/dist/apps/chat-vscode-web/assets/index-Cst9OUkC.js +0 -41
  120. package/dist/session-ui/activeTurn.js +0 -126
@@ -1,143 +1,143 @@
1
- ---
2
- name: prd
3
- description: 'Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.'
4
- license: MIT
5
- ---
6
-
7
- # Product Requirements Document (PRD)
8
-
9
- ## Overview
10
-
11
- Design comprehensive, production-grade Product Requirements Documents (PRDs) that bridge the gap between business vision and technical execution. This skill works for modern software systems, ensuring that requirements are clearly defined.
12
-
13
- ## When to Use
14
-
15
- Use this skill when:
16
-
17
- - Starting a new product or feature development cycle
18
- - Translating a vague idea into a concrete technical specification
19
- - Defining requirements for AI-powered features
20
- - Stakeholders need a unified "source of truth" for project scope
21
- - User asks to "write a PRD", "document requirements", or "plan a feature"
22
-
23
- ---
24
-
25
- ## Operational Workflow
26
-
27
- ### Phase 1: Discovery (The Interview)
28
-
29
- Before writing a single line of the PRD, you **MUST** interrogate the user to fill knowledge gaps. Do not assume context.
30
-
31
- **Ask about:**
32
-
33
- - **The Core Problem**: Why are we building this now?
34
- - **Success Metrics**: How do we know it worked?
35
- - **Constraints**: Budget, tech stack, or deadline?
36
-
37
- ### Phase 2: Analysis & Scoping
38
-
39
- Synthesize the user's input. Identify dependencies and hidden complexities.
40
-
41
- - Map out the **User Flow**.
42
- - Define **Non-Goals** to protect the timeline.
43
-
44
- ### Phase 3: Technical Drafting
45
-
46
- Generate the document using the **Strict PRD Schema** below.
47
-
48
- ---
49
-
50
- ## PRD Quality Standards
51
-
52
- ### Requirements Quality
53
-
54
- Use concrete, measurable criteria. Avoid "fast", "easy", or "intuitive".
55
-
56
- ```diff
57
- # Vague (BAD)
58
- - The search should be fast and return relevant results.
59
- - The UI must look modern and be easy to use.
60
-
61
- # Concrete (GOOD)
62
- + The search must return results within 200ms for a 10k record dataset.
63
- + The search algorithm must achieve >= 85% Precision@10 in benchmark evals.
64
- + The UI must follow the 'Vercel/Next.js' design system and achieve 100% Lighthouse Accessibility score.
65
- ```
66
-
67
- ---
68
-
69
- ## Strict PRD Schema
70
-
71
- You **MUST** follow this exact structure for the output:
72
-
73
- ### 1. Executive Summary
74
-
75
- - **Problem Statement**: 1-2 sentences on the pain point.
76
- - **Proposed Solution**: 1-2 sentences on the fix.
77
- - **Success Criteria**: 3-5 measurable KPIs.
78
-
79
- ### 2. User Experience & Functionality
80
-
81
- - **User Personas**: Who is this for?
82
- - **User Stories**: `As a [user], I want to [action] so that [benefit].`
83
- - **Acceptance Criteria**: Bulleted list of "Done" definitions for each story.
84
- - **Non-Goals**: What are we NOT building?
85
-
86
- ### 3. AI System Requirements (If Applicable)
87
-
88
- - **Tool Requirements**: What tools and APIs are needed?
89
- - **Evaluation Strategy**: How to measure output quality and accuracy.
90
-
91
- ### 4. Technical Specifications
92
-
93
- - **Architecture Overview**: Data flow and component interaction.
94
- - **Integration Points**: APIs, DBs, and Auth.
95
- - **Security & Privacy**: Data handling and compliance.
96
-
97
- ### 5. Risks & Roadmap
98
-
99
- - **Phased Rollout**: MVP -> v1.1 -> v2.0.
100
- - **Technical Risks**: Latency, cost, or dependency failures.
101
-
102
- ---
103
-
104
- ## Implementation Guidelines
105
-
106
- ### DO (Always)
107
-
108
- - **Define Testing**: For AI systems, specify how to test and validate output quality.
109
- - **Iterate**: Present a draft and ask for feedback on specific sections.
110
-
111
- ### DON'T (Avoid)
112
-
113
- - **Skip Discovery**: Never write a PRD without asking at least 2 clarifying questions first.
114
- - **Hallucinate Constraints**: If the user didn't specify a tech stack, ask or label it as `TBD`.
115
-
116
- ---
117
-
118
- ## Example: Intelligent Search System
119
-
120
- ### 1. Executive Summary
121
-
122
- **Problem**: Users struggle to find specific documentation snippets in massive repositories.
123
- **Solution**: An intelligent search system that provides direct answers with source citations.
124
- **Success**:
125
-
126
- - Reduce search time by 50%.
127
- - Citation accuracy >= 95%.
128
-
129
- ### 2. User Stories
130
-
131
- - **Story**: As a developer, I want to ask natural language questions so I don't have to guess keywords.
132
- - **AC**:
133
- - Supports multi-turn clarification.
134
- - Returns code blocks with "Copy" button.
135
-
136
- ### 3. AI System Architecture
137
-
138
- - **Tools Required**: `codesearch`, `grep`, `webfetch`.
139
-
140
- ### 4. Evaluation
141
-
142
- - **Benchmark**: Test with 50 common developer questions.
143
- - **Pass Rate**: 90% must match expected citations.
1
+ ---
2
+ name: prd
3
+ description: 'Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.'
4
+ license: MIT
5
+ ---
6
+
7
+ # Product Requirements Document (PRD)
8
+
9
+ ## Overview
10
+
11
+ Design comprehensive, production-grade Product Requirements Documents (PRDs) that bridge the gap between business vision and technical execution. This skill works for modern software systems, ensuring that requirements are clearly defined.
12
+
13
+ ## When to Use
14
+
15
+ Use this skill when:
16
+
17
+ - Starting a new product or feature development cycle
18
+ - Translating a vague idea into a concrete technical specification
19
+ - Defining requirements for AI-powered features
20
+ - Stakeholders need a unified "source of truth" for project scope
21
+ - User asks to "write a PRD", "document requirements", or "plan a feature"
22
+
23
+ ---
24
+
25
+ ## Operational Workflow
26
+
27
+ ### Phase 1: Discovery (The Interview)
28
+
29
+ Before writing a single line of the PRD, you **MUST** interrogate the user to fill knowledge gaps. Do not assume context.
30
+
31
+ **Ask about:**
32
+
33
+ - **The Core Problem**: Why are we building this now?
34
+ - **Success Metrics**: How do we know it worked?
35
+ - **Constraints**: Budget, tech stack, or deadline?
36
+
37
+ ### Phase 2: Analysis & Scoping
38
+
39
+ Synthesize the user's input. Identify dependencies and hidden complexities.
40
+
41
+ - Map out the **User Flow**.
42
+ - Define **Non-Goals** to protect the timeline.
43
+
44
+ ### Phase 3: Technical Drafting
45
+
46
+ Generate the document using the **Strict PRD Schema** below.
47
+
48
+ ---
49
+
50
+ ## PRD Quality Standards
51
+
52
+ ### Requirements Quality
53
+
54
+ Use concrete, measurable criteria. Avoid "fast", "easy", or "intuitive".
55
+
56
+ ```diff
57
+ # Vague (BAD)
58
+ - The search should be fast and return relevant results.
59
+ - The UI must look modern and be easy to use.
60
+
61
+ # Concrete (GOOD)
62
+ + The search must return results within 200ms for a 10k record dataset.
63
+ + The search algorithm must achieve >= 85% Precision@10 in benchmark evals.
64
+ + The UI must follow the 'Vercel/Next.js' design system and achieve 100% Lighthouse Accessibility score.
65
+ ```
66
+
67
+ ---
68
+
69
+ ## Strict PRD Schema
70
+
71
+ You **MUST** follow this exact structure for the output:
72
+
73
+ ### 1. Executive Summary
74
+
75
+ - **Problem Statement**: 1-2 sentences on the pain point.
76
+ - **Proposed Solution**: 1-2 sentences on the fix.
77
+ - **Success Criteria**: 3-5 measurable KPIs.
78
+
79
+ ### 2. User Experience & Functionality
80
+
81
+ - **User Personas**: Who is this for?
82
+ - **User Stories**: `As a [user], I want to [action] so that [benefit].`
83
+ - **Acceptance Criteria**: Bulleted list of "Done" definitions for each story.
84
+ - **Non-Goals**: What are we NOT building?
85
+
86
+ ### 3. AI System Requirements (If Applicable)
87
+
88
+ - **Tool Requirements**: What tools and APIs are needed?
89
+ - **Evaluation Strategy**: How to measure output quality and accuracy.
90
+
91
+ ### 4. Technical Specifications
92
+
93
+ - **Architecture Overview**: Data flow and component interaction.
94
+ - **Integration Points**: APIs, DBs, and Auth.
95
+ - **Security & Privacy**: Data handling and compliance.
96
+
97
+ ### 5. Risks & Roadmap
98
+
99
+ - **Phased Rollout**: MVP -> v1.1 -> v2.0.
100
+ - **Technical Risks**: Latency, cost, or dependency failures.
101
+
102
+ ---
103
+
104
+ ## Implementation Guidelines
105
+
106
+ ### DO (Always)
107
+
108
+ - **Define Testing**: For AI systems, specify how to test and validate output quality.
109
+ - **Iterate**: Present a draft and ask for feedback on specific sections.
110
+
111
+ ### DON'T (Avoid)
112
+
113
+ - **Skip Discovery**: Never write a PRD without asking at least 2 clarifying questions first.
114
+ - **Hallucinate Constraints**: If the user didn't specify a tech stack, ask or label it as `TBD`.
115
+
116
+ ---
117
+
118
+ ## Example: Intelligent Search System
119
+
120
+ ### 1. Executive Summary
121
+
122
+ **Problem**: Users struggle to find specific documentation snippets in massive repositories.
123
+ **Solution**: An intelligent search system that provides direct answers with source citations.
124
+ **Success**:
125
+
126
+ - Reduce search time by 50%.
127
+ - Citation accuracy >= 95%.
128
+
129
+ ### 2. User Stories
130
+
131
+ - **Story**: As a developer, I want to ask natural language questions so I don't have to guess keywords.
132
+ - **AC**:
133
+ - Supports multi-turn clarification.
134
+ - Returns code blocks with "Copy" button.
135
+
136
+ ### 3. AI System Architecture
137
+
138
+ - **Tools Required**: `codesearch`, `grep`, `webfetch`.
139
+
140
+ ### 4. Evaluation
141
+
142
+ - **Benchmark**: Test with 50 common developer questions.
143
+ - **Pass Rate**: 90% must match expected citations.