claude-autopm 2.2.2 → 2.4.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.
package/bin/autopm.js CHANGED
@@ -180,8 +180,8 @@ function main() {
180
180
  .command(require('./commands/config'))
181
181
  // MCP management command
182
182
  .command(require('./commands/mcp'))
183
- // Epic management command
184
- .command(require('./commands/epic'))
183
+ // Epic management command (STANDALONE)
184
+ .command(require('../lib/cli/commands/epic'))
185
185
  // PRD management command (STANDALONE)
186
186
  .command(require('../lib/cli/commands/prd'))
187
187
  // Task management command (STANDALONE)
@@ -396,6 +396,21 @@ class ClaudeProvider extends AbstractAIProvider {
396
396
  // BACKWARD COMPATIBILITY METHODS
397
397
  // ============================================================
398
398
 
399
+ /**
400
+ * Generate text completion (alias for complete)
401
+ *
402
+ * Provides a more generic interface name for consistency with other services.
403
+ * This is an alias for complete() with identical functionality.
404
+ *
405
+ * @param {string} prompt - The prompt to complete
406
+ * @param {Object} [options={}] - Optional configuration
407
+ * @returns {Promise<string>} The completed text
408
+ * @throws {AIProviderError} On API errors
409
+ */
410
+ async generate(prompt, options = {}) {
411
+ return await this.complete(prompt, options);
412
+ }
413
+
399
414
  /**
400
415
  * Get the current model being used (legacy method for backward compatibility)
401
416
  *