hikoutei 0.5.13 → 0.5.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ja.md CHANGED
@@ -206,15 +206,46 @@ MikroORM は実装の詳細であり、Hikoutei の公開エンティティ API
206
206
 
207
207
  ## プロジェクトステータス
208
208
 
209
- Hikoutei は活発に開発中です。エンティティ API は利用可能ですが、シート編集の
210
- 取り込みと競合表示はまだ発展途上です。マイナーバージョンのアップグレード前に
211
- リリースノートを確認してください。
209
+ Hikoutei は活発に開発中です。現在の EntityManager は、スカラーエンティティの
210
+ ライフサイクル操作、等価条件を使う `find()` / `findOne()`、`find()` の
211
+ `limit` / `offset` ページネーション、コールバック形式の `transactional()` を
212
+ サポートします。通常の読み取り元は常に SQLite であり、Google Sheets では
213
+ ありません。
214
+ シート編集の取り込みと競合表示はまだ発展途上です。マイナーバージョンの
215
+ アップグレード前にリリースノートを確認してください。
212
216
 
213
217
  ## ロードマップ
214
218
 
219
+ EntityManager のロードマップは、以下の実装順序に従います。段階の順序は確定
220
+ していますが、日付やリリース番号は約束しません。
221
+
222
+ 1. **豊富なローカル読み取り**
223
+ - Hikoutei 独自の型付きクエリ契約に、明示的な `eq`、`ne`、`gt`、
224
+ `gte`、`lt`、`lte`、`in`、`nin`、`like` 条件と `orderBy`、
225
+ `count()`、`findAndCount()` を追加します。
226
+ - MikroORM のクエリ型を公開せず、これらを既存の `limit` / `offset`
227
+ ページネーションと組み合わせます。
228
+ 2. **ライフサイクル安全な書き込み**
229
+ - `upsert` と direct/bulk mutation 機能は、エンティティテーブル、
230
+ canonical state、永続的な Sheet effect outbox を 1 つの SQLite
231
+ トランザクションで処理する Hikoutei 独自の契約を通じてのみ追加します。
232
+ - この原子的なライフサイクルを迂回し得る、生の `nativeInsert`、
233
+ `nativeUpdate`、`nativeDelete`、または SQL パススルー API は約束しません。
234
+ 3. **リレーションとロード**
235
+ - many-to-one、one-to-many、`populate()` 機能を追加します。
236
+ - 公開前に、リレーションの SQLite マッピング、Sheets プロジェクション
237
+ 表現、スキーマ動作、競合セマンティクスを一体として設計します。
238
+ 4. **スキーマ運用**
239
+ - マイグレーションとスキーマドリフト管理を追加します。
240
+ - 検証と運用フローを既存のセットアップツールと統合します。
241
+
242
+ ### 同期と運用
243
+
244
+ 以下の作業は EntityManager の各段階と並行して進めます。
245
+
215
246
  - Google Sheets からの意図的なユーザー編集の取り込みを完了する
216
247
  - 更新・削除の競合処理と表示を改善する
217
- - レジストリと直接 provider デプロイのセットアップツールを追加する
248
+ - レジストリと direct-provider デプロイのセットアップツールを改善する
218
249
 
219
250
  現在の作業は[オープンな Issues](https://github.com/ManddarinShop/Hikoutei/issues)を
220
251
  参照してください。
package/README.ko.md CHANGED
@@ -201,15 +201,44 @@ MikroORM은 구현 세부 사항이며 Hikoutei의 공개 엔티티 API에는
201
201
 
202
202
  ## 프로젝트 상태
203
203
 
204
- Hikoutei는 활발히 개발 중입니다. 엔티티 API사용 가능하지만, 시트 편집
205
- 수집과 충돌 표시는 아직 발전 중입니다. 마이너 버전 업그레이드 전에 릴리스
206
- 노트를 확인하세요.
204
+ Hikoutei는 활발히 개발 중입니다. 현재 EntityManager스칼라 엔티티의 생명주기
205
+ 작업, 동등 조건을 사용하는 `find()` / `findOne()`, `find()`의 `limit` /
206
+ `offset` 페이지네이션, 콜백형 `transactional()`을 지원합니다. 일반 읽기는
207
+ Google Sheets가 아니라 항상 SQLite에서 수행됩니다. 시트 편집 수집과 충돌 표시는
208
+ 아직 발전 중입니다. 마이너 버전 업그레이드 전에 릴리스 노트를 확인하세요.
207
209
 
208
210
  ## 로드맵
209
211
 
212
+ EntityManager 로드맵은 아래 구현 순서를 따릅니다. 단계 순서는 확정되어 있지만,
213
+ 일정이나 릴리스 번호는 약속하지 않습니다.
214
+
215
+ 1. **풍부한 로컬 읽기**
216
+ - Hikoutei가 정의한 타입 쿼리 계약에 명시적 `eq`, `ne`, `gt`, `gte`,
217
+ `lt`, `lte`, `in`, `nin`, `like` 조건과 `orderBy`, `count()`,
218
+ `findAndCount()`를 추가합니다.
219
+ - MikroORM 쿼리 타입을 노출하지 않고 이 기능들을 기존 `limit` / `offset`
220
+ 페이지네이션과 조합합니다.
221
+ 2. **생명주기 안전 쓰기**
222
+ - `upsert`와 direct/bulk mutation 기능은 엔티티 테이블, canonical state,
223
+ 내구성 있는 Sheet effect outbox를 하나의 SQLite 트랜잭션에서 처리하는
224
+ Hikoutei 정의 계약을 통해서만 추가합니다.
225
+ - 이 원자적 생명주기를 우회할 수 있는 원시 `nativeInsert`, `nativeUpdate`,
226
+ `nativeDelete` 또는 SQL 패스스루 API는 약속하지 않습니다.
227
+ 3. **관계와 로딩**
228
+ - many-to-one, one-to-many, `populate()` 기능을 추가합니다.
229
+ - 공개 전에 관계의 SQLite 매핑, Sheets 프로젝션 표현, 스키마 동작, 충돌
230
+ 의미론을 함께 설계합니다.
231
+ 4. **스키마 운영**
232
+ - 마이그레이션과 스키마 드리프트 관리를 추가합니다.
233
+ - 검증 및 운영 흐름을 기존 설정 도구와 통합합니다.
234
+
235
+ ### 동기화 및 운영
236
+
237
+ 다음 작업은 EntityManager 단계와 병행합니다.
238
+
210
239
  - Google Sheets에서 의도적인 사용자 편집 수집 완성
211
240
  - 업데이트·삭제 충돌 처리와 표시 개선
212
- - 레지스트리 및 직접 provider 배포를 위한 설정 도구 추가
241
+ - 레지스트리 및 direct-provider 배포를 위한 설정 도구 개선
213
242
 
214
243
  현재 작업은 [오픈 이슈](https://github.com/ManddarinShop/Hikoutei/issues)를
215
244
  참고하세요.
package/README.md CHANGED
@@ -212,15 +212,47 @@ entity API.
212
212
 
213
213
  ## Project status
214
214
 
215
- Hikoutei is in active development. The entity API is usable, while Sheet edit
216
- ingestion and conflict presentation are still evolving. Review release notes
217
- before upgrading minor versions.
215
+ Hikoutei is in active development. The current EntityManager supports scalar
216
+ entity lifecycle operations, equality-filtered `find()` / `findOne()`,
217
+ `limit` / `offset` pagination on `find()`, and callback-style
218
+ `transactional()` work.
219
+ Normal reads always come from SQLite, never Google Sheets. Sheet edit ingestion
220
+ and conflict presentation are still evolving. Review release notes before
221
+ upgrading minor versions.
218
222
 
219
223
  ## Roadmap
220
224
 
225
+ The EntityManager roadmap follows the implementation order below. The sequence
226
+ is committed, but no milestone is tied to a date or release number.
227
+
228
+ 1. **Rich local reads**
229
+ - Add a Hikoutei-owned typed query contract for explicit `eq`, `ne`, `gt`,
230
+ `gte`, `lt`, `lte`, `in`, `nin`, and `like` conditions, plus `orderBy`,
231
+ `count()`, and `findAndCount()`.
232
+ - Compose these capabilities with the existing `limit` / `offset`
233
+ pagination without exposing MikroORM query types.
234
+ 2. **Lifecycle-safe writes**
235
+ - Add `upsert` and direct/bulk mutation capabilities only through a
236
+ Hikoutei-owned contract that preserves one SQLite transaction across the
237
+ entity table, canonical state, and durable Sheet effect outbox.
238
+ - Do not promise raw `nativeInsert`, `nativeUpdate`, `nativeDelete`, or SQL
239
+ pass-through APIs that could bypass that atomic lifecycle.
240
+ 3. **Relationships and loading**
241
+ - Add many-to-one, one-to-many, and `populate()` capabilities.
242
+ - Design SQLite relationship mapping, Sheets projection representation,
243
+ schema behavior, and conflict semantics together before public release.
244
+ 4. **Schema operations**
245
+ - Add migration and schema drift management.
246
+ - Integrate validation and operational workflows with the existing setup
247
+ tooling.
248
+
249
+ ### Synchronization and operations
250
+
251
+ The following work continues in parallel with the EntityManager milestones:
252
+
221
253
  - Complete ingestion of intentional user edits from Google Sheets.
222
254
  - Improve update/delete conflict handling and presentation.
223
- - Add setup tooling for registry and direct provider deployment.
255
+ - Improve setup tooling for registry and direct-provider deployment.
224
256
 
225
257
  See the [open issues](https://github.com/ManddarinShop/Hikoutei/issues)
226
258
  for current work.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hikoutei",
3
- "version": "0.5.13",
3
+ "version": "0.5.15",
4
4
  "description": "Typed repository and safe write layer for Google Sheets-backed MVPs. SQLite-authoritative entity lifecycle with asynchronous Google Sheets projection.",
5
5
  "repository": {
6
6
  "type": "git",