mrvn-cli 0.2.1 → 0.2.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.
package/dist/index.js CHANGED
@@ -275,7 +275,7 @@ var DocumentStore = class {
275
275
  updated: now,
276
276
  ...cleaned
277
277
  };
278
- const fileName = type === "meeting" ? `${now.slice(0, 10)}-${slugify(fullFrontmatter.title)}.md` : `${id}.md`;
278
+ const fileName = type === "meeting" ? `${cleaned.date?.slice(0, 10) ?? now.slice(0, 10)}-${slugify(fullFrontmatter.title)}.md` : `${id}.md`;
279
279
  const filePath = path3.join(dir, fileName);
280
280
  const doc = {
281
281
  frontmatter: fullFrontmatter,
@@ -299,7 +299,7 @@ var DocumentStore = class {
299
299
  }
300
300
  const dir = path3.join(this.docsDir, dirName);
301
301
  fs3.mkdirSync(dir, { recursive: true });
302
- const fileName = type === "meeting" ? `${frontmatter.created.slice(0, 10)}-${slugify(frontmatter.title)}.md` : `${frontmatter.id}.md`;
302
+ const fileName = type === "meeting" ? `${frontmatter.date?.slice(0, 10) ?? frontmatter.created.slice(0, 10)}-${slugify(frontmatter.title)}.md` : `${frontmatter.id}.md`;
303
303
  const filePath = path3.join(dir, fileName);
304
304
  const doc = { frontmatter, content, filePath };
305
305
  fs3.writeFileSync(filePath, serializeDocument(doc), "utf-8");
@@ -15176,7 +15176,7 @@ function createMeetingTools(store) {
15176
15176
  owner: external_exports.string().optional().describe("Meeting organizer"),
15177
15177
  tags: external_exports.array(external_exports.string()).optional().describe("Tags for categorization"),
15178
15178
  attendees: external_exports.array(external_exports.string()).optional().describe("List of attendees"),
15179
- date: external_exports.string().optional().describe("Meeting date (ISO format)")
15179
+ date: external_exports.string().describe("Date the meeting took place (ISO format, e.g. '2025-01-15'). Extract from the meeting content. If not found, ask the user before calling this tool.")
15180
15180
  },
15181
15181
  async (args) => {
15182
15182
  const frontmatter = {
@@ -15186,7 +15186,7 @@ function createMeetingTools(store) {
15186
15186
  if (args.owner) frontmatter.owner = args.owner;
15187
15187
  if (args.tags) frontmatter.tags = args.tags;
15188
15188
  if (args.attendees) frontmatter.attendees = args.attendees;
15189
- if (args.date) frontmatter.date = args.date;
15189
+ frontmatter.date = args.date;
15190
15190
  const doc = store.create(
15191
15191
  "meeting",
15192
15192
  frontmatter,
@@ -15886,7 +15886,7 @@ var genericAgilePlugin = {
15886
15886
 
15887
15887
  **Meeting Tools:**
15888
15888
  - **list_meetings** / **get_meeting**: Browse and read meeting records.
15889
- - **create_meeting**: Record new meetings with attendees, date, and agenda.
15889
+ - **create_meeting**: Record new meetings with attendees, date, and agenda. The meeting date is required \u2014 extract it from the meeting content or ask the user if not found.
15890
15890
  - **update_meeting**: Update meeting status or notes after completion.
15891
15891
  - **analyze_meeting**: Analyze a meeting to review its outcomes and extract artifacts.
15892
15892
 
@@ -15907,7 +15907,7 @@ var genericAgilePlugin = {
15907
15907
 
15908
15908
  **Meeting Tools:**
15909
15909
  - **list_meetings** / **get_meeting**: Browse and read meeting records.
15910
- - **create_meeting**: Record new meetings with attendees, date, and agenda.
15910
+ - **create_meeting**: Record new meetings with attendees, date, and agenda. The meeting date is required \u2014 extract it from the meeting content or ask the user if not found.
15911
15911
  - **update_meeting**: Update meeting status or notes after completion.
15912
15912
  - **analyze_meeting**: Analyze a meeting to review its outcomes and extract artifacts.
15913
15913
 
@@ -15935,7 +15935,7 @@ var genericAgilePlugin = {
15935
15935
 
15936
15936
  **Meeting Tools:**
15937
15937
  - **list_meetings** / **get_meeting**: Browse and read meeting records.
15938
- - **create_meeting**: Record new meetings with attendees, date, and agenda.
15938
+ - **create_meeting**: Record new meetings with attendees, date, and agenda. The meeting date is required \u2014 extract it from the meeting content or ask the user if not found.
15939
15939
  - **update_meeting**: Update meeting status or notes after completion.
15940
15940
  - **analyze_meeting**: Analyze a completed meeting to extract decisions, actions, and questions. Use this to ensure meeting outcomes are properly tracked as governance artifacts.
15941
15941
 
@@ -15953,7 +15953,7 @@ var genericAgilePlugin = {
15953
15953
  **Key workflow rule:** Epics must link to approved features \u2014 the system enforces this. The Product Owner defines and approves features, the Tech Lead breaks them into epics, and the Delivery Manager tracks dates and progress.
15954
15954
 
15955
15955
  - **list_meetings** / **get_meeting**: Browse and read meeting records.
15956
- - **create_meeting**: Record meetings with attendees, date, and agenda.
15956
+ - **create_meeting**: Record meetings with attendees, date, and agenda. The meeting date is required \u2014 extract it from the meeting content or ask the user if not found.
15957
15957
  - **update_meeting**: Update meeting status or notes.
15958
15958
  - **analyze_meeting**: Analyze a meeting to extract decisions, actions, and questions as governance artifacts.`
15959
15959
  }
@@ -19692,7 +19692,7 @@ function createProgram() {
19692
19692
  const program = new Command();
19693
19693
  program.name("marvin").description(
19694
19694
  "AI-powered product development assistant with Product Owner, Delivery Manager, and Technical Lead personas"
19695
- ).version("0.2.0");
19695
+ ).version("0.2.1");
19696
19696
  program.command("init").description("Initialize a new Marvin project in the current directory").action(async () => {
19697
19697
  await initCommand();
19698
19698
  });