@rolexjs/core 1.4.0 → 1.5.0-dev-20260309082624

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
@@ -146,6 +146,7 @@ declare const scopeProject: _rolexjs_system.Process;
146
146
  declare const milestoneProject: _rolexjs_system.Process;
147
147
  declare const deliverProject: _rolexjs_system.Process;
148
148
  declare const wikiProject: _rolexjs_system.Process;
149
+ declare const produceProject: _rolexjs_system.Process;
149
150
 
150
151
  declare const ownProduct: _rolexjs_system.Process;
151
152
  declare const disownProduct: _rolexjs_system.Process;
@@ -158,7 +159,6 @@ declare const born: _rolexjs_system.Process;
158
159
  declare const found: _rolexjs_system.Process;
159
160
  declare const establish: _rolexjs_system.Process;
160
161
  declare const launch: _rolexjs_system.Process;
161
- declare const publish: _rolexjs_system.Process;
162
162
  declare const retire: _rolexjs_system.Process;
163
163
  declare const die: _rolexjs_system.Process;
164
164
  declare const archive: _rolexjs_system.Process;
@@ -227,7 +227,7 @@ interface CommandResultMap {
227
227
  "project.deliver": CommandResult;
228
228
  "project.wiki": CommandResult;
229
229
  "project.archive": CommandResult;
230
- "product.create": CommandResult;
230
+ "project.produce": CommandResult;
231
231
  "product.strategy": CommandResult;
232
232
  "product.spec": CommandResult;
233
233
  "product.release": CommandResult;
@@ -399,6 +399,8 @@ declare class Role {
399
399
 
400
400
  interface RoleX {
401
401
  activate(individual: string): Promise<Role>;
402
+ inspect(id: string): Promise<string>;
403
+ survey(type?: string): Promise<string>;
402
404
  direct<T = unknown>(locator: string, args?: Record<string, unknown>, options?: {
403
405
  raw?: boolean;
404
406
  }): Promise<T>;
@@ -423,10 +425,15 @@ declare class RoleXService implements RoleX {
423
425
  private findOrAutoBorn;
424
426
  private saveSnapshot;
425
427
  private restoreSnapshot;
428
+ inspect(id: string): Promise<string>;
429
+ survey(type?: string): Promise<string>;
426
430
  direct<T = unknown>(locator: string, args?: Record<string, unknown>, options?: {
427
431
  raw?: boolean;
428
432
  }): Promise<T>;
433
+ /** Find a node by id across the entire society tree. */
429
434
  private find;
435
+ /** Find and project a node's full subtree by id. */
436
+ private projectById;
430
437
  }
431
438
 
432
439
  /**
@@ -476,8 +483,17 @@ interface ApplyResult {
476
483
  */
477
484
  declare function applyPrototype(data: PrototypeData, repo: PrototypeRepository, direct: (op: string, args: Record<string, unknown>) => Promise<unknown>): Promise<ApplyResult>;
478
485
 
486
+ /**
487
+ * descriptions — AUTO-GENERATED by scripts/gen-descriptions.ts
488
+ *
489
+ * DO NOT EDIT MANUALLY. Run `bun run gen:desc` to regenerate.
490
+ *
491
+ * Source: descriptions/{system}/{process}.feature (48 files)
492
+ */
493
+ 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"];
494
+ type WorldTopic = (typeof WORLD_TOPICS)[number];
495
+ declare const world: Record<WorldTopic, string>;
479
496
  declare const processes: Record<string, string>;
480
- declare const world: Record<string, string>;
481
497
 
482
498
  declare const directives: Record<string, Record<string, string>>;
483
499
 
@@ -568,4 +584,4 @@ interface Protocol {
568
584
  /** The protocol instance — single source of truth for all channel adapters. */
569
585
  declare const protocol: Protocol;
570
586
 
571
- export { type ApplyResult, type ArgEntry, type CommandContext, type CommandResult, type CommandResultMap, type Commands, type ContextData, type InstructionDef, type Migration, type MigrationRecord, type ParamDef, type ParamType, type Platform, type Protocol, type PrototypeData, type PrototypeRepository, type Renderer, RendererRouter, Role, type RoleDeps, type RoleSnapshot, type RoleX, type RoleXRepository, RoleXService, type ToolDef, abandon, abolish, activate, applyPrototype, appoint, archive, background, born, channel, channelProduct, charge, charter, charterOrg, complete, createCommands, deliverProject, deliverable, deprecate, die, directives, dismiss, disownProduct, dissolve, duty, encounter, enroll, establish, experience, findInState, finish, fire, found, goal, hire, identity, individual, instructions, launch, master, milestone, milestoneProject, mindset, organization, ownProduct, past, plan, planGoal, position, principle, procedure, processes, product, project, protocol, publish, realize, reflect, rehire, release, releaseProduct, removeParticipant, requirement, retire, scope, scopeProject, society, spec, specProduct, strategy, strategyProduct, task, toArgs, todo, tone, want, wiki, wikiProject, world };
587
+ export { type ApplyResult, type ArgEntry, type CommandContext, type CommandResult, type CommandResultMap, type Commands, type ContextData, type InstructionDef, type Migration, type MigrationRecord, type ParamDef, type ParamType, type Platform, type Protocol, type PrototypeData, type PrototypeRepository, type Renderer, RendererRouter, Role, type RoleDeps, type RoleSnapshot, type RoleX, type RoleXRepository, RoleXService, type ToolDef, abandon, abolish, activate, applyPrototype, appoint, archive, background, born, channel, channelProduct, charge, charter, charterOrg, complete, createCommands, deliverProject, deliverable, deprecate, die, directives, dismiss, disownProduct, dissolve, duty, encounter, enroll, establish, experience, findInState, finish, fire, found, goal, hire, identity, individual, instructions, launch, master, milestone, milestoneProject, mindset, organization, ownProduct, past, plan, planGoal, position, principle, procedure, processes, produceProject, product, project, protocol, realize, reflect, rehire, release, releaseProduct, removeParticipant, requirement, retire, scope, scopeProject, society, spec, specProduct, strategy, strategyProduct, task, toArgs, todo, tone, want, wiki, wikiProject, world };