genesis-ai-cli 9.0.1 → 9.0.2

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.
@@ -32,7 +32,8 @@ export { EthicistAgent, createEthicistAgent } from './ethicist.js';
32
32
  export { BuilderAgent, createBuilderAgent } from './builder.js';
33
33
  export { NarratorAgent, createNarratorAgent } from './narrator.js';
34
34
  export { SensorAgent, createSensorAgent } from './sensor.js';
35
- export { AgentCoordinator, getCoordinator, createCoordinator, resetCoordinator, coordinateAgents, routeToAgent, runWorkflow, type CoordinationPattern, type AggregationStrategy, type CoordinationTask, type AgentResponse, type WorkflowStep, type Workflow, type WorkflowContext, type DebateConfig, type VoteResult, } from './coordinator.js';
35
+ export { AgentCoordinator, AgentCoordinator as Coordinator, // v9.0.2: Alias for backwards compatibility
36
+ getCoordinator, createCoordinator, resetCoordinator, coordinateAgents, routeToAgent, runWorkflow, type CoordinationPattern, type AggregationStrategy, type CoordinationTask, type AgentResponse, type WorkflowStep, type Workflow, type WorkflowContext, type DebateConfig, type VoteResult, } from './coordinator.js';
36
37
  export { AgentPool, getAgentPool, resetAgentPool, quickExecute, parallelExecute, researchBuildReview, AGENT_CAPABILITIES, type PooledAgent, type PoolConfig, type TaskRequest, type TaskResult, type AgentCapability, } from './agent-pool.js';
37
38
  import './explorer.js';
38
39
  import './memory.js';
@@ -35,7 +35,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
35
35
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
36
36
  };
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.AgentRegistry = exports.AGENT_CAPABILITIES = exports.researchBuildReview = exports.parallelExecute = exports.quickExecute = exports.resetAgentPool = exports.getAgentPool = exports.AgentPool = exports.runWorkflow = exports.routeToAgent = exports.coordinateAgents = exports.resetCoordinator = exports.createCoordinator = exports.getCoordinator = exports.AgentCoordinator = exports.createSensorAgent = exports.SensorAgent = exports.createNarratorAgent = exports.NarratorAgent = exports.createBuilderAgent = exports.BuilderAgent = exports.createEthicistAgent = exports.EthicistAgent = exports.createCriticAgent = exports.CriticAgent = exports.createFeelingAgent = exports.FeelingAgent = exports.createPredictorAgent = exports.PredictorAgent = exports.createPlannerAgent = exports.PlannerAgent = exports.createMemoryAgent = exports.MemoryAgent = exports.createExplorerAgent = exports.ExplorerAgent = exports.listAgentTypes = exports.getAgentFactory = exports.registerAgentFactory = exports.BaseAgent = exports.messageBus = exports.MessageBus = void 0;
38
+ exports.AgentRegistry = exports.AGENT_CAPABILITIES = exports.researchBuildReview = exports.parallelExecute = exports.quickExecute = exports.resetAgentPool = exports.getAgentPool = exports.AgentPool = exports.runWorkflow = exports.routeToAgent = exports.coordinateAgents = exports.resetCoordinator = exports.createCoordinator = exports.getCoordinator = exports.Coordinator = exports.AgentCoordinator = exports.createSensorAgent = exports.SensorAgent = exports.createNarratorAgent = exports.NarratorAgent = exports.createBuilderAgent = exports.BuilderAgent = exports.createEthicistAgent = exports.EthicistAgent = exports.createCriticAgent = exports.CriticAgent = exports.createFeelingAgent = exports.FeelingAgent = exports.createPredictorAgent = exports.PredictorAgent = exports.createPlannerAgent = exports.PlannerAgent = exports.createMemoryAgent = exports.MemoryAgent = exports.createExplorerAgent = exports.ExplorerAgent = exports.listAgentTypes = exports.getAgentFactory = exports.registerAgentFactory = exports.BaseAgent = exports.messageBus = exports.MessageBus = void 0;
39
39
  exports.createAgentEcosystem = createAgentEcosystem;
40
40
  exports.spawnAgent = spawnAgent;
41
41
  // ============================================================================
@@ -88,6 +88,7 @@ Object.defineProperty(exports, "createSensorAgent", { enumerable: true, get: fun
88
88
  // ============================================================================
89
89
  var coordinator_js_1 = require("./coordinator.js");
90
90
  Object.defineProperty(exports, "AgentCoordinator", { enumerable: true, get: function () { return coordinator_js_1.AgentCoordinator; } });
91
+ Object.defineProperty(exports, "Coordinator", { enumerable: true, get: function () { return coordinator_js_1.AgentCoordinator; } });
91
92
  Object.defineProperty(exports, "getCoordinator", { enumerable: true, get: function () { return coordinator_js_1.getCoordinator; } });
92
93
  Object.defineProperty(exports, "createCoordinator", { enumerable: true, get: function () { return coordinator_js_1.createCoordinator; } });
93
94
  Object.defineProperty(exports, "resetCoordinator", { enumerable: true, get: function () { return coordinator_js_1.resetCoordinator; } });
@@ -19,3 +19,6 @@ export interface Tool {
19
19
  };
20
20
  }
21
21
  export declare const toolRegistry: Map<string, Tool>;
22
+ export declare function listTools(): string[];
23
+ export declare function getToolCount(): number;
24
+ export declare function getTool(name: string): Tool | undefined;
@@ -23,11 +23,24 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.toolRegistry = void 0;
26
+ exports.listTools = listTools;
27
+ exports.getToolCount = getToolCount;
28
+ exports.getTool = getTool;
26
29
  __exportStar(require("./bash.js"), exports);
27
30
  __exportStar(require("./edit.js"), exports);
28
31
  __exportStar(require("./git.js"), exports);
29
32
  // Will be populated as tools are added
30
33
  exports.toolRegistry = new Map();
34
+ // v9.0.2: Helper methods for toolRegistry
35
+ function listTools() {
36
+ return Array.from(exports.toolRegistry.keys());
37
+ }
38
+ function getToolCount() {
39
+ return exports.toolRegistry.size;
40
+ }
41
+ function getTool(name) {
42
+ return exports.toolRegistry.get(name);
43
+ }
31
44
  // Register bash tool
32
45
  const bash_js_1 = require("./bash.js");
33
46
  exports.toolRegistry.set('bash', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesis-ai-cli",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "description": "Fully Autonomous AI System - Self-funding, Self-deploying, Production Memory, A2A Protocol & Governance",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",