I’m seeing executor call crash before it invokes the tool.
Version: executor@1.4.15
Command:
executor call paperless profile profileRetrieve
This also fails when including a JSON arg:
executor call paperless profile profileRetrieve '{}'
Error:
e.rawPathParts.at is not a function. (In 'e.rawPathParts.at(-1)', 'e.rawPathParts.at' is undefined)
This looks like it comes from resolveToolInvocation here:
https://github.com/RhysSullivan/executor/blob/f1b74b7/apps/cli/src/main.ts#L1099
const maybeJsonArg = input.rawPathParts.at(-1)?.trim();
rawPathParts is typed as ReadonlyArray<string>, but at runtime it does not seem to be a real array in the installed CLI. My guess is that Args.variadic(Args.string("tool-path-segment")) is returning an array-like or Effect collection in this runtime, so .at is missing.
This makes executor call unusable, even for a no-argument tool path.
I’m seeing
executor callcrash before it invokes the tool.Version:
executor@1.4.15Command:
This also fails when including a JSON arg:
executor call paperless profile profileRetrieve '{}'Error:
This looks like it comes from
resolveToolInvocationhere:https://github.com/RhysSullivan/executor/blob/f1b74b7/apps/cli/src/main.ts#L1099
rawPathPartsis typed asReadonlyArray<string>, but at runtime it does not seem to be a real array in the installed CLI. My guess is thatArgs.variadic(Args.string("tool-path-segment"))is returning an array-like or Effect collection in this runtime, so.atis missing.This makes
executor callunusable, even for a no-argument tool path.