洪 民憙 (Hong Minhee) 
@hongminhee@hollo.social
#Optique 1.0.0 is shaping up, and three API changes are worth knowing about in advance.
-
Runner consolidation:
run()from@optique/runnow accepts source contexts directly, which makesrunWith()andrunWithConfig()redundant for most use cases.runWithConfig()is removed outright—no deprecation, since we have a major version to absorb the break. For the typical CLI,run()is now the single entry point. -
Meta command config redesign:
help,version, andcompletioninRunOptionsno longer usemode: "command" | "option" | "both". Each now takes independentcommandandoptionsub-configs, which makes it possible to give--helpa-halias, hide a meta command from usage lines while keeping it in the help listing, or group the command and option forms differently. String shorthands (help: "both",version: "1.2.3", etc.) still work exactly as before. -
Config-file-relative paths:
bindConfig()'skeycallback now receives config file metadata as a second argument—configDirandconfigPath—so you can resolve paths relative to the config file's location rather than the working directory. This matches how tools like the TypeScript compiler handleoutDirand similar path options.
More details on the 1.0.0 milestone.