[PR #100] [MERGED] Version Packages #107

Closed
opened 2026-02-16 03:16:11 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-ts/pull/100
Author: @github-actions[bot]
Created: 5/1/2025
Status: Merged
Merged: 5/2/2025
Merged by: @himself65

Base: mainHead: changeset-release/main


📝 Commits (2)

📊 Changes

7 files changed (+51 additions, -44 deletions)

View changed files

.changeset/wicked-ladybugs-stare.md (+0 -40)
📝 docs/package.json (+1 -1)
📝 packages/core/CHANGELOG.md (+40 -0)
📝 packages/core/jsr.json (+1 -1)
📝 packages/core/package.json (+1 -1)
📝 packages/llamaindex/CHANGELOG.md (+7 -0)
📝 packages/llamaindex/package.json (+1 -1)

📄 Description

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@llama-flow/docs@0.0.8

Patch Changes

  • 1005e84: feat: add stream helper

    In this release, we built-in some stream helper (inspired from (TC39 Async Iterator Helpers)[https://github.com/tc39/proposal-async-iterator-helpers])

    • move @llama-flow/core/stream/until into stream.until
    • move @llama-flow/core/stream/filter into stream.filter
    • move @llama-flow/core/stream/consumer into stream.toArray()
    • add stream.take(limit)
    • add stream.toArray()
    - import { collect } from "@llama-flow/core/stream/consumer";
    - import { until } from "@llama-flow/core/stream/until";
    - import { filter } from "@llama-flow/core/stream/filter";
    
    -  const results = await collect(
    -    until(
    -      filter(
    -        stream,
    -        (ev) =>
    -          processedValidEvent.include(ev) || processedInvalidEvent.include(ev),
    -      ),
    -      () => {
    -        return results.length >= totalItems;
    -      },
    -    ),
    -  );
    +  const results = await stream
    +    .filter(
    +      (ev) =>
    +        processedValidEvent.include(ev) || processedInvalidEvent.include(ev),
    +    )
    +    .take(totalItems)
    +    .toArray();
    

@llama-flow/core@0.4.1

Patch Changes

  • 1005e84: feat: add stream helper

    In this release, we built-in some stream helper (inspired from (TC39 Async Iterator Helpers)[https://github.com/tc39/proposal-async-iterator-helpers])

    • move @llama-flow/core/stream/until into stream.until
    • move @llama-flow/core/stream/filter into stream.filter
    • move @llama-flow/core/stream/consumer into stream.toArray()
    • add stream.take(limit)
    • add stream.toArray()
    - import { collect } from "@llama-flow/core/stream/consumer";
    - import { until } from "@llama-flow/core/stream/until";
    - import { filter } from "@llama-flow/core/stream/filter";
    
    -  const results = await collect(
    -    until(
    -      filter(
    -        stream,
    -        (ev) =>
    -          processedValidEvent.include(ev) || processedInvalidEvent.include(ev),
    -      ),
    -      () => {
    -        return results.length >= totalItems;
    -      },
    -    ),
    -  );
    +  const results = await stream
    +    .filter(
    +      (ev) =>
    +        processedValidEvent.include(ev) || processedInvalidEvent.include(ev),
    +    )
    +    .take(totalItems)
    +    .toArray();
    

@llama-flow/llamaindex@0.0.15

Patch Changes

  • Updated dependencies [1005e84]
    • @llama-flow/core@0.4.1

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/workflows-ts/pull/100 **Author:** [@github-actions[bot]](https://github.com/apps/github-actions) **Created:** 5/1/2025 **Status:** ✅ Merged **Merged:** 5/2/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `main` ← **Head:** `changeset-release/main` --- ### 📝 Commits (2) - [`52ed587`](https://github.com/run-llama/workflows-ts/commit/52ed5878ba47b8e4286683b263ca2997518bea29) Version Packages - [`b73e82e`](https://github.com/run-llama/workflows-ts/commit/b73e82ea5646ce105bc13920e26c75102e0771cd) chore: update jsr.json ### 📊 Changes **7 files changed** (+51 additions, -44 deletions) <details> <summary>View changed files</summary> ➖ `.changeset/wicked-ladybugs-stare.md` (+0 -40) 📝 `docs/package.json` (+1 -1) 📝 `packages/core/CHANGELOG.md` (+40 -0) 📝 `packages/core/jsr.json` (+1 -1) 📝 `packages/core/package.json` (+1 -1) 📝 `packages/llamaindex/CHANGELOG.md` (+7 -0) 📝 `packages/llamaindex/package.json` (+1 -1) </details> ### 📄 Description This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @llama-flow/docs@0.0.8 ### Patch Changes - 1005e84: feat: add stream helper In this release, we built-in some stream helper (inspired from (TC39 Async Iterator Helpers)[https://github.com/tc39/proposal-async-iterator-helpers]) - move `@llama-flow/core/stream/until` into `stream.until` - move `@llama-flow/core/stream/filter` into `stream.filter` - move `@llama-flow/core/stream/consumer` into `stream.toArray()` - add `stream.take(limit)` - add `stream.toArray()` ```diff - import { collect } from "@llama-flow/core/stream/consumer"; - import { until } from "@llama-flow/core/stream/until"; - import { filter } from "@llama-flow/core/stream/filter"; - const results = await collect( - until( - filter( - stream, - (ev) => - processedValidEvent.include(ev) || processedInvalidEvent.include(ev), - ), - () => { - return results.length >= totalItems; - }, - ), - ); + const results = await stream + .filter( + (ev) => + processedValidEvent.include(ev) || processedInvalidEvent.include(ev), + ) + .take(totalItems) + .toArray(); ``` ## @llama-flow/core@0.4.1 ### Patch Changes - 1005e84: feat: add stream helper In this release, we built-in some stream helper (inspired from (TC39 Async Iterator Helpers)[https://github.com/tc39/proposal-async-iterator-helpers]) - move `@llama-flow/core/stream/until` into `stream.until` - move `@llama-flow/core/stream/filter` into `stream.filter` - move `@llama-flow/core/stream/consumer` into `stream.toArray()` - add `stream.take(limit)` - add `stream.toArray()` ```diff - import { collect } from "@llama-flow/core/stream/consumer"; - import { until } from "@llama-flow/core/stream/until"; - import { filter } from "@llama-flow/core/stream/filter"; - const results = await collect( - until( - filter( - stream, - (ev) => - processedValidEvent.include(ev) || processedInvalidEvent.include(ev), - ), - () => { - return results.length >= totalItems; - }, - ), - ); + const results = await stream + .filter( + (ev) => + processedValidEvent.include(ev) || processedInvalidEvent.include(ev), + ) + .take(totalItems) + .toArray(); ``` ## @llama-flow/llamaindex@0.0.15 ### Patch Changes - Updated dependencies [1005e84] - @llama-flow/core@0.4.1 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 03:16:11 -05:00
yindo closed this issue 2026-02-16 03:16:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/workflows-ts#107