@rolexjs/core 0.4.1 → 0.6.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 +8 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -180,6 +180,12 @@ interface Platform {
180
180
  plan: Plan | null;
181
181
  tasks: Task[];
182
182
  }) | null;
183
+ /** List all active (uncompleted) goals for a role */
184
+ allActiveGoals(roleId: string): Goal[];
185
+ /** Get the currently focused goal name for a role */
186
+ getFocusedGoal(roleId: string): string | null;
187
+ /** Set the focused goal for a role by name */
188
+ setFocusedGoal(roleId: string, name: string): void;
183
189
  /** Create a new goal from Gherkin source */
184
190
  createGoal(roleId: string, name: string, source: string, testable?: boolean): Goal;
185
191
  /** Create a plan for the current active goal */
@@ -192,6 +198,8 @@ interface Platform {
192
198
  abandonGoal(roleId: string, experience?: string): void;
193
199
  /** Mark a task as done */
194
200
  completeTask(roleId: string, name: string): void;
201
+ /** Reflect: distill experiences into knowledge, removing the original experiences */
202
+ reflect(roleId: string, experienceNames: string[], knowledgeName: string, knowledgeSource: string): Feature;
195
203
  }
196
204
 
197
205
  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.4.1",
3
+ "version": "0.6.0",
4
4
  "description": "RoleX Core - AI Agent Role Management Framework",
5
5
  "keywords": [
6
6
  "rolex",