| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-08-07 | refactor(platform-repository): fetch the PHP runtime in one RPC call | nsfisis | |
| The RuntimeInterface seam asked the worker one question at a time: a round trip per loaded extension, per ReflectionExtension::info() output and per constant, so a single `show --platform` cost 70 to 100 of them. A `platform` dispatch entry now answers all of it as one PHP array, which shirabe-php-rpc decodes into a OnceLock-cached PlatformInfo, the way the diagnose command already works. Composer\Platform\Runtime therefore has no Rust counterpart any more. Its work belongs to the running interpreter, and invoke()/construct() could only be ported as a whitelist that panicked on anything unlisted; it is ported as PHP into the worker instead, and PlatformRepository reads the answers off PlatformInfo. Accessors panic on a name the payload does not carry, so the worker and its consumers cannot drift apart unnoticed. The tests describe the runtime as payload data where they used to mock the seam, with the datasets unchanged. The one loss is the call-count assertion of test_inet_pton_regression: the payload reports the result of `@inet_pton('::')` rather than answering a call. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> | |||
| 2026-08-02 | feat(command): port CompletionTrait's suggestion providers | nsfisis | |
| The seven suggest* methods resolve package names, types, and install preferences for shell completion. PHP returns $this-bound closures; here each method returns a SuggestedValues whose closure receives the bound command as `this` at call time. The blanket impl over every BaseCommand mirrors PHP's per-command `use CompletionTrait;` (the methods are private there, so the wider visibility is observationally equivalent). Notable PHP shapes kept: the hintsToFind counter machine iterates a by-value copy per package (continue 2 -> labelled continue), and suggestAvailablePackage pins an exact vendor match before truncating to $max entries. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> | |||
| 2026-05-19 | fix(compile): fix various compile errors | nsfisis | |
| Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | |||
| 2026-05-18 | fix(compile): extract static methods from BasePackage trait | nsfisis | |
| 2026-05-17 | fix(compile): extract constants from traits to make them dyn-compatible | nsfisis | |
| 2026-05-17 | chore(style): cargo fmt | nsfisis | |
| 2026-05-16 | feat(port): port CompletionTrait.php | nsfisis | |
| 2026-05-12 | feat(init): add scaffold files | nsfisis | |
