Skip to main content
← Back to list
01Issue
FeatureOpenSwamp CLIPublic
AssigneesNone

Relationships

#1719 Support direct type execution (@type) with --server

Opened by stack72 · 8/19/2026

Problem

Running a model method using the direct type syntax (swamp model @<type> method run <method> <name>) with --server fails with:

Error: Direct type execution (@type) is not supported with --server yet — run against an existing model name instead

This forces users to first create a named model definition on the server before they can run any method, even for one-off or exploratory use. Locally, the @type syntax is a convenient way to run a method without persisting a model YAML — that convenience disappears when targeting a server.

Proposed Solution

Allow --server runs to accept the @type syntax by having the client send the type and version alongside the method invocation, so the server can resolve the type from its own extension registry and execute the method without requiring a pre-existing model definition.

Alternatives

  • Create a temporary model definition on the server — works but adds friction and leaves behind model YAML that needs cleanup.
  • Run locally without --server — loses the benefit of server-side execution (worker fleet, shared datastore, access control).
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

8/19/2026, 1:06:22 AM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.