@jay-framework/aiditor 0.18.3 → 0.19.1
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/list-add-menu-items.jay-action +9 -0
- package/dist/actions/list-add-menu-items.jay-action.d.ts +3 -0
- package/dist/actions/resolve-add-menu-contract-params.jay-action +12 -0
- package/dist/actions/resolve-add-menu-contract-params.jay-action.d.ts +5 -0
- package/dist/actions/sync-add-menu-attachments.jay-action +13 -0
- package/dist/actions/sync-add-menu-attachments.jay-action.d.ts +10 -0
- package/dist/agent-kit-template/plugin/aiditor-add-menu.md +106 -0
- package/dist/index.client.d.ts +784 -5
- package/dist/index.client.js +1354 -564
- package/dist/index.d.ts +89 -729
- package/dist/index.js +981 -503
- package/dist/pages/aiditor/page.css +1350 -1
- package/dist/pages/aiditor/page.jay-html +1656 -484
- package/package.json +15 -7
- package/plugin.yaml +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jay-framework/aiditor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AIditor — visual AI-driven code editor plugin for Jay Framework",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -41,17 +41,23 @@
|
|
|
41
41
|
"./get-plugin-setup-status.jay-action": "./dist/actions/get-plugin-setup-status.jay-action",
|
|
42
42
|
"./rerun-plugin-setup.jay-action": "./dist/actions/rerun-plugin-setup.jay-action",
|
|
43
43
|
"./sync-add-page-plugin-manifest.jay-action": "./dist/actions/sync-add-page-plugin-manifest.jay-action",
|
|
44
|
+
"./list-add-menu-items.jay-action": "./dist/actions/list-add-menu-items.jay-action",
|
|
45
|
+
"./sync-add-menu-attachments.jay-action": "./dist/actions/sync-add-menu-attachments.jay-action",
|
|
46
|
+
"./resolve-add-menu-contract-params.jay-action": "./dist/actions/resolve-add-menu-contract-params.jay-action",
|
|
44
47
|
"./write-plugin-source.jay-action": "./dist/actions/write-plugin-source.jay-action",
|
|
45
48
|
"./dist/pages/aiditor/page.jay-html": "./dist/pages/aiditor/page.jay-html",
|
|
46
49
|
"./dist/pages/aiditor/page.css": "./dist/pages/aiditor/page.css"
|
|
47
50
|
},
|
|
48
51
|
"scripts": {
|
|
49
52
|
"build": "npm run clean && npm run definitions && npm run build:client && npm run build:server && npm run build:copy-assets && npm run build:types && npm run validate",
|
|
53
|
+
"build:watch": "npm run definitions && npm run build:copy-assets && npm run build:watch:assets & npm run build:client -- --watch & npm run build:server -- --watch & npm run build:types -- --watch",
|
|
54
|
+
"build:watch:assets": "nodemon --watch lib --watch add-page-agent --watch agent-kit-template --ext jay-contract,jay-action,jay-html,css,md,yaml --exec \"npm run definitions && npm run build:copy-assets\"",
|
|
55
|
+
"watch": "npm run build:watch",
|
|
50
56
|
"definitions": "jay-cli definitions lib",
|
|
51
57
|
"validate": "jay-stack-cli validate-plugin",
|
|
52
58
|
"build:client": "vite build",
|
|
53
59
|
"build:server": "vite build --ssr",
|
|
54
|
-
"build:copy-assets": "mkdir -p dist/actions dist/pages/aiditor dist/add-page-agent dist/prompts && cp lib/*.jay-contract* dist/ && cp lib/actions/*.jay-action* dist/actions/ && cp lib/pages/aiditor/page.jay-html dist/pages/aiditor/ && cp lib/pages/aiditor/page.css dist/pages/aiditor/ && cp lib/pages/aiditor/page.jay-contract* dist/pages/aiditor/ && cp add-page-agent/*.md dist/add-page-agent/ && cp ../../docs/add-page-figma-brief-prompt.md ../../docs/add-page-figma-design-definitions-prompt.md ../../docs/add-page-figma-design-from-image-prompt.md dist/prompts/",
|
|
60
|
+
"build:copy-assets": "mkdir -p dist/actions dist/pages/aiditor dist/add-page-agent dist/prompts dist/agent-kit-template/plugin && cp lib/*.jay-contract* dist/ && cp lib/actions/*.jay-action* dist/actions/ && cp lib/pages/aiditor/page.jay-html dist/pages/aiditor/ && cp lib/pages/aiditor/page.css dist/pages/aiditor/ && cp lib/pages/aiditor/page.jay-contract* dist/pages/aiditor/ && cp add-page-agent/*.md dist/add-page-agent/ && cp ../../docs/add-page-figma-brief-prompt.md ../../docs/add-page-figma-design-definitions-prompt.md ../../docs/add-page-figma-design-from-image-prompt.md dist/prompts/ && cp -r agent-kit-template/plugin/* dist/agent-kit-template/plugin/",
|
|
55
61
|
"build:types": "tsup lib/index.ts lib/index.client.ts --dts-only --format esm",
|
|
56
62
|
"build:check-types": "tsc",
|
|
57
63
|
"clean": "rimraf dist",
|
|
@@ -59,17 +65,19 @@
|
|
|
59
65
|
},
|
|
60
66
|
"dependencies": {
|
|
61
67
|
"@anthropic-ai/claude-agent-sdk": "0.2.119",
|
|
62
|
-
"@jay-framework/fullstack-component": "^0.
|
|
63
|
-
"@jay-framework/stack-client-runtime": "^0.
|
|
64
|
-
"@jay-framework/stack-server-runtime": "^0.
|
|
68
|
+
"@jay-framework/fullstack-component": "^0.19.1",
|
|
69
|
+
"@jay-framework/stack-client-runtime": "^0.19.1",
|
|
70
|
+
"@jay-framework/stack-server-runtime": "^0.19.1",
|
|
65
71
|
"busboy": "^1.6.0",
|
|
66
72
|
"html2canvas": "^1.4.1",
|
|
73
|
+
"js-yaml": "^4.1.0",
|
|
67
74
|
"zod": "^4.3.6"
|
|
68
75
|
},
|
|
69
76
|
"devDependencies": {
|
|
70
|
-
"@jay-framework/compiler-jay-stack": "^0.
|
|
71
|
-
"@jay-framework/jay-cli": "^0.
|
|
77
|
+
"@jay-framework/compiler-jay-stack": "^0.19.1",
|
|
78
|
+
"@jay-framework/jay-cli": "^0.19.1",
|
|
72
79
|
"@types/busboy": "^1",
|
|
80
|
+
"nodemon": "^3.0.3",
|
|
73
81
|
"rimraf": "^5.0.5",
|
|
74
82
|
"tsup": "^8.5.1",
|
|
75
83
|
"typescript": "^5.3.3",
|
package/plugin.yaml
CHANGED
|
@@ -51,9 +51,19 @@ actions:
|
|
|
51
51
|
action: rerun-plugin-setup.jay-action
|
|
52
52
|
- name: syncAddPagePluginManifestAction
|
|
53
53
|
action: sync-add-page-plugin-manifest.jay-action
|
|
54
|
+
- name: listAddMenuItemsAction
|
|
55
|
+
action: list-add-menu-items.jay-action
|
|
56
|
+
- name: syncAddMenuAttachmentsAction
|
|
57
|
+
action: sync-add-menu-attachments.jay-action
|
|
58
|
+
- name: resolveAddMenuContractParamsAction
|
|
59
|
+
action: resolve-add-menu-contract-params.jay-action
|
|
54
60
|
- name: writePluginSourceAction
|
|
55
61
|
action: write-plugin-source.jay-action
|
|
56
62
|
|
|
63
|
+
setup:
|
|
64
|
+
handler: setupAiditor
|
|
65
|
+
description: Install AIditor Add Menu contributor guide into agent-kit/plugin/
|
|
66
|
+
|
|
57
67
|
routes:
|
|
58
68
|
- path: /aiditor
|
|
59
69
|
jayHtml: ./dist/pages/aiditor/page.jay-html
|