@rolexjs/core 1.5.0-dev-20260309123137 → 1.5.0-dev-20260309145703

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.
package/dist/index.d.ts CHANGED
@@ -175,7 +175,7 @@ declare const rehire: _rolexjs_system.Process;
175
175
  *
176
176
  * Usage:
177
177
  * const commands = createCommands({ rt, society, past, resolve, find, resourcex });
178
- * const result = commands["individual.born"]("Feature: Sean", "sean");
178
+ * const result = commands["society.born"]("Feature: Sean", "sean");
179
179
  */
180
180
 
181
181
  interface CommandResult {
@@ -200,12 +200,12 @@ interface CommandContext {
200
200
  * Renderer and consumers use this to know the shape of each result.
201
201
  */
202
202
  interface CommandResultMap {
203
- "individual.born": CommandResult;
204
- "individual.retire": CommandResult;
205
- "individual.die": CommandResult;
206
- "individual.rehire": CommandResult;
207
- "individual.teach": CommandResult;
208
- "individual.train": CommandResult;
203
+ "society.born": CommandResult;
204
+ "society.retire": CommandResult;
205
+ "society.die": CommandResult;
206
+ "society.rehire": CommandResult;
207
+ "society.teach": CommandResult;
208
+ "society.train": CommandResult;
209
209
  "role.focus": CommandResult;
210
210
  "role.want": CommandResult;
211
211
  "role.plan": CommandResult;
@@ -228,6 +228,8 @@ interface CommandResultMap {
228
228
  "project.wiki": CommandResult;
229
229
  "project.archive": CommandResult;
230
230
  "project.produce": CommandResult;
231
+ "project.maintain": CommandResult;
232
+ "project.unmaintain": CommandResult;
231
233
  "product.strategy": CommandResult;
232
234
  "product.spec": CommandResult;
233
235
  "product.release": CommandResult;
@@ -235,11 +237,13 @@ interface CommandResultMap {
235
237
  "product.own": CommandResult;
236
238
  "product.disown": CommandResult;
237
239
  "product.deprecate": CommandResult;
238
- "org.found": CommandResult;
240
+ "society.found": CommandResult;
239
241
  "org.charter": CommandResult;
240
- "org.dissolve": CommandResult;
242
+ "society.dissolve": CommandResult;
241
243
  "org.hire": CommandResult;
242
244
  "org.fire": CommandResult;
245
+ "org.admin": CommandResult;
246
+ "org.unadmin": CommandResult;
243
247
  "position.establish": CommandResult;
244
248
  "position.charge": CommandResult;
245
249
  "position.require": CommandResult;
@@ -420,6 +424,8 @@ declare class RoleXService implements RoleX {
420
424
  private past;
421
425
  /** Cached Role instances — one per individual. */
422
426
  private readonly roles;
427
+ /** Permission registry — maps relation names to permissions. */
428
+ private readonly permissions;
423
429
  private constructor();
424
430
  static create(platform: Platform, renderer: Renderer): Promise<RoleXService>;
425
431
  private init;
@@ -490,9 +496,9 @@ declare function applyPrototype(data: PrototypeData, repo: PrototypeRepository,
490
496
  *
491
497
  * DO NOT EDIT MANUALLY. Run `bun run gen:desc` to regenerate.
492
498
  *
493
- * Source: descriptions/{system}/{process}.feature (50 files)
499
+ * Source: descriptions/{system}/{process}.feature (71 files)
494
500
  */
495
- declare const WORLD_TOPICS: readonly ["cognition", "cognitive-priority", "communication", "execution", "gherkin", "identity-ethics", "inspect", "issue", "memory", "role-identity", "skill-system", "state-origin", "survey", "use-protocol"];
501
+ declare const WORLD_TOPICS: readonly ["cognition", "cognitive-priority", "command-system", "communication", "execution", "gherkin", "identity-ethics", "inspect", "issue", "memory", "role-identity", "skill-system", "state-origin", "survey", "use-protocol"];
496
502
  type WorldTopic = (typeof WORLD_TOPICS)[number];
497
503
  declare const world: Record<WorldTopic, string>;
498
504
  declare const processes: Record<string, string>;
@@ -508,7 +514,7 @@ declare const directives: Record<string, Record<string, string>>;
508
514
  /**
509
515
  * Map named arguments to positional arguments for a given operation.
510
516
  *
511
- * @param op - Operation key in "namespace.method" format (e.g. "individual.born")
517
+ * @param op - Operation key in "namespace.method" format (e.g. "society.born")
512
518
  * @param args - Named arguments from the caller
513
519
  * @returns Positional argument array matching the method signature
514
520
  */