weaver-work-cli 0.1.76 → 0.1.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/chunks/{attachment-content-24RL44SE.js → attachment-content-TFOC3Y3X.js} +3 -3
- package/dist/chunks/{chunk-FEZK536Z.js → chunk-4PBN7NJY.js} +353 -43
- package/dist/chunks/{chunk-SQFKBWTR.js → chunk-5VQ7JHV4.js} +132 -47
- package/dist/chunks/{chunk-KJA7CRES.js → chunk-7SQN5IZR.js} +1 -1
- package/dist/chunks/{chunk-MS7MKBGJ.js → chunk-BP7BONZO.js} +664 -75
- package/dist/chunks/{chunk-L5SCNJKX.js → chunk-DACQKJ6O.js} +1 -1
- package/dist/chunks/{chunk-T7HVQ2WP.js → chunk-E2EY3DMS.js} +2 -2
- package/dist/chunks/{chunk-WJQJ7YEX.js → chunk-FAC4IFGQ.js} +2 -2
- package/dist/chunks/{minute-doc-4BA2R5EA.js → chunk-IBTGXLOT.js} +99 -16
- package/dist/chunks/{chunk-OJ4JPD25.js → chunk-LQLIXBJF.js} +6 -8
- package/dist/chunks/{chunk-H6N6U2D6.js → chunk-SWFTWNWL.js} +7 -7
- package/dist/chunks/{chunk-SU6IJD6D.js → chunk-TD5IOEGN.js} +1 -1
- package/dist/chunks/{chunk-Q7RXCK2Y.js → chunk-USYFVIUR.js} +22 -7
- package/dist/chunks/{chunk-WHI6YAUE.js → chunk-UZ2E3VNI.js} +1 -1
- package/dist/chunks/{chunk-AZC53XSQ.js → chunk-VNEU7OUN.js} +1 -1
- package/dist/chunks/{chunk-5QUTQHXF.js → chunk-WNFDR5PC.js} +198 -80
- package/dist/chunks/{chunk-NZQRW4KL.js → chunk-Z44YFIN6.js} +2 -2
- package/dist/chunks/{chunk-R4PN3OFK.js → chunk-ZOTXXGUM.js} +7 -7
- package/dist/chunks/{cli-DFLV57LO.js → cli-WA7FOQKC.js} +10 -10
- package/dist/chunks/{conflict-72Q6DM4I.js → conflict-D4GVAURN.js} +2 -2
- package/dist/chunks/{contract-IRNRQ5FY.js → contract-GW7US3UF.js} +4399 -3547
- package/dist/chunks/{create-flow-UGTDI7SP.js → create-flow-ERDGW3FZ.js} +10 -6
- package/dist/chunks/{ehr-PHIBBUIG.js → ehr-P6T7OAAV.js} +1 -1
- package/dist/chunks/{entry-mode-5WOXFE67.js → entry-mode-SQU5WTX6.js} +3 -3
- package/dist/chunks/{env-H4ALHESA.js → env-DASBNSEM.js} +2 -2
- package/dist/chunks/{factory-COX6AVK7.js → factory-A3NAKZAA.js} +1 -1
- package/dist/chunks/{group-chat-ZIWQQO4G.js → group-chat-7SEAVAJR.js} +3 -3
- package/dist/chunks/{lazy-dispatch-MZ3EZYDL.js → lazy-dispatch-ZDKLS5MR.js} +3 -3
- package/dist/chunks/{meeting-XE6CTXYA.js → meeting-7AEQGBAT.js} +18 -12
- package/dist/chunks/minute-doc-REI6RUE4.js +20 -0
- package/dist/chunks/{project-XREEXFU2.js → project-6PRGBLO2.js} +38 -14
- package/dist/chunks/{recruit-stage-TSQWOGQD.js → recruit-stage-TLZJUFHD.js} +543 -463
- package/dist/chunks/{registry-F4YFZLOD.js → registry-KQ4TNUWO.js} +1 -1
- package/dist/chunks/{registry-7UDUWYB5.js → registry-UVTI323K.js} +12 -11
- package/dist/chunks/{room-recommend-FO3HLPNB.js → room-recommend-ELEJUYBN.js} +4 -4
- package/dist/chunks/{schedule-DHNNOHVS.js → schedule-XBKY7VEA.js} +4 -4
- package/dist/chunks/{update-AV5VOXGY.js → update-77ZUIYSG.js} +2 -2
- package/dist/chunks/{workflow-MAGCHWYZ.js → workflow-SYCBS5XD.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/internal/update/service.js +9 -8
- package/dist/shortcuts/contract/data/collection-ledger-html.js +109 -33
- package/dist/shortcuts/contract/data/collection-node-catalog.js +26 -2
- package/dist/shortcuts/contract/data/report-renderers.js +75 -31
- package/dist/shortcuts/contract/data/report-spec.js +17 -3
- package/dist/shortcuts/contract/manifest.js +20 -3
- package/dist/shortcuts/contract/operations/bizreview-report.js +23 -2
- package/dist/shortcuts/contract/operations/collection-node.js +116 -1
- package/dist/shortcuts/contract/operations/compare-report.js +27 -5
- package/dist/shortcuts/contract/operations/credit-page.js +11 -2
- package/dist/shortcuts/contract/operations/docx-slots.js +27 -2
- package/dist/shortcuts/contract/operations/draft-submit.js +9 -6
- package/dist/shortcuts/contract/operations/elements-build.js +162 -30
- package/dist/shortcuts/contract/operations/elements-spec.js +50 -0
- package/dist/shortcuts/contract/operations/generated-submit.js +35 -0
- package/dist/shortcuts/contract/operations/ledger-card.js +32 -2
- package/dist/shortcuts/contract/operations/ledger-stat.js +17 -5
- package/dist/shortcuts/contract/operations/ledger.js +88 -16
- package/dist/shortcuts/contract/operations/metrics.js +16 -3
- package/dist/shortcuts/contract/operations/ops-draft.js +359 -27
- package/dist/shortcuts/contract/operations/page.js +23 -0
- package/dist/shortcuts/contract/operations/quote-recognize.js +91 -13
- package/dist/shortcuts/contract/operations/quote-submit.js +16 -0
- package/dist/shortcuts/contract/operations/review-report.js +11 -3
- package/dist/shortcuts/contract/operations/save-recognize.js +62 -1
- package/dist/shortcuts/contract/operations/triage.js +18 -3
- package/dist/shortcuts/contract/operations/viewlink.js +17 -1
- package/dist/shortcuts/ehr/operations/recruit.js +255 -90
- package/dist/shortcuts/meeting/confirm-gate.js +42 -0
- package/dist/shortcuts/meeting/continuation.js +6 -2
- package/dist/shortcuts/meeting/minute-doc.js +119 -12
- package/dist/shortcuts/meeting/operations/attachment.js +19 -0
- package/dist/shortcuts/meeting/operations/compose-outcome.js +24 -2
- package/dist/shortcuts/meeting/operations/eb/conflict.js +2 -1
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +162 -19
- package/dist/shortcuts/meeting/operations/eb/room-recommend.js +22 -3
- package/dist/shortcuts/meeting/operations/group-share.js +268 -0
- package/dist/shortcuts/meeting/operations/minute-content.js +58 -1
- package/dist/shortcuts/meeting/operations/minute-export.js +295 -0
- package/dist/shortcuts/meeting/operations/registry.js +4 -0
- package/dist/shortcuts/project/operations/read.js +40 -15
- package/dist/shortcuts/recruit-stage/context.js +16 -81
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +89 -53
- package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +15 -5
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +46 -108
- package/dist/shortcuts/recruit-stage/operations/list.js +203 -74
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +21 -85
- package/dist/shortcuts/recruit-stage/operations/search.js +113 -53
- package/dist/shortcuts/recruit-stage/shared.js +153 -4
- package/dist/shortcuts/workflow/endpoints.js +2 -0
- package/dist/shortcuts/workflow/operations/form.js +11 -0
- package/dist/shortcuts/workflow/operations/read.js +24 -5
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +2 -2
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +2 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +28 -4
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.node.js +198 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.prepareQuery.js +4 -2
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.subordinate.js +70 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/workflowClarification.js +15 -5
- package/docs/project.md +1 -1
- 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/__pycache__/sitecustomize.cpython-314.pyc +0 -0
- package/skills/weaver-e10-jinchengda/SKILL.md +64 -28
- package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +4 -4
- package/skills/weaver-e10-jinchengda/references/contract-bizreview-report-template.html +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-bizreview.md +5 -4
- package/skills/weaver-e10-jinchengda/references/contract-collection-node.md +26 -2
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +4 -4
- package/skills/weaver-e10-jinchengda/references/contract-compare-report.md +9 -8
- package/skills/weaver-e10-jinchengda/references/contract-credit-page.md +47 -52
- package/skills/weaver-e10-jinchengda/references/contract-disabled-capabilities.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-doc-compare.md +5 -5
- package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +7 -1
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +21 -12
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +44 -1
- package/skills/weaver-e10-jinchengda/references/contract-firstscreen-guide.md +5 -4
- package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +8 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +33 -3
- package/skills/weaver-e10-jinchengda/references/contract-ledger-report.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-material-gap.md +17 -3
- package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +12 -12
- package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +18 -10
- package/skills/weaver-e10-jinchengda/references/contract-ops-draft.md +77 -37
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +7 -0
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +55 -12
- package/skills/weaver-e10-jinchengda/references/contract-review-todo.md +102 -0
- package/skills/weaver-e10-jinchengda/references/contract-sign-launch.md +1 -17
- package/skills/weaver-e10-jinchengda/references/contract-smart-draft.md +11 -8
- package/skills/weaver-e10-jinchengda/references/contract-type-fingerprints.md +2 -1
- package/skills/weaver-e10-jinchengda/references/orchestration.md +6 -6
- package/skills/weaver-e10-meeting/SKILL.md +203 -80
- package/skills/weaver-e10-meeting/references/create-quickstart.md +98 -0
- package/skills/weaver-e10-meeting/references/delivery-checklist.md +34 -0
- package/skills/weaver-e10-meeting/references/error-codes.md +44 -0
- package/skills/weaver-e10-meeting/references/minutes-pipeline.md +56 -3
- package/skills/weaver-e10-meeting/references/room-recommend.md +2 -0
- package/skills/weaver-e10-recruit-stage/SKILL.md +61 -58
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +28 -25
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +20 -14
- package/skills/weaver-e10-recruit-stage/lib/recruit-attach-probe.mjs +127 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +71 -25
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +39 -7
- package/skills/weaver-e10-recruit-stage/lib/recruit-xiaoe-file.mjs +2 -2
- package/skills/weaver-e10-recruit-stage/references/position-templates.md +10 -10
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +8 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +29 -31
- package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +4 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +6 -6
- package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +3 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +10 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +2 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +1 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +10 -28
- package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +2 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +1 -1
- package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +2 -2
- package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +1 -1
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +14 -10
- package/skills/weaver-e10-shijingran/SKILL.md +2 -2
- package/skills/weaver-e10-shijingran/references/operations.md +5 -2
- package/skills/weaver-e10-shijingran/references/source-manifest.json +41 -40
- package/skills/weaver-e10-workflow/SKILL.md +13 -9
- package/skills/weaver-e10-workflow/references/todo-dialogue.md +33 -8
- package/skills/weaver-e10-workflow/references/todo-smart-convert.md +19 -14
- package/skills/weaver-e10-workflow/references/workflow-create.md +1 -1
- package/skills/weaver-e10-workflow/references/workflow-query.md +4 -2
- package/skills/weaver-e10-workflow/references/workflow-view.md +3 -3
- package/skills/weaver-e10-workflow/tools/todo-summary.cjs +132 -42
- package/templates/meeting/minute.docx +0 -0
- package/skills/weaver-e10-yepiaotong.zip +0 -0
|
@@ -5,11 +5,13 @@ import {
|
|
|
5
5
|
crmContactsToDetailRows,
|
|
6
6
|
crmMemberEntriesFromArgs,
|
|
7
7
|
crmPendingNames,
|
|
8
|
+
decideAutoDirect,
|
|
8
9
|
decideEntryMode,
|
|
9
10
|
detectCrmMentionInText,
|
|
10
11
|
ensureFlowFieldIds,
|
|
11
12
|
fixedFlowIds,
|
|
12
13
|
fixedFlowIdsForEnv,
|
|
14
|
+
isTimeMissing,
|
|
13
15
|
mapFields,
|
|
14
16
|
meetingEbCreateFlowOperations,
|
|
15
17
|
needsCrmSelection,
|
|
@@ -28,12 +30,12 @@ import {
|
|
|
28
30
|
resolveWorkflowId,
|
|
29
31
|
shapeBrowserValues,
|
|
30
32
|
shouldAutoPickFlow
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-5VQ7JHV4.js";
|
|
34
|
+
import "./chunk-ZOTXXGUM.js";
|
|
35
|
+
import "./chunk-USYFVIUR.js";
|
|
36
|
+
import "./chunk-VNEU7OUN.js";
|
|
37
|
+
import "./chunk-7SQN5IZR.js";
|
|
38
|
+
import "./chunk-UZ2E3VNI.js";
|
|
37
39
|
import "./chunk-7BDPM5ST.js";
|
|
38
40
|
import "./chunk-UG5G54VL.js";
|
|
39
41
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -42,11 +44,13 @@ export {
|
|
|
42
44
|
crmContactsToDetailRows,
|
|
43
45
|
crmMemberEntriesFromArgs,
|
|
44
46
|
crmPendingNames,
|
|
47
|
+
decideAutoDirect,
|
|
45
48
|
decideEntryMode,
|
|
46
49
|
detectCrmMentionInText,
|
|
47
50
|
ensureFlowFieldIds,
|
|
48
51
|
fixedFlowIds,
|
|
49
52
|
fixedFlowIdsForEnv,
|
|
53
|
+
isTimeMissing,
|
|
50
54
|
mapFields,
|
|
51
55
|
meetingEbCreateFlowOperations,
|
|
52
56
|
needsCrmSelection,
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
meetingEntryOperations,
|
|
6
6
|
readEntryChoice,
|
|
7
7
|
verifyEntryToken
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-Z44YFIN6.js";
|
|
9
|
+
import "./chunk-7SQN5IZR.js";
|
|
10
|
+
import "./chunk-UZ2E3VNI.js";
|
|
11
11
|
import "./chunk-7BDPM5ST.js";
|
|
12
12
|
import "./chunk-UG5G54VL.js";
|
|
13
13
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
meetingStateDir,
|
|
7
7
|
readCache,
|
|
8
8
|
resolveMeetingEnvMode
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-7SQN5IZR.js";
|
|
10
|
+
import "./chunk-UZ2E3VNI.js";
|
|
11
11
|
import "./chunk-7BDPM5ST.js";
|
|
12
12
|
import "./chunk-UG5G54VL.js";
|
|
13
13
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
ensureMeetingGroupChat,
|
|
7
7
|
meetingEbGroupChatOperations,
|
|
8
8
|
savePendingForm
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-SWFTWNWL.js";
|
|
10
|
+
import "./chunk-7SQN5IZR.js";
|
|
11
|
+
import "./chunk-UZ2E3VNI.js";
|
|
12
12
|
import "./chunk-7BDPM5ST.js";
|
|
13
13
|
import "./chunk-UG5G54VL.js";
|
|
14
14
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
builtinCommands
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DACQKJ6O.js";
|
|
6
6
|
import {
|
|
7
7
|
toCommandMetadata
|
|
8
8
|
} from "./chunk-ZM7RN2IM.js";
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
import "./chunk-JJONWB5N.js";
|
|
16
16
|
import "./chunk-257JXJGD.js";
|
|
17
17
|
import "./chunk-AJ62BGAW.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-TD5IOEGN.js";
|
|
19
|
+
import "./chunk-LQLIXBJF.js";
|
|
20
20
|
import "./chunk-OVTCWLNQ.js";
|
|
21
21
|
import "./chunk-JWF2R6EQ.js";
|
|
22
22
|
import "./chunk-MD5CW4B6.js";
|
|
@@ -3,21 +3,22 @@ const require = __esbuildCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getMeetingOperation,
|
|
5
5
|
meetingOperationDefinitions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-BP7BONZO.js";
|
|
7
|
+
import "./chunk-E2EY3DMS.js";
|
|
8
|
+
import "./chunk-IBTGXLOT.js";
|
|
8
9
|
import "./chunk-WMRNO6IU.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-SWFTWNWL.js";
|
|
11
|
+
import "./chunk-Z44YFIN6.js";
|
|
12
|
+
import "./chunk-FAC4IFGQ.js";
|
|
13
|
+
import "./chunk-5VQ7JHV4.js";
|
|
14
|
+
import "./chunk-ZOTXXGUM.js";
|
|
15
|
+
import "./chunk-USYFVIUR.js";
|
|
16
|
+
import "./chunk-VNEU7OUN.js";
|
|
16
17
|
import {
|
|
17
18
|
degradeMeetingEnvToStandard,
|
|
18
19
|
meetingStateDir,
|
|
19
20
|
readCache
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7SQN5IZR.js";
|
|
21
22
|
import {
|
|
22
23
|
MeetingCliError,
|
|
23
24
|
asObject,
|
|
@@ -25,7 +26,7 @@ import {
|
|
|
25
26
|
meetingAuthError,
|
|
26
27
|
meetingNetworkError,
|
|
27
28
|
meetingValidationError
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UZ2E3VNI.js";
|
|
29
30
|
import {
|
|
30
31
|
MANIFEST_LIST_COMPACT_PATHS,
|
|
31
32
|
manifestView,
|
|
@@ -107,7 +108,12 @@ function createMeetingContinuationSigner(ctx) {
|
|
|
107
108
|
const [body, provided] = token.split(".");
|
|
108
109
|
const expected = signature(body, await loadKey(ctx));
|
|
109
110
|
const valid = provided.length === expected.length && timingSafeEqual(Buffer.from(provided), Buffer.from(expected));
|
|
110
|
-
if (!valid)
|
|
111
|
+
if (!valid) {
|
|
112
|
+
throw meetingValidationError(
|
|
113
|
+
"continuation_invalid",
|
|
114
|
+
`continuation \u7B7E\u540D\u6821\u9A8C\u5931\u8D25\uFF08\u51ED\u8BC1\u88AB\u622A\u65AD\u6216\u6539\u5199\uFF0C\u957F\u5EA6 ${body.length + provided.length + 1}\uFF09\u3002\u6539\u7528 prepare \u8FD4\u56DE\u7684 continuationId\uFF088 \u4F4D\uFF09\u91CD\u8BD5\uFF0C\u4E0D\u8981\u624B\u6284\u957F token`
|
|
115
|
+
);
|
|
116
|
+
}
|
|
111
117
|
let value;
|
|
112
118
|
try {
|
|
113
119
|
value = JSON.parse(Buffer.from(body, "base64url").toString("utf8"));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
|
+
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
buildBodyParagraphsXml,
|
|
5
|
+
buildMinuteDocumentXml,
|
|
6
|
+
buildMinuteDocx,
|
|
7
|
+
ensureMinuteDoc,
|
|
8
|
+
generateMinuteDocViaEsb,
|
|
9
|
+
safeDocxName
|
|
10
|
+
} from "./chunk-IBTGXLOT.js";
|
|
11
|
+
import "./chunk-WMRNO6IU.js";
|
|
12
|
+
import "./chunk-BUSC6UAE.js";
|
|
13
|
+
export {
|
|
14
|
+
buildBodyParagraphsXml,
|
|
15
|
+
buildMinuteDocumentXml,
|
|
16
|
+
buildMinuteDocx,
|
|
17
|
+
ensureMinuteDoc,
|
|
18
|
+
generateMinuteDocViaEsb,
|
|
19
|
+
safeDocxName
|
|
20
|
+
};
|
|
@@ -902,25 +902,49 @@ var projectReadOperations = [
|
|
|
902
902
|
resource: "project",
|
|
903
903
|
method: "diagnose",
|
|
904
904
|
action: "project.version.check",
|
|
905
|
-
summary: "\
|
|
905
|
+
summary: "\u68C0\u6D4B\u4E8B\u4E95\u7136\u5E94\u7528\u662F\u5426\u5B89\u88C5\u53CA\u7248\u672C\uFF08\u8981\u6C42 >= 20.6.11\uFF09\uFF1B\u4EC5\u7528\u4E8E\u63A5\u53E3\u5F02\u5E38\u8BCA\u65AD\u6216\u7528\u6237\u4E3B\u52A8\u8BE2\u95EE\u7248\u672C",
|
|
906
906
|
risk: "read",
|
|
907
907
|
inputSchema: schemaOf({ appId: { type: "string", description: "\u53EF\u9009\uFF1B\u7F3A\u7701\u65F6\u81EA\u52A8\u89E3\u6790" } }),
|
|
908
908
|
handler: async (args, { host }) => {
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
909
|
+
let appId = args.appId ? String(args.appId) : "";
|
|
910
|
+
if (!appId) {
|
|
911
|
+
try {
|
|
912
|
+
appId = await getAppId(host);
|
|
913
|
+
} catch {
|
|
914
|
+
return projectSuccess("project.version.check", {
|
|
915
|
+
installed: false,
|
|
916
|
+
appId: null,
|
|
917
|
+
commitVersion: null,
|
|
918
|
+
versionOk: false,
|
|
919
|
+
minRequiredVersion: MIN_VERSION.join("."),
|
|
920
|
+
status: "NOT_INSTALLED",
|
|
921
|
+
reason: "app_not_found",
|
|
922
|
+
message: "\u672A\u68C0\u6D4B\u5230\u4E8B\u4E95\u7136\u9879\u76EE\u7BA1\u7406\u5E94\u7528\uFF08getAppIds \u672A\u8FD4\u56DE appId\uFF09\uFF0C\u8BF7\u5148\u5B89\u88C5\u5E94\u7528"
|
|
923
|
+
});
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
let commitVersion = "";
|
|
927
|
+
try {
|
|
928
|
+
const response = await host.request({
|
|
929
|
+
method: "GET",
|
|
930
|
+
path: "/api/installer/public/querySpAppVersionInfo",
|
|
931
|
+
query: { appId },
|
|
932
|
+
operation: "project.version.check"
|
|
933
|
+
});
|
|
934
|
+
assertWeaverSuccess(response, "project.version.check");
|
|
935
|
+
commitVersion = String(response?.data?.commitVersion ?? "").trim();
|
|
936
|
+
} catch {
|
|
937
|
+
commitVersion = "";
|
|
938
|
+
}
|
|
939
|
+
const installed = commitVersion !== "";
|
|
940
|
+
const versionOk = installed && versionAtLeast(commitVersion);
|
|
919
941
|
return projectSuccess("project.version.check", {
|
|
942
|
+
installed,
|
|
920
943
|
appId,
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
944
|
+
commitVersion: installed ? commitVersion : null,
|
|
945
|
+
versionOk,
|
|
946
|
+
minRequiredVersion: MIN_VERSION.join("."),
|
|
947
|
+
status: installed ? versionOk ? "OK" : "VERSION_TOO_LOW" : "NOT_INSTALLED"
|
|
924
948
|
});
|
|
925
949
|
}
|
|
926
950
|
},
|