@a-t-h-i/bot-lobby 0.6.61 → 0.6.62
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 +3 -7
- package/package.json +2 -1
- package/prompts/designer.md +25 -15
- package/prompts/master.md +284 -491
- package/prompts/panel.md +7 -0
- package/prompts/planner.md +15 -4
- package/prompts/qa.md +5 -1
- package/prompts/worker.md +0 -7
- package/scripts/builtin/affected_packages.mjs +106 -0
- package/scripts/builtin/check_changed.mjs +51 -0
- package/scripts/builtin/check_contract_breakage.mjs +118 -0
- package/scripts/builtin/circular_dependency_check.mjs +79 -0
- package/scripts/builtin/code_duplication_check.mjs +86 -0
- package/scripts/builtin/diff_summary.mjs +62 -0
- package/scripts/builtin/failure_digest.mjs +107 -0
- package/scripts/builtin/find_generated_files.mjs +79 -0
- package/scripts/builtin/find_symbol.mjs +81 -0
- package/scripts/builtin/find_test_fixtures.mjs +73 -0
- package/scripts/builtin/find_tests_for.mjs +12 -0
- package/scripts/builtin/lib/common.mjs +267 -0
- package/scripts/builtin/outline_file.mjs +77 -0
- package/scripts/builtin/project_commands.mjs +49 -0
- package/scripts/builtin/recent_changes.mjs +14 -0
- package/scripts/builtin/repo_map.mjs +65 -0
- package/scripts/builtin/run_changed_tests.mjs +48 -0
- package/src/delivery/transport.ts +1 -1
- package/src/desk/client-extension.ts +1 -31
- package/src/desk/ipc.ts +1 -11
- package/src/desk/session.ts +4 -101
- package/src/execution/agent-runner.ts +50 -8
- package/src/execution/assigned-session.ts +263 -0
- package/src/execution/assignment-discovery.ts +128 -0
- package/src/execution/assignment-policy.ts +46 -0
- package/src/execution/assignment.ts +175 -0
- package/src/execution/delegation.ts +9 -94
- package/src/execution/pi-runner.ts +99 -9
- package/src/harness/instructions.ts +1 -1
- package/src/index.ts +3 -0
- package/src/knowledge/design-record.ts +394 -0
- package/src/knowledge/file-notes.ts +36 -8
- package/src/lobby/ask.ts +6 -0
- package/src/lobby/exec.ts +28 -0
- package/src/lobby/host.ts +1 -11
- package/src/lobby/planner.ts +50 -124
- package/src/lobby/prompts.ts +1 -7
- package/src/lobby/runtime.ts +2 -26
- package/src/lobby/service.ts +25 -23
- package/src/lobby/topics.ts +0 -2
- package/src/master/evidence-freshness.ts +96 -0
- package/src/master/master.ts +248 -74
- package/src/master/scout-cache.ts +1 -1
- package/src/master/scout-lock.ts +44 -0
- package/src/master/scout-prefetch.ts +78 -0
- package/src/pi/activity.ts +2 -0
- package/src/pi/assignment-guard.ts +157 -0
- package/src/pi/delegation.ts +2 -21
- package/src/pi/model-support.ts +0 -6
- package/src/pi/start-task.ts +18 -7
- package/src/pi/tools.ts +41 -8
- package/src/roles/scout.ts +3 -1
- package/src/roles/worker.ts +107 -5
- package/src/schemas/configuration.ts +11 -45
- package/src/schemas/findings.ts +3 -0
- package/src/schemas/task.ts +30 -12
- package/src/scripts/library.ts +31 -1
- package/src/scripts/pick.ts +31 -15
- package/src/state/archive.ts +10 -0
- package/src/state/checkpoint.ts +0 -1
- package/src/state/gitignore.ts +39 -0
- package/src/state/persistence.ts +56 -0
- package/src/state/recovery.ts +33 -1
- package/src/webui/api/index.ts +6 -35
- package/src/webui/api/retention.ts +44 -0
- package/src/webui/api/status.ts +4 -6
- package/src/webui/dev/fake-service.ts +0 -117
- package/src/webui/dev/fixtures.ts +2 -16
- package/src/webui/protocol.ts +2 -142
- package/src/workflow/draft-assignments.ts +118 -0
- package/src/workflow/workflow.ts +271 -214
- package/webui/dist/assets/{CodeSurface-BtzJOVyH.js → CodeSurface-D3c12DBE.js} +1 -1
- package/webui/dist/assets/{TerminalView-Cz-KNWsq.js → TerminalView-DG4X3Yyr.js} +1 -1
- package/webui/dist/assets/index-BDmgr1OS.js +112 -0
- package/webui/dist/assets/index-BTyu99rI.css +2 -0
- package/webui/dist/build.json +29 -65
- package/webui/dist/index.html +2 -2
- package/prompts/expert.md +0 -17
- package/prompts/goal-check.md +0 -44
- package/prompts/pr-review.md +0 -62
- package/prompts/splitter.md +0 -58
- package/src/execution/worker-trees.ts +0 -396
- package/src/lobby/issues.ts +0 -219
- package/src/lobby/pr-review.ts +0 -366
- package/src/lobby/pulls.ts +0 -250
- package/src/lobby/split.ts +0 -262
- package/src/master/goal-check.ts +0 -115
- package/src/webui/api/gh-error.ts +0 -17
- package/src/webui/api/git.ts +0 -98
- package/src/webui/api/issues.ts +0 -50
- package/webui/dist/assets/index-D5fvY8f8.js +0 -112
- package/webui/dist/assets/index-DFvk8ADr.css +0 -2
package/README.md
CHANGED
|
@@ -39,9 +39,6 @@ files the task changed, after the project's linter and a QA pass sized to the ch
|
|
|
39
39
|
- **Plan**: plan with a panel of agents. **View plan** (`V`) opens the draft in a slide-out, where
|
|
40
40
|
any line takes a comment.
|
|
41
41
|
- **Tasks**: every task across sessions as a list or a board, with its steps, timings and **Resume**.
|
|
42
|
-
- **Git**: use the **Pull requests / Issues** switch to review pull requests or browse open issues
|
|
43
|
-
through `gh`. Issues retain descriptions, existing comments, **File issue** and **Plan it**;
|
|
44
|
-
pull-request reviews remain read-only and post nothing.
|
|
45
42
|
- **Knowledge**: what each agent has learned about the project, which you can edit, annotate or ask
|
|
46
43
|
about.
|
|
47
44
|
|
|
@@ -49,13 +46,12 @@ The rail on the left holds settings, the key list, the theme and sounds. The pro
|
|
|
49
46
|
(`P`) opens any folder on the machine running bot-lobby. Background sessions still run tasks;
|
|
50
47
|
follow their progress and use **Resume** in **Tasks**, without a separate Sessions conversation page.
|
|
51
48
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
addresses fall back to Lobby; Excalidraw integration is removed without deleting saved room links
|
|
49
|
+
Old `#/git` and `#/issues` bookmarks, and former Sessions and Excalidraw
|
|
50
|
+
addresses, fall back to Lobby; Excalidraw integration is removed without deleting saved room links
|
|
55
51
|
or external boards.
|
|
56
52
|
|
|
57
53
|
The composer appears only on **Lobby**, **Tasks**, **Plan** and **Knowledge**, including
|
|
58
|
-
supported detail routes and Knowledge's Docs/Chat views. On
|
|
54
|
+
supported detail routes and Knowledge's Docs/Chat views. On Metrics and Settings it stays mounted
|
|
59
55
|
but hidden and inert, preserving drafts and attachments (including uploads that finish while hidden)
|
|
60
56
|
without taking space.
|
|
61
57
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a-t-h-i/bot-lobby",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.62",
|
|
4
4
|
"description": "Structured multi-agent software engineering orchestrator for Pi",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"src",
|
|
28
28
|
"prompts",
|
|
29
|
+
"scripts/builtin",
|
|
29
30
|
"webui/dist",
|
|
30
31
|
"THIRD_PARTY_NOTICES.md"
|
|
31
32
|
],
|
package/prompts/designer.md
CHANGED
|
@@ -25,25 +25,35 @@ values.
|
|
|
25
25
|
|
|
26
26
|
## Ask, don't assume
|
|
27
27
|
|
|
28
|
-
The user makes the design decisions; you make them concrete.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
The user makes the design decisions; you make them concrete.
|
|
29
|
+
|
|
30
|
+
**Visual style** (spacing and padding, corner radius, borders, shadows, hover
|
|
31
|
+
and press effects, motion) comes from the **Design record** in your context:
|
|
32
|
+
the user's recorded choices first, then what the project's global styles and
|
|
33
|
+
most-used classes already do. Follow it exactly and never ask about a field
|
|
34
|
+
it settles. Fields it leaves open are asked once, while planning, with fixed
|
|
35
|
+
options; you request them on the planning panel by listing their keys under
|
|
36
|
+
`## Style`, never as your own questions.
|
|
37
|
+
|
|
38
|
+
**During a task you never ask about visual style.** For a field the record
|
|
39
|
+
leaves open, follow the closest pattern already in the code (or, in a project
|
|
40
|
+
with no UI yet, a quiet, conventional default), and list each value you chose
|
|
41
|
+
under **Design choices** in your report as `- <field>: <value>`, so it is
|
|
42
|
+
recorded for the user to overrule.
|
|
43
|
+
|
|
44
|
+
Other choices that are the user's to make and that the existing UI does not
|
|
45
|
+
settle may still be asked while planning, grouped into one questionnaire with
|
|
46
|
+
a mockup per option:
|
|
32
47
|
|
|
33
|
-
- the visual style or direction (when there is no existing one to follow);
|
|
34
|
-
- sizes: buttons and controls, spacing density, type scale;
|
|
35
48
|
- element types: a modal or a pop-over, a drawer or a page, rich text or a
|
|
36
49
|
plain text field, a tooltip or inline help, tabs or a segmented switch,
|
|
37
50
|
a toast or an inline message;
|
|
38
|
-
-
|
|
39
|
-
- colours,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
existing UI already does when it does. Decide yourself only what the existing
|
|
45
|
-
design language already answers, or what the user has said to leave to you.
|
|
46
|
-
When you report, list each design decision and who made it.
|
|
51
|
+
- the visual direction itself, when the project has none yet;
|
|
52
|
+
- colours, icons and empty, loading and error states where they are new.
|
|
53
|
+
|
|
54
|
+
Decide yourself only what the record and the existing design language already
|
|
55
|
+
answer, or what the user has said to leave to you. When you report, list each
|
|
56
|
+
design decision and who made it.
|
|
47
57
|
|
|
48
58
|
## Styling craft
|
|
49
59
|
|