@medicine-wheel/app 0.16.0 → 0.16.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.
@@ -17,6 +17,7 @@ const EdgeCreateSchema = z.object({
17
17
  strength: z.number().min(0).max(1).optional(),
18
18
  ceremony_honored: z.boolean().optional(),
19
19
  obligations: z.array(z.string()).optional(),
20
+ description: z.string().trim().max(2000).optional(),
20
21
  });
21
22
 
22
23
  const EdgePatchSchema = z
@@ -25,11 +26,12 @@ const EdgePatchSchema = z
25
26
  strength: z.number().min(0).max(1).optional(),
26
27
  ceremony_honored: z.boolean().optional(),
27
28
  obligations: z.array(z.string()).optional(),
29
+ description: z.string().trim().max(2000).optional(),
28
30
  })
29
31
  .strict()
30
32
  .refine((patch) => Object.keys(patch).length > 0, {
31
33
  message:
32
- "Provide at least one field to change: relationship_type, strength, ceremony_honored, or obligations.",
34
+ "Provide at least one field to change: relationship_type, strength, ceremony_honored, obligations, or description.",
33
35
  });
34
36
 
35
37
  /**
@@ -167,6 +169,7 @@ export async function POST(request: Request) {
167
169
  strength: parsed.data.strength ?? 0.5,
168
170
  ceremony_honored: parsed.data.ceremony_honored ?? false,
169
171
  obligations: parsed.data.obligations ?? [],
172
+ ...(parsed.data.description ? { description: parsed.data.description } : {}),
170
173
  created_at: new Date().toISOString(),
171
174
  };
172
175
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medicine-wheel/app",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Medicine Wheel — Interactive visual layer for Indigenous relational research with Four Directions, ceremonies, and narrative arcs",
5
5
  "bin": {
6
6
  "mw": "dist/cli/mw.js",
@@ -91,31 +91,31 @@
91
91
  "release:major": "npm run version:major && npm run publish:all && npm run release:commit"
92
92
  },
93
93
  "dependencies": {
94
- "@medicine-wheel/ceremonial-diary": "^0.16.0",
95
- "@medicine-wheel/ceremony-protocol": "^0.16.0",
96
- "@medicine-wheel/community-review": "^0.16.0",
97
- "@medicine-wheel/consent-lifecycle": "^0.16.0",
98
- "@medicine-wheel/creative-orientation": "^0.16.0",
99
- "@medicine-wheel/data-store": "^0.16.0",
100
- "@medicine-wheel/data-store-postgres": "^0.16.0",
101
- "@medicine-wheel/fire-keeper": "^0.16.0",
102
- "@medicine-wheel/github-ceremony": "^0.16.0",
103
- "@medicine-wheel/graph-viz": "^0.16.0",
104
- "@medicine-wheel/honcho": "^0.16.0",
105
- "@medicine-wheel/memory": "^0.16.0",
106
- "@medicine-wheel/importance-unit": "^0.16.0",
107
- "@medicine-wheel/mcp": "^4.16.0",
108
- "@medicine-wheel/narrative-cluster": "^0.16.0",
109
- "@medicine-wheel/narrative-engine": "^0.16.0",
110
- "@medicine-wheel/ontology-core": "^0.16.0",
111
- "@medicine-wheel/perception-layer": "^0.16.0",
112
- "@medicine-wheel/prompt-decomposition": "^0.16.0",
113
- "@medicine-wheel/relational-index": "^0.16.0",
114
- "@medicine-wheel/relational-query": "^0.16.0",
115
- "@medicine-wheel/session-reader": "^0.16.0",
116
- "@medicine-wheel/storage-provider": "^0.16.0",
117
- "@medicine-wheel/transformation-tracker": "^0.16.0",
118
- "@medicine-wheel/ui-components": "^0.16.0",
94
+ "@medicine-wheel/ceremonial-diary": "^0.16.1",
95
+ "@medicine-wheel/ceremony-protocol": "^0.16.1",
96
+ "@medicine-wheel/community-review": "^0.16.1",
97
+ "@medicine-wheel/consent-lifecycle": "^0.16.1",
98
+ "@medicine-wheel/creative-orientation": "^0.16.1",
99
+ "@medicine-wheel/data-store": "^0.16.1",
100
+ "@medicine-wheel/data-store-postgres": "^0.16.1",
101
+ "@medicine-wheel/fire-keeper": "^0.16.1",
102
+ "@medicine-wheel/github-ceremony": "^0.16.1",
103
+ "@medicine-wheel/graph-viz": "^0.16.1",
104
+ "@medicine-wheel/honcho": "^0.16.1",
105
+ "@medicine-wheel/memory": "^0.16.1",
106
+ "@medicine-wheel/importance-unit": "^0.16.1",
107
+ "@medicine-wheel/mcp": "^4.16.1",
108
+ "@medicine-wheel/narrative-cluster": "^0.16.1",
109
+ "@medicine-wheel/narrative-engine": "^0.16.1",
110
+ "@medicine-wheel/ontology-core": "^0.16.1",
111
+ "@medicine-wheel/perception-layer": "^0.16.1",
112
+ "@medicine-wheel/prompt-decomposition": "^0.16.1",
113
+ "@medicine-wheel/relational-index": "^0.16.1",
114
+ "@medicine-wheel/relational-query": "^0.16.1",
115
+ "@medicine-wheel/session-reader": "^0.16.1",
116
+ "@medicine-wheel/storage-provider": "^0.16.1",
117
+ "@medicine-wheel/transformation-tracker": "^0.16.1",
118
+ "@medicine-wheel/ui-components": "^0.16.1",
119
119
  "@neondatabase/serverless": "^0.10.0",
120
120
  "@xyflow/react": "^12.3.0",
121
121
  "clsx": "^2.1.1",