openalmanac 0.2.2 → 0.2.3

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.
package/dist/server.js CHANGED
@@ -16,6 +16,8 @@ export function createServer() {
16
16
  "Before writing or editing any article, read https://www.openalmanac.org/ai-patterns-to-avoid.md " +
17
17
  "— it covers AI writing patterns that erode trust (inflated significance, promotional language, " +
18
18
  "formulaic conclusions, etc.). Every sentence should contain a specific fact the reader didn't know.\n\n" +
19
+ "After creating an article, always share the exact URL from the push response with the user. " +
20
+ "This URL includes a celebration page for the newly created article.\n\n" +
19
21
  "When working with tool results, write down any important information you might need later " +
20
22
  "in your response, as the original tool result may be cleared later.",
21
23
  });
@@ -107,7 +107,7 @@ export function registerArticleTools(server) {
107
107
  contentType: "text/markdown",
108
108
  });
109
109
  const data = (await resp.json());
110
- const articleUrl = `https://www.openalmanac.org/articles/${slug}`;
110
+ const articleUrl = `https://www.openalmanac.org/article/${slug}?celebrate=true`;
111
111
  return `Pushed successfully.\n${articleUrl}\n${JSON.stringify(data, null, 2)}`;
112
112
  },
113
113
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openalmanac",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "OpenAlmanac — pull, edit, and push articles to the open knowledge base",
5
5
  "type": "module",
6
6
  "bin": {