Dashboard › cli › Distillation
9e73a579-7bf4-49d9-8a44-e6f231253516["lore_tm_v1_iPt-vFQbz_yBYUYfTN_um3coHjeTVx84iGY_xQQcpaY","lore_tm_v1_rQ1AZU-4rckoNjgkVgwpYzRTg_ksgGXqLZiYh_yQSmg","lore_tm_v1_ZfEjF6Vmz4ghWMpbr_E_q63qk7v42mQll9BFs8LcRUY","lore_tm_v1_1woQJq5XaJdPSiyNgEPEQmLkvaevZiE1_RZGDNN4hgg","lore_tm_v1_MfwDsJo2ngt_66X8qyk7sikl0xdr75hOQPryPfbfezM","lore_tm_v1_MHjQDUk-Qm7rcalvVHtvzt071yy1Itz5TLnhicuY45o"]
Date: Sep 10, 2026
packages/cli/src/lib/errors.ts defines SEARCH_QUERY_PARSE_MARKER = "Error parsing search query" at line 810. It identifies Sentry search-query parser HTTP 400 responses whose detail reports malformed user input such as is:403, lastSeen:>=-24h, or an empty status:; substring matching accommodates enrichIssueListError in commands/issue/list.ts prepending text while preserving the original detail.customUsage occurrences: packages/cli/src/commands/agent-conversation/view.ts:75 uses customUsage: [USAGE], and packages/cli/src/commands/project/create.ts:609 uses customUsage: ["[<org>/]<name>:<platform>..."].packages/cli/node_modules/@stricli/core/dist/index.js, Stricli usage helpers format syntax as follows: wrapRequiredFlag(text) β (${text}), wrapOptionalFlag(text) β [${text}], wrapVariadicFlag(text) β ${text}..., wrapRequiredParameter(text) β <${text}>, wrapOptionalParameter(text) β [<${text}>], and wrapVariadicParameter(text) β <${text}>....formatUsageLineForParameters(parameters, args) in packages/cli/node_modules/@stricli/core/dist/index.js:1798 excludes hidden flags and, when args.config.onlyRequiredInUsageLine is enabled, flags optional at runtime. It converts camel-case names to kebab-case when configured, substitutes a sole alias when useAliasInUsageLine is enabled, renders enum values without a custom placeholder as value1|value2, otherwise uses flag.placeholder ?? "value", wraps boolean/parsed/optional/required flags appropriately, and joins args.prefix, flag usage, and positional usage with spaces.isOptionalAtRuntime(flag) returns flag.optional ?? hasDefault(flag), while hasDefault(flag) requires a defined default property.formatUsageLineForParameters() renders kind === "array" as variadic <placeholder>... using positional.parameter.placeholder ?? "args". Non-array positional parameters use param.placeholder ?? \arg${i + 1}`, render optional/defaulted values as [<name>], required values as <name>, and omit optional/defaulted parameters when onlyRequiredInUsageLine` is enabled.packages/cli/node_modules/@stricli/core/dist/index.js renders parsed variadic flags with ..., enum choices as choice1|choice2, array defaults joined by the configured variadic separator or a space, an empty array default as [], an empty-string default as "", and string-valued variadic separators as a separator suffix. Built-in rows include -h/--help, optional help-all, -v/--version, and optional --; display depends on configuration such as useAliasInUsageLine, alwaysShowHelpAllFlag, and ANSI color.