@jay-framework/aiditor 0.19.6 → 0.20.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/dist/actions/cancel-agent-task.jay-action +9 -0
- package/dist/actions/cancel-agent-task.jay-action.d.ts +8 -0
- package/dist/actions/check-aiditor-publish.jay-action +7 -0
- package/dist/actions/check-aiditor-publish.jay-action.d.ts +5 -0
- package/dist/actions/get-contract-inspector-tags.jay-action +9 -0
- package/dist/actions/get-contract-inspector-tags.jay-action.d.ts +6 -0
- package/dist/actions/get-page-assets.jay-action +10 -0
- package/dist/actions/get-page-assets.jay-action.d.ts +7 -0
- package/dist/actions/get-page-meta.jay-action +9 -0
- package/dist/actions/get-page-meta.jay-action.d.ts +6 -0
- package/dist/actions/run-aiditor-publish.jay-action +7 -0
- package/dist/actions/run-aiditor-publish.jay-action.d.ts +5 -0
- package/dist/actions/save-page-assets.jay-action +8 -0
- package/dist/actions/save-page-assets.jay-action.d.ts +5 -0
- package/dist/actions/save-page-meta.jay-action +8 -0
- package/dist/actions/save-page-meta.jay-action.d.ts +5 -0
- package/dist/actions/sync-detected-page-assets.jay-action +12 -0
- package/dist/actions/sync-detected-page-assets.jay-action.d.ts +10 -0
- package/dist/agent-kit-template/plugin/aiditor-add-menu.md +24 -0
- package/dist/index.client.d.ts +451 -210
- package/dist/index.client.js +9364 -1552
- package/dist/index.d.ts +176 -4
- package/dist/index.js +974 -86
- package/dist/pages/aiditor/page.css +2272 -594
- package/dist/pages/aiditor/page.jay-html +4310 -1374
- package/dist/pages/aiditor/page.jay-html.d.ts +1013 -0
- package/package.json +20 -7
- package/plugin.yaml +18 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
name: syncDetectedPageAssetsAction
|
|
2
|
+
description: Merge auto-detected page components into page assets registry
|
|
3
|
+
|
|
4
|
+
inputSchema:
|
|
5
|
+
contextKey: string
|
|
6
|
+
pageRoute: string
|
|
7
|
+
renderedUrl: string
|
|
8
|
+
jayHtmlPath: string
|
|
9
|
+
|
|
10
|
+
outputSchema:
|
|
11
|
+
file: object
|
|
12
|
+
detectedCount: number
|
|
@@ -36,8 +36,32 @@ items:
|
|
|
36
36
|
packageName: "@jay-framework/wix-stores"
|
|
37
37
|
subCategory: Components # optional navigation
|
|
38
38
|
thumbnail: thumbnails/... # optional UI hint
|
|
39
|
+
interaction: # optional — Design Log #25
|
|
40
|
+
mode: reference | stage-place
|
|
41
|
+
persistOnPage: true # deprecated DL #26 — accepted but ignored
|
|
42
|
+
stagePromptTemplate: | # stage-place only — prefilled marker instruction
|
|
43
|
+
Add spring effect at this location.
|
|
39
44
|
```
|
|
40
45
|
|
|
46
|
+
**`interaction` (optional, DL #25):**
|
|
47
|
+
|
|
48
|
+
| Field | Values | Default |
|
|
49
|
+
| --------------------- | ----------------------------------------------------------------------------- | ----------- |
|
|
50
|
+
| `mode` | `reference` — `@` mention in markers; click in + Add dock when marker focused | `reference` |
|
|
51
|
+
| | `stage-place` — click or drag onto preview creates a marker | |
|
|
52
|
+
| `persistOnPage` | **Deprecated (DL #26)** — ignored; no disk registry | n/a |
|
|
53
|
+
| `stagePromptTemplate` | Prefilled marker instruction for `stage-place` | item title |
|
|
54
|
+
|
|
55
|
+
## AIditor surfaces (DL #26)
|
|
56
|
+
|
|
57
|
+
| Surface | Purpose | Plugin guidance |
|
|
58
|
+
| -------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
59
|
+
| **Page Info** | Route + components from `jay-html`; contract explorer | Headless contracts appear automatically when in template; no catalog entry required for detection |
|
|
60
|
+
| **+ Add dock** | Visual placement | `interaction.mode: stage-place` + `stagePromptTemplate` for effects/media that land on canvas |
|
|
61
|
+
| **`@` autocomplete** | Full catalog reference | `mode: reference` (default); categories / high-cardinality → rely on `@` only (`subCategory: Categories` filtered from + Add grid) |
|
|
62
|
+
|
|
63
|
+
Do **not** rely on page Assets registry or `persistOnPage` for disk persistence — request-level `addMenuAttachments` and `pageComponents` (from `jay-html`) are submitted instead.
|
|
64
|
+
|
|
41
65
|
**Required:** `id`, `title`, `category`, `prompt`
|
|
42
66
|
|
|
43
67
|
**Rejected (anti-patterns):** `kind`, `parameters`, `component`, `allowedScopes`, `{{parameters.*}}`
|