@bongos/core 1.24.28 → 1.24.30
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/.bongos-core.json +100 -70
- package/.claude/skills/builder-claim/SKILL.md +1 -1
- package/.claude/skills/builder-ship/SKILL.md +1 -1
- package/clients/bongos-client/README.md +1 -1
- package/clients/bongos-client/bongos-client.global.js +4 -0
- package/clients/bongos-client/index.cjs +4 -0
- package/clients/bongos-client/index.d.ts +4 -0
- package/clients/bongos-client/index.mjs +4 -0
- package/docs/api/openapi.json +36 -1
- package/docs/api-reference.md +7 -1
- package/docs/copy-inventory.md +247 -280
- package/docs/copy-registry.json +381 -691
- package/docs/module-api-changelog.md +4 -0
- package/docs/page-inventory.json +5 -10
- package/docs/page-readings.json +327 -393
- package/modules/builder-settings/interaction-prefs.js +2 -2
- package/modules/government/db.js +29 -0
- package/modules/government/docket.js +61 -4
- package/modules/government/routes/government.js +2 -0
- package/modules/hall-ui/public/builders.js +3 -79
- package/modules/hall-ui/public/hall-render.js +6 -81
- package/modules/hall-ui/public/hall-widgets.js +4 -45
- package/modules/hall-ui/public/home-city-draw.js +275 -0
- package/modules/hall-ui/public/home-city.css +66 -0
- package/modules/hall-ui/public/home-city.js +223 -0
- package/modules/hall-ui/public/index.html +5 -6
- package/modules/hall-ui/public/index.states.json +73 -8
- package/modules/hall-ui/public/my-agents.js +35 -2
- package/modules/hall-ui/public/palette.js +8 -0
- package/modules/hall-ui/public/settings-moved.js +41 -0
- package/modules/hall-ui/public/settings.css +4 -28
- package/modules/hall-ui/public/settings.html +19 -107
- package/modules/hall-ui/public/settings.js +20 -215
- package/modules/hall-ui/public/settings.states.json +2 -4
- package/modules/hall-ui/records/home-city.md +66 -0
- package/modules/hall-ui/records/my-agents.md +3 -2
- package/modules/hall-ui/records/panel-family.md +2 -0
- package/modules/lifecycle/home-city.js +340 -0
- package/modules/lifecycle/module.json +1 -0
- package/modules/lifecycle/routes/home-city.js +29 -0
- package/modules/lifecycle/ship-card.js +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/release-notes.json +16 -0
- package/src/module-api.js +1 -1
- package/tests/claim_from_task_and_home.mjs +8 -43
- package/tests/government_tidy_up.mjs +21 -24
- package/tests/hall_board_world.mjs +10 -12
- package/tests/hall_home_ships_bounded.mjs +4 -3
- package/tests/hall_my_agents.mjs +88 -2
- package/tests/hall_palette.mjs +12 -0
- package/tests/hall_settings_world.mjs +64 -100
- package/tests/helpers.mjs +6 -5
- package/tests/home_bounded_reads.mjs +16 -31
- package/tests/home_city.mjs +385 -0
- package/tests/home_city_widget.mjs +120 -0
- package/tests/interaction_posture.mjs +3 -1
- package/tests/leaderboard_roles.mjs +3 -2
- package/tests/speciality_offer_ui.mjs +6 -5
- package/tests/speciality_walkthrough_ui.mjs +7 -5
- package/modules/hall-ui/public/settings-interaction.js +0 -132
- package/modules/hall-ui/public/settings-law-locks.js +0 -53
- package/modules/hall-ui/public/settings-render.js +0 -138
package/docs/api/openapi.json
CHANGED
|
@@ -177,6 +177,10 @@
|
|
|
177
177
|
"name": "help-requests",
|
|
178
178
|
"description": "Endpoints under `/api/bongos/help-requests`."
|
|
179
179
|
},
|
|
180
|
+
{
|
|
181
|
+
"name": "home",
|
|
182
|
+
"description": "Endpoints under `/api/bongos/home`."
|
|
183
|
+
},
|
|
180
184
|
{
|
|
181
185
|
"name": "inbox",
|
|
182
186
|
"description": "Endpoints under `/api/bongos/inbox`."
|
|
@@ -12885,6 +12889,37 @@
|
|
|
12885
12889
|
]
|
|
12886
12890
|
}
|
|
12887
12891
|
},
|
|
12892
|
+
"/home/city": {
|
|
12893
|
+
"get": {
|
|
12894
|
+
"operationId": "get_home_city",
|
|
12895
|
+
"tags": [
|
|
12896
|
+
"home"
|
|
12897
|
+
],
|
|
12898
|
+
"summary": "GET /home/city",
|
|
12899
|
+
"description": "GET /home/city, the counts Home's city draws. Every number in it is a count of rows a signed-in builder can already list (shipped tasks, ideas, votes, open claims); the per-area \"waits on you\" half is the docket's routing for this viewer (task 1005056), computed inside the read. Nothing here is writable.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
12900
|
+
"x-rank": "any-builder",
|
|
12901
|
+
"x-source": "modules/lifecycle/routes/home-city.js",
|
|
12902
|
+
"responses": {
|
|
12903
|
+
"200": {
|
|
12904
|
+
"description": "Success."
|
|
12905
|
+
},
|
|
12906
|
+
"400": {
|
|
12907
|
+
"$ref": "#/components/responses/BadRequest"
|
|
12908
|
+
},
|
|
12909
|
+
"401": {
|
|
12910
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
12911
|
+
},
|
|
12912
|
+
"403": {
|
|
12913
|
+
"$ref": "#/components/responses/Forbidden"
|
|
12914
|
+
}
|
|
12915
|
+
},
|
|
12916
|
+
"security": [
|
|
12917
|
+
{
|
|
12918
|
+
"builderSession": []
|
|
12919
|
+
}
|
|
12920
|
+
]
|
|
12921
|
+
}
|
|
12922
|
+
},
|
|
12888
12923
|
"/inbox": {
|
|
12889
12924
|
"get": {
|
|
12890
12925
|
"operationId": "get_inbox",
|
|
@@ -42734,7 +42769,7 @@
|
|
|
42734
42769
|
"description": "A required dependency/feature is not configured or is temporarily down."
|
|
42735
42770
|
}
|
|
42736
42771
|
},
|
|
42737
|
-
"x-endpoint-count":
|
|
42772
|
+
"x-endpoint-count": 680,
|
|
42738
42773
|
"x-schema-count": 719,
|
|
42739
42774
|
"x-undocumented-bodies": 12,
|
|
42740
42775
|
"x-response-schemas": 457,
|
package/docs/api-reference.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Bongos API reference
|
|
4
4
|
|
|
5
|
-
> **Generated from the live route files** — the route file is authoritative.
|
|
5
|
+
> **Generated from the live route files** — the route file is authoritative. 680 endpoints across 115 route files.
|
|
6
6
|
> Machine-readable spec: [`docs/api/openapi.json`](api/openapi.json) (OpenAPI 3.1). Rendered docs site: **`/docs`** (e.g. `cloudbongos.com/docs`).
|
|
7
7
|
|
|
8
8
|
Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust-boundary-server-enforced-permissions.md)): `public` < `any-builder` < `metic+archon` < `archon`.
|
|
@@ -472,6 +472,12 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
472
472
|
| GET | `/api/bongos/help-requests/for-me` | `any-builder` | — | The addressed read — C01's answer to "and fires a notification". |
|
|
473
473
|
| GET | `/api/bongos/help-requests/mine` | `any-builder` | — | your own asks, so you can settle them. |
|
|
474
474
|
|
|
475
|
+
## `home` (1)
|
|
476
|
+
|
|
477
|
+
| Method | Path | Rank | Body | Description |
|
|
478
|
+
|---|---|---|---|---|
|
|
479
|
+
| GET | `/api/bongos/home/city` | `any-builder` | — | GET /home/city, the counts Home's city draws. |
|
|
480
|
+
|
|
475
481
|
## `inbox` (20)
|
|
476
482
|
|
|
477
483
|
| Method | Path | Rank | Body | Description |
|