component-input-source

workflowv1.0.0

Workflow driven exclusively by run.component calls (no HTTP server or file reader)

Install

kdeps registry install component-input-source

Then run locally:

kdeps exec component-input-source

Configure LLM provider in ~/.kdeps/config.yaml (created automatically on first run).

README

component-input-source

Demonstrates the component input source - a workflow designed to be invoked exclusively via run.component from a parent workflow.

When sources: [component] is declared, kdeps starts no HTTP server, bot listener, or file reader. The workflow is driven entirely by component calls from a parent.

Structure

component-input-source/
├── workflow.yaml          # sources: [component]
└── resources/
    └── transform.yaml     # transforms text via Python

What It Does

Takes a text input and an optional style (uppercase | lowercase | title) and returns the transformed text as JSON.

Using It From a Parent Workflow

# In your parent workflow's resource:
run:
  component:
    name: component-input-source
    with:
      text: "hello world"
      style: title

Then access the result:

"{{ output('myActionId') }}"  # {"original":"hello world","style":"title","result":"Hello World"}

The component Source

settings:
  input:
    sources: [component]
    component:
      description: "Transforms text to uppercase, lowercase, or title case."
  • sources: [component] - no listener is started; the workflow only runs when called via run.component
  • component.description - surfaced by kdeps component list and kdeps component info

Difference from sources: [api]

apicomponent
HTTP server startedYesNo
Callable via run.componentYesYes
Callable via HTTP requestYesNo
Listed by kdeps component listYesYes

Validate

kdeps validate examples/component-input-source

Versions

VersionPublishedStatus
1.0.04/11/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.0.0
Published
4/11/2026

Tags

componentsinput-source