@medicine-wheel/app 0.6.0 → 0.6.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.
@@ -7,16 +7,24 @@ export async function GET() {
7
7
  try {
8
8
  const store = await createProvider();
9
9
 
10
- // Test basic connectivity
11
- const nodes = await store.getAllNodes();
12
- const ceremonies = await store.getAllCeremonies();
13
-
10
+ // Test basic connectivity — and answer about the whole store, not a page of
11
+ // it. `getAllNodes()` / `getAllCeremonies()` default to 100, the same
12
+ // default `app/api/nodes/route.ts` keeps on purpose for an unfiltered read;
13
+ // measuring their result reported `min(actual, 100)` under the name
14
+ // `counts`. That made health agree with any truncated collection response a
15
+ // caller was using it to check, which is the one thing this endpoint exists
16
+ // to contradict.
17
+ const [nodes, ceremonies] = await Promise.all([
18
+ store.countNodes(),
19
+ store.countCeremonies(),
20
+ ]);
21
+
14
22
  return NextResponse.json({
15
23
  status: 'healthy',
16
24
  provider: providerType,
17
25
  counts: {
18
- nodes: nodes.length,
19
- ceremonies: ceremonies.length,
26
+ nodes,
27
+ ceremonies,
20
28
  },
21
29
  env: {
22
30
  MW_STORAGE_PROVIDER: process.env.MW_STORAGE_PROVIDER || 'not set',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medicine-wheel/app",
3
- "version": "0.6.0",
3
+ "version": "0.6.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",
@@ -85,29 +85,29 @@
85
85
  "release:major": "npm run version:major && npm run publish:all && npm run release:commit"
86
86
  },
87
87
  "dependencies": {
88
- "@medicine-wheel/ceremonial-diary": "^0.6.0",
89
- "@medicine-wheel/ceremony-protocol": "^0.6.0",
90
- "@medicine-wheel/community-review": "^0.6.0",
91
- "@medicine-wheel/consent-lifecycle": "^0.6.0",
92
- "@medicine-wheel/creative-orientation": "^0.6.0",
93
- "@medicine-wheel/data-store": "^0.6.0",
94
- "@medicine-wheel/data-store-postgres": "^0.6.0",
95
- "@medicine-wheel/fire-keeper": "^0.6.0",
96
- "@medicine-wheel/github-ceremony": "^0.6.0",
97
- "@medicine-wheel/graph-viz": "^0.6.0",
98
- "@medicine-wheel/importance-unit": "^0.6.0",
99
- "@medicine-wheel/mcp": "^4.6.0",
100
- "@medicine-wheel/narrative-cluster": "^0.6.0",
101
- "@medicine-wheel/narrative-engine": "^0.6.0",
102
- "@medicine-wheel/ontology-core": "^0.6.0",
103
- "@medicine-wheel/perception-layer": "^0.6.0",
104
- "@medicine-wheel/prompt-decomposition": "^0.6.0",
105
- "@medicine-wheel/relational-index": "^0.6.0",
106
- "@medicine-wheel/relational-query": "^0.6.0",
107
- "@medicine-wheel/session-reader": "^0.6.0",
108
- "@medicine-wheel/storage-provider": "^0.6.0",
109
- "@medicine-wheel/transformation-tracker": "^0.6.0",
110
- "@medicine-wheel/ui-components": "^0.6.0",
88
+ "@medicine-wheel/ceremonial-diary": "^0.6.1",
89
+ "@medicine-wheel/ceremony-protocol": "^0.6.1",
90
+ "@medicine-wheel/community-review": "^0.6.1",
91
+ "@medicine-wheel/consent-lifecycle": "^0.6.1",
92
+ "@medicine-wheel/creative-orientation": "^0.6.1",
93
+ "@medicine-wheel/data-store": "^0.6.1",
94
+ "@medicine-wheel/data-store-postgres": "^0.6.1",
95
+ "@medicine-wheel/fire-keeper": "^0.6.1",
96
+ "@medicine-wheel/github-ceremony": "^0.6.1",
97
+ "@medicine-wheel/graph-viz": "^0.6.1",
98
+ "@medicine-wheel/importance-unit": "^0.6.1",
99
+ "@medicine-wheel/mcp": "^4.6.1",
100
+ "@medicine-wheel/narrative-cluster": "^0.6.1",
101
+ "@medicine-wheel/narrative-engine": "^0.6.1",
102
+ "@medicine-wheel/ontology-core": "^0.6.1",
103
+ "@medicine-wheel/perception-layer": "^0.6.1",
104
+ "@medicine-wheel/prompt-decomposition": "^0.6.1",
105
+ "@medicine-wheel/relational-index": "^0.6.1",
106
+ "@medicine-wheel/relational-query": "^0.6.1",
107
+ "@medicine-wheel/session-reader": "^0.6.1",
108
+ "@medicine-wheel/storage-provider": "^0.6.1",
109
+ "@medicine-wheel/transformation-tracker": "^0.6.1",
110
+ "@medicine-wheel/ui-components": "^0.6.1",
111
111
  "@neondatabase/serverless": "^0.10.0",
112
112
  "@xyflow/react": "^12.3.0",
113
113
  "clsx": "^2.1.1",