@nick848/sf-cli 1.0.3 → 1.0.7

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.mts CHANGED
@@ -1534,6 +1534,14 @@ declare class WorkflowEngine {
1534
1534
  configYaml: string;
1535
1535
  devStandards: string;
1536
1536
  };
1537
+ /**
1538
+ * 获取规格文件路径
1539
+ */
1540
+ getSpecFilePath(): string | null;
1541
+ /**
1542
+ * 检查规格文件是否存在
1543
+ */
1544
+ hasSpecFile(): Promise<boolean>;
1537
1545
  /**
1538
1546
  * 启动新工作流
1539
1547
  */
@@ -1580,6 +1588,18 @@ declare class WorkflowEngine {
1580
1588
  * 获取当前状态
1581
1589
  */
1582
1590
  getState(): WorkflowState | null;
1591
+ /**
1592
+ * 获取所有活跃工作流
1593
+ */
1594
+ getAllActiveWorkflows(): Promise<WorkflowState[]>;
1595
+ /**
1596
+ * 解析变更记录
1597
+ */
1598
+ private parseChangeRecord;
1599
+ /**
1600
+ * 切换到指定工作流
1601
+ */
1602
+ switchTo(changeId: string): Promise<boolean>;
1583
1603
  /**
1584
1604
  * 获取允许的下一步
1585
1605
  */
package/dist/index.d.ts CHANGED
@@ -1534,6 +1534,14 @@ declare class WorkflowEngine {
1534
1534
  configYaml: string;
1535
1535
  devStandards: string;
1536
1536
  };
1537
+ /**
1538
+ * 获取规格文件路径
1539
+ */
1540
+ getSpecFilePath(): string | null;
1541
+ /**
1542
+ * 检查规格文件是否存在
1543
+ */
1544
+ hasSpecFile(): Promise<boolean>;
1537
1545
  /**
1538
1546
  * 启动新工作流
1539
1547
  */
@@ -1580,6 +1588,18 @@ declare class WorkflowEngine {
1580
1588
  * 获取当前状态
1581
1589
  */
1582
1590
  getState(): WorkflowState | null;
1591
+ /**
1592
+ * 获取所有活跃工作流
1593
+ */
1594
+ getAllActiveWorkflows(): Promise<WorkflowState[]>;
1595
+ /**
1596
+ * 解析变更记录
1597
+ */
1598
+ private parseChangeRecord;
1599
+ /**
1600
+ * 切换到指定工作流
1601
+ */
1602
+ switchTo(changeId: string): Promise<boolean>;
1583
1603
  /**
1584
1604
  * 获取允许的下一步
1585
1605
  */