weaver-work-cli 0.1.70 → 0.1.73
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-THZV4ND4.js} +22 -5
- package/dist/chunks/{archive-oa-VXXO4RTB.js → archive-oa-PQ23OLEV.js} +17 -5
- package/dist/chunks/{asset-45U6TY7I.js → asset-RGPROZYH.js} +22 -5
- package/dist/chunks/{asset-idle-YCRBMTIT.js → asset-idle-Z2PDX7NA.js} +15 -5
- package/dist/chunks/{attachment-content-DMU7KNZ7.js → attachment-content-R3RPVOYE.js} +3 -3
- package/dist/chunks/{blog-5AML4WMG.js → blog-7U3QZPIF.js} +25 -5
- package/dist/chunks/{caizhilian-3P7BUNHT.js → caizhilian-3AB42GCV.js} +22 -8
- package/dist/chunks/{calendar-2HUXM3CZ.js → calendar-KINM64E4.js} +15 -5
- package/dist/chunks/{chunk-EHH363SP.js → chunk-2CHGUYMG.js} +4 -4
- package/dist/chunks/{chunk-GWM5TLIK.js → chunk-2XED2FKY.js} +34 -34
- package/dist/chunks/{chunk-DVFA3ODS.js → chunk-35A56FJ7.js} +12 -0
- package/dist/chunks/{chunk-QYDSTYGG.js → chunk-4BXR6CNB.js} +3 -3
- package/dist/chunks/{chunk-KDOJW5LH.js → chunk-4I26YMBY.js} +1 -1
- package/dist/chunks/{chunk-X6PMJQGO.js → chunk-4YXAK6OA.js} +19 -8
- package/dist/chunks/{chunk-HG6INLH6.js → chunk-54ST55IJ.js} +28 -7
- package/dist/chunks/{chunk-DSBV4GRK.js → chunk-6HT73VOI.js} +3 -3
- package/dist/chunks/{chunk-4W6BSNIL.js → chunk-7QFVXP2X.js} +6 -6
- package/dist/chunks/{chunk-I5XB4MZT.js → chunk-AMAPQVBT.js} +95 -65
- package/dist/chunks/{chunk-L2A3COWV.js → chunk-BWYVS62Z.js} +4 -4
- package/dist/chunks/{chunk-UPVAQJKS.js → chunk-DRUND2PJ.js} +130 -79
- package/dist/chunks/{chunk-LJE7RZNC.js → chunk-F4HM25K4.js} +1 -1
- package/dist/chunks/{chunk-T24EBWAZ.js → chunk-GAMGDNTF.js} +48 -21
- package/dist/chunks/{chunk-H2NRTGZR.js → chunk-GWJLAF6B.js} +3 -3
- package/dist/chunks/{chunk-XIBMZEDB.js → chunk-IBSJJGXL.js} +2 -2
- package/dist/chunks/{chunk-VZUH3LKI.js → chunk-ICP53R52.js} +167 -157
- package/dist/chunks/{chunk-LRKKKO5A.js → chunk-IU6UB2TD.js} +3 -4
- package/dist/chunks/{chunk-GTAFCAVP.js → chunk-IZCQU5D5.js} +1 -1
- package/dist/chunks/{chunk-727VKJQK.js → chunk-JMJBPP4B.js} +2 -2
- package/dist/chunks/{chunk-UVWW5ABZ.js → chunk-L7TYG5SN.js} +3 -3
- package/dist/chunks/{chunk-HAORST2G.js → chunk-LLCMOZ5L.js} +11 -11
- package/dist/chunks/{chunk-U3OO3IZF.js → chunk-NUP4RYZK.js} +20 -7
- package/dist/chunks/{chunk-IVCOZCAW.js → chunk-PAFOLIYQ.js} +1 -1
- package/dist/chunks/{chunk-LSVA7QA6.js → chunk-R3MK2RBN.js} +3 -1
- package/dist/chunks/{chunk-GFOFUH6O.js → chunk-TV46Q4NY.js} +52 -51
- package/dist/chunks/chunk-WM33BSIL.js +136 -0
- package/dist/chunks/{chunk-7CINV2BU.js → chunk-XZBYRYWX.js} +2 -2
- package/dist/chunks/{chunk-E7VWE2XI.js → chunk-ZWLWXHJC.js} +3 -3
- package/dist/chunks/{conflict-YW5BULJ3.js → conflict-VPAR7E6F.js} +2 -2
- package/dist/chunks/{contract-3PMHUASH.js → contract-DDXAO2DZ.js} +48 -5
- package/dist/chunks/{cowork-FZBTTBYX.js → cowork-34QCHMDD.js} +37 -8
- package/dist/chunks/{create-flow-5OBS3B3V.js → create-flow-52PU2OBI.js} +6 -6
- package/dist/chunks/{data-2YZ6A6TL.js → data-CLQ62QGD.js} +99 -184
- package/dist/chunks/{ebuilder-form-AWPTMZBZ.js → ebuilder-form-W5R7Q22S.js} +17 -7
- package/dist/chunks/{ehr-MNPR4TE5.js → ehr-LCNAVMK5.js} +67 -17
- package/dist/chunks/{entry-mode-L65OWPFM.js → entry-mode-6Z3ZV3DE.js} +3 -3
- package/dist/chunks/{env-XW7LYIME.js → env-RDKWAARB.js} +2 -2
- package/dist/chunks/{esb-GSB5QCEX.js → esb-ANKPUU65.js} +17 -7
- package/dist/chunks/{factory-MHFZZAGH.js → factory-434B7RAT.js} +1 -1
- package/dist/chunks/{fna-XBSNUS2V.js → fna-AKBSG5HI.js} +15 -5
- package/dist/chunks/{group-chat-EEOLO5NM.js → group-chat-PROTW22R.js} +3 -3
- package/dist/chunks/{host-NVDG3NC6.js → host-5R2SNFWD.js} +4 -4
- package/dist/chunks/{host-2UMNXX5H.js → host-7FJW4E7R.js} +4 -4
- package/dist/chunks/{host-XVWBOSEN.js → host-CGXUFQO4.js} +4 -4
- package/dist/chunks/{host-R7BP3CTI.js → host-PDJAKCT7.js} +6 -4
- package/dist/chunks/{host-SYPCA63D.js → host-WO4L5G5I.js} +4 -4
- package/dist/chunks/{host-BD44ASOD.js → host-XIYG4F4B.js} +4 -4
- package/dist/chunks/{hrm-FZUDJAND.js → hrm-WGODDTEH.js} +15 -6
- package/dist/chunks/{im-F5NENPD7.js → im-YKTKAJU3.js} +16 -6
- package/dist/chunks/{invoice-DS6FLU55.js → invoice-PVYCCCVM.js} +27 -6
- package/dist/chunks/{jiuchuanhui-JCBUR563.js → jiuchuanhui-RKOQW7BY.js} +19 -6
- package/dist/chunks/{lazy-dispatch-F6O2EPGR.js → lazy-dispatch-DW45AFQ5.js} +6 -6
- package/dist/chunks/{mail-ZEOSANEJ.js → mail-BNB5S4NW.js} +116 -97
- package/dist/chunks/{meeting-PCD5EPBF.js → meeting-O2KDJH66.js} +29 -16
- package/dist/chunks/{minute-doc-WTZJVCHG.js → minute-doc-JUCG56GY.js} +4 -4
- package/dist/chunks/{okr-OZUMTMCL.js → okr-LWFGWOE7.js} +15 -5
- package/dist/chunks/{operations-LQY3FTPH.js → operations-2WHIF5WV.js} +1 -1
- package/dist/chunks/{operations-UTUWFJTX.js → operations-532PN5OB.js} +5 -5
- package/dist/chunks/{performance-SMVTPK6T.js → performance-7W5COCFU.js} +92 -7
- package/dist/chunks/{plan-C2NENH42.js → plan-ZVY3IYTL.js} +15 -5
- package/dist/chunks/{project-FAJ2P3UR.js → project-SA62B7MH.js} +18 -5
- package/dist/chunks/{reception-NH6MJFPR.js → reception-NGIONPQ3.js} +128 -49
- package/dist/chunks/{recruit-stage-DPEFHLSE.js → recruit-stage-WOSN6MGP.js} +1264 -197
- package/dist/chunks/{registry-FTPUUHWC.js → registry-N7P3W2RD.js} +5 -5
- package/dist/chunks/{registry-3B3OAJYX.js → registry-R72GWXOG.js} +4 -4
- package/dist/chunks/{registry-ZQ7OONCB.js → registry-RIQ67ZT7.js} +12 -12
- package/dist/chunks/{room-recommend-73NBN3RU.js → room-recommend-KCGIVUFR.js} +4 -4
- package/dist/chunks/{schedule-SDBOBBUQ.js → schedule-6UP27HQ4.js} +4 -4
- package/dist/chunks/{smart-extract-GTYKF5TJ.js → smart-extract-DDOQSPRB.js} +19 -6
- package/dist/chunks/{workflow-OWHWLAOX.js → workflow-V5ALD6QZ.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 +42 -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/ehr/operations/recruit-position.js +4 -3
- package/dist/shortcuts/ehr/operations/recruit-short-cache.js +6 -2
- package/dist/shortcuts/ehr/operations/recruit-write.js +3 -3
- package/dist/shortcuts/ehr/operations/recruit.js +206 -82
- package/dist/shortcuts/ehr/operations/shared.js +31 -0
- 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/index.js +15 -1
- package/dist/shortcuts/jiuchuanhui/manifest.js +2 -0
- 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/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/constants.js +22 -0
- package/dist/shortcuts/reception/index.js +15 -2
- package/dist/shortcuts/reception/manifest.js +17 -3
- package/dist/shortcuts/reception/operations/ask.js +3 -0
- package/dist/shortcuts/reception/operations/doc.js +24 -11
- package/dist/shortcuts/reception/operations/docrender.js +18 -1
- package/dist/shortcuts/reception/operations/render-assets.js +93 -22
- package/dist/shortcuts/recruit-stage/context.js +12 -6
- package/dist/shortcuts/recruit-stage/index.js +22 -3
- package/dist/shortcuts/recruit-stage/manifest.js +2 -0
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +19 -10
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +487 -38
- package/dist/shortcuts/recruit-stage/operations/list.js +72 -1
- package/dist/shortcuts/recruit-stage/operations/profile.js +194 -0
- package/dist/shortcuts/recruit-stage/operations/registry.js +20 -2
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +258 -63
- package/dist/shortcuts/recruit-stage/operations/search.js +226 -27
- package/dist/shortcuts/recruit-stage/operations/shortlist.js +122 -0
- package/dist/shortcuts/recruit-stage/operations/tag.js +17 -3
- package/dist/shortcuts/recruit-stage/shared.js +158 -4
- 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/form.js +36 -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/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 +6 -4
- package/skills/weaver-e10-jiuchuanhui/references/clue.md +2 -2
- package/skills/weaver-e10-jiuchuanhui/references/customer.md +18 -8
- package/skills/weaver-e10-jiuchuanhui/references/sale.md +2 -2
- package/skills/weaver-e10-jucailin/SKILL.md +7 -3
- package/skills/weaver-e10-jucailin/references/attend-write.md +1 -1
- package/skills/weaver-e10-jucailin/references/recruit-output-links.md +33 -0
- package/skills/weaver-e10-jucailin/references/recruit-write.md +2 -0
- 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 +8 -6
- package/skills/weaver-e10-reception-flow/SKILL.md +97 -41
- package/skills/weaver-e10-reception-flow/references/guide.md +3 -1
- package/skills/weaver-e10-recruit-stage/SKILL.md +557 -75
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +67 -44
- package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +279 -0
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +198 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +697 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +507 -0
- package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +87 -0
- package/skills/weaver-e10-recruit-stage/references/position-templates.md +19 -18
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +19 -18
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +15 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +37 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +64 -28
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +43 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +41 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +25 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +51 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +63 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +58 -33
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +5 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +11 -10
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +2 -2
- package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +106 -0
- package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +325 -0
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +265 -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-yimiaoban/references/source-manifest.json +3 -3
- package/skills/weaver-e10-jucailin/references/source-manifest.json +0 -152
|
@@ -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-IU6UB2TD.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-AMAPQVBT.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-IU6UB2TD.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-AMAPQVBT.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-IU6UB2TD.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-AMAPQVBT.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-IU6UB2TD.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-AMAPQVBT.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-IBSJJGXL.js";
|
|
12
12
|
import "./chunk-WMRNO6IU.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-F4HM25K4.js";
|
|
14
|
+
import "./chunk-4I26YMBY.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-IU6UB2TD.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-AMAPQVBT.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-GAMGDNTF.js";
|
|
8
8
|
import {
|
|
9
9
|
createCaizhilianHost
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NUP4RYZK.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-IU6UB2TD.js";
|
|
27
|
+
import "./chunk-IZCQU5D5.js";
|
|
28
|
+
import "./chunk-AMAPQVBT.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-IU6UB2TD.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-AMAPQVBT.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,7 +4,7 @@ import {
|
|
|
4
4
|
cacheScopeSuffix,
|
|
5
5
|
readCache,
|
|
6
6
|
writeCache
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PAFOLIYQ.js";
|
|
8
8
|
import {
|
|
9
9
|
EB_BASE,
|
|
10
10
|
SCHEMA_DATETIME_MINUTE,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
meetingSuccess,
|
|
14
14
|
queryBody,
|
|
15
15
|
schemaOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4I26YMBY.js";
|
|
17
17
|
|
|
18
18
|
// src/shortcuts/meeting/operations/eb/usage-cache.ts
|
|
19
19
|
var USAGE_TTL_MS = 5 * 60 * 1e3;
|
|
@@ -88,7 +88,7 @@ async function clearCache(env, key) {
|
|
|
88
88
|
try {
|
|
89
89
|
const { rm } = await import("node:fs/promises");
|
|
90
90
|
const { join } = await import("node:path");
|
|
91
|
-
const { meetingStateDir } = await import("./env-
|
|
91
|
+
const { meetingStateDir } = await import("./env-RDKWAARB.js");
|
|
92
92
|
await rm(join(meetingStateDir(env.ctx), "cache", `${key}.json`), { force: true });
|
|
93
93
|
} catch {
|
|
94
94
|
}
|
|
@@ -221,7 +221,7 @@ async function loadFrequentRooms(env, options = {}) {
|
|
|
221
221
|
const counts = /* @__PURE__ */ new Map();
|
|
222
222
|
let requests = 0;
|
|
223
223
|
try {
|
|
224
|
-
const { getMeetingOperation } = await import("./registry-
|
|
224
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
225
225
|
const listOp = getMeetingOperation("meeting.eb.meeting.list");
|
|
226
226
|
let seen = 0;
|
|
227
227
|
let total = 0;
|