Skip to content

Commit dbae219

Browse files
tianjianjiangclaude
andcommitted
docs(agents): fix runtime version, blob reader name, and bridge utility references
- Runtime: macOS 10.15 → 11.0 (matches actual deployment target) - KeyValueBlobReader → MemoryMappedFile (correct utility name) - NSStringUtils → Foundation methods (NSStringUtils is Swift-only) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d513e0e commit dbae219

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ McBopomofo (小麥注音輸入法) is a Traditional Chinese input method engine
4040

4141
## System Requirements
4242

43-
**Runtime:** macOS 10.15 (Catalina) or later
43+
**Runtime:** macOS 11.0 (Big Sur) or later
4444

4545
**Development:**
4646
- macOS 14.7 or later
@@ -247,7 +247,7 @@ McBopomofo uses a three-layer architecture (Swift/Objective-C++/C++). For detail
247247
- Manage C++ object lifetimes in `.mm` files with proper `init`/`dealloc`
248248
- Use `std::shared_ptr` when passing to C++ APIs
249249
- Surface engine capabilities by extending bridge classes and declaring in `McBopomofo-Bridging-Header.h`
250-
- Convert between `NSString` and `std::string` using `UTF8Helper`/`NSStringUtils`, not manual conversion
250+
- Convert between `NSString` and `std::string` using `UTF8Helper` and Foundation methods, not manual conversion
251251
- Keep bridge methods small: forward to engine, return Foundation types
252252

253253
</required>
@@ -265,7 +265,7 @@ McBopomofo uses a three-layer architecture (Swift/Objective-C++/C++). For detail
265265
`std::string_view`
266266
- Place code in existing namespaces: `McBopomofo`,
267267
`Formosa::Gramambular2`, `Formosa::Mandarin`
268-
- Reuse blob readers (`KeyValueBlobReader`,
268+
- Reuse blob readers (`MemoryMappedFile`,
269269
`ParselessPhraseDB`, `PhraseReplacementMap`)
270270
- Keep algorithms deterministic and side-effect free;
271271
logging stays in Objective-C++ layer

0 commit comments

Comments
 (0)