@defai.digital/automatosx 6.3.7 → 6.3.9

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 (3) hide show
  1. package/README.md +21 -21
  2. package/dist/index.js +23 -18
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -345,9 +345,9 @@ ax free-tier summary
345
345
  ```
346
346
 
347
347
  **Learn More**:
348
- - [Gemini Integration Guide](docs/guide/gemini-integration.md) - Complete Gemini setup and optimization
349
- - [Provider Comparison](docs/guide/provider-comparison.md) - Detailed provider comparison matrix
350
- - [Cost Optimization Strategies](docs/guide/provider-comparison.md#cost-optimization-strategies) - Advanced techniques
348
+ - [Gemini Integration Guide](docs/providers/gemini.md) - Complete Gemini setup and optimization
349
+ - [Provider Comparison](docs/providers/overview.md) - Detailed provider comparison matrix
350
+ - [Cost Optimization Strategies](docs/providers/gemini.md#cost-optimization) - Advanced techniques
351
351
 
352
352
  ---
353
353
 
@@ -437,7 +437,7 @@ Each agent is an expert in their domain:
437
437
  | **Wendy** | Technical Writer | Documentation, API docs, tutorials |
438
438
  | **Stan** | Standards Expert | Best practices, design patterns, code review |
439
439
 
440
- [See all 23 agents](docs/agents/agent-directory.md) | [Create custom agents](docs/guide/custom-agents.md)
440
+ [See all 23 agents](docs/guides/agents.md) | [Create custom agents](docs/guides/agent-templates.md)
441
441
 
442
442
  ---
443
443
 
@@ -622,27 +622,27 @@ ax run dag.json
622
622
  ## 📖 Documentation
623
623
 
624
624
  ### Getting Started
625
- - [Quick Start Guide](docs/guide/quick-start.md) - Get running in 5 minutes
626
- - [Installation](docs/guide/installation.md) - Detailed installation instructions
627
- - [Configuration](docs/guide/configuration.md) - Configure providers and settings
625
+ - [Quick Start Guide](docs/getting-started/quick-start.md) - Get running in 5 minutes
626
+ - [Installation](docs/getting-started/installation.md) - Detailed installation instructions
627
+ - [Configuration](docs/guides/configuration.md) - Configure providers and settings
628
628
 
629
629
  ### Core Features
630
- - [Spec-Kit Integration](docs/guide/spec-driven-development.md) - Complete workflow automation
631
- - [Policy-Driven Routing](docs/guide/policy-routing.md) - Cost/latency optimization
632
- - [Persistent Memory](docs/guide/agent-communication.md) - Context management
633
- - [Multi-Agent Orchestration](docs/guide/multi-agent-orchestration.md) - Team coordination
630
+ - [Spec-Kit Integration](docs/guides/spec-driven-development.md) - Complete workflow automation
631
+ - [Policy-Driven Routing](docs/providers/overview.md) - Cost/latency optimization with providers
632
+ - [Persistent Memory](docs/guides/agent-communication.md) - Context management
633
+ - [Multi-Agent Orchestration](docs/guides/multi-agent-orchestration.md) - Team coordination
634
634
 
635
635
  ### Advanced
636
- - [Custom Agents](docs/guide/custom-agents.md) - Create your own specialists
637
- - [Provider Configuration](docs/guide/providers.md) - Add AI providers
638
- - [Trace Debugging](docs/guide/debugging.md) - Debug with trace logs
639
- - [Cost Optimization](docs/guide/cost-optimization.md) - Maximize savings
636
+ - [Custom Agents](docs/guides/agent-templates.md) - Create your own specialists
637
+ - [Provider Configuration](docs/providers/overview.md) - Add AI providers
638
+ - [Performance & Caching](docs/advanced/performance.md) - Optimization techniques
639
+ - [Parallel Execution](docs/advanced/parallel-execution.md) - Scale your workflows
640
640
 
641
641
  ### Reference
642
- - [Agent Directory](docs/agents/agent-directory.md) - All 23 agents
643
- - [CLI Reference](docs/cli/commands.md) - All commands
644
- - [YAML Spec Reference](docs/reference/spec-yaml.md) - Complete spec format
645
- - [API Documentation](docs/api/README.md) - TypeScript API
642
+ - [Agent Directory](docs/guides/agents.md) - All 23 agents
643
+ - [CLI Reference](docs/reference/cli-commands.md) - All commands
644
+ - [Provider Comparison](docs/providers/overview.md) - Provider features and costs
645
+ - [Troubleshooting](TROUBLESHOOTING.md) - Common issues and solutions
646
646
 
647
647
  ---
648
648
 
@@ -692,7 +692,7 @@ ax --version # v6.0.1
692
692
  - [OpenAI Codex](https://platform.openai.com/docs/guides/code) (fastest)
693
693
  - [Claude Code](https://claude.ai/code) (most capable)
694
694
 
695
- [➡️ Full Installation Guide](docs/guide/installation.md)
695
+ [➡️ Full Installation Guide](docs/getting-started/installation.md)
696
696
 
697
697
  ---
698
698
 
@@ -724,7 +724,7 @@ ax --version # v6.0.1
724
724
  - Resource-aware scheduling
725
725
  - Priority-based execution
726
726
 
727
- [View Full Roadmap](docs/ROADMAP.md)
727
+ [View Full Roadmap](#roadmap)
728
728
 
729
729
  ---
730
730
 
package/dist/index.js CHANGED
@@ -6036,6 +6036,13 @@ var init_provider_connection_pool = __esm({
6036
6036
  warmupOnInit: config.warmupOnInit ?? true
6037
6037
  };
6038
6038
  this.startMaintenanceTasks();
6039
+ Promise.resolve().then(() => (init_process_manager(), process_manager_exports)).then(({ processManager: processManager2 }) => {
6040
+ processManager2.onShutdown(async () => {
6041
+ await this.shutdown();
6042
+ });
6043
+ }).catch(() => {
6044
+ logger.debug("ProviderConnectionPool: process-manager not available for shutdown handler");
6045
+ });
6039
6046
  logger.debug("ProviderConnectionPool initialized", {
6040
6047
  config: this.config
6041
6048
  });
@@ -8713,11 +8720,6 @@ var PRECOMPILED_CONFIG = {
8713
8720
  "enabled": true,
8714
8721
  "window": "daily",
8715
8722
  "resetHourUtc": 0
8716
- },
8717
- "gemini": {
8718
- "approvalMode": "auto_edit",
8719
- "embeddingModel": "text-embedding-004",
8720
- "enableRealEmbeddings": false
8721
8723
  }
8722
8724
  },
8723
8725
  "openai": {
@@ -8725,11 +8727,6 @@ var PRECOMPILED_CONFIG = {
8725
8727
  "priority": 1,
8726
8728
  "timeout": 27e5,
8727
8729
  "command": "codex",
8728
- "integration": "auto",
8729
- "sandbox": {
8730
- "default": "workspace-write",
8731
- "allowOverride": true
8732
- },
8733
8730
  "healthCheck": {
8734
8731
  "enabled": true,
8735
8732
  "interval": 3e5,
@@ -8964,13 +8961,6 @@ var PRECOMPILED_CONFIG = {
8964
8961
  "enableFreeTierPrioritization": true,
8965
8962
  "enableWorkloadAwareRouting": true
8966
8963
  },
8967
- "telemetry": {
8968
- "enabled": false,
8969
- "dbPath": ".automatosx/telemetry/events.db",
8970
- "flushIntervalMs": 3e4,
8971
- "retentionDays": 30,
8972
- "bufferSize": 100
8973
- },
8974
8964
  "version": "6.3.7"
8975
8965
  };
8976
8966
 
@@ -14685,6 +14675,13 @@ var Router = class {
14685
14675
  });
14686
14676
  }
14687
14677
  }
14678
+ Promise.resolve().then(() => (init_process_manager(), process_manager_exports)).then(({ processManager: processManager2 }) => {
14679
+ processManager2.onShutdown(async () => {
14680
+ this.destroy();
14681
+ });
14682
+ }).catch(() => {
14683
+ logger.debug("Router: process-manager not available for shutdown handler");
14684
+ });
14688
14685
  }
14689
14686
  /**
14690
14687
  * Warm up provider availability caches immediately.
@@ -39731,13 +39728,21 @@ var SpecRegistry = class extends EventEmitter {
39731
39728
  }
39732
39729
  /**
39733
39730
  * Wait for ongoing load to complete
39731
+ * Bug #44: Added timeout to prevent interval leak if loading never completes
39734
39732
  */
39735
39733
  async waitForLoad() {
39736
- return new Promise((resolve12) => {
39734
+ return new Promise((resolve12, reject) => {
39735
+ const maxWaitMs = 3e4;
39736
+ const startTime = Date.now();
39737
39737
  const checkInterval = setInterval(() => {
39738
39738
  if (!this.isLoading) {
39739
39739
  clearInterval(checkInterval);
39740
39740
  resolve12();
39741
+ return;
39742
+ }
39743
+ if (Date.now() - startTime > maxWaitMs) {
39744
+ clearInterval(checkInterval);
39745
+ reject(new Error(`Spec loading timeout after ${maxWaitMs}ms`));
39741
39746
  }
39742
39747
  }, 100);
39743
39748
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defai.digital/automatosx",
3
- "version": "6.3.7",
3
+ "version": "6.3.9",
4
4
  "description": "AI Agent Orchestration Platform",
5
5
  "type": "module",
6
6
  "publishConfig": {