n8n/packages/cli
Bernhard Wittmann 2f59f8eac6
spike: prove the real bound-execution transport (PageContext/@n8n/app-sdk), not the webhook shortcut
Adds POST /apps/:namespace/api/run, resolving a workflow against an
App-level allow-list and executing it via the same mechanism Agents use
for a 'workflow tool' (executeWorkflow() from workflow-tool-factory.ts,
via WorkflowRunner + Execute Workflow Trigger) - no webhook involved,
unlike the first spike's shortcut.

Confirmed with real workflows and real HTTP calls:
- an unbound workflow id is rejected for both a data-style and an
  action-style call
- binding then calling a 'get records' workflow returns real computed
  data
- the same mechanism, with input, IS an action - binding and calling a
  'mark resolved' workflow with {id: 3} returns a real confirmation
- a binding in one App namespace doesn't leak to another
- both calls produced real execution_entity rows (status: success,
  mode: integrated) - actions get a first-class, inspectable execution
  record, not something invisible

Still a spike: bindings are an in-memory Map (not the AppBinding entity),
no token/audience check on the endpoint. See SPIKE.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 22:55:35 +02:00
..
bin
scripts feat(core): Add new agent slack integration (#35591) 2026-08-17 09:27:50 +00:00
src spike: prove the real bound-execution transport (PageContext/@n8n/app-sdk), not the webhook shortcut 2026-09-07 22:55:35 +02:00
templates fix(Chat Trigger Node): Fix singular copy on the connect bar (#37945) 2026-09-07 09:10:10 +00:00
test feat(core): Index agent workflow tool dependencies and invalidate dependent runtimes (#37857) 2026-09-07 17:14:03 +00:00
AGENTS.md chore(core): Lock the @n8n/typeorm import ratchet and document the boundary (no-changelog) (#34370) 2026-07-21 08:26:21 +00:00
BREAKING-CHANGES.md
eslint.config.mjs feat(core): Add Instance reporting module (#36796) 2026-09-07 14:56:32 +00:00
nodemon.json
package.json feat(core): Add OTLP gRPC protocol support for OpenTelemetry tracing (#37491) 2026-09-04 14:19:55 +00:00
tsconfig.build.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
tsconfig.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
vitest.config.base.ts fix(core): Register the encryption key provider before any encrypt or decrypt (no-changelog) (#37972) 2026-09-07 17:04:39 +00:00
vitest.config.integration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.integration.ts refactor(core): Tidy agent-eval runner and rating-persistence internals (no-changelog) (#35424) 2026-08-04 10:42:20 +00:00
vitest.config.migration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.migration.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
vitest.tsc-entity-transform.ts chore: Consolidate ts tooling catalog (#34310) 2026-07-16 10:10:12 +00:00
vitest.workspace-externals.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00