@synap-core/workspace-templates 0.58.0 → 0.59.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.
- package/README.md +1 -0
- package/dist/index.js +18 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
- package/src/content-os.piece-model.template.test.ts +37 -0
- package/src/content-os.yaml +19 -0
- package/src/space-packages.generated.ts +1 -1
- package/src/templates.ts +17 -0
package/README.md
CHANGED
|
@@ -26,6 +26,7 @@ How installs, reconciles and tiers work is in the `synap-market` skill
|
|
|
26
26
|
| `views/<slug>.view.json` | `view` | Manifest; `spec.views` in the canonical shape the CP stores (`{slug, displayName, type, config, scopeProfileSlugs}`) | Category `view`. Three today (`bookmark-views-pack`, `event-views-pack`, `task-views-pack`), moved from the old CP pack fragments on 2026-11-05. CI on every push to main |
|
|
27
27
|
| `automations/<slug>.automation.json` | `automation` | bridge-setup `flowDefinition` form, plus a header `automations/<slug>.catalog.json` beside it | Only with its header, and only without apply-time placeholders. Headers decided by the founder on 2026-11-05: `bookmark-enrichment` public; `url-bookmark-capture`, `github-pr-events` and the five `ship-a-change-*` unlisted. `mail-feed` stays **staged**: it carries two placeholders bridge-setup fills |
|
|
28
28
|
| `agents/<slug>.agent.yaml` | `agent` | Manifest. `spec` (`schema/agent.ts`) is what the pod reads as `definition.agent`: `harness` (the `agent_type` join key), `aliases`, `worker`, `tried`, `detect`, `wake` (data: `program` + `args` + `params`, never a shell line; required for a worker only), `practices.skills`, `mcp` (where its program reads MCP servers: `config` under ~/, `format` yaml/json, `key` dot path, `entry`; the CLI writes the pod's server there on `synap agents add`, the pod ignores it), `toolProfile` (`entry` / `builder`) + `toolGroups` (only with `entry`): the MCP tools an agent's first key lists, read by the pod (backend#900). One per program of the backend harness registry, plus `hermes`. CP category `agent`, official vendor only, left out of browse lists (the catalog installs every official agent on every pod, founder decision D8) | Yes, on every push to main, like every other kind (the first publish was the founder's, by hand, on 2026-11-07; `FIRST_PUBLISH_BY_HAND` is empty since) |
|
|
29
|
+
| `renderer-bundles/<slug>.yaml` | `renderer-bundle` | Manifest (`schema/renderer-bundle.ts`): the cells (each an entry module under `packages/web/src/renderer-bundle/cells/`, importing only the bundle's kit `space-packages/kit-bundle.ts`), and the host's fallbacks (`defaults`). `pnpm --filter @synap-core/workspace-templates build:renderer-bundle` builds `renderer-bundles/built/<slug>.definition.json` (the `RendererBundleDefinition`: its own React, kit and tokens, the cells' code, every sha256) and `<slug>.build.json` (inputs + the tRPC trace), both committed and held fresh by `scripts/build-renderer-bundle.test.ts`. Never in the npm package (`files`). Licence PolyForm Noncommercial 1.0.0 | Category `renderer-bundle`, private, never synced: the CP delivers it to any live pod a Synap plan covers (decision c91d26dc; founder, 20 Nov 2026). CI on every push to main, once the CP accepts the category |
|
|
29
30
|
| `schema/` | | Zod manifest schema: `header.ts`, plus one body per kind (`workspace`, `capability`, `skill`, `automation`, `view`, `agent`, `playbook`) | |
|
|
30
31
|
| `standards/*.standard.yaml` | | Quality standard per workspace (`pnpm eval`) | |
|
|
31
32
|
| `scripts/catalog-lib.mjs` | | **The ONE lib**: `loadCatalog` → `validateCatalog` → `diffCatalog` → `publishCatalog` | |
|
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var BUILT_SPACE_PACKAGES = {
|
|
|
28
28
|
"inputs": {
|
|
29
29
|
"packages/web/src/space-packages/builder/home.tsx": "7afed696a23b1a474eace193d85688233e2f652e5e4ca56926edc8e1a16e62ef",
|
|
30
30
|
"packages/web/src/space-packages/frame-doors.ts": "662fbd70165f21a758b8677ac7a1169030f76996921e322159ccd67e19ee7520",
|
|
31
|
-
"packages/web/src/space-packages/frame-lens.ts": "
|
|
31
|
+
"packages/web/src/space-packages/frame-lens.ts": "a218e6854b5ccb1cf6d34b6b826a2ad3eba9c447d1b0fb1b27899a36d04f92a8",
|
|
32
32
|
"packages/web/src/space-packages/SpaceWorkHome.tsx": "e44497878da09b9ac0e9356440196e5973329a5ddef462991d9deb7087444718"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -11838,6 +11838,23 @@ var DATA = {
|
|
|
11838
11838
|
"description": "Id of this piece's whiteboard (a pod view of type whiteboard).",
|
|
11839
11839
|
"valueType": "string",
|
|
11840
11840
|
"inputType": "text"
|
|
11841
|
+
},
|
|
11842
|
+
{
|
|
11843
|
+
"slug": "content-format",
|
|
11844
|
+
"label": "Format",
|
|
11845
|
+
"description": "What this piece is made as. Empty: a thinking piece. text-site = Text \xB7 your site, text-linkedin = Text \xB7 LinkedIn, text-newsletter = Text \xB7 newsletter, carousel-linkedin = Carousel \xB7 LinkedIn, carousel-instagram = Carousel \xB7 Instagram, carousel-both = Carousel \xB7 LinkedIn and Instagram, video-motion = Video \xB7 motion design, video-capture = Video \xB7 captured.",
|
|
11846
|
+
"valueType": "string",
|
|
11847
|
+
"inputType": "select",
|
|
11848
|
+
"enumValues": [
|
|
11849
|
+
"text-site",
|
|
11850
|
+
"text-linkedin",
|
|
11851
|
+
"text-newsletter",
|
|
11852
|
+
"carousel-linkedin",
|
|
11853
|
+
"carousel-instagram",
|
|
11854
|
+
"carousel-both",
|
|
11855
|
+
"video-motion",
|
|
11856
|
+
"video-capture"
|
|
11857
|
+
]
|
|
11841
11858
|
}
|
|
11842
11859
|
]
|
|
11843
11860
|
},
|