• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

popstas / telegram-functions-bot / 20701370480
73%

Build:
DEFAULT BRANCH: master
Ran 05 Jan 2026 12:18AM UTC
Jobs 1
Files 66
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Jan 2026 12:17AM UTC coverage: 76.878% (+0.03%) from 76.853%
20701370480

push

github

web-flow
refactor: Audit the dependencies (#182)

* refactor: audit and optimize dependencies

Security fixes:
- Update @modelcontextprotocol/sdk 1.15.1 → 1.25.1 (fixes DNS rebinding vulnerability)
- Update js-yaml 4.1.0 → 4.1.1 (fixes prototype pollution)
- Run npm audit fix (resolved 6 vulnerabilities: 4 high, 2 moderate)

Dependency updates:
- Update @agentic/core, better-sqlite3, express, form-data
- Update google-auth-library, langfuse, mqtt, telegramify-markdown
- Update tsx, undici to latest patch versions
- Update openai 5.9.0 → 6.15.0 (breaking change)
- Keep zod at v3 (v4 has peer dependency conflicts with @agentic/core)

Bloat reduction (~152 packages removed):
- Replace googleapis with @googleapis/sheets (saves ~50-100MB)
- Replace lodash.debounce with native implementation
- Replace recursive-readdir with native fs.readdir (Node 18.17+)

Code changes:
- Implement native debounce function in src/config.ts
- Update google.ts to use OAuth2Client/GoogleAuth directly
- Update readGoogleSheet.ts to use @googleapis/sheets
- Update obsidian_read.ts to use fs/promises readdir
- Update test mocks for removed dependencies
- Add fake timers to debounce tests

Total dependency reduction: ~152 packages, ~50-100MB
All tests passing (89 suites, 399 tests)

* fix: add OpenAI v6 compatibility for tool calls

OpenAI v6 introduced ChatCompletionMessageCustomToolCall which doesn't
have the 'function' property, causing TypeScript errors when accessing
toolCall.function.name and toolCall.function.arguments.

Changes:
- Add isFunctionToolCall() type guard in all affected files
- Filter/check tool calls before accessing function property
- Affected files:
  - src/helpers/gpt/llm.ts
  - src/helpers/gpt/tools.ts
  - src/helpers/gpt/responsesApi.ts
  - src/helpers/gpt/toolFormatting.ts

All tests passing, typecheck clean.

* fix: replace 'any' with proper types in debounce function

---------

Co-authored-by: Claude <noreply@anthropic.com>

1421 of 2165 branches covered (65.64%)

Branch coverage included in aggregate %.

20 of 26 new or added lines in 8 files covered. (76.92%)

2652 of 3133 relevant lines covered (84.65%)

7.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
81.5
0.02% src/helpers/gpt/llm.ts
1
78.63
-0.46% src/helpers/gpt/toolFormatting.ts
1
76.61
-0.15% src/helpers/gpt/tools.ts
3
32.32
0.0% src/helpers/google.ts
Jobs
ID Job ID Ran Files Coverage
1 20701370480.1 05 Jan 2026 12:18AM UTC 66
76.88
GitHub Action Run
Source Files on build 20701370480
  • Tree
  • List 66
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #20701370480
  • 150d4adc on github
  • Prev Build on master (#20675081585)
  • Next Build on master (#20740682792)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc