Skip to content

feat(core): implement source filtering in SourceManager#92

Merged
davideast merged 1 commit intomainfrom
jules-core-source-filtering-90-13863415910140211699
Feb 26, 2026
Merged

feat(core): implement source filtering in SourceManager#92
davideast merged 1 commit intomainfrom
jules-core-source-filtering-90-13863415910140211699

Conversation

@davideast
Copy link
Collaborator

@davideast davideast commented Feb 25, 2026

Fixes #90

This PR updates the SourceManager in @google/jules-sdk to support server-side filtering and custom page sizes when listing sources. This aligns the SDK with the v1alpha API capabilities.

Changes:

  • Modified packages/core/src/types.ts to define ListSourcesOptions and update SourceManager call signature.
  • Modified packages/core/src/sources.ts to implement the filtering logic in SourceManagerImpl.list.
  • Updated packages/core/tests/sources.test.ts with new test cases for filtering and pagination.

PR created automatically by Jules for task 13863415910140211699 started by @davideast

- Add `ListSourcesOptions` to `packages/core/src/types.ts`.
- Update `SourceManager` interface to accept `ListSourcesOptions`.
- Update `SourceManagerImpl.list` to use `filter` and `pageSize` from options.
- Add tests for source filtering and pagination in `packages/core/tests/sources.test.ts`.

Fixes #90

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@davideast davideast merged commit b772595 into main Feb 26, 2026
3 checks passed
@davideast davideast deleted the jules-core-source-filtering-90-13863415910140211699 branch February 26, 2026 03:31
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.

[Fleet Execution] API Protocol Alignment: Source Filtering

1 participant