@orderful/droid 0.41.0 → 0.42.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.
Files changed (31) hide show
  1. package/.claude-plugin/plugin.json +2 -0
  2. package/CHANGELOG.md +19 -0
  3. package/dist/bin/droid.js +132 -4
  4. package/dist/commands/integrations.d.ts.map +1 -1
  5. package/dist/commands/tui/components/IntegrationsDetails.d.ts.map +1 -1
  6. package/dist/commands/tui.d.ts.map +1 -1
  7. package/dist/integrations/github/index.d.ts +6 -0
  8. package/dist/integrations/github/index.d.ts.map +1 -0
  9. package/dist/integrations/github/index.ts +17 -0
  10. package/dist/integrations/github/references/setup.md +61 -0
  11. package/dist/integrations/granola/references/setup.md +54 -0
  12. package/dist/lib/types.d.ts +8 -0
  13. package/dist/lib/types.d.ts.map +1 -1
  14. package/dist/tools/meeting/.claude-plugin/plugin.json +22 -0
  15. package/dist/tools/meeting/TOOL.yaml +15 -0
  16. package/dist/tools/meeting/commands/meeting.md +35 -0
  17. package/dist/tools/meeting/skills/meeting/SKILL.md +105 -0
  18. package/dist/tools/meeting/skills/meeting/references/export-workflow.md +87 -0
  19. package/package.json +1 -1
  20. package/src/commands/integrations.ts +30 -0
  21. package/src/commands/tui/components/IntegrationsDetails.tsx +114 -0
  22. package/src/commands/tui.tsx +26 -4
  23. package/src/integrations/github/index.ts +17 -0
  24. package/src/integrations/github/references/setup.md +61 -0
  25. package/src/integrations/granola/references/setup.md +54 -0
  26. package/src/lib/types.ts +10 -0
  27. package/src/tools/meeting/.claude-plugin/plugin.json +22 -0
  28. package/src/tools/meeting/TOOL.yaml +15 -0
  29. package/src/tools/meeting/commands/meeting.md +35 -0
  30. package/src/tools/meeting/skills/meeting/SKILL.md +105 -0
  31. package/src/tools/meeting/skills/meeting/references/export-workflow.md +87 -0
@@ -0,0 +1,87 @@
1
+ # Export Workflow
2
+
3
+ Full procedure for `/meeting export {title}`.
4
+
5
+ ## E1. Resolve Meeting
6
+
7
+ 1. Use `ToolSearch` to load `mcp__granola__list_meetings`
8
+ 2. Call with `time_range: "last_30_days"` to get recent meetings
9
+ 3. Fuzzy-match `{title}` against meeting titles
10
+ 4. If multiple matches, present list and ask user to pick
11
+ 5. If no match, show recent meetings and ask user to clarify
12
+
13
+ ## E2. Get Meeting Data
14
+
15
+ 1. Use `ToolSearch` to load `mcp__granola__get_meetings`
16
+ 2. Call with the resolved meeting ID
17
+ 3. Extract: title, date, participants, summary
18
+
19
+ ## E3. Resolve Destination
20
+
21
+ If codex is in current context (user has loaded a codex repo this session):
22
+ - Export to `{codex_repo}/meetings/{date}-{slugified-title}.md`
23
+ - Confirm with user: "Export to codex at meetings/{filename}?"
24
+
25
+ If no codex in context:
26
+ - Ask: "Where should I export this meeting?"
27
+ - Codex — "Which codex repo?" (list available via `droid config --get repos`)
28
+ - Brain — Export to brain vault as a meeting doc
29
+ - Clipboard — Copy formatted markdown to clipboard
30
+ - Terminal — Just print it here
31
+
32
+ ## E4. Format Document
33
+
34
+ Generate markdown with this exact frontmatter structure:
35
+
36
+ ---
37
+ title: "{meeting title}"
38
+ type: meeting
39
+ source: granola
40
+ source_url: "https://notes.granola.ai/d/{meeting_id}"
41
+ date: {YYYY-MM-DD}
42
+ participants: [{comma-separated names}]
43
+ exported: {YYYY-MM-DD}
44
+ ---
45
+
46
+ # {meeting title}
47
+
48
+ **Date:** {full date and time}
49
+ **Participants:** {names with roles/orgs if available}
50
+
51
+ ## Summary
52
+
53
+ {Granola's structured summary from get_meetings}
54
+
55
+ ## Key Decisions
56
+
57
+ {Extract decisions from the summary, or note "No explicit decisions captured"}
58
+
59
+ ## Action Items
60
+
61
+ {Extract action items from the summary, or note "No action items captured"}
62
+
63
+ ## E5. Slugification Rules
64
+
65
+ Convert title to filename slug:
66
+ - Lowercase
67
+ - Replace spaces with hyphens
68
+ - Remove special characters except hyphens
69
+ - Strip leading/trailing hyphens
70
+ - Collapse multiple hyphens
71
+
72
+ Examples:
73
+ - "[Tech Design Review] Automated Partner Testing" → `automated-partner-testing`
74
+ - "Tyler / Bosun - Partner Testing" → `tyler-bosun-partner-testing`
75
+ - "🌅 Horizon Daily" → `horizon-daily`
76
+
77
+ Final filename: `{YYYY-MM-DD}-{slug}.md`
78
+
79
+ ## E6. Write File
80
+
81
+ Write the formatted document to the resolved destination path.
82
+
83
+ ## E7. Confirm
84
+
85
+ Tell the user:
86
+ - "Exported to: {path}"
87
+ - If codex: suggest committing the new file