@medicine-wheel/mcp 4.0.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 (78) hide show
  1. package/dist/index.d.ts +3 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +115 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/jsonl-store.d.ts +184 -0
  6. package/dist/jsonl-store.d.ts.map +1 -0
  7. package/dist/jsonl-store.js +393 -0
  8. package/dist/jsonl-store.js.map +1 -0
  9. package/dist/prompts/index.d.ts +3 -0
  10. package/dist/prompts/index.d.ts.map +1 -0
  11. package/dist/prompts/index.js +229 -0
  12. package/dist/prompts/index.js.map +1 -0
  13. package/dist/resources/index.d.ts +3 -0
  14. package/dist/resources/index.d.ts.map +1 -0
  15. package/dist/resources/index.js +252 -0
  16. package/dist/resources/index.js.map +1 -0
  17. package/dist/store.d.ts +15 -0
  18. package/dist/store.d.ts.map +1 -0
  19. package/dist/store.js +16 -0
  20. package/dist/store.js.map +1 -0
  21. package/dist/tools/ceremony-lifecycle.d.ts +10 -0
  22. package/dist/tools/ceremony-lifecycle.d.ts.map +1 -0
  23. package/dist/tools/ceremony-lifecycle.js +275 -0
  24. package/dist/tools/ceremony-lifecycle.js.map +1 -0
  25. package/dist/tools/coordination.d.ts +10 -0
  26. package/dist/tools/coordination.d.ts.map +1 -0
  27. package/dist/tools/coordination.js +136 -0
  28. package/dist/tools/coordination.js.map +1 -0
  29. package/dist/tools/discovery.d.ts +11 -0
  30. package/dist/tools/discovery.d.ts.map +1 -0
  31. package/dist/tools/discovery.js +552 -0
  32. package/dist/tools/discovery.js.map +1 -0
  33. package/dist/tools/east.d.ts +3 -0
  34. package/dist/tools/east.d.ts.map +1 -0
  35. package/dist/tools/east.js +271 -0
  36. package/dist/tools/east.js.map +1 -0
  37. package/dist/tools/epistemic.d.ts +10 -0
  38. package/dist/tools/epistemic.d.ts.map +1 -0
  39. package/dist/tools/epistemic.js +159 -0
  40. package/dist/tools/epistemic.js.map +1 -0
  41. package/dist/tools/governance-transformation.d.ts +10 -0
  42. package/dist/tools/governance-transformation.d.ts.map +1 -0
  43. package/dist/tools/governance-transformation.js +181 -0
  44. package/dist/tools/governance-transformation.js.map +1 -0
  45. package/dist/tools/integrations.d.ts +9 -0
  46. package/dist/tools/integrations.d.ts.map +1 -0
  47. package/dist/tools/integrations.js +643 -0
  48. package/dist/tools/integrations.js.map +1 -0
  49. package/dist/tools/north.d.ts +3 -0
  50. package/dist/tools/north.d.ts.map +1 -0
  51. package/dist/tools/north.js +436 -0
  52. package/dist/tools/north.js.map +1 -0
  53. package/dist/tools/reasoning-observability.d.ts +10 -0
  54. package/dist/tools/reasoning-observability.d.ts.map +1 -0
  55. package/dist/tools/reasoning-observability.js +90 -0
  56. package/dist/tools/reasoning-observability.js.map +1 -0
  57. package/dist/tools/south.d.ts +3 -0
  58. package/dist/tools/south.d.ts.map +1 -0
  59. package/dist/tools/south.js +295 -0
  60. package/dist/tools/south.js.map +1 -0
  61. package/dist/tools/structural-tension.d.ts +15 -0
  62. package/dist/tools/structural-tension.d.ts.map +1 -0
  63. package/dist/tools/structural-tension.js +695 -0
  64. package/dist/tools/structural-tension.js.map +1 -0
  65. package/dist/tools/west.d.ts +3 -0
  66. package/dist/tools/west.d.ts.map +1 -0
  67. package/dist/tools/west.js +313 -0
  68. package/dist/tools/west.js.map +1 -0
  69. package/dist/types.d.ts +28 -0
  70. package/dist/types.d.ts.map +1 -0
  71. package/dist/types.js +9 -0
  72. package/dist/types.js.map +1 -0
  73. package/dist/validators/index.d.ts +3 -0
  74. package/dist/validators/index.d.ts.map +1 -0
  75. package/dist/validators/index.js +388 -0
  76. package/dist/validators/index.js.map +1 -0
  77. package/package.json +48 -0
  78. package/tsconfig.json +20 -0
@@ -0,0 +1,252 @@
1
+ export const resources = [
2
+ {
3
+ uri: "medicine-wheel://directions/all",
4
+ name: "Medicine Wheel - Four Directions",
5
+ description: "Complete teachings for all four sacred directions from Ojibwe/Anishinaabe tradition",
6
+ mimeType: "application/json",
7
+ content: {
8
+ east: {
9
+ ojibwe: "Waabinong",
10
+ color: "Yellow",
11
+ season: "Spring",
12
+ life_stage: "Birth to 7 years",
13
+ stage_name: "Good Life",
14
+ medicine: ["Tobacco"],
15
+ element: "Spirit entering physical world",
16
+ teachings: [
17
+ "New beginnings and vision",
18
+ "Creator gifts: choice of parents, spiritual journey, growth",
19
+ "Daily thanksgiving and gratitude for all relations",
20
+ "First day-fast at age 7",
21
+ ],
22
+ practices: [
23
+ "Place tobacco outside daily",
24
+ "Acknowledge all relations",
25
+ "Opening ceremonies",
26
+ "Vision inquiry",
27
+ ],
28
+ research_application: "Vision inquiry, new ideas, opening ceremonies, honor knowledge's aliveness",
29
+ },
30
+ south: {
31
+ ojibwe: "Zhaawanong",
32
+ color: "Red",
33
+ season: "Summer",
34
+ life_stage: "7 to 14 years",
35
+ stage_name: "Fast Life / Wandering into Youth",
36
+ medicine: ["Cedar (Grandmother)"],
37
+ element: "Life awake and dancing",
38
+ teachings: [
39
+ "Growth and embodiment",
40
+ "Spirit nurturance critical",
41
+ "Elders invite, don't command",
42
+ "Mentorship heals",
43
+ "Intuition never deceives",
44
+ ],
45
+ practices: [
46
+ "Sweat lodges",
47
+ "Dancing and celebration",
48
+ "Berry harvesting",
49
+ "Listen to spirit's warnings",
50
+ ],
51
+ research_application: "Physical embodiment, land engagement, growth practices, youth participation, hands-on learning",
52
+ },
53
+ west: {
54
+ ojibwe: "Epangishmok",
55
+ color: "Black",
56
+ season: "Fall",
57
+ life_stage: "35 to 49 years",
58
+ stage_name: "Truth & Planning",
59
+ medicine: ["Sage", "Strawberry"],
60
+ element: "Ripening harvest, adult responsibility, transformation",
61
+ teachings: [
62
+ "Death not ending but continuous transformation",
63
+ "Accept change and loss",
64
+ "Heart (not head) leads to peace",
65
+ "Forgiveness through strawberry teaching",
66
+ ],
67
+ practices: [
68
+ "Talking circles",
69
+ "Dream work",
70
+ "Storytelling",
71
+ "Smudging with sage",
72
+ "Forgiveness ceremonies",
73
+ ],
74
+ research_application: "Reflection, emotional processing, relational healing, unpacking trauma, forgiveness frameworks",
75
+ strawberry_teaching: "Brother kills brother; mourns years; strawberry grows on grave; eating berry = freedom (release of blame)",
76
+ },
77
+ north: {
78
+ ojibwe: "Kiiwedinong",
79
+ color: "White",
80
+ season: "Winter",
81
+ life_stage: "49+ years",
82
+ stage_name: "Doing & Elder",
83
+ medicine: ["Cedar", "Stories"],
84
+ element: "Rest, reflection, wisdom, remembrance",
85
+ teachings: [
86
+ "Elders teach via ceremony and story",
87
+ "Feed ancestors (maintain relational continuity)",
88
+ "Wisdom = integration of all stages",
89
+ "Winter storytelling circles",
90
+ ],
91
+ practices: [
92
+ "Spirit feeding ceremonies",
93
+ "Winter storytelling",
94
+ "Fasting for direction every 7 years",
95
+ "Elder councils",
96
+ "Feast gatherings",
97
+ ],
98
+ research_application: "Wisdom synthesis, ancestral consultation, long-term reflection, community teaching, closing ceremonies",
99
+ spirit_feeding: "Bakademe – zhamzhenung (We are hungry; feed us) - call to feed ancestors",
100
+ },
101
+ seven_stages: [
102
+ { stage: 1, name: "Good Life", ages: "0-7", focus: "Unconditional love, identity grounding, first fast" },
103
+ { stage: 2, name: "Fast Life", ages: "7-14", focus: "Vision quest prep, gendered mentorship, circle induction" },
104
+ { stage: 3, name: "Wandering", ages: "14-21", focus: "Find teachers, explore ('I wonder...'), discover self" },
105
+ { stage: 4, name: "Truth", ages: "21-28", focus: "Mirror self, name gifts, speak truth" },
106
+ { stage: 5, name: "Planning", ages: "28-35", focus: "Integrate learning into action strategy" },
107
+ { stage: 6, name: "Doing", ages: "35-42", focus: "Live out practices; apply to life's journey" },
108
+ { stage: 7, name: "Elder", ages: "42+", focus: "Teach, council, fast for guidance; mentor next cycle" },
109
+ ],
110
+ },
111
+ },
112
+ {
113
+ uri: "medicine-wheel://wilson/framework",
114
+ name: "Shawn Wilson's Indigenous Research Paradigm",
115
+ description: "Ontology, epistemology, axiology framework from Research is Ceremony",
116
+ mimeType: "application/json",
117
+ content: {
118
+ citation: "Wilson, Shawn (2008). Research is Ceremony: Indigenous Research Methods. Fernwood Publishing.",
119
+ core_principle: "Research as ceremony - sacred act of building and maintaining relationships",
120
+ ontology: {
121
+ definition: "Nature of reality",
122
+ indigenous_view: "Reality is relational; everything interconnected; identity = roles in relationships",
123
+ teaching: "Once in relationship, you are responsible for that relationship's wellbeing",
124
+ contrast_western: "Western: Reality as separate objects/individuals; Indigenous: Reality as web of relationships",
125
+ },
126
+ epistemology: {
127
+ definition: "How we know what we know",
128
+ indigenous_view: "Knowledge co-created via relations, stories, land observation, ceremony; not extracted",
129
+ teaching: "Knowledge has spirit; treat respectfully, not as property",
130
+ methods: "Storytelling, ceremony, land-based learning, Elder teachings, dreams",
131
+ },
132
+ axiology: {
133
+ definition: "Ethics and values",
134
+ indigenous_view: "Relational accountability; researcher answers to all relations; reciprocity mandatory",
135
+ teaching: "Researcher must live congruently with topic; embody values researched",
136
+ accountability: "To all relations: human, land, spirit, ancestors, future generations",
137
+ },
138
+ methodology: {
139
+ definition: "Strategies for sacred engagement",
140
+ phases: ["Prepare (ceremony)", "Invoke (spirits/ancestors)", "Witness (deep listening)", "Integrate (meaning-making)", "Document (honor stories)"],
141
+ },
142
+ key_concepts: {
143
+ relational_accountability: "Once in relationship, responsible for wellbeing of that relationship",
144
+ wetiko_disease: "Colonial illness of greed and disconnection; symptoms: individualism, extraction, commodification; cure: laughter, willpower, relational repair",
145
+ spiritual_crash: "When spirit and action misaligned; resolved through ceremony and living congruently",
146
+ natural_law: "Living in right relationship with all relations",
147
+ },
148
+ },
149
+ },
150
+ {
151
+ uri: "medicine-wheel://two-eyed-seeing/framework",
152
+ name: "Two-Eyed Seeing (Etuaptmumk)",
153
+ description: "Mi'kmaw framework for integrating Indigenous and Western knowledge",
154
+ mimeType: "application/json",
155
+ content: {
156
+ citation: "Bartlett, Marshall, Marshall (2007+); Wright et al. (2019) integrative review",
157
+ definition: "Using the strengths of both Indigenous and Western ways of knowing together",
158
+ principles: {
159
+ equitable: "All perspectives valued; no hierarchy",
160
+ weaving: "Back-and-forth between best of both worldviews",
161
+ decolonizing: "Rejects Western dominance; honors Indigenous epistemology",
162
+ co_learning: "Both perspectives teach each other; similarities & differences appreciated",
163
+ to_betterment: "Leave world better; benefit community, not just researcher",
164
+ },
165
+ implementation: {
166
+ ontology: "Relational Indigenous (interconnected) + Western (parts & wholes) → integrated whole",
167
+ epistemology: "Holistic ceremony/story + hypothesis testing/rigor → blended rigor",
168
+ axiology: "Relational accountability + academic standards → ethical tension resolved via Elder guidance",
169
+ methods: "Community advisory board, Elders as co-investigators, ceremony woven through, storytelling + data",
170
+ },
171
+ examples: {
172
+ health: "Sweat lodge ceremony + Western trauma therapy (e.g., Seeking Safety model); Elders + clinicians as equals",
173
+ education: "Land-based curriculum + scientific rigor; storytelling pedagogy; students co-create knowledge",
174
+ environment: "Bayesian models blend traditional ecological knowledge (Elders) + scientific indicators; better decisions",
175
+ },
176
+ },
177
+ },
178
+ {
179
+ uri: "medicine-wheel://ocap/principles",
180
+ name: "OCAP® Data Sovereignty Principles",
181
+ description: "Ownership, Control, Access, Possession framework for First Nations data",
182
+ mimeType: "application/json",
183
+ content: {
184
+ citation: "First Nations Information Governance Centre (FNIGC), established 1998",
185
+ principles: {
186
+ ownership: {
187
+ definition: "Data belongs to First Nation collectively (like individual owns personal info)",
188
+ implementation: "Community retains IP; all publications co-authored with community",
189
+ },
190
+ control: {
191
+ definition: "Community controls collection, use, sharing, analysis, management",
192
+ implementation: "Community Advisory Board has veto; researcher seeks approval at each phase",
193
+ },
194
+ access: {
195
+ definition: "First Nations access own data regardless of where held; community determines access protocols",
196
+ implementation: "Community determines who sees data; guided by cultural values",
197
+ },
198
+ possession: {
199
+ definition: "Physical/digital custody with community (makes ownership enforceable)",
200
+ implementation: "Data stored on-premise (GC Canada); not extracted; community IT oversight",
201
+ },
202
+ },
203
+ integration: {
204
+ fair: "Findable, Accessible, Interoperable, Reusable (technical layer)",
205
+ care: "Collective benefit, Authority to control, Responsibility, Ethics (Indigenous layer)",
206
+ together: "Respect Indigenous sovereignty while enabling scientific rigor",
207
+ },
208
+ tcps2_chapter9: {
209
+ description: "Canadian Tri-Council Policy Statement requirements",
210
+ requirements: [
211
+ "Community engagement plan",
212
+ "Dual REB (Institutional + Community)",
213
+ "Community REB may override institutional REB on cultural grounds",
214
+ "OCAP® principles must be integrated",
215
+ ],
216
+ },
217
+ },
218
+ },
219
+ {
220
+ uri: "medicine-wheel://methodologies/indigenous",
221
+ name: "Indigenous Research Methodologies",
222
+ description: "Kapati, Storywork, and Conversational methods",
223
+ mimeType: "application/json",
224
+ content: {
225
+ kapati: {
226
+ origin: "Aboriginal Australia/New Zealand (Ober)",
227
+ description: "'Cup of tea time' - familiar, safe social space for knowledge-sharing via family interaction",
228
+ approach: "Be true to self; draw on own epistemologies; bring whole self",
229
+ epistemology: "Stories shared, debated, negotiated (not extracted)",
230
+ },
231
+ storywork: {
232
+ origin: "Jean Archibald - Decolonizing",
233
+ description: "Tell/retell stories from Indigenous perspectives (vs. colonial retellings)",
234
+ principles: ["Respect", "Responsibility", "Reverence", "Reciprocity", "Holism", "Interrelatedness", "Synergy"],
235
+ purpose: "Reclaim meaning-making from knowledge institutions; fierce Indigenous voice",
236
+ outcome: "Transformative action for social justice; validate Indigenous knowledge systems",
237
+ },
238
+ conversational: {
239
+ origin: "Kovach - Nehiyaw",
240
+ characteristics: "Tribal epistemology, relational, purposeful (decolonizing), protocol-bound, informal, collaborative, reflexive",
241
+ process: "Participants share stories in safe locations; ongoing conversation avoids narrative fragmentation",
242
+ integration: "Journaling, dream attention, self-reflection throughout research",
243
+ },
244
+ common_threads: {
245
+ relationality: "Everything interconnected; researchers answer to all relations",
246
+ reciprocity: "Researcher gives back; mutual benefit (not extraction)",
247
+ storytelling: "Primary method; oral tradition honored; stories are alive & transformative",
248
+ },
249
+ },
250
+ },
251
+ ];
252
+ //# sourceMappingURL=index.js.map
@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iE;gBACvE,IAAI,EAAE,qFAAqF;gBAC3F,QAAQ,EAAE,gEAAgE;aAC3E;YACD,cAAc,EAAE;gBACd,WAAW,EAAE,oDAAoD;gBACjE,YAAY,EAAE;oBACZ,2BAA2B;oBAC3B,sCAAsC;oBACtC,kEAAkE;oBAClE,qCAAqC;iBACtC;aACF;SACF;KACF;IACD;QACE,GAAG,EAAE,2CAA2C;QAChD,IAAI,EAAE,mCAAmC;QACzC,WAAW,EAAE,+CAA+C;QAC5D,QAAQ,EAAE,kBAAkB;QAC5B,OAAO,EAAE;YACP,MAAM,EAAE;gBACN,MAAM,EAAE,yCAAyC;gBACjD,WAAW,EAAE,8FAA8F;gBAC3G,QAAQ,EAAE,+DAA+D;gBACzE,YAAY,EAAE,qDAAqD;aACpE;YACD,SAAS,EAAE;gBACT,MAAM,EAAE,+BAA+B;gBACvC,WAAW,EAAE,4EAA4E;gBACzF,UAAU,EAAE,CAAC,SAAS,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,kBAAkB,EAAE,SAAS,CAAC;gBAC9G,OAAO,EAAE,6EAA6E;gBACtF,OAAO,EAAE,iFAAiF;aAC3F;YACD,cAAc,EAAE;gBACd,MAAM,EAAE,kBAAkB;gBAC1B,eAAe,EAAE,gHAAgH;gBACjI,OAAO,EAAE,mGAAmG;gBAC5G,WAAW,EAAE,kEAAkE;aAChF;YACD,cAAc,EAAE;gBACd,aAAa,EAAE,gEAAgE;gBAC/E,WAAW,EAAE,wDAAwD;gBACrE,YAAY,EAAE,4EAA4E;aAC3F;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * MCP Store — JSONL-Backed Persistence
3
+ *
4
+ * Replaces the previous in-memory-only store with the shared JSONL
5
+ * persistence layer. Data created in the Web UI is now visible here,
6
+ * and data created via MCP tools is visible in the Web UI.
7
+ *
8
+ * Delegates all operations to JsonlStore from ./jsonl-store.ts.
9
+ * The exported `store` singleton has the same API as the old InMemoryStore.
10
+ *
11
+ * @see mcp/src/jsonl-store.ts — the underlying JSONL persistence engine
12
+ * @see https://github.com/jgwill/medicine-wheel/issues/26
13
+ */
14
+ export declare const store: import("./jsonl-store.js").JsonlStore;
15
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../src/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,eAAO,MAAM,KAAK,uCAAkB,CAAC"}
package/dist/store.js ADDED
@@ -0,0 +1,16 @@
1
+ /**
2
+ * MCP Store — JSONL-Backed Persistence
3
+ *
4
+ * Replaces the previous in-memory-only store with the shared JSONL
5
+ * persistence layer. Data created in the Web UI is now visible here,
6
+ * and data created via MCP tools is visible in the Web UI.
7
+ *
8
+ * Delegates all operations to JsonlStore from ./jsonl-store.ts.
9
+ * The exported `store` singleton has the same API as the old InMemoryStore.
10
+ *
11
+ * @see mcp/src/jsonl-store.ts — the underlying JSONL persistence engine
12
+ * @see https://github.com/jgwill/medicine-wheel/issues/26
13
+ */
14
+ import { getJsonlStore } from './jsonl-store.js';
15
+ export const store = getJsonlStore();
16
+ //# sourceMappingURL=store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../src/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Ceremony Lifecycle Tools — Open, close, orient, and remember
3
+ *
4
+ * These tools enable Fire Keeper agents to manage the full ceremony lifecycle:
5
+ * opening sacred space, closing with gratitude, orienting by direction,
6
+ * and storing relational memories. Research is ceremony (Wilson, 2008).
7
+ */
8
+ import type { Tool } from "../types.js";
9
+ export declare const ceremonyLifecycleTools: Tool[];
10
+ //# sourceMappingURL=ceremony-lifecycle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ceremony-lifecycle.d.ts","sourceRoot":"","sources":["../../src/tools/ceremony-lifecycle.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAqCxC,eAAO,MAAM,sBAAsB,EAAE,IAAI,EA+PxC,CAAC"}
@@ -0,0 +1,275 @@
1
+ /**
2
+ * Ceremony Lifecycle Tools — Open, close, orient, and remember
3
+ *
4
+ * These tools enable Fire Keeper agents to manage the full ceremony lifecycle:
5
+ * opening sacred space, closing with gratitude, orienting by direction,
6
+ * and storing relational memories. Research is ceremony (Wilson, 2008).
7
+ */
8
+ import { store } from "../store.js";
9
+ const DIRECTION_MAP = {
10
+ east: {
11
+ medicine: "Tobacco",
12
+ season: "Spring",
13
+ teaching: "Vision & New Beginnings",
14
+ life_stage: "Birth-7 (Good Life)",
15
+ color: "Yellow",
16
+ },
17
+ south: {
18
+ medicine: "Cedar",
19
+ season: "Summer",
20
+ teaching: "Growth & Relationships",
21
+ life_stage: "7-14 (Fast Life)",
22
+ color: "Red",
23
+ },
24
+ west: {
25
+ medicine: "Sage",
26
+ season: "Fall",
27
+ teaching: "Reflection & Harvest",
28
+ life_stage: "14-21 (Wandering Life)",
29
+ color: "Black",
30
+ },
31
+ north: {
32
+ medicine: "Sweetgrass",
33
+ season: "Winter",
34
+ teaching: "Wisdom & Sharing",
35
+ life_stage: "21+ (Truth Life)",
36
+ color: "White",
37
+ },
38
+ };
39
+ export const ceremonyLifecycleTools = [
40
+ {
41
+ name: "mw_ceremony_open",
42
+ description: "Open a new ceremony in the medicine wheel. Creates an opening ceremony record with intention, direction, participants, and medicines. Returns the ceremony ID for use in subsequent lifecycle calls. Fire Keeper agents use this to begin relational research-as-ceremony.",
43
+ inputSchema: {
44
+ type: "object",
45
+ properties: {
46
+ intention: {
47
+ type: "string",
48
+ description: "The intention or purpose for this ceremony",
49
+ },
50
+ direction: {
51
+ type: "string",
52
+ enum: ["east", "south", "west", "north"],
53
+ description: "Medicine wheel direction to open from (default: east)",
54
+ },
55
+ participants: {
56
+ type: "array",
57
+ items: { type: "string" },
58
+ description: "Names of participants in the ceremony",
59
+ },
60
+ medicines: {
61
+ type: "array",
62
+ items: { type: "string" },
63
+ description: "Medicines used in the ceremony (e.g. Tobacco, Cedar, Sage, Sweetgrass)",
64
+ },
65
+ },
66
+ required: ["intention"],
67
+ },
68
+ handler: async (args) => {
69
+ try {
70
+ const { intention, direction = "east", participants = [], medicines = [], } = args;
71
+ const ceremonyId = `ceremony:${Date.now()}:${Math.random().toString(36).slice(2, 7)}`;
72
+ store.logCeremony({
73
+ id: ceremonyId,
74
+ type: "opening",
75
+ direction,
76
+ participants,
77
+ medicines_used: medicines,
78
+ intentions: [intention],
79
+ timestamp: new Date().toISOString(),
80
+ });
81
+ return {
82
+ ceremony_id: ceremonyId,
83
+ status: "opened",
84
+ direction,
85
+ intention,
86
+ };
87
+ }
88
+ catch (error) {
89
+ const errorMsg = error instanceof Error ? error.message : String(error);
90
+ return {
91
+ status: "error",
92
+ message: `Failed to open ceremony: ${errorMsg}`,
93
+ error: errorMsg,
94
+ };
95
+ }
96
+ },
97
+ },
98
+ {
99
+ name: "mw_ceremony_close",
100
+ description: "Close an existing ceremony in the medicine wheel. Logs a closing ceremony record linked to the original opening, preserving direction and participants. Fire Keeper agents use this to complete the ceremony lifecycle with summary and learnings.",
101
+ inputSchema: {
102
+ type: "object",
103
+ properties: {
104
+ ceremony_id: {
105
+ type: "string",
106
+ description: "The ID of the opening ceremony to close",
107
+ },
108
+ summary: {
109
+ type: "string",
110
+ description: "Summary of what occurred during the ceremony",
111
+ },
112
+ learnings: {
113
+ type: "array",
114
+ items: { type: "string" },
115
+ description: "Key learnings or insights from the ceremony",
116
+ },
117
+ },
118
+ required: ["ceremony_id"],
119
+ },
120
+ handler: async (args) => {
121
+ try {
122
+ const { ceremony_id, summary = "", learnings = [] } = args;
123
+ const opening = store.getCeremony(ceremony_id);
124
+ if (!opening) {
125
+ return {
126
+ status: "error",
127
+ message: `Ceremony ${ceremony_id} not found. Cannot close a ceremony that was never opened.`,
128
+ };
129
+ }
130
+ const closingId = `ceremony:${Date.now()}:${Math.random().toString(36).slice(2, 7)}`;
131
+ const intentions = summary ? [summary, ...learnings] : [...learnings];
132
+ store.logCeremony({
133
+ id: closingId,
134
+ type: "closing",
135
+ direction: opening.direction,
136
+ participants: opening.participants,
137
+ medicines_used: opening.medicines_used,
138
+ intentions,
139
+ timestamp: new Date().toISOString(),
140
+ research_context: ceremony_id,
141
+ });
142
+ return {
143
+ status: "closed",
144
+ ceremony_id,
145
+ closing_id: closingId,
146
+ summary,
147
+ };
148
+ }
149
+ catch (error) {
150
+ const errorMsg = error instanceof Error ? error.message : String(error);
151
+ return {
152
+ status: "error",
153
+ message: `Failed to close ceremony: ${errorMsg}`,
154
+ error: errorMsg,
155
+ };
156
+ }
157
+ },
158
+ },
159
+ {
160
+ name: "mw_get_direction",
161
+ description: "Get directional metadata for a medicine wheel direction. Returns the sacred medicine, season, teaching, life stage, and color associated with the direction. Can look up direction from an existing ceremony or accept a direction directly. Fire Keeper agents use this to orient ceremony lifecycle work.",
162
+ inputSchema: {
163
+ type: "object",
164
+ properties: {
165
+ ceremony_id: {
166
+ type: "string",
167
+ description: "Look up the direction from an existing ceremony (optional)",
168
+ },
169
+ direction: {
170
+ type: "string",
171
+ enum: ["east", "south", "west", "north"],
172
+ description: "Medicine wheel direction to query (default: east, overridden by ceremony_id if provided)",
173
+ },
174
+ },
175
+ },
176
+ handler: async (args) => {
177
+ try {
178
+ const { ceremony_id, direction: directionArg } = args;
179
+ let direction = directionArg || "east";
180
+ if (ceremony_id) {
181
+ const ceremony = store.getCeremony(ceremony_id);
182
+ if (!ceremony) {
183
+ return {
184
+ status: "error",
185
+ message: `Ceremony ${ceremony_id} not found`,
186
+ };
187
+ }
188
+ direction = ceremony.direction;
189
+ }
190
+ const meta = DIRECTION_MAP[direction];
191
+ if (!meta) {
192
+ return {
193
+ status: "error",
194
+ message: `Unknown direction: ${direction}. Must be east, south, west, or north.`,
195
+ };
196
+ }
197
+ return {
198
+ direction,
199
+ medicine: meta.medicine,
200
+ season: meta.season,
201
+ teaching: meta.teaching,
202
+ life_stage: meta.life_stage,
203
+ color: meta.color,
204
+ };
205
+ }
206
+ catch (error) {
207
+ const errorMsg = error instanceof Error ? error.message : String(error);
208
+ return {
209
+ status: "error",
210
+ message: `Failed to get direction metadata: ${errorMsg}`,
211
+ error: errorMsg,
212
+ };
213
+ }
214
+ },
215
+ },
216
+ {
217
+ name: "mw_store_memory",
218
+ description: "Store a relational memory as a knowledge node in the medicine wheel. Optionally link the memory to a ceremony and direction. Fire Keeper agents use this to persist insights, learnings, and relational observations across the ceremony lifecycle.",
219
+ inputSchema: {
220
+ type: "object",
221
+ properties: {
222
+ key: {
223
+ type: "string",
224
+ description: "A short name or key for the memory",
225
+ },
226
+ value: {
227
+ type: "string",
228
+ description: "The content or description of the memory",
229
+ },
230
+ direction: {
231
+ type: "string",
232
+ enum: ["east", "south", "west", "north"],
233
+ description: "Medicine wheel direction to associate with this memory (optional)",
234
+ },
235
+ ceremony_id: {
236
+ type: "string",
237
+ description: "Link this memory to a ceremony (optional)",
238
+ },
239
+ },
240
+ required: ["key", "value"],
241
+ },
242
+ handler: async (args) => {
243
+ try {
244
+ const { key, value, direction, ceremony_id } = args;
245
+ const memoryId = `memory:${Date.now()}:${Math.random().toString(36).slice(2, 7)}`;
246
+ const now = new Date().toISOString();
247
+ store.createNode({
248
+ id: memoryId,
249
+ type: "knowledge",
250
+ name: key,
251
+ description: value,
252
+ direction,
253
+ metadata: ceremony_id ? { ceremony_id } : undefined,
254
+ created_at: now,
255
+ updated_at: now,
256
+ });
257
+ return {
258
+ memory_id: memoryId,
259
+ status: "stored",
260
+ key,
261
+ direction,
262
+ };
263
+ }
264
+ catch (error) {
265
+ const errorMsg = error instanceof Error ? error.message : String(error);
266
+ return {
267
+ status: "error",
268
+ message: `Failed to store memory: ${errorMsg}`,
269
+ error: errorMsg,
270
+ };
271
+ }
272
+ },
273
+ },
274
+ ];
275
+ //# sourceMappingURL=ceremony-lifecycle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ceremony-lifecycle.js","sourceRoot":"","sources":["../../src/tools/ceremony-lifecycle.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,aAAa,GAGf;IACF,IAAI,EAAE;QACJ,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,yBAAyB;QACnC,UAAU,EAAE,qBAAqB;QACjC,KAAK,EAAE,QAAQ;KAChB;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,wBAAwB;QAClC,UAAU,EAAE,kBAAkB;QAC9B,KAAK,EAAE,KAAK;KACb;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,sBAAsB;QAChC,UAAU,EAAE,wBAAwB;QACpC,KAAK,EAAE,OAAO;KACf;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,YAAY;QACtB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,kBAAkB;QAC5B,UAAU,EAAE,kBAAkB;QAC9B,KAAK,EAAE,OAAO;KACf;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAW;IAC5C;QACE,IAAI,EAAE,kBAAkB;QACxB,WAAW,EACT,4QAA4Q;QAC9Q,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,4CAA4C;iBAC1D;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;oBACd,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SAAS;iBACV,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,QAAQ,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;gBACxE,OAAO;oBACL,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE,2BAA2B,QAAQ,EAAE;oBAC9C,KAAK,EAAE,QAAQ;iBAChB,CAAC;YACJ,CAAC;QACH,CAAC;KACF;CACF,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Coordination Tools — Fire Keeper & Ceremony Protocol
3
+ *
4
+ * These tools leverage the @medicine-wheel/fire-keeper and
5
+ * @medicine-wheel/ceremony-protocol packages to ensure relational integrity
6
+ * and active stewardship of the research process.
7
+ */
8
+ import type { Tool } from "../types.js";
9
+ export declare const coordinationTools: Tool[];
10
+ //# sourceMappingURL=coordination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../../src/tools/coordination.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAWH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAWxC,eAAO,MAAM,iBAAiB,EAAE,IAAI,EA0HnC,CAAC"}