Hackday/aggregator component#1801
Draft
Hargun3 wants to merge 4 commits intoTangleML:masterfrom
Draft
Conversation
Add pipeline component that merges up to 10 upstream inputs into a single output (dict, array, or csv format). Registers the component in the component library under a new Aggregation folder.
Remove hardcoded input_1-input_10 and their args blocks in favor of input_mask annotations that let the frontend generate unlimited inputs dynamically. Replace argparse with regex-based arg parsing to accept any --input-N flag. Rename output type from "dict" to "object".
Ark-kun
reviewed
Feb 12, 2026
Ark-kun
reviewed
Feb 12, 2026
Rename output types to match Tangle conventions where type names represent file formats on disk, not Python in-memory types: - object → JsonObject - array → JsonArray - csv → CSV
Use tangleml.com/aggregator_components/ prefix for all custom annotations to avoid naming collisions, as suggested by Ark-kun.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Aggregate Inputs component with dynamic input mask
Summary
Adds the Aggregate Inputs component that merges multiple upstream outputs into a single output (object, array, or CSV). Replaces hardcoded input slots with a mask pattern so the frontend can dynamically add unlimited inputs.
Changes
public/components/aggregator/component.yamlinput_1–input_10; usesinput_maskannotations the frontend reads to generate inputs on demand--input-Nis accepted (no upper limit)dict→object(JSON object) throughoutHow it works
input_mask,input_mask_type, etc. and dynamically creates input handles when the user clicks "Add Input"inputsarray and correspondingargsblocks for whatever inputs are connected--input-Nflags the runner passes inNotes