Commit Graph
6 Commits
Author SHA1 Message Date
Evandro Fonseca Junior 0852274102 test: stop assuming a fixed envelope delivery time in the bus ledger test
"Bus local server memoizes completed and in-flight request results" sent two
envelopes, slept a fixed 5 ms and then asserted that the handler had already
run once. On a slower CI runner the first envelope can still be in the socket
queue at that point, so the run failed with 0 !== 1 (run 34838232340).

Wait (bounded, 5 s deadline) until the first envelope reaches the handler
before asserting. The duplicate stays in flight because the gate is only
released after the assertion, so the memoization guarantee under test is
unchanged.
2026-09-14 08:31:01 -03:00
Evandro Fonseca Junior 7a54e2dbeb docs: rewrite README against verified code, gates and omp CLI
- standard structure: about, how it works, stack, requirements, quick
  start, usage/API, production and release, project structure,
  verification, current state and limitations, documentation, license.
- fix the omp install instructions: "omp install --link <path>" is not a
  valid flag (Unknown option). Document the local-path form that was
  actually exercised and the plugin source syntax from omp plugin --help.
- state plainly that the package is not published on npm and that omp's
  plugin source resolver rejects npm plugin sources.
- correct the agent directory resolution (PI_CODING_AGENT_DIR, then
  ~/.omp/agent under omp, else ~/.pi/agent) and the proxy note (proxy
  support comes from the Node runtime, not from this extension).
- list the three registered tools and the real env vars with defaults.
- add a Verification table with the commands and their real results.
2026-09-14 08:26:33 -03:00
Evandro Fonseca Junior 897c69006e fix: keep the validate and release gates green
- refresh dependency overrides so the audit gate passes again
  (protobufjs 7.6.4 -> 7.6.6, undici 8.5.0 -> 8.10.2, new
  brace-expansion override 5.0.9). npm run validate is green again:
  typecheck, 1229/1230 tests, 0 vulnerabilities, pack clean.
- promote the 0.22.0-evandro.1 changelog section from "###" to "##" so
  .github/workflows/release.yml can build release notes for the tag.
  The previous Release run failed with "CHANGELOG.md has no section for
  0.22.0-evandro.1".
- record both fixes under "## Unreleased".
2026-09-14 08:26:27 -03:00
evandrodevbr 572967c17b fix: declare Telegram extension for OMP 2026-07-15 17:33:17 -03:00
Evandro Fonseca Junior bd083efbe3 chore: add MIT LICENSE (inherited from upstream @llblab/pi-telegram chain) 2026-07-15 14:19:09 -03:00
Evandro Fonseca Junior d1d04001d0 chore: fork @llblab/[email protected] as @evandrodevbr/oh-my-pi-telegram
Release / release (push) Failing after 5s
Validate / validate (push) Failing after 5m21s
Fork of upstream llblab/[email protected].0 (SHA afe09c5) repackaged as a
drop-in extension for can1357/oh-my-pi (omp >= 16.5.2).

Changes vs upstream:
- Rename package: @llblab/pi-telegram -> @evandrodevbr/oh-my-pi-telegram
- Bump version: 0.22.0 -> 0.22.0-evandro.1
- Update repository/homepage/bugs URLs to evandrodevbr
- Add omp field in package.json (displayName + compatibleWith)
- README: prepend 'Oh My Pi (omp) Compatibility' section with install
  commands, verified-components table, upstream lineage, and rationale
- CHANGELOG: add '0.22.0-evandro.1' entry under Unreleased
- docs/: rename @llblab/pi-telegram imports to @evandrodevbr/oh-my-pi-telegram
- tests/public-api.test.ts: rename package import paths

Gates re-run on the fork:
- npm run typecheck  -> tsc --noEmit (success)
- npm test           -> 1229 pass / 0 fail / 1 platform-only skip
- npm run audit      -> found 0 vulnerabilities
- npm run pack:check -> evandrodevbr-oh-my-pi-telegram-0.22.0-evandro.1.tgz

Verified:
- omp install --link ./pi-telegram -> Linked OK
- omp plugin list -> @evandrodevbr/[email protected].0-evandro.1

Upstream lineage: badlogic/pi-telegram -> llblab/pi-telegram (0.22.0) -> evandrodevbr/oh-my-pi-telegram (this fork)
v0.22.0-evandro.1
2026-07-15 14:18:16 -03:00