Skip to content

Commit 88fcf2a

Browse files
ernadoclaude
andcommitted
docs: drop the cmd/botapi HTTP server from the plan
The library is the product; no HTTP Bot-API-compatible server is planned. Remove it from the Phase 7 roadmap and the target package layout/decisions in architecture.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 8514416 commit 88fcf2a

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

docs/architecture.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ the *server* `oas.Handler` on top of `gotd/td`. We are inverting this.
3939
| `botdoc` doc **fetch/extract** (HTML → structured API) | **keep** — used as a reference oracle for hand-writing & for doc strings / a verification test that our hand-written surface matches the published API |
4040
| `internal/botapi` translation logic (convert_message, markup, peers, errors_map, send*, fileid) | **keep & re-point** from `oas.*` types to our hand-written types |
4141
| `internal/pool`, `internal/botstorage` | **keep** — client lifecycle, bbolt storage |
42-
| `cmd/botapi` (HTTP server) | **demote** to an optional example/cmd; the library is the product |
42+
| `cmd/botapi` (HTTP server) | **drop** the library is the product; no HTTP Bot-API server is planned |
4343

4444
Net: the project becomes a **library** whose public API is hand-written Bot API
4545
types + a `Bot` client, with the MTProto translation as its engine.
@@ -78,7 +78,6 @@ botapi/ root package — the public library
7878
storage/ bbolt session/peer/state storage (from botstorage)
7979
8080
internal/botdoc/ kept doc fetch/extract (reference oracle + tests)
81-
cmd/botapi/ optional: local Bot-API-compatible HTTP server
8281
cmd/botdoc/ optional: fetch & inspect the published API
8382
examples/
8483
docs/

docs/roadmap.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ Deferred within Phase 5: payment answers
171171
-`pool.Pool` re-pointed at public `Bot` (`pool/`): lazy per-token start,
172172
shared startup for concurrent callers, per-token bbolt storage, idle GC
173173
(`RunGC`), `Kill`/`Close`.
174-
-`cmd/botapi` HTTP server as an optional example (local Bot-API server)
175174
- ◐ Examples: `examples/echo` (handler + middleware), `examples/buttons`
176175
(inline keyboards + callback queries), `examples/inline` (inline mode). Media
177176
bot still to add.

0 commit comments

Comments
 (0)