heyio 0.9.0 → 0.10.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.
@@ -597,9 +597,9 @@ export async function startApiServer() {
597
597
  res.status(500).json({ error: "Failed to list wiki pages" });
598
598
  }
599
599
  });
600
- api.get("/wiki/*", (req, res) => {
600
+ api.get("/wiki/*path", (req, res) => {
601
601
  try {
602
- const pagePath = Array.isArray(req.params[0]) ? req.params[0][0] : req.params[0];
602
+ const pagePath = Array.isArray(req.params.path) ? req.params.path[0] : req.params.path;
603
603
  if (!pagePath) {
604
604
  res.status(400).json({ error: "Missing page path" });
605
605
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heyio",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "IO — a personal AI assistant built on the GitHub Copilot SDK",
5
5
  "bin": {
6
6
  "io": "dist/index.js"