@omniharmonic/openspace-cli 0.1.4 → 0.1.6

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.
Files changed (220) hide show
  1. package/README.md +14 -9
  2. package/dist/{agents-md-3W4PIY4N.js → agents-md-Q2TI3NHB.js} +3 -2
  3. package/dist/bin.js +4 -2
  4. package/dist/bin.js.map +1 -1
  5. package/dist/chunk-26AZCID5.js +44 -0
  6. package/dist/chunk-26AZCID5.js.map +1 -0
  7. package/dist/{chunk-6NIIOHOX.js → chunk-7SWL46LQ.js} +9653 -18568
  8. package/dist/chunk-7SWL46LQ.js.map +1 -0
  9. package/dist/{chunk-7I6IJI6Z.js → chunk-BW42R6WD.js} +502 -96
  10. package/dist/chunk-BW42R6WD.js.map +1 -0
  11. package/dist/chunk-WE4QCL3R.js +12836 -0
  12. package/dist/chunk-WE4QCL3R.js.map +1 -0
  13. package/dist/crawl-5ZZ5W7B6.js +9 -0
  14. package/dist/crawl-5ZZ5W7B6.js.map +1 -0
  15. package/dist/index.js +4 -2
  16. package/dist/index.js.map +1 -1
  17. package/dist/starter/site/AGENTS.md +2 -2
  18. package/dist/templates/atelier/content/pages/about.json +1 -1
  19. package/dist/templates/atelier/content/pages/commissions.json +1 -1
  20. package/dist/templates/atelier/content/pages/contact.json +1 -1
  21. package/dist/templates/atelier/content/pages/home.json +12 -12
  22. package/dist/templates/atelier/content/pages/work.json +1 -1
  23. package/dist/templates/atelier/content/site.json +1 -1
  24. package/dist/templates/atelier/content/styles.json +1 -1
  25. package/dist/templates/atelier/openspace.json +2 -2
  26. package/dist/templates/atelier/template.json +1 -1
  27. package/dist/templates/beacon/content/collections/news/2026-09-12-heat-map-2026.mdoc +2 -2
  28. package/dist/templates/beacon/content/collections/news/2026-09-30-school-gardens-harvest.mdoc +2 -2
  29. package/dist/templates/beacon/content/collections/news/2026-10-14-planting-season-begins.mdoc +2 -2
  30. package/dist/templates/beacon/content/pages/about.json +1 -1
  31. package/dist/templates/beacon/content/pages/contact.json +1 -1
  32. package/dist/templates/beacon/content/pages/donate.json +1 -1
  33. package/dist/templates/beacon/content/pages/get-involved.json +1 -1
  34. package/dist/templates/beacon/content/pages/home.json +2 -2
  35. package/dist/templates/beacon/content/pages/our-work.json +1 -1
  36. package/dist/templates/beacon/content/site.json +1 -1
  37. package/dist/templates/beacon/content/styles.json +1 -1
  38. package/dist/templates/beacon/media/LICENSES.json +33 -0
  39. package/dist/templates/beacon/openspace.json +2 -2
  40. package/dist/templates/beacon/template.json +1 -1
  41. package/dist/templates/commons/content/pages/about.json +1 -1
  42. package/dist/templates/commons/content/pages/directory.json +1 -1
  43. package/dist/templates/commons/content/pages/home.json +5 -5
  44. package/dist/templates/commons/content/pages/join.json +1 -1
  45. package/dist/templates/commons/content/site.json +2 -2
  46. package/dist/templates/commons/content/styles.json +1 -1
  47. package/dist/templates/commons/media/LICENSES.json +11 -11
  48. package/dist/templates/commons/openspace.json +2 -2
  49. package/dist/templates/commons/template.json +1 -1
  50. package/dist/templates/darkroom/content/collections/work/after-hours.mdoc +7 -4
  51. package/dist/templates/darkroom/content/collections/work/faces-of-the-guild.mdoc +10 -7
  52. package/dist/templates/darkroom/content/collections/work/first-light.mdoc +34 -0
  53. package/dist/templates/darkroom/content/pages/about.json +1 -1
  54. package/dist/templates/darkroom/content/pages/contact.json +1 -1
  55. package/dist/templates/darkroom/content/pages/home.json +28 -16
  56. package/dist/templates/darkroom/content/pages/services.json +1 -1
  57. package/dist/templates/darkroom/content/site.json +1 -1
  58. package/dist/templates/darkroom/content/styles.json +1 -1
  59. package/dist/templates/darkroom/media/LICENSES.json +82 -49
  60. package/dist/templates/darkroom/openspace.json +2 -2
  61. package/dist/templates/darkroom/template.json +1 -1
  62. package/dist/templates/encore/content/pages/about.json +1 -1
  63. package/dist/templates/encore/content/pages/contact.json +1 -1
  64. package/dist/templates/encore/content/pages/home.json +9 -5
  65. package/dist/templates/encore/content/pages/music.json +1 -1
  66. package/dist/templates/encore/content/site.json +1 -1
  67. package/dist/templates/encore/content/styles.json +1 -1
  68. package/dist/templates/encore/media/LICENSES.json +11 -0
  69. package/dist/templates/encore/openspace.json +2 -2
  70. package/dist/templates/encore/template.json +1 -1
  71. package/dist/templates/field-notes/content/collections/essays/a-year-of-apples.mdoc +2 -2
  72. package/dist/templates/field-notes/content/collections/essays/in-praise-of-dirt-roads.mdoc +27 -0
  73. package/dist/templates/field-notes/content/collections/essays/learning-a-field.mdoc +2 -2
  74. package/dist/templates/field-notes/content/collections/essays/the-barn-that-leans.mdoc +29 -0
  75. package/dist/templates/field-notes/content/collections/essays/the-wall-builders.mdoc +2 -2
  76. package/dist/templates/field-notes/content/pages/about.json +1 -1
  77. package/dist/templates/field-notes/content/pages/contact.json +1 -1
  78. package/dist/templates/field-notes/content/pages/home.json +4 -4
  79. package/dist/templates/field-notes/content/pages/subscribe.json +1 -1
  80. package/dist/templates/field-notes/content/site.json +1 -1
  81. package/dist/templates/field-notes/content/styles.json +1 -1
  82. package/dist/templates/field-notes/media/LICENSES.json +55 -33
  83. package/dist/templates/field-notes/openspace.json +2 -2
  84. package/dist/templates/field-notes/template.json +1 -1
  85. package/dist/templates/fixwell/content/pages/about.json +1 -1
  86. package/dist/templates/fixwell/content/pages/contact.json +1 -1
  87. package/dist/templates/fixwell/content/pages/home.json +1 -1
  88. package/dist/templates/fixwell/content/pages/pricing.json +1 -1
  89. package/dist/templates/fixwell/content/pages/services.json +1 -1
  90. package/dist/templates/fixwell/content/site.json +1 -1
  91. package/dist/templates/fixwell/content/styles.json +1 -1
  92. package/dist/templates/fixwell/openspace.json +2 -2
  93. package/dist/templates/fixwell/template.json +1 -1
  94. package/dist/templates/folio/content/pages/about.json +1 -1
  95. package/dist/templates/folio/content/pages/contact.json +1 -1
  96. package/dist/templates/folio/content/pages/experience.json +1 -1
  97. package/dist/templates/folio/content/pages/home.json +1 -1
  98. package/dist/templates/folio/content/site.json +1 -1
  99. package/dist/templates/folio/content/styles.json +1 -1
  100. package/dist/templates/folio/openspace.json +2 -2
  101. package/dist/templates/folio/template.json +1 -1
  102. package/dist/templates/gather/content/pages/about.json +1 -1
  103. package/dist/templates/gather/content/pages/contact.json +1 -1
  104. package/dist/templates/gather/content/pages/home.json +26 -12
  105. package/dist/templates/gather/content/pages/programme.json +1 -1
  106. package/dist/templates/gather/content/pages/speakers.json +1 -1
  107. package/dist/templates/gather/content/pages/tickets.json +1 -1
  108. package/dist/templates/gather/content/pages/venue.json +1 -1
  109. package/dist/templates/gather/content/site.json +1 -1
  110. package/dist/templates/gather/content/styles.json +1 -1
  111. package/dist/templates/gather/openspace.json +2 -2
  112. package/dist/templates/gather/template.json +1 -1
  113. package/dist/templates/harbor/content/collections/news/2026-09-15-meet-the-repair-crew.mdoc +2 -2
  114. package/dist/templates/harbor/content/pages/about.json +1 -1
  115. package/dist/templates/harbor/content/pages/contact.json +1 -1
  116. package/dist/templates/harbor/content/pages/get-involved.json +2 -2
  117. package/dist/templates/harbor/content/pages/home.json +10 -6
  118. package/dist/templates/harbor/content/pages/programs.json +3 -3
  119. package/dist/templates/harbor/content/site.json +1 -1
  120. package/dist/templates/harbor/content/styles.json +1 -1
  121. package/dist/templates/harbor/media/LICENSES.json +22 -0
  122. package/dist/templates/harbor/openspace.json +2 -2
  123. package/dist/templates/harbor/template.json +1 -1
  124. package/dist/templates/hearth/content/pages/about.json +1 -1
  125. package/dist/templates/hearth/content/pages/home.json +18 -23
  126. package/dist/templates/hearth/content/pages/menu.json +1 -1
  127. package/dist/templates/hearth/content/pages/private-dining.json +1 -1
  128. package/dist/templates/hearth/content/pages/visit.json +1 -1
  129. package/dist/templates/hearth/content/site.json +1 -1
  130. package/dist/templates/hearth/content/styles.json +1 -1
  131. package/dist/templates/hearth/media/LICENSES.json +22 -11
  132. package/dist/templates/hearth/openspace.json +2 -2
  133. package/dist/templates/hearth/template.json +1 -1
  134. package/dist/templates/inkwell/content/pages/about.json +1 -1
  135. package/dist/templates/inkwell/content/pages/books.json +1 -1
  136. package/dist/templates/inkwell/content/pages/contact.json +1 -1
  137. package/dist/templates/inkwell/content/pages/home.json +1 -1
  138. package/dist/templates/inkwell/content/pages/speaking.json +1 -1
  139. package/dist/templates/inkwell/content/site.json +1 -1
  140. package/dist/templates/inkwell/content/styles.json +1 -1
  141. package/dist/templates/inkwell/openspace.json +2 -2
  142. package/dist/templates/inkwell/template.json +1 -1
  143. package/dist/templates/keystone/content/pages/about.json +1 -1
  144. package/dist/templates/keystone/content/pages/contact.json +1 -1
  145. package/dist/templates/keystone/content/pages/home.json +1 -1
  146. package/dist/templates/keystone/content/pages/results.json +1 -1
  147. package/dist/templates/keystone/content/pages/work-with-me.json +1 -1
  148. package/dist/templates/keystone/content/site.json +1 -1
  149. package/dist/templates/keystone/content/styles.json +1 -1
  150. package/dist/templates/keystone/openspace.json +2 -2
  151. package/dist/templates/keystone/template.json +1 -1
  152. package/dist/templates/kiln/content/collections/classes/glaze-day-march.mdoc +2 -2
  153. package/dist/templates/kiln/content/collections/classes/hand-building-february.mdoc +2 -2
  154. package/dist/templates/kiln/content/collections/classes/wheel-weekend-january.mdoc +2 -2
  155. package/dist/templates/kiln/content/pages/about.json +1 -1
  156. package/dist/templates/kiln/content/pages/contact.json +1 -1
  157. package/dist/templates/kiln/content/pages/home.json +6 -6
  158. package/dist/templates/kiln/content/pages/workshops.json +1 -1
  159. package/dist/templates/kiln/content/site.json +1 -1
  160. package/dist/templates/kiln/content/styles.json +1 -1
  161. package/dist/templates/kiln/media/LICENSES.json +55 -0
  162. package/dist/templates/kiln/openspace.json +2 -2
  163. package/dist/templates/kiln/template.json +1 -1
  164. package/dist/templates/ledger/content/pages/about.json +1 -1
  165. package/dist/templates/ledger/content/pages/contact.json +1 -1
  166. package/dist/templates/ledger/content/pages/home.json +1 -1
  167. package/dist/templates/ledger/content/pages/services.json +1 -1
  168. package/dist/templates/ledger/content/site.json +1 -1
  169. package/dist/templates/ledger/content/styles.json +1 -1
  170. package/dist/templates/ledger/openspace.json +2 -2
  171. package/dist/templates/ledger/template.json +1 -1
  172. package/dist/templates/link/content/pages/home.json +36 -32
  173. package/dist/templates/link/content/site.json +1 -1
  174. package/dist/templates/link/content/styles.json +1 -1
  175. package/dist/templates/link/media/LICENSES.json +25 -25
  176. package/dist/templates/link/openspace.json +2 -2
  177. package/dist/templates/link/template.json +1 -1
  178. package/dist/templates/meadow/content/collections/workshops/breath-and-rest-workshop.mdoc +2 -2
  179. package/dist/templates/meadow/content/pages/about.json +1 -1
  180. package/dist/templates/meadow/content/pages/bodywork.json +1 -1
  181. package/dist/templates/meadow/content/pages/classes.json +1 -1
  182. package/dist/templates/meadow/content/pages/contact.json +1 -1
  183. package/dist/templates/meadow/content/pages/home.json +1 -1
  184. package/dist/templates/meadow/content/site.json +1 -1
  185. package/dist/templates/meadow/content/styles.json +1 -1
  186. package/dist/templates/meadow/media/LICENSES.json +11 -0
  187. package/dist/templates/meadow/openspace.json +2 -2
  188. package/dist/templates/meadow/template.json +1 -1
  189. package/dist/templates/orbit/content/pages/about.json +1 -1
  190. package/dist/templates/orbit/content/pages/contact.json +1 -1
  191. package/dist/templates/orbit/content/pages/features.json +1 -1
  192. package/dist/templates/orbit/content/pages/home.json +26 -12
  193. package/dist/templates/orbit/content/pages/pricing.json +1 -1
  194. package/dist/templates/orbit/content/site.json +1 -1
  195. package/dist/templates/orbit/content/styles.json +1 -1
  196. package/dist/templates/orbit/openspace.json +2 -2
  197. package/dist/templates/orbit/template.json +1 -1
  198. package/dist/templates/signal/content/pages/about.json +1 -1
  199. package/dist/templates/signal/content/pages/contact.json +1 -1
  200. package/dist/templates/signal/content/pages/home.json +1 -1
  201. package/dist/templates/signal/content/pages/pricing.json +1 -1
  202. package/dist/templates/signal/content/site.json +1 -1
  203. package/dist/templates/signal/content/styles.json +1 -1
  204. package/dist/templates/signal/openspace.json +2 -2
  205. package/dist/templates/signal/template.json +1 -1
  206. package/dist/templates/vow/content/pages/about.json +1 -1
  207. package/dist/templates/vow/content/pages/home.json +1 -1
  208. package/dist/templates/vow/content/pages/registry.json +1 -1
  209. package/dist/templates/vow/content/pages/rsvp.json +1 -1
  210. package/dist/templates/vow/content/pages/schedule.json +1 -1
  211. package/dist/templates/vow/content/pages/travel.json +1 -1
  212. package/dist/templates/vow/content/site.json +1 -1
  213. package/dist/templates/vow/content/styles.json +1 -1
  214. package/dist/templates/vow/openspace.json +2 -2
  215. package/dist/templates/vow/template.json +1 -1
  216. package/package.json +6 -6
  217. package/dist/chunk-6NIIOHOX.js.map +0 -1
  218. package/dist/chunk-7I6IJI6Z.js.map +0 -1
  219. package/dist/templates/darkroom/content/collections/work/dry-season.mdoc +0 -28
  220. /package/dist/{agents-md-3W4PIY4N.js.map → agents-md-Q2TI3NHB.js.map} +0 -0
package/README.md CHANGED
@@ -2,15 +2,20 @@
2
2
 
3
3
  The `openspace` command line: `check`, `dev`, `migrate`, `new`, `import`, `eject`, `agents-md` and `mcp`.
4
4
 
5
- ## `openspace import squarespace <url> [dir]` — move a Squarespace site
6
-
7
- Creates a new site folder from a Squarespace 7.0/7.1 site: pages and sections, blog, events,
8
- products, images, navigation, forms, SEO, redirects and a Site Styles approximation of the look,
9
- plus `IMPORT-REPORT.md`; then runs `openspace check`. Options: `--owner` (you own the site: also
10
- read `?format=json`), `--export <wordpress.xml>` (complete blog posts), `--target`, `--repo`,
11
- `--url`, `--domain`, `--title`, `--hub`, `--max-pages`, `--delay`, `--no-media`. Requests are
12
- paced and robots.txt is honoured. The local MCP server offers the same as `import_squarespace`,
13
- and `screenshot_url` to compare the original site with the new one.
5
+ ## `openspace import <url> [dir]` — move a site from anywhere
6
+
7
+ Creates a new site folder from an existing site. The platform is detected from the home page,
8
+ or name the importer: `import squarespace` (7.0/7.1: pages and sections, blog, events, products),
9
+ `import wordpress` (public REST API and/or a WXR export: pages, posts, menus, Yoast/Rank Math SEO,
10
+ permalink redirects), `import url` (any site — Wix, Webflow, Carrd, Framer, hand-made HTML: sitemap
11
+ crawl, main content, navigation, footer, look, closest section presets). Every importer brings
12
+ images, navigation, forms, SEO, redirects and a Site Styles approximation of the look, writes
13
+ `IMPORT-REPORT.md` and runs `openspace check`. Options: `--platform` (skip detection), `--owner`
14
+ (Squarespace: also read `?format=json`), `--export <wxr.xml>`, `--render` (read script-built pages
15
+ in a browser; needs Playwright), `--target`, `--repo`, `--url`, `--domain`, `--title`, `--hub`,
16
+ `--max-pages`, `--delay`, `--no-media`. Requests are paced and robots.txt is honoured. The local MCP
17
+ server offers the same as `import_site` (`import_squarespace` is its older name), and
18
+ `screenshot_url` to compare the original site with the new one.
14
19
 
15
20
  ## `openspace mcp [dir]` — let Claude edit and design your site
16
21
 
@@ -1,8 +1,9 @@
1
1
  import { createRequire as __osCreateRequire } from "node:module"; const require = __osCreateRequire(import.meta.url);
2
2
  import {
3
3
  generateAgentsMd
4
- } from "./chunk-7I6IJI6Z.js";
4
+ } from "./chunk-BW42R6WD.js";
5
+ import "./chunk-26AZCID5.js";
5
6
  export {
6
7
  generateAgentsMd
7
8
  };
8
- //# sourceMappingURL=agents-md-3W4PIY4N.js.map
9
+ //# sourceMappingURL=agents-md-Q2TI3NHB.js.map
package/dist/bin.js CHANGED
@@ -3,8 +3,10 @@ import { createRequire as __osCreateRequire } from "node:module"; const require
3
3
  import {
4
4
  processIo,
5
5
  run
6
- } from "./chunk-6NIIOHOX.js";
7
- import "./chunk-7I6IJI6Z.js";
6
+ } from "./chunk-7SWL46LQ.js";
7
+ import "./chunk-WE4QCL3R.js";
8
+ import "./chunk-BW42R6WD.js";
9
+ import "./chunk-26AZCID5.js";
8
10
 
9
11
  // src/bin.ts
10
12
  process.exitCode = await run(process.argv.slice(2), processIo());
package/dist/bin.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/bin.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { processIo } from \"./io\";\nimport { run } from \"./program\";\n\nprocess.exitCode = await run(process.argv.slice(2), processIo());\n"],"mappings":";;;;;;;;;AAIA,QAAQ,WAAW,MAAM,IAAI,QAAQ,KAAK,MAAM,CAAC,GAAG,UAAU,CAAC;","names":[]}
1
+ {"version":3,"sources":["../src/bin.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { processIo } from \"./io\";\nimport { run } from \"./program\";\n\nprocess.exitCode = await run(process.argv.slice(2), processIo());\n"],"mappings":";;;;;;;;;;;AAIA,QAAQ,WAAW,MAAM,IAAI,QAAQ,KAAK,MAAM,CAAC,GAAG,UAAU,CAAC;","names":[]}
@@ -0,0 +1,44 @@
1
+ import { createRequire as __osCreateRequire } from "node:module"; const require = __osCreateRequire(import.meta.url);
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
+ }) : x)(function(x) {
11
+ if (typeof require !== "undefined") return require.apply(this, arguments);
12
+ throw Error('Dynamic require of "' + x + '" is not supported');
13
+ });
14
+ var __commonJS = (cb, mod) => function __require2() {
15
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
16
+ };
17
+ var __export = (target, all) => {
18
+ for (var name in all)
19
+ __defProp(target, name, { get: all[name], enumerable: true });
20
+ };
21
+ var __copyProps = (to, from, except, desc) => {
22
+ if (from && typeof from === "object" || typeof from === "function") {
23
+ for (let key of __getOwnPropNames(from))
24
+ if (!__hasOwnProp.call(to, key) && key !== except)
25
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
26
+ }
27
+ return to;
28
+ };
29
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
30
+ // If the importer is in node compatibility mode or this is not an ESM
31
+ // file that has been converted to a CommonJS file using a Babel-
32
+ // compatible transform (i.e. "__esModule" has not been set), then set
33
+ // "default" to the CommonJS "module.exports" for node compatibility.
34
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
35
+ mod
36
+ ));
37
+
38
+ export {
39
+ __require,
40
+ __commonJS,
41
+ __export,
42
+ __toESM
43
+ };
44
+ //# sourceMappingURL=chunk-26AZCID5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}