opencode-athena 0.9.0 → 0.10.1

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
@@ -205,13 +205,17 @@ interface Prerequisites {
205
205
  };
206
206
  }
207
207
  /**
208
- * Story status in sprint tracking
208
+ * BMAD v6 story status values (hyphenated)
209
+ * Flow: backlog → ready-for-dev → in-progress → review → done
210
+ * "blocked" is an Athena extension for tracking external dependencies
209
211
  */
210
- type StoryStatus = "pending" | "in_progress" | "completed" | "blocked" | "needs_review";
212
+ type BmadStoryStatus = "backlog" | "ready-for-dev" | "in-progress" | "review" | "done" | "blocked";
211
213
  /**
212
- * Internal tracker status (includes transitional states)
214
+ * @deprecated Use BmadStoryStatus instead. This type uses underscore format
215
+ * which doesn't match BMAD v6's hyphenated format.
213
216
  */
214
- type TrackerStatus = StoryStatus | "loading";
217
+ type StoryStatus = "pending" | "in_progress" | "completed" | "blocked" | "needs_review";
218
+ type TrackerStatus = BmadStoryStatus | "loading";
215
219
  /**
216
220
  * Tracked story state
217
221
  */
@@ -223,7 +227,8 @@ interface TrackedStory {
223
227
  completedAt?: string;
224
228
  }
225
229
  /**
226
- * Sprint status structure (from sprint-status.yaml)
230
+ * @deprecated Use BmadSprintStatus instead. This interface uses array-based
231
+ * structure which doesn't match BMAD v6's flat map format.
227
232
  */
228
233
  interface SprintStatus {
229
234
  sprint_number?: number;
@@ -971,36 +976,27 @@ declare const GetStoryArgsSchema: z.ZodObject<{
971
976
  }, {
972
977
  storyId?: string | undefined;
973
978
  }>;
974
- /**
975
- * Schema for athena_update_status arguments
976
- */
977
979
  declare const UpdateStatusArgsSchema: z.ZodObject<{
978
980
  storyId: z.ZodString;
979
- status: z.ZodEnum<["in_progress", "completed", "blocked", "needs_review"]>;
981
+ status: z.ZodEnum<["in-progress", "review", "done", "blocked"]>;
980
982
  notes: z.ZodOptional<z.ZodString>;
981
983
  completionSummary: z.ZodOptional<z.ZodString>;
982
984
  }, "strip", z.ZodTypeAny, {
983
- status: "in_progress" | "completed" | "blocked" | "needs_review";
985
+ status: "in-progress" | "review" | "done" | "blocked";
984
986
  storyId: string;
985
987
  notes?: string | undefined;
986
988
  completionSummary?: string | undefined;
987
989
  }, {
988
- status: "in_progress" | "completed" | "blocked" | "needs_review";
990
+ status: "in-progress" | "review" | "done" | "blocked";
989
991
  storyId: string;
990
992
  notes?: string | undefined;
991
993
  completionSummary?: string | undefined;
992
994
  }>;
993
- /**
994
- * Story status enum for sprint tracking
995
- */
995
+ /** @deprecated Use BmadStoryStatusEnum */
996
996
  declare const StoryStatusEnum: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "needs_review"]>;
997
- /**
998
- * Tracker status enum (includes transitional states)
999
- */
1000
- declare const TrackerStatusEnum: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "needs_review", "loading"]>;
1001
- /**
1002
- * Schema for sprint-status.yaml content
1003
- */
997
+ /** @deprecated Use BmadStoryStatusEnum with "loading" handled separately */
998
+ declare const TrackerStatusEnum: z.ZodEnum<["backlog", "ready-for-dev", "in-progress", "review", "done", "blocked", "loading"]>;
999
+ /** @deprecated Use BmadSprintStatusSchema */
1004
1000
  declare const SprintStatusSchema: z.ZodObject<{
1005
1001
  sprint_number: z.ZodOptional<z.ZodNumber>;
1006
1002
  current_epic: z.ZodOptional<z.ZodString>;
@@ -1016,12 +1012,12 @@ declare const SprintStatusSchema: z.ZodObject<{
1016
1012
  notes: z.ZodOptional<z.ZodString>;
1017
1013
  completion_summary: z.ZodOptional<z.ZodString>;
1018
1014
  }, "strip", z.ZodTypeAny, {
1019
- status: "pending" | "in_progress" | "completed" | "blocked" | "needs_review";
1015
+ status: "blocked" | "pending" | "in_progress" | "completed" | "needs_review";
1020
1016
  updated_at: string;
1021
1017
  notes?: string | undefined;
1022
1018
  completion_summary?: string | undefined;
1023
1019
  }, {
1024
- status: "pending" | "in_progress" | "completed" | "blocked" | "needs_review";
1020
+ status: "blocked" | "pending" | "in_progress" | "completed" | "needs_review";
1025
1021
  updated_at: string;
1026
1022
  notes?: string | undefined;
1027
1023
  completion_summary?: string | undefined;
@@ -1032,33 +1028,33 @@ declare const SprintStatusSchema: z.ZodObject<{
1032
1028
  pending_stories: string[];
1033
1029
  in_progress_stories: string[];
1034
1030
  blocked_stories: string[];
1031
+ current_story?: string | null | undefined;
1032
+ last_modified?: string | undefined;
1035
1033
  sprint_number?: number | undefined;
1036
1034
  current_epic?: string | undefined;
1037
- current_story?: string | null | undefined;
1038
1035
  stories_needing_review?: string[] | undefined;
1039
1036
  story_updates?: Record<string, {
1040
- status: "pending" | "in_progress" | "completed" | "blocked" | "needs_review";
1037
+ status: "blocked" | "pending" | "in_progress" | "completed" | "needs_review";
1041
1038
  updated_at: string;
1042
1039
  notes?: string | undefined;
1043
1040
  completion_summary?: string | undefined;
1044
1041
  }> | undefined;
1045
- last_modified?: string | undefined;
1046
1042
  }, {
1043
+ current_story?: string | null | undefined;
1044
+ last_modified?: string | undefined;
1047
1045
  sprint_number?: number | undefined;
1048
1046
  current_epic?: string | undefined;
1049
- current_story?: string | null | undefined;
1050
1047
  completed_stories?: string[] | undefined;
1051
1048
  pending_stories?: string[] | undefined;
1052
1049
  in_progress_stories?: string[] | undefined;
1053
1050
  blocked_stories?: string[] | undefined;
1054
1051
  stories_needing_review?: string[] | undefined;
1055
1052
  story_updates?: Record<string, {
1056
- status: "pending" | "in_progress" | "completed" | "blocked" | "needs_review";
1053
+ status: "blocked" | "pending" | "in_progress" | "completed" | "needs_review";
1057
1054
  updated_at: string;
1058
1055
  notes?: string | undefined;
1059
1056
  completion_summary?: string | undefined;
1060
1057
  }> | undefined;
1061
- last_modified?: string | undefined;
1062
1058
  }>;
1063
1059
 
1064
1060
  /**