dominds 1.8.5 → 1.8.6

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.
@@ -187,15 +187,15 @@ Recommended principles:
187
187
 
188
188
  #### Public import surface (current contract)
189
189
 
190
- - The package split is now the contract. Formal consumers should depend on `dominds-kernel` for app/runtime-facing contracts, and use `dominds-shell` only when a shell-facing contract is explicitly defined there; they must not depend on `dominds/main/**` or any root-package aggregation shim.
190
+ - The package split is now the contract. Formal consumers should depend on `@longrun-ai/kernel` for app/runtime-facing contracts, and use `@longrun-ai/shell` only when a shell-facing contract is explicitly defined there; they must not depend on `dominds/main/**` or any root-package aggregation shim.
191
191
  - `dominds/main/**`, `dominds/main/shared/**`, and `dominds/main/apps-host/**` are private implementation paths. They are repo-internal source trees, not a source-level public surface.
192
192
  - `dominds/main/index.ts` is intentionally gone. The repo must not keep a legacy aggregation entry that suggests `main pkg` still offers a consumer import contract.
193
193
  - `tests/**` is explicitly **not** evidence for widening the public surface. Test convenience imports must not turn private implementation modules into de-facto public API.
194
194
 
195
195
  The boundary must be written once, in the actual published package contracts:
196
196
 
197
- - `packages/kernel/package.json#exports` defines the supported `dominds-kernel` surface.
198
- - `packages/shell/package.json#exports` defines the supported shell-facing `dominds-shell` surface; it does not imply CLI or integrated runtime ownership.
197
+ - `packages/kernel/package.json#exports` defines the supported `@longrun-ai/kernel` surface.
198
+ - `packages/shell/package.json#exports` defines the supported shell-facing `@longrun-ai/shell` surface; it does not imply CLI or integrated runtime ownership.
199
199
  - `dominds/package.json#exports` is limited to CLI/aggregation-shell entrypoints such as `./cli`; it must not grow a root runtime import surface again.
200
200
  - Published package resolution must reject deep imports such as `dominds/main/**`, `dominds/main/shared/**`, `dominds/main/apps-host/**`, and `dominds/dist/**`.
201
201
 
@@ -186,15 +186,15 @@ Install JSON 是 app 与 Kernel/CLI 之间的**安装/运行握手载荷**。它
186
186
 
187
187
  #### 对外导入面(当前正式 contract)
188
188
 
189
- - package 拆分本身已经是正式 contract。对外正式 consumer 对 app/runtime-facing contract 应依赖 `dominds-kernel`;只有在 shell-facing contract 被明确放入 shell 包时才应依赖 `dominds-shell`;不得依赖 `dominds/main/**` 或任何 root-package 聚合中转层。
189
+ - package 拆分本身已经是正式 contract。对外正式 consumer 对 app/runtime-facing contract 应依赖 `@longrun-ai/kernel`;只有在 shell-facing contract 被明确放入 shell 包时才应依赖 `@longrun-ai/shell`;不得依赖 `dominds/main/**` 或任何 root-package 聚合中转层。
190
190
  - `dominds/main/**`、`dominds/main/shared/**`、`dominds/main/apps-host/**` 都是私有实现路径,只服务仓内源码组织,不再构成任何源码层公开面。
191
191
  - `dominds/main/index.ts` 已被有意删除。仓内不得再保留这种 legacy 聚合入口,否则会继续制造“main pkg 仍提供 consumer import contract”的错误心智。
192
192
  - `tests/**` 被明确排除在公开面扩张依据之外。测试写起来方便,不足以把私有实现模块抬升成事实上的 public API。
193
193
 
194
194
  这个边界现在只应写在真实发布 contract 上:
195
195
 
196
- - `packages/kernel/package.json#exports` 定义受支持的 `dominds-kernel` 导入面。
197
- - `packages/shell/package.json#exports` 定义受支持的 shell-facing `dominds-shell` 导入面;它不意味着 CLI 或 integrated runtime 归 shell 包承载。
196
+ - `packages/kernel/package.json#exports` 定义受支持的 `@longrun-ai/kernel` 导入面。
197
+ - `packages/shell/package.json#exports` 定义受支持的 shell-facing `@longrun-ai/shell` 导入面;它不意味着 CLI 或 integrated runtime 归 shell 包承载。
198
198
  - `dominds/package.json#exports` 仅限 CLI/聚合壳入口(如 `./cli`);不得再长出 root runtime import surface。
199
199
  - 发布态 package resolution 必须拒绝 `dominds/main/**`、`dominds/main/shared/**`、`dominds/main/apps-host/**`、`dominds/dist/**` 这类 deep import。
200
200
 
@@ -12,7 +12,7 @@ The persistence layer is fully implemented and active with modern TypeScript typ
12
12
 
13
13
  ### Current State
14
14
 
15
- - **✅ Fully Implemented**: Modern storage system with kernel-owned TypeScript contracts exposed via `dominds-kernel/types/storage` (source: `packages/kernel/src/types/storage.ts`)
15
+ - **✅ Fully Implemented**: Modern storage system with kernel-owned TypeScript contracts exposed via `@longrun-ai/kernel/types/storage` (source: `packages/kernel/src/types/storage.ts`)
16
16
  - **✅ latest.yaml Support**: Current course and lastModified tracking for accurate UI timestamps
17
17
  - **✅ Append-Only Events**: JSONL-based event streaming with atomic operations
18
18
  - **✅ Strong Type Safety**: Discriminated unions and type guards for compile-time verification
@@ -206,7 +206,7 @@ This design balances the need for clear hierarchical relationships with efficien
206
206
  **Key Features**:
207
207
 
208
208
  - **latest.yaml**: Modern tracking file with current course, lastModified, and status
209
- - **Strong Typing**: All files use the kernel-owned storage contracts exposed via `dominds-kernel/types/storage`
209
+ - **Strong Typing**: All files use the kernel-owned storage contracts exposed via `@longrun-ai/kernel/types/storage`
210
210
  - **Atomic Updates**: latest.yaml updated atomically on all dialog modifications
211
211
  - **UI Integration**: Timestamps from latest.yaml display correctly in dialog list
212
212
 
@@ -246,7 +246,7 @@ assignmentFromSup: # Assignment context from parent
246
246
  originMemberId: 'alice'
247
247
  ```
248
248
 
249
- **Type Safety**: All metadata follows the `DialogMetadataFile` contract exported by `dominds-kernel/types/storage` with compile-time verification.
249
+ **Type Safety**: All metadata follows the `DialogMetadataFile` contract exported by `@longrun-ai/kernel/types/storage` with compile-time verification.
250
250
 
251
251
  ### Latest Status File (`latest.yaml`)
252
252
 
@@ -580,7 +580,7 @@ Migration and versioning features are not yet implemented and remain planned cap
580
580
 
581
581
  The persistence layer has been **completely modernized** with no backward compatibility:
582
582
 
583
- #### ✅ Strong TypeScript Types (`dominds-kernel/types/storage`)
583
+ #### ✅ Strong TypeScript Types (`@longrun-ai/kernel/types/storage`)
584
584
 
585
585
  - **Modern Discriminated Unions**: Type-safe event handling with compile-time verification
586
586
  - **Type Guards**: Runtime validation of storage formats
@@ -618,7 +618,7 @@ The persistence layer has been **completely modernized** with no backward compat
618
618
  **Breaking Changes**: This refactoring intentionally removed all backward compatibility:
619
619
 
620
620
  - Old interfaces removed from `main/persistence.ts`
621
- - Kernel-owned `dominds-kernel/types/storage` now provides the storage type definitions (source: `packages/kernel/src/types/storage.ts`)
621
+ - Kernel-owned `@longrun-ai/kernel/types/storage` now provides the storage type definitions (source: `packages/kernel/src/types/storage.ts`)
622
622
  - All dialog creation now includes `latest.yaml` initialization
623
623
  - API responses include `lastModified` field for UI timestamps
624
624
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  ### 当前状态
12
12
 
13
- - **✅ 完全实现**:现代存储系统使用由 `dominds-kernel/types/storage` 对外导出的 kernel 自有 TypeScript 合同(源码:`packages/kernel/src/types/storage.ts`)
13
+ - **✅ 完全实现**:现代存储系统使用由 `@longrun-ai/kernel/types/storage` 对外导出的 kernel 自有 TypeScript 合同(源码:`packages/kernel/src/types/storage.ts`)
14
14
  - **✅ latest.yaml 支持**:当前对话过程和 lastModified 跟踪,用于准确的 UI 时间戳
15
15
  - **✅ 仅追加事件**:基于 JSONL 的事件流,具有原子操作
16
16
  - **✅ 强类型安全**:可区分联合和类型守卫,用于编译时验证
@@ -203,7 +203,7 @@ Dominds 从两个范围加载记忆文件为纯 markdown (`*.md`):
203
203
  **关键特性**:
204
204
 
205
205
  - **latest.yaml**:带有当前对话过程、lastModified 和状态的现代跟踪文件
206
- - **强类型**:所有文件使用由 `dominds-kernel/types/storage` 对外导出的 storage 类型合同
206
+ - **强类型**:所有文件使用由 `@longrun-ai/kernel/types/storage` 对外导出的 storage 类型合同
207
207
  - **原子 在所有对话修改更新**:latest.yaml时原子更新
208
208
  - **UI 集成**:latest.yaml 中的时间戳在对话列表中正确显示
209
209
 
@@ -243,7 +243,7 @@ assignmentFromSup: # 来自父级的任务上下文
243
243
  originMemberId: 'alice'
244
244
  ```
245
245
 
246
- **类型安全**:所有元数据遵循 `dominds-kernel/types/storage` 导出的 `DialogMetadataFile` 合同,并具有编译时验证。
246
+ **类型安全**:所有元数据遵循 `@longrun-ai/kernel/types/storage` 导出的 `DialogMetadataFile` 合同,并具有编译时验证。
247
247
 
248
248
  ### 最新状态文件 (`latest.yaml`)
249
249
 
@@ -575,7 +575,7 @@ taskdocChecksum: 'sha256:abc123...'
575
575
 
576
576
  持久化层已**完全现代化**,没有向后兼容性:
577
577
 
578
- #### ✅ 强 TypeScript 类型 (`dominds-kernel/types/storage`)
578
+ #### ✅ 强 TypeScript 类型 (`@longrun-ai/kernel/types/storage`)
579
579
 
580
580
  - **现代可区分联合**:具有编译时验证的类型安全事件处理
581
581
  - **类型守卫**:存储格式的运行时验证
@@ -613,7 +613,7 @@ taskdocChecksum: 'sha256:abc123...'
613
613
  **破坏性更改**:此重构有意移除了所有向后兼容性:
614
614
 
615
615
  - 从 `main/persistence.ts` 中移除了旧接口
616
- - 现在由 `dominds-kernel/types/storage` 提供 storage 类型定义(源码:`packages/kernel/src/types/storage.ts`)
616
+ - 现在由 `@longrun-ai/kernel/types/storage` 提供 storage 类型定义(源码:`packages/kernel/src/types/storage.ts`)
617
617
  - 所有对话创建现在包括 `latest.yaml` 初始化
618
618
  - API 响应包括 `lastModified` 字段用于 UI 时间戳
619
619
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dominds",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "description": "Dominds CLI and aggregation shell for the LongRun AI kernel/runtime packages.",
5
5
  "type": "commonjs",
6
6
  "publishConfig": {
@@ -64,8 +64,8 @@
64
64
  "pnpm": ">=10.30.3"
65
65
  },
66
66
  "dependencies": {
67
- "dominds-kernel": "workspace:*",
68
- "dominds-shell": "workspace:*",
67
+ "@longrun-ai/kernel": "workspace:*",
68
+ "@longrun-ai/shell": "workspace:*",
69
69
  "@longrun-ai/codex-auth": "workspace:*",
70
70
  "@anthropic-ai/sdk": "^0.78.0",
71
71
  "openai": "^6.27.0",