@sleekcms/sync 1.4.1 → 1.4.2

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/AGENT.md CHANGED
@@ -729,3 +729,5 @@ Template:
729
729
  16. **Collection pages whose model qualifies as "markdown content" — page model, collection (key ends with `+`), exactly one top-level `markdown` field, no `richtext` or `stack` anywhere — are stored as `.md` files with JSON frontmatter at `content/pages/<key+>/<slug>.md` (not `.json`).** All non-markdown fields go into the JSON frontmatter object between the `---` markers; the single `markdown` field's value is the body. When creating or editing such a record, prefer `.md`; the server also accepts `.json` for the same model. Inside the `.md` file, frontmatter may be written as JSON (canonical), JSON5 (trailing commas, `//` or `/* */` comments, unquoted keys), or YAML — all three are parsed correctly on save. Pulls always re-emit JSON as the canonical form.
730
730
  17. Always create RSS feed for blogs and link them in meta so it is discoverable. Use "rss.xml" as the key.
731
731
  18. Make the sites extremely SEO friendly and sharing friendly.
732
+ 19. When naming files for models, use - (dash) as word separator. Don't use _ (underscore) as it is mapped to / (slash) in path
733
+
package/dist/watcher.js CHANGED
@@ -18,7 +18,7 @@ exports.stopWatching = stopWatching;
18
18
  const path_1 = __importDefault(require("path"));
19
19
  const chokidar_1 = __importDefault(require("chokidar"));
20
20
  const DEBOUNCE_DELAY = 5000;
21
- const IDLE_TIMEOUT_MS = 30 * 60 * 1000;
21
+ const IDLE_TIMEOUT_MS = 60 * 60 * 1000;
22
22
  // Poll on a short interval and compare wall-clock time so the timeout still
23
23
  // fires correctly after the system has been asleep (Node's setTimeout runs on
24
24
  // a monotonic clock that pauses during sleep).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleekcms/sync",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Edit SleekCMS sites locally — models, content, templates, images — with live two-way sync and AI agent support.",
5
5
  "keywords": [
6
6
  "sleekcms",