@rolexjs/core 0.4.0 → 0.5.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 +6 -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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolexjs/core",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "RoleX Core - AI Agent Role Management Framework",
5
5
  "keywords": [
6
6
  "rolex",