@rolexjs/core 2.0.0-dev-20260305000914 → 2.0.0-dev-20260305002325

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -48,15 +48,15 @@ interface MigrationRecord {
48
48
  }
49
49
  /** Prototype registry — tracks which prototypes are settled and their migration history. */
50
50
  interface PrototypeRepository {
51
- settle(id: string, source: string): void;
52
- evict(id: string): void;
53
- list(): Record<string, string>;
51
+ settle(id: string, source: string): Promise<void>;
52
+ evict(id: string): Promise<void>;
53
+ list(): Promise<Record<string, string>>;
54
54
  /** Record a migration as executed. */
55
- recordMigration(prototypeId: string, migrationId: string, version: number, checksum: string): void;
55
+ recordMigration(prototypeId: string, migrationId: string, version: number, checksum: string): Promise<void>;
56
56
  /** Get all executed migrations for a prototype, ordered by execution time. */
57
- getMigrationHistory(prototypeId: string): MigrationRecord[];
57
+ getMigrationHistory(prototypeId: string): Promise<MigrationRecord[]>;
58
58
  /** Check if a specific migration has been executed. */
59
- hasMigration(prototypeId: string, migrationId: string): boolean;
59
+ hasMigration(prototypeId: string, migrationId: string): Promise<boolean>;
60
60
  }
61
61
  /**
62
62
  * RoleXRepository — unified data access layer.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolexjs/core",
3
- "version": "2.0.0-dev-20260305000914",
3
+ "version": "2.0.0-dev-20260305002325",
4
4
  "description": "RoleX Core - AI Agent Role Management Framework",
5
5
  "keywords": [
6
6
  "rolex",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@issuexjs/core": "^0.2.0",
42
- "@rolexjs/system": "2.0.0-dev-20260305000914",
42
+ "@rolexjs/system": "2.0.0-dev-20260305002325",
43
43
  "@resourcexjs/core": "^2.14.0"
44
44
  },
45
45
  "devDependencies": {},