Commit Graph

4584 Commits (4f2166c503c7aff82e52d751c82fdfc9ce99bc9f)

Author SHA1 Message Date
cpojer 59cfff02f6
chore: Emit TypeScript declaration files so that we can type-check the extensions folder soon. 10 months ago
Peter Steinberger 1287328b6f feat: add MiniMax OAuth plugin (#4521) (thanks @Maosghoul) 10 months ago
cpojer 76361ae3ab
revert: Switch back to `tsc` for compiling. 10 months ago
Peter Steinberger ddc5683c67 fix: resolve workspace templates from package root 10 months ago
cpojer 4b7406719c
fix: Update a few more `entry.js` to `entry.mjs` paths. 10 months ago
cpojer ed65131c1c
fix: Also build `entry.ts` into `dist/entry.mjs`. 10 months ago
cpojer 86d38c2d82
chore: Oops, "long" is actually used + fix TypeScript error. 10 months ago
Peter Steinberger ee26b68fe1 fix: lint cleanups 10 months ago
Peter Steinberger a42e1c82d9 fix: restore tsc build and plugin install tests 10 months ago
cpojer c4feb7a457
chore: Fix TypeScript errors 5/n. 10 months ago
cpojer 9e908ad6be
chore: Fix TypeScript errors 4/n. 10 months ago
cpojer 3282d22dd9
chore: Fix TypeScript errors 3/n. 10 months ago
cpojer 952b0f8c48
chore: Fix TypeScript errors 2/n. 10 months ago
cpojer e5eb9610dc
chore: Fix TypeScript errors 1/n. 10 months ago
cpojer 5ceff756e1
chore: Enable "curly" rule to avoid single-statement if confusion/errors. 10 months ago
cpojer 009b16fab8
chore: more lint cleanup. 10 months ago
cpojer b7e401b6b6
chore: Enable no-useless-concat (removing the lint rule from the disabled list automatically enables it because it is in the "suspicious" group). 10 months ago
cpojer 9c4cbaab7b
chore: Enable eslint/no-unused-vars. 10 months ago
cpojer 15792b153f
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later. 10 months ago
Peter Steinberger 481f696a87 chore: reorder auth provider list 10 months ago
cpojer 7a9ddcd590
chore: Enable some "perf" lint rules. 10 months ago
Mario Zechner cbc405c9e3 Agents: update pi-coding-agent API usage 10 months ago
Peter Steinberger 51e72d41c2 fix: restore embedded extension discovery typings 10 months ago
Mario Zechner 72ea3eedc9 Tests: inline mock classes in vi.mock factory 10 months ago
cpojer a00e0bc189
Lint. 10 months ago
cpojer 67945e8d62
chore: Switch from TypeScript to build with `tsdown`, speeds up `pnpm build` by 5-10x. 10 months ago
Peter Steinberger d2a852b982 fix: align embedded session setup with sdk 10 months ago
Peter Steinberger ded95d5c70 test: update config candidate order expectation 10 months ago
Mario Zechner a441059761 Tests: fix models list mock lint 10 months ago
cpojer 84ac889e22
Fix lint. 10 months ago
Peter Steinberger e9f0be06eb fix: repair docker build typing 10 months ago
Peter Steinberger 08ed62852a chore: update deps and pi model discovery 10 months ago
Shakker 3c8fa0f913 fix: remove unused variables and fix template literal type 10 months ago
Shakker b1d25ed0dd feat: automated completion setup in postinstall and onboarding 10 months ago
Shakker 48aaf6ce4e fix: suppress banner and doctor checks for completion command 10 months ago
Shakker beafaef92f feat: implement completion command and shell generators 10 months ago
Shakker 14c77f8295 feat: add completion subcommand to generate shell completion scripts for Zsh, Bash, PowerShell, and Fish. 10 months ago
Mario Zechner bf15d0a3f5 Auth: switch Kimi Coding to built-in provider 10 months ago
Mario Zechner ca47b0d79c OAuth: normalize profile email 10 months ago
Mario Zechner 9b1a6b30d9 Tests: update pi SDK mocks 10 months ago
Ayaan Zaidi 310eed825e fix: preserve delivery thread fallback (#4911) (thanks @yevhen) 10 months ago
Yevhen Bobrov a642ca4ea8 Fix telegram threadId in deliveryContext 10 months ago
Ayaan Zaidi e849df64dc fix: normalize telegram account token lookup (#5055) (thanks @jasonsschin) 10 months ago
jasonsschin e913de0720 Fix Telegram token resolution for non-normalized accountId keys 10 months ago
Mario Zechner c0a6e675a3 Agents: update pi dependencies to 0.50.7 10 months ago
Evan Otero c67df653b6
fix(security): restrict local path extraction in media parser to prevent LFI (#4880)
* Media: restrict local path extraction to prevent LFI

* Lint: remove unused variable hasValidMediaOnLine
10 months ago
Tyler Yust 57248a7ca1
fix: prefer requesterOrigin over stale session entry in subagent announce routing (#4957)
* fix: prefer requesterOrigin over stale session entry in subagent announce routing

When a subagent finishes and announces results back, resolveAnnounceOrigin
merged the session entry (primary) with requesterOrigin (fallback). If the
session store had a stale lastChannel (e.g. whatsapp) from a previous
interaction but the user was now on a different channel (e.g. bluebubbles),
the announce would route to the wrong channel.

Swap the merge order so requesterOrigin (captured at spawn time, reflecting
the actual current channel) takes priority, with the session entry as
fallback for any missing fields.

Error before fix:
  Delivery failed (whatsapp to bluebubbles:chat_guid:...): Unknown channel: whatsapp

Adds regression test for the stale-channel scenario.

* fix: match test to exact failure scenario and improve reliability (#4957) (thanks @tyler6204)

- Remove lastTo from stale session store to match the exact mismatch scenario described in the PR
- Replace 5ms setTimeout sleeps with expect.poll for better test reliability
- Prevents flakiness on slower CI machines
10 months ago
Gustavo Madeira Santana 34bdbdb405 fix: resolve Control UI assets for global installs (#4909) (thanks @YuriNachos)
Co-authored-by: YuriNachos <YuriNachos@users.noreply.github.com>
10 months ago
Yurii Chukhlib aa3a8ea869 fix(infra): resolve control-ui assets on npm global install (#4855) 10 months ago
Gustavo Madeira Santana 39eb0b7bc0 fix: prevent undefined gateway token defaults (#4873) (thanks @Hisleren)
Co-authored-by: Hisleren <Hisleren@users.noreply.github.com>
10 months ago