weaver-work-cli 0.1.69 → 0.1.71
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/chunks/{archive-VUTREF3P.js → archive-5P33NAUN.js} +22 -5
- package/dist/chunks/{archive-oa-VXXO4RTB.js → archive-oa-YTY5D7DG.js} +17 -5
- package/dist/chunks/{asset-45U6TY7I.js → asset-3Q5MFQBX.js} +22 -5
- package/dist/chunks/{asset-idle-YCRBMTIT.js → asset-idle-PQPNYIS7.js} +15 -5
- package/dist/chunks/{attachment-content-7BEDNQ3O.js → attachment-content-7CN7JB6B.js} +3 -3
- package/dist/chunks/{blog-5AML4WMG.js → blog-MFHHK6ZR.js} +25 -5
- package/dist/chunks/{caizhilian-3P7BUNHT.js → caizhilian-OZ435AYW.js} +22 -8
- package/dist/chunks/{calendar-2HUXM3CZ.js → calendar-TNJXS5UC.js} +15 -5
- package/dist/chunks/{chunk-H2NRTGZR.js → chunk-2DNCKZRX.js} +3 -3
- package/dist/chunks/{chunk-DVFA3ODS.js → chunk-35A56FJ7.js} +12 -0
- package/dist/chunks/{chunk-HG6INLH6.js → chunk-6MMSLE6K.js} +23 -6
- package/dist/chunks/{chunk-UVWW5ABZ.js → chunk-B4NINGP2.js} +3 -3
- package/dist/chunks/{chunk-LRKKKO5A.js → chunk-DRJYPXKC.js} +3 -4
- package/dist/chunks/{chunk-3TZURS7M.js → chunk-EJLP63UO.js} +1 -1
- package/dist/chunks/{chunk-FMAZ42HS.js → chunk-FRMDHZSN.js} +11 -11
- package/dist/chunks/{chunk-MLJK4KLE.js → chunk-G7ZM2VOX.js} +34 -34
- package/dist/chunks/{chunk-LSVA7QA6.js → chunk-GB2MCJPG.js} +3 -1
- package/dist/chunks/{chunk-3CBURKSY.js → chunk-ICNUOWLL.js} +4 -4
- package/dist/chunks/{chunk-GTAFCAVP.js → chunk-IZCQU5D5.js} +1 -1
- package/dist/chunks/{chunk-BEYEXCWU.js → chunk-LU2SPJYY.js} +2 -2
- package/dist/chunks/{chunk-E7VWE2XI.js → chunk-MD5RXRI3.js} +3 -3
- package/dist/chunks/{chunk-VZUH3LKI.js → chunk-MZVQKQP5.js} +167 -157
- package/dist/chunks/{chunk-67AN5YJT.js → chunk-OFCF23FY.js} +9 -9
- package/dist/chunks/{chunk-ERAE4GHX.js → chunk-OPTJ6IF7.js} +1 -1
- package/dist/chunks/{chunk-727VKJQK.js → chunk-OZ7CJC7W.js} +2 -2
- package/dist/chunks/{chunk-T24EBWAZ.js → chunk-P3AFNAJ6.js} +48 -21
- package/dist/chunks/{chunk-4XYRTXRR.js → chunk-Q3EXRNB4.js} +1 -1
- package/dist/chunks/{chunk-QYDSTYGG.js → chunk-SKWKCLJX.js} +3 -3
- package/dist/chunks/{chunk-DSBV4GRK.js → chunk-SSS75WXW.js} +3 -3
- package/dist/chunks/{chunk-I5XB4MZT.js → chunk-SUWR5QEG.js} +94 -65
- package/dist/chunks/{chunk-YR3K53BU.js → chunk-VJWVB55R.js} +2 -2
- package/dist/chunks/{chunk-JAIZY37Z.js → chunk-VMVMEIL3.js} +4 -4
- package/dist/chunks/chunk-WM33BSIL.js +136 -0
- package/dist/chunks/{chunk-6DH73Q5H.js → chunk-X2C5CGGM.js} +52 -51
- package/dist/chunks/{chunk-ELF5TPSG.js → chunk-XLSJC6JZ.js} +6 -6
- package/dist/chunks/{chunk-U3OO3IZF.js → chunk-YN5SD4TX.js} +20 -7
- package/dist/chunks/{conflict-VKCRXHUV.js → conflict-Y4PXZ2YQ.js} +2 -2
- package/dist/chunks/{contract-3PMHUASH.js → contract-C3BGUMBM.js} +48 -5
- package/dist/chunks/{cowork-FZBTTBYX.js → cowork-2AWG4QLA.js} +37 -8
- package/dist/chunks/{create-flow-WYPLBLRK.js → create-flow-LOUOK46Z.js} +6 -6
- package/dist/chunks/{data-2YZ6A6TL.js → data-BSFYMXVO.js} +99 -184
- package/dist/chunks/{ebuilder-form-AWPTMZBZ.js → ebuilder-form-LAAMTD2Y.js} +17 -7
- package/dist/chunks/{ehr-MNPR4TE5.js → ehr-36KEX5SH.js} +62 -13
- package/dist/chunks/{entry-mode-BCJ7RPFC.js → entry-mode-6N2IGCS4.js} +3 -3
- package/dist/chunks/{env-SCVCHBN2.js → env-QYLS3EB3.js} +2 -2
- package/dist/chunks/{esb-GSB5QCEX.js → esb-PTYS3E67.js} +17 -7
- package/dist/chunks/{factory-CBXYOEBF.js → factory-LPFPKZ4T.js} +1 -1
- package/dist/chunks/{fna-XBSNUS2V.js → fna-JNHCLRDE.js} +15 -5
- package/dist/chunks/{group-chat-RFL4U7RF.js → group-chat-QP2WX4QJ.js} +3 -3
- package/dist/chunks/{host-2UMNXX5H.js → host-57LSRSE7.js} +4 -4
- package/dist/chunks/{host-NVDG3NC6.js → host-7BVR7CQ3.js} +4 -4
- package/dist/chunks/{host-SYPCA63D.js → host-C2BLBIID.js} +4 -4
- package/dist/chunks/{host-XVWBOSEN.js → host-K2ZKNXME.js} +4 -4
- package/dist/chunks/{host-R7BP3CTI.js → host-NS36QFLR.js} +6 -4
- package/dist/chunks/{host-BD44ASOD.js → host-QXFKQXNX.js} +4 -4
- package/dist/chunks/{hrm-FZUDJAND.js → hrm-FSGO4NSH.js} +15 -6
- package/dist/chunks/{im-F5NENPD7.js → im-2BFGS2XO.js} +16 -6
- package/dist/chunks/{invoice-DS6FLU55.js → invoice-JKLTTHSZ.js} +27 -6
- package/dist/chunks/{jiuchuanhui-PY2WEBUH.js → jiuchuanhui-PTABJE7V.js} +1294 -1134
- package/dist/chunks/{lazy-dispatch-F6O2EPGR.js → lazy-dispatch-YN2ZP3CS.js} +6 -6
- package/dist/chunks/{mail-ZEOSANEJ.js → mail-YNO7ZZUK.js} +116 -97
- package/dist/chunks/{meeting-N2AGGLVI.js → meeting-NIDHDBCB.js} +29 -16
- package/dist/chunks/{minute-doc-C62EZOJH.js → minute-doc-G3QAT7DE.js} +4 -4
- package/dist/chunks/{okr-OZUMTMCL.js → okr-QC52G6AJ.js} +15 -5
- package/dist/chunks/{operations-LQY3FTPH.js → operations-2WHIF5WV.js} +1 -1
- package/dist/chunks/{operations-UTUWFJTX.js → operations-MQV32ITT.js} +5 -5
- package/dist/chunks/{performance-GBKM5G2Y.js → performance-3MQ3AHDQ.js} +97 -11
- package/dist/chunks/{plan-C2NENH42.js → plan-ISINIEPY.js} +15 -5
- package/dist/chunks/{project-FAJ2P3UR.js → project-IJ6DVKT7.js} +18 -5
- package/dist/chunks/{reception-NH6MJFPR.js → reception-3H5LUG2I.js} +17 -7
- package/dist/chunks/{recruit-stage-DPEFHLSE.js → recruit-stage-MIOJXP6W.js} +412 -85
- package/dist/chunks/{registry-7US3QQXV.js → registry-3GQRYP2R.js} +12 -12
- package/dist/chunks/{registry-Y2HWS6JS.js → registry-3S7AVMXR.js} +4 -4
- package/dist/chunks/{registry-FTPUUHWC.js → registry-NHHKOEU3.js} +5 -5
- package/dist/chunks/{room-recommend-LMNF76YS.js → room-recommend-IOKBJVYP.js} +4 -4
- package/dist/chunks/{schedule-4QE2THAP.js → schedule-IB6EUARH.js} +4 -4
- package/dist/chunks/{smart-extract-GTYKF5TJ.js → smart-extract-N2TK3CEF.js} +19 -6
- package/dist/chunks/{workflow-KXYTQZ2H.js → workflow-RINBAL2M.js} +22 -8
- package/dist/cmd/auth/index.js +23 -0
- package/dist/cmd/e10/index.js +2 -1
- package/dist/cmd/index.js +2 -0
- package/dist/core/manifest-view.js +207 -0
- package/dist/core/output.js +38 -8
- package/dist/index.js +35 -35
- package/dist/internal/e10/auth/crypto.js +18 -8
- package/dist/internal/e10/auth/error-log.js +1 -2
- package/dist/internal/e10/auth/messages.js +2 -3
- package/dist/internal/e10/auth/xiaoe.js +1 -1
- package/dist/internal/e10/tls-policy.js +61 -13
- package/dist/shortcuts/archive/index.js +11 -2
- package/dist/shortcuts/archive/operations/download.js +1 -0
- package/dist/shortcuts/archive/operations/flow-url.js +3 -0
- package/dist/shortcuts/archive/operations/prelib.js +2 -0
- package/dist/shortcuts/archive/operations/upload.js +1 -0
- package/dist/shortcuts/archive-oa/index.js +11 -2
- package/dist/shortcuts/archive-oa/operations/borrow-car.js +2 -0
- package/dist/shortcuts/asset/index.js +11 -2
- package/dist/shortcuts/asset/manifest.js +7 -0
- package/dist/shortcuts/asset-idle/index.js +11 -2
- package/dist/shortcuts/blog/index.js +11 -2
- package/dist/shortcuts/blog/manifest.js +10 -0
- package/dist/shortcuts/caizhilian/host.js +20 -4
- package/dist/shortcuts/caizhilian/index.js +12 -2
- package/dist/shortcuts/caizhilian/manifest.js +4 -25
- package/dist/shortcuts/caizhilian/operations/handlers/search.js +34 -0
- package/dist/shortcuts/caizhilian/operations/registry.js +25 -1
- package/dist/shortcuts/calendar/index.js +11 -2
- package/dist/shortcuts/contract/index.js +11 -2
- package/dist/shortcuts/contract/manifest.js +32 -0
- package/dist/shortcuts/contract/operations/write.js +3 -0
- package/dist/shortcuts/cowork/index.js +21 -5
- package/dist/shortcuts/cowork/manifest.js +3 -0
- package/dist/shortcuts/cowork/operations/discuss-write.js +2 -0
- package/dist/shortcuts/cowork/operations/item-write.js +3 -0
- package/dist/shortcuts/cowork/operations/member-write.js +2 -0
- package/dist/shortcuts/cowork/operations/permission-write.js +2 -0
- package/dist/shortcuts/cowork/operations/review-write.js +1 -0
- package/dist/shortcuts/data/errors.js +16 -29
- package/dist/shortcuts/data/host.js +16 -7
- package/dist/shortcuts/data/index.js +12 -41
- package/dist/shortcuts/data/manifest.js +5 -44
- package/dist/shortcuts/data/operations/attend.js +2 -2
- package/dist/shortcuts/data/operations/conf.js +0 -88
- package/dist/shortcuts/data/operations/ds.js +4 -4
- package/dist/shortcuts/data/operations/index.js +1 -5
- package/dist/shortcuts/data/operations/module.js +40 -14
- package/dist/shortcuts/data/operations/query.js +2 -2
- package/dist/shortcuts/ebuilder-form/index.js +11 -2
- package/dist/shortcuts/ebuilder-form/manifest.js +12 -0
- package/dist/shortcuts/ehr/index.js +11 -2
- package/dist/shortcuts/ehr/operations/attend-write.js +51 -8
- package/dist/shortcuts/esb/index.js +11 -2
- package/dist/shortcuts/esb/manifest.js +2 -0
- package/dist/shortcuts/fna/index.js +11 -2
- package/dist/shortcuts/hrm/index.js +11 -1
- package/dist/shortcuts/im/index.js +11 -2
- package/dist/shortcuts/invoice/index.js +11 -2
- package/dist/shortcuts/invoice/manifest.js +8 -0
- package/dist/shortcuts/jiuchuanhui/cache.js +49 -35
- package/dist/shortcuts/jiuchuanhui/host.js +37 -5
- package/dist/shortcuts/jiuchuanhui/index.js +57 -7
- package/dist/shortcuts/jiuchuanhui/manifest.js +38 -1
- package/dist/shortcuts/jiuchuanhui/operations/customer-quick.js +110 -0
- package/dist/shortcuts/jiuchuanhui/operations/datajson.js +11 -56
- package/dist/shortcuts/jiuchuanhui/operations/esb.js +9 -16
- package/dist/shortcuts/jiuchuanhui/operations/generic.js +8 -30
- package/dist/shortcuts/jiuchuanhui/operations/registry.js +8 -2
- package/dist/shortcuts/jiuchuanhui/operations/shared.js +0 -10
- package/dist/shortcuts/mail/errors.js +14 -0
- package/dist/shortcuts/mail/index.js +23 -6
- package/dist/shortcuts/mail/manifest.js +11 -4
- package/dist/shortcuts/mail/operations/mail-blacklist.js +6 -6
- package/dist/shortcuts/mail/operations/mail-contacts.js +10 -10
- package/dist/shortcuts/mail/operations/mail-manage.js +15 -14
- package/dist/shortcuts/mail/operations/mail-read.js +7 -25
- package/dist/shortcuts/mail/operations/mail-send.js +12 -12
- package/dist/shortcuts/mail/operations/mail-sign.js +10 -10
- package/dist/shortcuts/mail/operations/mail-template.js +10 -10
- package/dist/shortcuts/meeting/index.js +11 -2
- package/dist/shortcuts/meeting/operations/invitation-publish.js +1 -0
- package/dist/shortcuts/okr/index.js +11 -2
- package/dist/shortcuts/performance/index.js +62 -3
- package/dist/shortcuts/performance/operations/flow-detail.js +5 -4
- package/dist/shortcuts/performance/scheme-validate.js +7 -0
- package/dist/shortcuts/performance/shared.js +40 -2
- package/dist/shortcuts/plan/index.js +11 -2
- package/dist/shortcuts/project/index.js +11 -2
- package/dist/shortcuts/project/operations/write.js +3 -0
- package/dist/shortcuts/reception/index.js +11 -2
- package/dist/shortcuts/reception/manifest.js +2 -2
- package/dist/shortcuts/reception/operations/ask.js +3 -0
- package/dist/shortcuts/recruit-stage/index.js +22 -3
- package/dist/shortcuts/recruit-stage/manifest.js +2 -0
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +33 -16
- package/dist/shortcuts/recruit-stage/operations/profile.js +186 -0
- package/dist/shortcuts/recruit-stage/operations/registry.js +2 -0
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +76 -47
- package/dist/shortcuts/recruit-stage/operations/search.js +151 -16
- package/dist/shortcuts/recruit-stage/operations/tag.js +17 -3
- package/dist/shortcuts/recruit-stage/shared.js +11 -1
- package/dist/shortcuts/smart-extract/index.js +11 -2
- package/dist/shortcuts/smart-extract/manifest.js +1 -0
- package/dist/shortcuts/smart-extract/operations/save.js +2 -0
- package/dist/shortcuts/workflow/index.js +21 -1
- package/dist/shortcuts/workflow/operations/aiDeepRead/collect.js +5 -2
- package/dist/shortcuts/workflow/operations/read.js +2 -2
- package/dist/shortcuts/workflow/operations/write.js +1 -1
- package/docs/caizhilian.md +1 -1
- package/docs/contract.md +1 -0
- package/docs/data.md +22 -22
- package/docs/e10-auth.md +41 -33
- package/docs/ehr.md +2 -0
- package/docs/jiuchuanhui.md +17 -5
- package/docs/reception.md +4 -3
- package/package.json +1 -1
- package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
- package/scripts/pysite/sitecustomize.py +41 -0
- package/skill-template/domains/data.md +4 -4
- package/skills/weaver-e10-caizhilian/SKILL.md +1 -1
- package/skills/weaver-e10-caizhilian/references/org-browser.md +1 -0
- package/skills/weaver-e10-cowork/SKILL.md +3 -1
- package/skills/weaver-e10-data/SKILL.md +12 -16
- package/skills/weaver-e10-data/references/config-center.md +6 -7
- package/skills/weaver-e10-data/references/datasource.md +1 -1
- package/skills/weaver-e10-data/references/scene-and-misc.md +2 -2
- package/skills/weaver-e10-jiuchuanhui/SKILL.md +51 -90
- package/skills/weaver-e10-jiuchuanhui/references/cache.md +17 -13
- package/skills/weaver-e10-jiuchuanhui/references/clue.md +2 -2
- package/skills/weaver-e10-jiuchuanhui/references/customer.md +49 -11
- package/skills/weaver-e10-jiuchuanhui/references/discovery-config.md +3 -3
- package/skills/weaver-e10-jiuchuanhui/references/jiuchuanhui-entry.md +9 -7
- package/skills/weaver-e10-jiuchuanhui/references/sale.md +2 -2
- package/skills/weaver-e10-jucailin/references/attend-write.md +1 -1
- package/skills/weaver-e10-mail/SKILL.md +4 -1
- package/skills/weaver-e10-mail/references/mail-read.md +4 -2
- package/skills/weaver-e10-mail/references/safety-boundaries.md +1 -0
- package/skills/weaver-e10-okr/references/source-manifest.json +3 -3
- package/skills/weaver-e10-performance/SKILL.md +9 -7
- package/skills/weaver-e10-performance/agents/openai.yaml +4 -2
- package/skills/weaver-e10-performance/references/flow-assess.md +19 -6
- package/skills/weaver-e10-recruit-stage/SKILL.md +125 -20
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +359 -0
- package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +87 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +9 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +1 -0
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +177 -0
- package/skills/weaver-e10-shared/SKILL.md +22 -1
- package/skills/weaver-e10-shared/references/e10-auth-and-session.md +2 -2
- package/skills/weaver-e10-workflow/SKILL.md +1 -1
- package/skills/weaver-e10-workflow/references/workflow-deep-read.md +8 -3
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +3 -3
|
@@ -3,6 +3,11 @@ const require = __esbuildCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
stateDir
|
|
5
5
|
} from "./chunk-AJ62BGAW.js";
|
|
6
|
+
import {
|
|
7
|
+
MANIFEST_LIST_COMPACT_PATHS,
|
|
8
|
+
manifestView,
|
|
9
|
+
schemaOptionsOf
|
|
10
|
+
} from "./chunk-WM33BSIL.js";
|
|
6
11
|
import {
|
|
7
12
|
reportPlatformError
|
|
8
13
|
} from "./chunk-MD5CW4B6.js";
|
|
@@ -14,15 +19,15 @@ import {
|
|
|
14
19
|
createE10RequestRuntime,
|
|
15
20
|
isE10SessionExpiredResponse,
|
|
16
21
|
requireE10Session
|
|
17
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DRJYPXKC.js";
|
|
18
23
|
import {
|
|
19
24
|
E10_SESSION_EXPIRED_MESSAGE
|
|
20
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IZCQU5D5.js";
|
|
21
26
|
import {
|
|
22
27
|
getActiveProfile,
|
|
23
28
|
hasXiaoEEnv,
|
|
24
29
|
writeWithRetry
|
|
25
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SUWR5QEG.js";
|
|
26
31
|
import {
|
|
27
32
|
CliError,
|
|
28
33
|
isCliError,
|
|
@@ -1147,6 +1152,7 @@ var intelligentPrepare = {
|
|
|
1147
1152
|
summary: "\u5BF9\u7535\u5B50\u6587\u4EF6\u5E93\u5217\u8868\u91CC\u52FE\u9009\u7684\u6570\u636E\u53D1\u8D77\u667A\u80FD\u8BC6\u522B\uFF08\u9884\u68C0\uFF0C\u4E0D\u5199\u6570\u636E\uFF09\uFF1A\u89E3\u6790 treeId/formId \u5E76\u751F\u6210\u786E\u8BA4\u7968\u636E",
|
|
1148
1153
|
capability: "prelib",
|
|
1149
1154
|
risk: READ,
|
|
1155
|
+
requiresConfirmation: true,
|
|
1150
1156
|
inputSchema: schemaOf(
|
|
1151
1157
|
{
|
|
1152
1158
|
treeId: {
|
|
@@ -1246,6 +1252,7 @@ var arrangePrepare = {
|
|
|
1246
1252
|
summary: "\u5BF9\u7535\u5B50\u6587\u4EF6\u5E93\u5217\u8868\u91CC\u52FE\u9009\u7684\u6570\u636E\u63D0\u4EA4\u6574\u7406\uFF08\u9884\u68C0\uFF0C\u4E0D\u5199\u6570\u636E\uFF09\uFF1A\u89E3\u6790 treeId/formId \u5E76\u751F\u6210\u786E\u8BA4\u7968\u636E",
|
|
1247
1253
|
capability: "prelib",
|
|
1248
1254
|
risk: READ,
|
|
1255
|
+
requiresConfirmation: true,
|
|
1249
1256
|
inputSchema: schemaOf(
|
|
1250
1257
|
{
|
|
1251
1258
|
treeId: {
|
|
@@ -2260,6 +2267,7 @@ var downloadPrepare = {
|
|
|
2260
2267
|
summary: "\u4E0B\u8F7D\u501F\u9605\u5355\u539F\u6587\u524D\u7684\u9884\u68C0\uFF1A\u6821\u9A8C\u672A\u8D85\u671F\u4E14\u5B58\u5728\u53EF\u4E0B\u8F7D\u539F\u6587\uFF0C\u5E76\u751F\u6210\u786E\u8BA4\u7968\u636E",
|
|
2261
2268
|
capability: "archive",
|
|
2262
2269
|
risk: READ,
|
|
2270
|
+
requiresConfirmation: true,
|
|
2263
2271
|
inputSchema: schemaOf(
|
|
2264
2272
|
{
|
|
2265
2273
|
dataId: { type: "string", pattern: "^\\d+$", description: "\u501F\u9605\u5355\u4E3B\u8868\u6570\u636E ID" },
|
|
@@ -2522,6 +2530,7 @@ var flowBorrowCarPrepare = {
|
|
|
2522
2530
|
summary: "\u4ECE\u501F\u9605\u8F66\u53D1\u8D77\u501F\u9605\uFF1A\u68C0\u67E5\u6D41\u7A0B\u7ED1\u5B9A\u5E76\u751F\u6210\u786E\u8BA4\u7968\u636E\uFF08\u4E0D\u5199\u6570\u636E\uFF09",
|
|
2523
2531
|
capability: "archive",
|
|
2524
2532
|
risk: READ,
|
|
2533
|
+
requiresConfirmation: true,
|
|
2525
2534
|
inputSchema: schemaOf(
|
|
2526
2535
|
{
|
|
2527
2536
|
arcIds: { type: "array", items: { type: "string" }, description: "\u6863\u6848\u6807\u8BC6\u6570\u7EC4\uFF0C\u5143\u7D20\u4E3A {\u6863\u6848ID}_{\u8868\u5355ID}" },
|
|
@@ -2633,6 +2642,7 @@ var flowSearchPrepare = {
|
|
|
2633
2642
|
summary: "\u4ECE\u5168\u6587\u68C0\u7D22\u7ED3\u679C\u76F4\u63A5\u53D1\u8D77\u501F\u9605\uFF1A\u68C0\u67E5\u6D41\u7A0B\u7ED1\u5B9A\u5E76\u751F\u6210\u786E\u8BA4\u7968\u636E\uFF08\u4E0D\u5199\u6570\u636E\uFF09",
|
|
2634
2643
|
capability: "archive",
|
|
2635
2644
|
risk: READ,
|
|
2645
|
+
requiresConfirmation: true,
|
|
2636
2646
|
inputSchema: schemaOf(
|
|
2637
2647
|
{
|
|
2638
2648
|
arcIds: { type: "array", items: { type: "string" }, description: "\u6863\u6848\u6807\u8BC6\u6570\u7EC4\uFF0C\u5143\u7D20\u4E3A {\u6863\u6848ID}_{\u8868\u5355ID}" },
|
|
@@ -2734,6 +2744,7 @@ var flowRenewPrepare = {
|
|
|
2734
2744
|
summary: "\u501F\u9605\u5355\u7EED\u501F\uFF1A\u68C0\u67E5\u6D41\u7A0B\u7ED1\u5B9A\u5E76\u751F\u6210\u786E\u8BA4\u7968\u636E\uFF08\u4E0D\u5199\u6570\u636E\uFF09",
|
|
2735
2745
|
capability: "archive",
|
|
2736
2746
|
risk: READ,
|
|
2747
|
+
requiresConfirmation: true,
|
|
2737
2748
|
inputSchema: schemaOf(
|
|
2738
2749
|
{
|
|
2739
2750
|
dataId: { type: "string", pattern: "^\\d+$", description: "\u501F\u9605\u5355\u4E3B\u8868\u6570\u636E ID" },
|
|
@@ -2882,6 +2893,7 @@ var uploadPrepare = {
|
|
|
2882
2893
|
summary: "\u9884\u5F52\u6863\u4E0A\u4F20\u9884\u68C0\uFF1A\u6821\u9A8C\u672C\u5730\u6587\u4EF6\u4E0E\u76EE\u6807\u5168\u5B97/\u7535\u5B50\u6587\u4EF6\u5E93\u8282\u70B9\uFF0C\u5E76\u751F\u6210\u786E\u8BA4\u7968\u636E\uFF08\u4E0D\u4E0A\u4F20\uFF09",
|
|
2883
2894
|
capability: "archive",
|
|
2884
2895
|
risk: READ,
|
|
2896
|
+
requiresConfirmation: true,
|
|
2885
2897
|
inputSchema: schemaOf(
|
|
2886
2898
|
{
|
|
2887
2899
|
file: { type: "string", description: "\u672C\u5730\u6587\u4EF6\u8DEF\u5F84" },
|
|
@@ -3246,8 +3258,13 @@ var archiveShortcut = {
|
|
|
3246
3258
|
category: "shortcut",
|
|
3247
3259
|
register({ program, action }) {
|
|
3248
3260
|
const archive = program.command("archive").description("E10 \u6587\u4E66\u5B9A\u6863\u6848\u7BA1\u7406");
|
|
3249
|
-
archive.command("schema").description("Print archive operation manifest for agents").action(action((ctx) => {
|
|
3250
|
-
|
|
3261
|
+
archive.command("schema").description("Print archive operation manifest for agents").option("--list", '\u53EA\u5217\u64CD\u4F5C\u6E05\u5355\uFF08name/summary/risk\uFF09\uFF0C\u5168\u91CF\u4E0D\u622A\u65AD\uFF1B\u5224\u65AD"\u6709\u6CA1\u6709\u67D0\u64CD\u4F5C"\u7528\u8FD9\u4E2A').option("--full", "\u6253\u5370\u5B8C\u6574 manifest\uFF08\u8D85 stdout \u9884\u7B97\u4F1A\u843D\u672C\u5730 ref\uFF0C\u7528 refs get \u5206\u9875\u53D6\uFF09").option("--operation <name>", "\u53EA\u8F93\u51FA\u5355\u4E2A\u64CD\u4F5C\u7684\u5B8C\u6574\u5951\u7EA6\uFF08\u542B inputSchema\uFF0C\u4F53\u79EF\u8FDC\u4F4E\u4E8E\u9884\u7B97\uFF09").action(action((ctx, options) => {
|
|
3262
|
+
const schema = schemaOptionsOf(options);
|
|
3263
|
+
ctx.output.write(manifestView(archiveManifest, schema), {
|
|
3264
|
+
json: true,
|
|
3265
|
+
// 只有 --list 单行化:条目多、缩进空白能吃掉近一半体积,且对读模型无收益。
|
|
3266
|
+
...schema.list === true ? { compactPaths: MANIFEST_LIST_COMPACT_PATHS } : {}
|
|
3267
|
+
});
|
|
3251
3268
|
}));
|
|
3252
3269
|
withJsonInputOptions(archive.command("run").description("Run an archive operation with JSON input").argument("<operation>", "operation name, e.g. archive.borrow-car.list")).action(action(async (ctx, operation, options) => {
|
|
3253
3270
|
await executeAndPrint(ctx, String(operation), await inputFrom(options));
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
MANIFEST_LIST_COMPACT_PATHS,
|
|
5
|
+
manifestView,
|
|
6
|
+
schemaOptionsOf
|
|
7
|
+
} from "./chunk-WM33BSIL.js";
|
|
3
8
|
import {
|
|
4
9
|
reportPlatformError
|
|
5
10
|
} from "./chunk-MD5CW4B6.js";
|
|
@@ -11,13 +16,13 @@ import {
|
|
|
11
16
|
createE10RequestRuntime,
|
|
12
17
|
isE10SessionExpiredResponse,
|
|
13
18
|
requireE10Session
|
|
14
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DRJYPXKC.js";
|
|
15
20
|
import {
|
|
16
21
|
E10_SESSION_EXPIRED_MESSAGE
|
|
17
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IZCQU5D5.js";
|
|
18
23
|
import {
|
|
19
24
|
getActiveProfile
|
|
20
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SUWR5QEG.js";
|
|
21
26
|
import {
|
|
22
27
|
CliError,
|
|
23
28
|
isCliError,
|
|
@@ -704,6 +709,7 @@ function makeAddOperations(carProfile, esb) {
|
|
|
704
709
|
summary: `\u628A${esb.source === "qys" ? "\u5951\u7EA6\u9501" : "\u6CDB\u5FAE"}\u5408\u540C\u52A0\u5165\u501F\u9605\u8F66\uFF1A\u6821\u9A8C\u6761\u6570\u5E76\u56DE\u67E5\u501F\u9605\u8F66\u73B0\u72B6\uFF08\u4E0D\u5199\u6570\u636E\uFF09`,
|
|
705
710
|
capability: "borrow-car",
|
|
706
711
|
risk: READ_BEFORE_WRITE,
|
|
712
|
+
requiresConfirmation: true,
|
|
707
713
|
inputSchema: schemaOf(
|
|
708
714
|
{
|
|
709
715
|
dataIds: {
|
|
@@ -828,6 +834,7 @@ function makeRemoveOperations(carProfile, esb) {
|
|
|
828
834
|
summary: `\u628A${esb.source === "qys" ? "\u5951\u7EA6\u9501" : "\u6CDB\u5FAE"}\u501F\u9605\u8F66\u8BB0\u5F55\u79FB\u51FA\u501F\u9605\u8F66\uFF1A\u6821\u9A8C\u6761\u6570\u5E76\u56DE\u67E5\u501F\u9605\u8F66\u73B0\u72B6\uFF08\u4E0D\u5199\u6570\u636E\uFF09`,
|
|
829
835
|
capability: "borrow-car",
|
|
830
836
|
risk: READ_BEFORE_WRITE,
|
|
837
|
+
requiresConfirmation: true,
|
|
831
838
|
inputSchema: schemaOf(
|
|
832
839
|
{
|
|
833
840
|
dataIds: {
|
|
@@ -1906,8 +1913,13 @@ var archiveOaShortcut = {
|
|
|
1906
1913
|
category: "shortcut",
|
|
1907
1914
|
register({ program, action }) {
|
|
1908
1915
|
const command = program.command("archive-oa").description("E10 \u6863\u6848\u5B9A\u4F4D\u4E0E OA \u5546\u52A1\u5408\u540C\u501F\u9605");
|
|
1909
|
-
command.command("schema").description("Print archive-oa operation manifest for agents").action(action((ctx) => {
|
|
1910
|
-
|
|
1916
|
+
command.command("schema").description("Print archive-oa operation manifest for agents").option("--list", '\u53EA\u5217\u64CD\u4F5C\u6E05\u5355\uFF08name/summary/risk\uFF09\uFF0C\u5168\u91CF\u4E0D\u622A\u65AD\uFF1B\u5224\u65AD"\u6709\u6CA1\u6709\u67D0\u64CD\u4F5C"\u7528\u8FD9\u4E2A').option("--full", "\u6253\u5370\u5B8C\u6574 manifest\uFF08\u8D85 stdout \u9884\u7B97\u4F1A\u843D\u672C\u5730 ref\uFF0C\u7528 refs get \u5206\u9875\u53D6\uFF09").option("--operation <name>", "\u53EA\u8F93\u51FA\u5355\u4E2A\u64CD\u4F5C\u7684\u5B8C\u6574\u5951\u7EA6\uFF08\u542B inputSchema\uFF0C\u4F53\u79EF\u8FDC\u4F4E\u4E8E\u9884\u7B97\uFF09").action(action((ctx, options) => {
|
|
1917
|
+
const schema = schemaOptionsOf(options);
|
|
1918
|
+
ctx.output.write(manifestView(archiveOaManifest, schema), {
|
|
1919
|
+
json: true,
|
|
1920
|
+
// 只有 --list 单行化:条目多、缩进空白能吃掉近一半体积,且对读模型无收益。
|
|
1921
|
+
...schema.list === true ? { compactPaths: MANIFEST_LIST_COMPACT_PATHS } : {}
|
|
1922
|
+
});
|
|
1911
1923
|
}));
|
|
1912
1924
|
withJsonInputOptions(command.command("run").description("Run an archive-oa operation with JSON input").argument("<operation>", "operation name, e.g. archive-oa.contract.list")).action(action(async (ctx, operation, options) => {
|
|
1913
1925
|
await executeAndPrint(ctx, String(operation), await archiveOaInputFrom(options));
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
MANIFEST_LIST_COMPACT_PATHS,
|
|
5
|
+
manifestView,
|
|
6
|
+
schemaOptionsOf
|
|
7
|
+
} from "./chunk-WM33BSIL.js";
|
|
3
8
|
import {
|
|
4
9
|
reportPlatformError
|
|
5
10
|
} from "./chunk-MD5CW4B6.js";
|
|
@@ -10,13 +15,13 @@ import {
|
|
|
10
15
|
createE10RequestRuntime,
|
|
11
16
|
isE10SessionExpiredResponse,
|
|
12
17
|
requireE10Session
|
|
13
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DRJYPXKC.js";
|
|
14
19
|
import {
|
|
15
20
|
E10_SESSION_EXPIRED_MESSAGE
|
|
16
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IZCQU5D5.js";
|
|
17
22
|
import {
|
|
18
23
|
getActiveProfile
|
|
19
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SUWR5QEG.js";
|
|
20
25
|
import {
|
|
21
26
|
CliError,
|
|
22
27
|
isCliError,
|
|
@@ -762,6 +767,7 @@ var ziguanjiaOperations = [
|
|
|
762
767
|
{
|
|
763
768
|
name: "asset.create",
|
|
764
769
|
risk: "high-risk-write",
|
|
770
|
+
requiresConfirmation: true,
|
|
765
771
|
inputSchema: {
|
|
766
772
|
type: "object",
|
|
767
773
|
additionalProperties: false,
|
|
@@ -787,6 +793,7 @@ var ziguanjiaOperations = [
|
|
|
787
793
|
{
|
|
788
794
|
name: "asset.update",
|
|
789
795
|
risk: "high-risk-write",
|
|
796
|
+
requiresConfirmation: true,
|
|
790
797
|
inputSchema: {
|
|
791
798
|
type: "object",
|
|
792
799
|
additionalProperties: false,
|
|
@@ -817,6 +824,7 @@ var ziguanjiaOperations = [
|
|
|
817
824
|
{
|
|
818
825
|
name: "asset.use",
|
|
819
826
|
risk: "high-risk-write",
|
|
827
|
+
requiresConfirmation: true,
|
|
820
828
|
fixed: { uniqueIndent: ES_UNIQUE_INDENT.use },
|
|
821
829
|
inputSchema: {
|
|
822
830
|
type: "object",
|
|
@@ -869,6 +877,7 @@ var ziguanjiaOperations = [
|
|
|
869
877
|
{
|
|
870
878
|
name: "asset.return.create",
|
|
871
879
|
risk: "high-risk-write",
|
|
880
|
+
requiresConfirmation: true,
|
|
872
881
|
fixed: { uniqueIndent: ES_UNIQUE_INDENT.returnCreate },
|
|
873
882
|
inputSchema: {
|
|
874
883
|
type: "object",
|
|
@@ -906,6 +915,7 @@ var ziguanjiaOperations = [
|
|
|
906
915
|
{
|
|
907
916
|
name: "asset.repair.create",
|
|
908
917
|
risk: "high-risk-write",
|
|
918
|
+
requiresConfirmation: true,
|
|
909
919
|
fixed: { uniqueIndent: ES_UNIQUE_INDENT.repairCreate },
|
|
910
920
|
inputSchema: {
|
|
911
921
|
type: "object",
|
|
@@ -940,6 +950,7 @@ var ziguanjiaOperations = [
|
|
|
940
950
|
{
|
|
941
951
|
name: "asset.purch",
|
|
942
952
|
risk: "high-risk-write",
|
|
953
|
+
requiresConfirmation: true,
|
|
943
954
|
fixed: { uniqueIndent: ES_UNIQUE_INDENT.purch },
|
|
944
955
|
inputSchema: {
|
|
945
956
|
type: "object",
|
|
@@ -971,6 +982,7 @@ var ziguanjiaOperations = [
|
|
|
971
982
|
{
|
|
972
983
|
name: "asset.depre",
|
|
973
984
|
risk: "high-risk-write",
|
|
985
|
+
requiresConfirmation: true,
|
|
974
986
|
fixed: {
|
|
975
987
|
settingInterfacePk: EB_INTERFACE_PK.depreSetting,
|
|
976
988
|
precheckUniqueIndent: ES_UNIQUE_INDENT.deprePrecheck,
|
|
@@ -2046,8 +2058,13 @@ var assetShortcut = {
|
|
|
2046
2058
|
category: "shortcut",
|
|
2047
2059
|
register({ program, action }) {
|
|
2048
2060
|
const asset = program.command("asset").description("E10 \u8D44\u4EA7\u7BA1\u7406\uFF08\u8D44\u7BA1\u5BB6\uFF09");
|
|
2049
|
-
asset.command("schema").description("Print asset operation manifest for agents").action(action((ctx) => {
|
|
2050
|
-
|
|
2061
|
+
asset.command("schema").description("Print asset operation manifest for agents").option("--list", '\u53EA\u5217\u64CD\u4F5C\u6E05\u5355\uFF08name/summary/risk\uFF09\uFF0C\u5168\u91CF\u4E0D\u622A\u65AD\uFF1B\u5224\u65AD"\u6709\u6CA1\u6709\u67D0\u64CD\u4F5C"\u7528\u8FD9\u4E2A').option("--full", "\u6253\u5370\u5B8C\u6574 manifest\uFF08\u8D85 stdout \u9884\u7B97\u4F1A\u843D\u672C\u5730 ref\uFF0C\u7528 refs get \u5206\u9875\u53D6\uFF09").option("--operation <name>", "\u53EA\u8F93\u51FA\u5355\u4E2A\u64CD\u4F5C\u7684\u5B8C\u6574\u5951\u7EA6\uFF08\u542B inputSchema\uFF0C\u4F53\u79EF\u8FDC\u4F4E\u4E8E\u9884\u7B97\uFF09").action(action((ctx, options) => {
|
|
2062
|
+
const schema = schemaOptionsOf(options);
|
|
2063
|
+
ctx.output.write(manifestView(ziguanjiaManifest, schema), {
|
|
2064
|
+
json: true,
|
|
2065
|
+
// 只有 --list 单行化:条目多、缩进空白能吃掉近一半体积,且对读模型无收益。
|
|
2066
|
+
...schema.list === true ? { compactPaths: MANIFEST_LIST_COMPACT_PATHS } : {}
|
|
2067
|
+
});
|
|
2051
2068
|
}));
|
|
2052
2069
|
withJsonInputOptions(asset.command("run").description("Run an asset operation with JSON input").argument("<operation>", "operation name, e.g. asset.list")).action(action(async (ctx, operation, options) => {
|
|
2053
2070
|
await executeAndPrint(ctx, String(operation), await inputFrom(options));
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
MANIFEST_LIST_COMPACT_PATHS,
|
|
5
|
+
manifestView,
|
|
6
|
+
schemaOptionsOf
|
|
7
|
+
} from "./chunk-WM33BSIL.js";
|
|
3
8
|
import {
|
|
4
9
|
reportPlatformError
|
|
5
10
|
} from "./chunk-MD5CW4B6.js";
|
|
@@ -8,13 +13,13 @@ import {
|
|
|
8
13
|
createE10RequestRuntime,
|
|
9
14
|
isE10SessionExpiredResponse,
|
|
10
15
|
requireE10Session
|
|
11
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DRJYPXKC.js";
|
|
12
17
|
import {
|
|
13
18
|
E10_SESSION_EXPIRED_MESSAGE
|
|
14
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IZCQU5D5.js";
|
|
15
20
|
import {
|
|
16
21
|
getActiveProfile
|
|
17
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SUWR5QEG.js";
|
|
18
23
|
import {
|
|
19
24
|
CliError,
|
|
20
25
|
isCliError,
|
|
@@ -661,8 +666,13 @@ var assetIdleShortcut = {
|
|
|
661
666
|
category: "shortcut",
|
|
662
667
|
register({ program, action }) {
|
|
663
668
|
const assetIdle = program.command("asset-idle").description("E10 \u95F2\u7F6E\u8D44\u4EA7\u5224\u5B9A\u7ED3\u679C\u67E5\u8BE2\uFF08\u670D\u52A1\u7AEF\u5DF2\u5224\u5B9A\uFF0C\u53EA\u8BFB\uFF09");
|
|
664
|
-
assetIdle.command("schema").description("Print asset-idle operation manifest for agents").action(action((ctx) => {
|
|
665
|
-
|
|
669
|
+
assetIdle.command("schema").description("Print asset-idle operation manifest for agents").option("--list", '\u53EA\u5217\u64CD\u4F5C\u6E05\u5355\uFF08name/summary/risk\uFF09\uFF0C\u5168\u91CF\u4E0D\u622A\u65AD\uFF1B\u5224\u65AD"\u6709\u6CA1\u6709\u67D0\u64CD\u4F5C"\u7528\u8FD9\u4E2A').option("--full", "\u6253\u5370\u5B8C\u6574 manifest\uFF08\u8D85 stdout \u9884\u7B97\u4F1A\u843D\u672C\u5730 ref\uFF0C\u7528 refs get \u5206\u9875\u53D6\uFF09").option("--operation <name>", "\u53EA\u8F93\u51FA\u5355\u4E2A\u64CD\u4F5C\u7684\u5B8C\u6574\u5951\u7EA6\uFF08\u542B inputSchema\uFF0C\u4F53\u79EF\u8FDC\u4F4E\u4E8E\u9884\u7B97\uFF09").action(action((ctx, options) => {
|
|
670
|
+
const schema = schemaOptionsOf(options);
|
|
671
|
+
ctx.output.write(manifestView(assetIdleManifest, schema), {
|
|
672
|
+
json: true,
|
|
673
|
+
// 只有 --list 单行化:条目多、缩进空白能吃掉近一半体积,且对读模型无收益。
|
|
674
|
+
...schema.list === true ? { compactPaths: MANIFEST_LIST_COMPACT_PATHS } : {}
|
|
675
|
+
});
|
|
666
676
|
}));
|
|
667
677
|
assetIdle.command("run").description("Run an asset-idle operation with JSON input").argument("<operation>", "operation name, e.g. asset-idle.idle.list").option("--input <path>", "JSON input file, or - for stdin").option("--input-json <json>", "inline JSON input object").action(action(async (ctx, operation, options) => {
|
|
668
678
|
await executeAndPrint(ctx, String(operation), await inputFrom(options));
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
looksLikeFileId,
|
|
9
9
|
meetingAttachmentContentOperations,
|
|
10
10
|
parseFileIdList
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VJWVB55R.js";
|
|
12
12
|
import "./chunk-WMRNO6IU.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-Q3EXRNB4.js";
|
|
14
|
+
import "./chunk-EJLP63UO.js";
|
|
15
15
|
import "./chunk-7BDPM5ST.js";
|
|
16
16
|
import "./chunk-UG5G54VL.js";
|
|
17
17
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
MANIFEST_LIST_COMPACT_PATHS,
|
|
5
|
+
manifestView,
|
|
6
|
+
schemaOptionsOf
|
|
7
|
+
} from "./chunk-WM33BSIL.js";
|
|
3
8
|
import {
|
|
4
9
|
reportPlatformError
|
|
5
10
|
} from "./chunk-MD5CW4B6.js";
|
|
@@ -10,13 +15,13 @@ import {
|
|
|
10
15
|
createE10RequestRuntime,
|
|
11
16
|
isE10SessionExpiredResponse,
|
|
12
17
|
requireE10Session
|
|
13
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DRJYPXKC.js";
|
|
14
19
|
import {
|
|
15
20
|
E10_SESSION_EXPIRED_MESSAGE
|
|
16
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IZCQU5D5.js";
|
|
17
22
|
import {
|
|
18
23
|
getActiveProfile
|
|
19
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SUWR5QEG.js";
|
|
20
25
|
import {
|
|
21
26
|
CliError,
|
|
22
27
|
isCliError,
|
|
@@ -487,6 +492,7 @@ var blogOperations = [
|
|
|
487
492
|
{
|
|
488
493
|
name: "blog.publish.prepare",
|
|
489
494
|
risk: "read-before-write",
|
|
495
|
+
requiresConfirmation: true,
|
|
490
496
|
summary: "\u53D1\u5E03\u51C6\u5907\uFF1A\u67E5\u5F53\u65E5\u662F\u5426\u5DF2\u6709\u65E5\u62A5 + \u56DE\u586B\u9ED8\u8BA4\u5171\u4EAB + \u7B7E\u53D1 continuation\uFF08\u4E0D\u5199\u6570\u636E\uFF09",
|
|
491
497
|
inputSchema: {
|
|
492
498
|
type: "object",
|
|
@@ -510,6 +516,7 @@ var blogOperations = [
|
|
|
510
516
|
{
|
|
511
517
|
name: "blog.publish.apply",
|
|
512
518
|
risk: "high-risk-write",
|
|
519
|
+
requiresConfirmation: true,
|
|
513
520
|
summary: "\u53D1\u5E03\u843D\u5E93\uFF1A\u6821\u9A8C continuation \u4E0E\u5199\u524D\u72B6\u6001\u540E\u8C03\u7528 addBlog\uFF0C\u5E76\u56DE\u67E5\u9A8C\u8BC1",
|
|
514
521
|
inputSchema: CONFIRM_SCHEMA,
|
|
515
522
|
missingExamples: [
|
|
@@ -523,6 +530,7 @@ var blogOperations = [
|
|
|
523
530
|
{
|
|
524
531
|
name: "blog.edit.prepare",
|
|
525
532
|
risk: "read-before-write",
|
|
533
|
+
requiresConfirmation: true,
|
|
526
534
|
summary: "\u7F16\u8F91\u51C6\u5907\uFF1A\u56DE\u67E5\u539F\u5185\u5BB9\u4E0E\u5DEE\u5F02 + \u76EE\u6807\u6307\u7EB9 + \u7B7E\u53D1 continuation\uFF08\u4E0D\u5199\u6570\u636E\uFF09",
|
|
527
535
|
inputSchema: {
|
|
528
536
|
type: "object",
|
|
@@ -547,6 +555,7 @@ var blogOperations = [
|
|
|
547
555
|
{
|
|
548
556
|
name: "blog.edit.apply",
|
|
549
557
|
risk: "high-risk-write",
|
|
558
|
+
requiresConfirmation: true,
|
|
550
559
|
summary: "\u7F16\u8F91\u843D\u5E93\uFF1A\u76EE\u6807\u6307\u7EB9\u6821\u9A8C\u540E\u8C03\u7528 updateBlog\uFF0C\u5E76\u56DE\u67E5\u5185\u5BB9\u4E00\u81F4\u6027",
|
|
551
560
|
inputSchema: CONFIRM_SCHEMA,
|
|
552
561
|
missingExamples: [
|
|
@@ -560,6 +569,7 @@ var blogOperations = [
|
|
|
560
569
|
{
|
|
561
570
|
name: "blog.comment.prepare",
|
|
562
571
|
risk: "read-before-write",
|
|
572
|
+
requiresConfirmation: true,
|
|
563
573
|
summary: "\u8BC4\u8BBA\u51C6\u5907\uFF1A\u5B9A\u4F4D\u76EE\u6807\u65E5\u62A5\uFF08blog_id \u6216 date+user\uFF09\u540E\u7B7E\u53D1 continuation",
|
|
564
574
|
inputSchema: {
|
|
565
575
|
type: "object",
|
|
@@ -586,6 +596,7 @@ var blogOperations = [
|
|
|
586
596
|
{
|
|
587
597
|
name: "blog.comment.apply",
|
|
588
598
|
risk: "high-risk-write",
|
|
599
|
+
requiresConfirmation: true,
|
|
589
600
|
summary: "\u8BC4\u8BBA\u843D\u5E93\uFF1AcreateComment \u540E\u4ECE\u8BC4\u8BBA\u5217\u8868\u56DE\u67E5\u8BE5\u8BC4\u8BBA",
|
|
590
601
|
inputSchema: CONFIRM_SCHEMA,
|
|
591
602
|
missingExamples: [
|
|
@@ -599,6 +610,7 @@ var blogOperations = [
|
|
|
599
610
|
{
|
|
600
611
|
name: "blog.like.prepare",
|
|
601
612
|
risk: "read-before-write",
|
|
613
|
+
requiresConfirmation: true,
|
|
602
614
|
summary: "\u70B9\u8D5E/\u53D6\u6D88\u70B9\u8D5E\u51C6\u5907\uFF1A\u5B9A\u4F4D\u76EE\u6807\u65E5\u62A5\u540E\u7B7E\u53D1 continuation",
|
|
603
615
|
inputSchema: {
|
|
604
616
|
type: "object",
|
|
@@ -624,6 +636,7 @@ var blogOperations = [
|
|
|
624
636
|
{
|
|
625
637
|
name: "blog.like.apply",
|
|
626
638
|
risk: "high-risk-write",
|
|
639
|
+
requiresConfirmation: true,
|
|
627
640
|
summary: "\u70B9\u8D5E\u843D\u5E93\uFF1Avote / cancelVote\uFF0C\u4EE5\u4E1A\u52A1\u7801\u4E3A\u751F\u6548\u4F9D\u636E\uFF08\u65E0\u53EA\u8BFB\u56DE\u67E5\u63A5\u53E3\uFF09",
|
|
628
641
|
inputSchema: CONFIRM_SCHEMA,
|
|
629
642
|
missingExamples: [
|
|
@@ -637,6 +650,7 @@ var blogOperations = [
|
|
|
637
650
|
{
|
|
638
651
|
name: "blog.remind.prepare",
|
|
639
652
|
risk: "read-before-write",
|
|
653
|
+
requiresConfirmation: true,
|
|
640
654
|
summary: "\u63D0\u9192\u51C6\u5907\uFF1A\u89E3\u6790\u88AB\u63D0\u9192\u4EBA + \u751F\u6210\u9ED8\u8BA4\u6587\u6848 + \u7B7E\u53D1 continuation\uFF08\u4E0D\u53D1\u9001\uFF09",
|
|
641
655
|
inputSchema: {
|
|
642
656
|
type: "object",
|
|
@@ -681,6 +695,7 @@ var blogOperations = [
|
|
|
681
695
|
{
|
|
682
696
|
name: "blog.remind.apply",
|
|
683
697
|
risk: "high-risk-write",
|
|
698
|
+
requiresConfirmation: true,
|
|
684
699
|
summary: "\u63D0\u9192\u843D\u5E93\uFF1A\u9010\u4EBA POST sendUrge\uFF1B\u90E8\u5206\u5931\u8D25\u8FD4\u56DE PARTIAL\uFF0C\u4E2D\u65AD\u8FD4\u56DE write_uncertain",
|
|
685
700
|
inputSchema: CONFIRM_SCHEMA,
|
|
686
701
|
missingExamples: [
|
|
@@ -1987,8 +2002,13 @@ var blogShortcut = {
|
|
|
1987
2002
|
category: "shortcut",
|
|
1988
2003
|
register({ program, action }) {
|
|
1989
2004
|
const blog = program.command("blog").description("E10 \u5DE5\u4F5C\u65E5\u62A5\uFF08\u67E5\u8BE2/\u53D1\u5E03/\u7F16\u8F91/\u8BC4\u8BBA/\u70B9\u8D5E/\u63D0\u9192/\u5BFC\u51FA\uFF09");
|
|
1990
|
-
blog.command("schema").description("Print blog operation manifest for agents").action(action((ctx) => {
|
|
1991
|
-
|
|
2005
|
+
blog.command("schema").description("Print blog operation manifest for agents").option("--list", '\u53EA\u5217\u64CD\u4F5C\u6E05\u5355\uFF08name/summary/risk\uFF09\uFF0C\u5168\u91CF\u4E0D\u622A\u65AD\uFF1B\u5224\u65AD"\u6709\u6CA1\u6709\u67D0\u64CD\u4F5C"\u7528\u8FD9\u4E2A').option("--full", "\u6253\u5370\u5B8C\u6574 manifest\uFF08\u8D85 stdout \u9884\u7B97\u4F1A\u843D\u672C\u5730 ref\uFF0C\u7528 refs get \u5206\u9875\u53D6\uFF09").option("--operation <name>", "\u53EA\u8F93\u51FA\u5355\u4E2A\u64CD\u4F5C\u7684\u5B8C\u6574\u5951\u7EA6\uFF08\u542B inputSchema\uFF0C\u4F53\u79EF\u8FDC\u4F4E\u4E8E\u9884\u7B97\uFF09").action(action((ctx, options) => {
|
|
2006
|
+
const schema = schemaOptionsOf(options);
|
|
2007
|
+
ctx.output.write(manifestView(blogManifest, schema), {
|
|
2008
|
+
json: true,
|
|
2009
|
+
// 只有 --list 单行化:条目多、缩进空白能吃掉近一半体积,且对读模型无收益。
|
|
2010
|
+
...schema.list === true ? { compactPaths: MANIFEST_LIST_COMPACT_PATHS } : {}
|
|
2011
|
+
});
|
|
1992
2012
|
}));
|
|
1993
2013
|
withJsonInputOptions(
|
|
1994
2014
|
blog.command("run").description("Run a blog operation with JSON input").argument("<operation>", "operation name, e.g. blog.query")
|
|
@@ -4,23 +4,28 @@ import {
|
|
|
4
4
|
caizhilianManifest,
|
|
5
5
|
caizhilianOperationDefinitions,
|
|
6
6
|
executeCaizhilianOperation
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-P3AFNAJ6.js";
|
|
8
8
|
import {
|
|
9
9
|
createCaizhilianHost
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YN5SD4TX.js";
|
|
11
11
|
import {
|
|
12
12
|
createCaizhilianContinuationSigner
|
|
13
13
|
} from "./chunk-VRPH24IC.js";
|
|
14
14
|
import {
|
|
15
15
|
caizhilianValidationError
|
|
16
16
|
} from "./chunk-P5GQRWDC.js";
|
|
17
|
+
import {
|
|
18
|
+
MANIFEST_LIST_COMPACT_PATHS,
|
|
19
|
+
manifestView,
|
|
20
|
+
schemaOptionsOf
|
|
21
|
+
} from "./chunk-WM33BSIL.js";
|
|
17
22
|
import {
|
|
18
23
|
reportPlatformError
|
|
19
24
|
} from "./chunk-MD5CW4B6.js";
|
|
20
25
|
import "./chunk-7BDPM5ST.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-DRJYPXKC.js";
|
|
27
|
+
import "./chunk-IZCQU5D5.js";
|
|
28
|
+
import "./chunk-SUWR5QEG.js";
|
|
24
29
|
import {
|
|
25
30
|
isCliError,
|
|
26
31
|
toErrorEnvelope
|
|
@@ -129,6 +134,7 @@ function operationsCatalog() {
|
|
|
129
134
|
sourceSkill: caizhilianManifest.sourceSkill,
|
|
130
135
|
total: caizhilianOperationDefinitions().length,
|
|
131
136
|
groups: [...groups.entries()].map(([resource, operations]) => ({ resource, operations })),
|
|
137
|
+
withheldCount: caizhilianManifest.withheldCount,
|
|
132
138
|
withheldOperations: caizhilianManifest.withheldOperations
|
|
133
139
|
};
|
|
134
140
|
}
|
|
@@ -141,9 +147,17 @@ var caizhilianShortcut = {
|
|
|
141
147
|
category: "shortcut",
|
|
142
148
|
register({ program, action }) {
|
|
143
149
|
const caizhilian = program.command("caizhilian").description("\u6CDB\u5FAEE10\u91C7\u77E5\u8FDE\u6587\u6863\u4E2D\u5FC3\uFF08\u6587\u6863/\u6587\u4EF6\u5939/\u6743\u9650\u5171\u4EAB/\u6807\u7B7E/\u53C2\u4E0E\u4EBA/\u9644\u4EF6/\u5C01\u9762/\u6587\u6863\u6BD4\u5BF9\uFF09");
|
|
144
|
-
caizhilian.command("schema").description("Print caizhilian operation manifest for agents").action(
|
|
145
|
-
action((ctx) => {
|
|
146
|
-
|
|
150
|
+
caizhilian.command("schema").description("Print caizhilian operation manifest for agents").option("--list", '\u53EA\u5217\u64CD\u4F5C\u6E05\u5355\uFF08name/summary/risk\uFF09\uFF0C\u5168\u91CF\u4E0D\u622A\u65AD\uFF1B\u5224\u65AD"\u6709\u6CA1\u6709\u67D0\u64CD\u4F5C"\u7528\u8FD9\u4E2A').option("--full", "\u6253\u5370\u5B8C\u6574 manifest\uFF08\u8D85 stdout \u9884\u7B97\u4F1A\u843D\u672C\u5730 ref\uFF0C\u7528 refs get \u5206\u9875\u53D6\uFF09").option("--operation <name>", "\u53EA\u8F93\u51FA\u5355\u4E2A\u64CD\u4F5C\u7684\u5B8C\u6574\u5951\u7EA6\uFF08\u542B inputSchema\uFF0C\u4F53\u79EF\u8FDC\u4F4E\u4E8E\u9884\u7B97\uFF09").action(
|
|
151
|
+
action((ctx, options) => {
|
|
152
|
+
const schema = schemaOptionsOf(options);
|
|
153
|
+
ctx.output.write(
|
|
154
|
+
manifestView(caizhilianManifest, schema),
|
|
155
|
+
{
|
|
156
|
+
json: true,
|
|
157
|
+
// 只有 --list 单行化:条目多、缩进空白能吃掉近一半体积,且对读模型无收益。
|
|
158
|
+
...schema.list === true ? { compactPaths: MANIFEST_LIST_COMPACT_PATHS } : {}
|
|
159
|
+
}
|
|
160
|
+
);
|
|
147
161
|
})
|
|
148
162
|
);
|
|
149
163
|
caizhilian.command("operations").description("List caizhilian operations grouped by resource").action(
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
MANIFEST_LIST_COMPACT_PATHS,
|
|
5
|
+
manifestView,
|
|
6
|
+
schemaOptionsOf
|
|
7
|
+
} from "./chunk-WM33BSIL.js";
|
|
3
8
|
import {
|
|
4
9
|
reportPlatformError
|
|
5
10
|
} from "./chunk-MD5CW4B6.js";
|
|
@@ -12,13 +17,13 @@ import {
|
|
|
12
17
|
createE10RequestRuntime,
|
|
13
18
|
isE10SessionExpiredResponse,
|
|
14
19
|
requireE10Session
|
|
15
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DRJYPXKC.js";
|
|
16
21
|
import {
|
|
17
22
|
E10_SESSION_EXPIRED_MESSAGE
|
|
18
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IZCQU5D5.js";
|
|
19
24
|
import {
|
|
20
25
|
getActiveProfile
|
|
21
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SUWR5QEG.js";
|
|
22
27
|
import {
|
|
23
28
|
CliError,
|
|
24
29
|
isCliError,
|
|
@@ -1221,8 +1226,13 @@ var calendarShortcut = {
|
|
|
1221
1226
|
category: "shortcut",
|
|
1222
1227
|
register({ program, action }) {
|
|
1223
1228
|
const calendar = program.command("calendar").description("\u6CDB\u5FAEE10\u65E5\u7A0B\u7BA1\u7406\uFF08\u521B\u5EFA/\u67E5\u8BE2\u5217\u8868/\u8BE6\u60C5/\u603B\u6570/\u66F4\u65B0/\u5220\u9664/\u7C7B\u578B/\u7D27\u6025\u7A0B\u5EA6\uFF09");
|
|
1224
|
-
calendar.command("schema").description("Print calendar operation manifest for agents").action(action((ctx) => {
|
|
1225
|
-
|
|
1229
|
+
calendar.command("schema").description("Print calendar operation manifest for agents").option("--list", '\u53EA\u5217\u64CD\u4F5C\u6E05\u5355\uFF08name/summary/risk\uFF09\uFF0C\u5168\u91CF\u4E0D\u622A\u65AD\uFF1B\u5224\u65AD"\u6709\u6CA1\u6709\u67D0\u64CD\u4F5C"\u7528\u8FD9\u4E2A').option("--full", "\u6253\u5370\u5B8C\u6574 manifest\uFF08\u8D85 stdout \u9884\u7B97\u4F1A\u843D\u672C\u5730 ref\uFF0C\u7528 refs get \u5206\u9875\u53D6\uFF09").option("--operation <name>", "\u53EA\u8F93\u51FA\u5355\u4E2A\u64CD\u4F5C\u7684\u5B8C\u6574\u5951\u7EA6\uFF08\u542B inputSchema\uFF0C\u4F53\u79EF\u8FDC\u4F4E\u4E8E\u9884\u7B97\uFF09").action(action((ctx, options) => {
|
|
1230
|
+
const schema = schemaOptionsOf(options);
|
|
1231
|
+
ctx.output.write(manifestView(calendarManifest, schema), {
|
|
1232
|
+
json: true,
|
|
1233
|
+
// 只有 --list 单行化:条目多、缩进空白能吃掉近一半体积,且对读模型无收益。
|
|
1234
|
+
...schema.list === true ? { compactPaths: MANIFEST_LIST_COMPACT_PATHS } : {}
|
|
1235
|
+
});
|
|
1226
1236
|
}));
|
|
1227
1237
|
calendar.command("run").description("Run a calendar operation with JSON input").argument("<operation>", "operation name, e.g. calendar.list").option("--input <path>", "JSON input file, or - for stdin").option("--input-json <json>", "inline JSON input object").action(action(async (ctx, operation, options) => {
|
|
1228
1238
|
await executeAndPrint(ctx, String(operation), await inputFrom(options));
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
createE10RequestRuntime,
|
|
5
5
|
isE10SessionExpiredResponse,
|
|
6
6
|
requireE10Session
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DRJYPXKC.js";
|
|
8
8
|
import {
|
|
9
9
|
E10_REAUTH_GUIDANCE,
|
|
10
10
|
E10_SESSION_EXPIRED_MESSAGE
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IZCQU5D5.js";
|
|
12
12
|
import {
|
|
13
13
|
getActiveProfile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SUWR5QEG.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError
|
|
17
17
|
} from "./chunk-UG5G54VL.js";
|
|
@@ -244,6 +244,7 @@ var ebuilderFormOperations = [
|
|
|
244
244
|
name: "ebuilder-form.openapi.add.prepare",
|
|
245
245
|
summary: "\u51C6\u5907 OpenAPI saveFormData \u65B0\u589E\u8BF7\u6C42\uFF0C\u7B7E\u53D1 continuation\uFF0C\u4E0D\u5199\u5165",
|
|
246
246
|
risk: "read-before-write",
|
|
247
|
+
requiresConfirmation: true,
|
|
247
248
|
inputSchema: schema({
|
|
248
249
|
...contextProperties,
|
|
249
250
|
datas: { type: "array", minItems: 1 },
|
|
@@ -254,12 +255,14 @@ var ebuilderFormOperations = [
|
|
|
254
255
|
name: "ebuilder-form.openapi.add.apply",
|
|
255
256
|
summary: "\u786E\u8BA4\u540E\u6267\u884C OpenAPI saveFormData \u65B0\u589E\u8BF7\u6C42",
|
|
256
257
|
risk: "high-risk-write",
|
|
258
|
+
requiresConfirmation: true,
|
|
257
259
|
inputSchema: schema(preparedWriteProperties, { required: ["confirm", "continuation"] })
|
|
258
260
|
},
|
|
259
261
|
{
|
|
260
262
|
name: "ebuilder-form.openapi.update.prepare",
|
|
261
263
|
summary: "\u51C6\u5907 OpenAPI updateFormData \u4FEE\u6539\u8BF7\u6C42\uFF0C\u7B7E\u53D1 continuation\uFF0C\u4E0D\u5199\u5165",
|
|
262
264
|
risk: "read-before-write",
|
|
265
|
+
requiresConfirmation: true,
|
|
263
266
|
inputSchema: schema({
|
|
264
267
|
...contextProperties,
|
|
265
268
|
datas: { type: "array", minItems: 1 },
|
|
@@ -270,12 +273,14 @@ var ebuilderFormOperations = [
|
|
|
270
273
|
name: "ebuilder-form.openapi.update.apply",
|
|
271
274
|
summary: "\u786E\u8BA4\u540E\u6267\u884C OpenAPI updateFormData \u4FEE\u6539\u8BF7\u6C42",
|
|
272
275
|
risk: "high-risk-write",
|
|
276
|
+
requiresConfirmation: true,
|
|
273
277
|
inputSchema: schema(preparedWriteProperties, { required: ["confirm", "continuation"] })
|
|
274
278
|
},
|
|
275
279
|
{
|
|
276
280
|
name: "ebuilder-form.openapi.delete.prepare",
|
|
277
281
|
summary: "\u51C6\u5907 OpenAPI deleteData \u5220\u9664\u8BF7\u6C42\uFF0C\u7B7E\u53D1 continuation\uFF0C\u4E0D\u5199\u5165",
|
|
278
282
|
risk: "read-before-write",
|
|
283
|
+
requiresConfirmation: true,
|
|
279
284
|
inputSchema: schema({
|
|
280
285
|
...contextProperties,
|
|
281
286
|
mainTable: { type: "object", description: '\u5220\u9664\u6761\u4EF6\uFF1B\u6309\u6570\u636E ID \u5220\u9664\u65F6\u4F20 {"id":"..."}' },
|
|
@@ -290,6 +295,7 @@ var ebuilderFormOperations = [
|
|
|
290
295
|
name: "ebuilder-form.openapi.delete.apply",
|
|
291
296
|
summary: "\u786E\u8BA4\u540E\u6267\u884C OpenAPI deleteData \u5220\u9664\u8BF7\u6C42",
|
|
292
297
|
risk: "high-risk-write",
|
|
298
|
+
requiresConfirmation: true,
|
|
293
299
|
inputSchema: schema(preparedWriteProperties, { required: ["confirm", "continuation"] })
|
|
294
300
|
},
|
|
295
301
|
{
|
|
@@ -331,6 +337,7 @@ var ebuilderFormOperations = [
|
|
|
331
337
|
name: "ebuilder-form.custom.add.prepare",
|
|
332
338
|
summary: "\u51C6\u5907\u5DF2\u53D1\u5E03\u81EA\u5B9A\u4E49\u63A5\u53E3 saveFormData \u65B0\u589E\u8BF7\u6C42\uFF0C\u7B7E\u53D1 continuation",
|
|
333
339
|
risk: "read-before-write",
|
|
340
|
+
requiresConfirmation: true,
|
|
334
341
|
inputSchema: schema({
|
|
335
342
|
...contextProperties,
|
|
336
343
|
interfacePk: { type: "string", minLength: 1 },
|
|
@@ -342,12 +349,14 @@ var ebuilderFormOperations = [
|
|
|
342
349
|
name: "ebuilder-form.custom.add.apply",
|
|
343
350
|
summary: "\u786E\u8BA4\u540E\u6267\u884C\u5DF2\u53D1\u5E03\u81EA\u5B9A\u4E49\u63A5\u53E3 saveFormData \u65B0\u589E\u8BF7\u6C42",
|
|
344
351
|
risk: "high-risk-write",
|
|
352
|
+
requiresConfirmation: true,
|
|
345
353
|
inputSchema: schema(preparedWriteProperties, { required: ["confirm", "continuation"] })
|
|
346
354
|
},
|
|
347
355
|
{
|
|
348
356
|
name: "ebuilder-form.custom.update.prepare",
|
|
349
357
|
summary: "\u51C6\u5907\u5DF2\u53D1\u5E03\u81EA\u5B9A\u4E49\u63A5\u53E3 updateFormData \u4FEE\u6539\u8BF7\u6C42\uFF0C\u7B7E\u53D1 continuation",
|
|
350
358
|
risk: "read-before-write",
|
|
359
|
+
requiresConfirmation: true,
|
|
351
360
|
inputSchema: schema({
|
|
352
361
|
...contextProperties,
|
|
353
362
|
interfacePk: { type: "string", minLength: 1 },
|
|
@@ -359,12 +368,14 @@ var ebuilderFormOperations = [
|
|
|
359
368
|
name: "ebuilder-form.custom.update.apply",
|
|
360
369
|
summary: "\u786E\u8BA4\u540E\u6267\u884C\u5DF2\u53D1\u5E03\u81EA\u5B9A\u4E49\u63A5\u53E3 updateFormData \u4FEE\u6539\u8BF7\u6C42",
|
|
361
370
|
risk: "high-risk-write",
|
|
371
|
+
requiresConfirmation: true,
|
|
362
372
|
inputSchema: schema(preparedWriteProperties, { required: ["confirm", "continuation"] })
|
|
363
373
|
},
|
|
364
374
|
{
|
|
365
375
|
name: "ebuilder-form.custom.delete.prepare",
|
|
366
376
|
summary: "\u51C6\u5907\u5DF2\u53D1\u5E03\u81EA\u5B9A\u4E49\u63A5\u53E3 deleteFormData \u5220\u9664\u8BF7\u6C42\uFF0C\u7B7E\u53D1 continuation",
|
|
367
377
|
risk: "read-before-write",
|
|
378
|
+
requiresConfirmation: true,
|
|
368
379
|
inputSchema: schema({
|
|
369
380
|
...contextProperties,
|
|
370
381
|
interfacePk: { type: "string", minLength: 1 },
|
|
@@ -376,6 +387,7 @@ var ebuilderFormOperations = [
|
|
|
376
387
|
name: "ebuilder-form.custom.delete.apply",
|
|
377
388
|
summary: "\u786E\u8BA4\u540E\u6267\u884C\u5DF2\u53D1\u5E03\u81EA\u5B9A\u4E49\u63A5\u53E3 deleteFormData \u5220\u9664\u8BF7\u6C42",
|
|
378
389
|
risk: "high-risk-write",
|
|
390
|
+
requiresConfirmation: true,
|
|
379
391
|
inputSchema: schema(preparedWriteProperties, { required: ["confirm", "continuation"] })
|
|
380
392
|
}
|
|
381
393
|
];
|