Skip to content

fix: remove duplicate packages/bot, fix remaining build breaks - #944

Open
CSTRSK wants to merge 1 commit into
profullstack:masterfrom
CSTRSK:fix/bot-duplicate-build
Open

fix: remove duplicate packages/bot, fix remaining build breaks#944
CSTRSK wants to merge 1 commit into
profullstack:masterfrom
CSTRSK:fix/bot-duplicate-build

Conversation

@CSTRSK

@CSTRSK CSTRSK commented Aug 8, 2026

Copy link
Copy Markdown

Fixes #943

packages/bot/* is an abandoned, unpublished duplicate of packages/bots/* with zero external consumers (the only references are the five packages pointing at each other). It is still compiled by pnpm -r build, so defects there break the workspace build for everyone — exactly what happened in #942.

Changes

  1. Delete packages/bot/* entirely (core/discord/signal/telegram/whatsapp — the dead tree). No code references it: no package.json depends on @sh1pt/bot-*, no tsconfig/CI references packages/bot.
  2. packages/bots/core: annotate finish() with AIResult instead of a widened inline type — fixes TS2345: type 'string' not assignable to type '"result"'.
  3. packages/bots/signal: fix outdated test object — groupId: undefined → null, drop non-existent raw field, add required isGroup.

Verification

  • pnpm -r build: all packages Done, zero failures (was: bot/core + bots/core + bots/signal failing)
  • tsc -p tsconfig.json --noEmit clean in bots/core and bots/signal

…llstack#943)

- Delete packages/bot/* (unpublished, unreferenced duplicate of
  packages/bots/*, zero external consumers) so pnpm -r build no
  longer compiles the dead tree — fixes the repeated TS2345 failures
  described in profullstack#943/profullstack#942
- bots/core: annotate finish() with AIResult instead of a widened
  inline type (TS2345: type string not assignable to "result")
- bots/signal: fix outdated test object (groupId undefined→null,
  drop non-existent raw field, add isGroup)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

packages/bot/* is unpublished, unreferenced duplicate of packages/bots/* — still breaks the workspace build

1 participant