@rolexjs/core 0.5.0 → 0.7.0

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 +4 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -165,6 +165,8 @@ interface Platform {
165
165
  found(name: string): void;
166
166
  /** Get the organization structure (teams + roles) */
167
167
  organization(): Organization;
168
+ /** List all born roles in society (regardless of organization membership) */
169
+ allBornRoles(): string[];
168
170
  /** Create a new role with its persona */
169
171
  born(name: string, source: string): Feature;
170
172
  /** Hire a role into the organization — establish CAS link */
@@ -198,6 +200,8 @@ interface Platform {
198
200
  abandonGoal(roleId: string, experience?: string): void;
199
201
  /** Mark a task as done */
200
202
  completeTask(roleId: string, name: string): void;
203
+ /** Reflect: distill experiences into knowledge, removing the original experiences */
204
+ reflect(roleId: string, experienceNames: string[], knowledgeName: string, knowledgeSource: string): Feature;
201
205
  }
202
206
 
203
207
  export type { Directory, Feature, Goal, Identity, Organization, Plan, Platform, Role, RoleEntry, Scenario, Skill, Task };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolexjs/core",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "RoleX Core - AI Agent Role Management Framework",
5
5
  "keywords": [
6
6
  "rolex",