Skip to content

Fix aged stream rollover and file upload auth#2

Open
pzs19 wants to merge 1 commit into
larksuite:mainfrom
pzs19:fix/stream-rollover-file-upload-token
Open

Fix aged stream rollover and file upload auth#2
pzs19 wants to merge 1 commit into
larksuite:mainfrom
pzs19:fix/stream-rollover-file-upload-token

Conversation

@pzs19

@pzs19 pzs19 commented Jun 13, 2026

Copy link
Copy Markdown

This fixes two SDK issues hit by long-running agent replies.

  • Roll markdown streaming cards before they age out, then continue in a follow-up card.
  • Pass a tenant access token to im.v1.file.create for generic file uploads.
  • Add prepare so installing the package from a Git branch builds the exported dist files.

Tests:

  • pnpm test -- --run src/outbound/__tests__/markdown-stream-rollover.test.ts src/outbound/__tests__/uploader.test.ts
  • pnpm typecheck
  • npm pack --dry-run

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@pzs19 pzs19 force-pushed the fix/stream-rollover-file-upload-token branch from 22e9c06 to 467761d Compare June 14, 2026 07:19
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.

2 participants