Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript
1.7 KB
Raw Blame
# Plugin Workload SDK E2E fixture.
#
# Declares BOTH SDK capability families and a plugin workload (sdk-caller)
# that exercises them. The recipe is intentionally stepless: WRC provisions
# the eager recipe-bound mcp-host for the SDK capability, not for workflow
# execution.
#
# WRC auto-injects into the sdk-caller pod:
#   PLUGIN_WORKLOAD_SDK_ENDPOINT, PLUGIN_WORKLOAD_SDK_TOKEN
# (because sdk-caller is in allowedCallers and is a non-transport workload).
#
# Image: clerum/workflow-plugin-sdk-e2e:test
#   built from tests/e2e/fixtures/workflow-plugin-sdk-e2e/
#
# Authorization still requires a grant in control-api — the E2E gate creates
# it via the admin API before asserting the calls succeed.
apiVersion: clerum.io/v1alpha1
kind: WorkflowRecipe
metadata:
  name: PLACEHOLDER_RECIPE_NAME
  namespace: sandbox-recipes
spec:
  agent:
    provider: PLACEHOLDER_PROVIDER
    model: PLACEHOLDER_MODEL
  workloads:
    - id: sdk-caller
      type: deployment
      image: clerum/workflow-plugin-sdk-e2e:test
      env:
        - name: E2E_SDK_CALLER_REF
          value: sdk-caller
        - name: E2E_SDK_EVENT_TYPE
          value: e2e.test.notification
        - name: E2E_SDK_USER_REF
          value: PLACEHOLDER_USER_REF
        - name: E2E_SDK_QUOTA_LIMIT
          value: '4'
        - name: E2E_SDK_EXPLICIT_TARGET_REF
          value: PLACEHOLDER_FALLBACK_TARGET_REF
  pluginWorkloadSdk:
    promptBridge:
      allowedModels:
        - PLACEHOLDER_MODEL
      maxRequestsPerRun: 10
      maxInvocationsPerMinute: 60
    clientNotifications:
      allowedEventTypes:
        - e2e.test.notification
      allowedUserRefs: true
      maxNotificationsPerRun: 10
    allowedCallers:
      - sdk-caller