0 ? runnable?.summary : runnable?.path}. ## Script description: ${runnable?.description ?? ''}. ## Schema used: ${JSON.stringify(runnable?.schema)}. ## Current args: ${JSON.stringify(args)}}`, callback: (value) => { savedPreviousArgs = args setArgs(JSON.parse(value ?? '{}')) showInputSelectedBadge = true }, showAnimation: false }} >
{#snippet acceptButton()} {/snippet} {#if showInputSelectedBadge} { setArgs(savedPreviousArgs ?? {}) savedPreviousArgs = undefined showInputSelectedBadge = false }} /> {/if}
{#if detailed} {#if runnable}

{defaultIfEmptyString(runnable.summary, runnable.path ?? '')}

{#if !emptyString(runnable.summary)}

{runnable.path}

{/if}
{#if runnable} Edited by {runnable.created_by || 'unknown'} {/if} {truncateHash(runnable?.hash ?? '')} {#if runnable?.is_template} Template {/if} {#if runnable && runnable.kind !== 'runnable'} {runnable?.kind} {/if}
{:else}

Loading...

{/if} {/if} {#if runnable?.schema} {#if jsonView}
{ if (e.detail) { args = enforceDisabledDefaults(e.detail, runnable?.schema).args } }} initialCode={argsToJsonPayload(runnable.schema, args)} updateOnBlur={false} placeholder={`Write args as JSON.

Example:

{
  "foo": "12"
}`} />
{:else if !runnable.schema.properties || Object.keys(runnable.schema.properties).length === 0}
{`This ${runnable.kind ?? 'runnable'} takes no arguments`}
{:else} {#key reloadArgs}
{/key} {/if} {:else}
No arguments
{/if} {#if showPsCommonParams}
{/if} {#if schedulable}
{#snippet trigger()} {/snippet} {#snippet content()} {/snippet}
{#if overrideTag}
tag override: {overrideTag}
{:else if overrideTagNote}
{overrideTagNote}
{/if} {#if invisible_to_owner}
Job will be invisible to owner
{/if}
{:else} {/if}