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.
Files changed (175) hide show
  1. package/README.md +3 -1
  2. package/dist/chunks/{attachment-content-24RL44SE.js → attachment-content-TFOC3Y3X.js} +3 -3
  3. package/dist/chunks/{chunk-FEZK536Z.js → chunk-4PBN7NJY.js} +353 -43
  4. package/dist/chunks/{chunk-SQFKBWTR.js → chunk-5VQ7JHV4.js} +132 -47
  5. package/dist/chunks/{chunk-KJA7CRES.js → chunk-7SQN5IZR.js} +1 -1
  6. package/dist/chunks/{chunk-MS7MKBGJ.js → chunk-BP7BONZO.js} +664 -75
  7. package/dist/chunks/{chunk-L5SCNJKX.js → chunk-DACQKJ6O.js} +1 -1
  8. package/dist/chunks/{chunk-T7HVQ2WP.js → chunk-E2EY3DMS.js} +2 -2
  9. package/dist/chunks/{chunk-WJQJ7YEX.js → chunk-FAC4IFGQ.js} +2 -2
  10. package/dist/chunks/{minute-doc-4BA2R5EA.js → chunk-IBTGXLOT.js} +99 -16
  11. package/dist/chunks/{chunk-OJ4JPD25.js → chunk-LQLIXBJF.js} +6 -8
  12. package/dist/chunks/{chunk-H6N6U2D6.js → chunk-SWFTWNWL.js} +7 -7
  13. package/dist/chunks/{chunk-SU6IJD6D.js → chunk-TD5IOEGN.js} +1 -1
  14. package/dist/chunks/{chunk-Q7RXCK2Y.js → chunk-USYFVIUR.js} +22 -7
  15. package/dist/chunks/{chunk-WHI6YAUE.js → chunk-UZ2E3VNI.js} +1 -1
  16. package/dist/chunks/{chunk-AZC53XSQ.js → chunk-VNEU7OUN.js} +1 -1
  17. package/dist/chunks/{chunk-5QUTQHXF.js → chunk-WNFDR5PC.js} +198 -80
  18. package/dist/chunks/{chunk-NZQRW4KL.js → chunk-Z44YFIN6.js} +2 -2
  19. package/dist/chunks/{chunk-R4PN3OFK.js → chunk-ZOTXXGUM.js} +7 -7
  20. package/dist/chunks/{cli-DFLV57LO.js → cli-WA7FOQKC.js} +10 -10
  21. package/dist/chunks/{conflict-72Q6DM4I.js → conflict-D4GVAURN.js} +2 -2
  22. package/dist/chunks/{contract-IRNRQ5FY.js → contract-GW7US3UF.js} +4399 -3547
  23. package/dist/chunks/{create-flow-UGTDI7SP.js → create-flow-ERDGW3FZ.js} +10 -6
  24. package/dist/chunks/{ehr-PHIBBUIG.js → ehr-P6T7OAAV.js} +1 -1
  25. package/dist/chunks/{entry-mode-5WOXFE67.js → entry-mode-SQU5WTX6.js} +3 -3
  26. package/dist/chunks/{env-H4ALHESA.js → env-DASBNSEM.js} +2 -2
  27. package/dist/chunks/{factory-COX6AVK7.js → factory-A3NAKZAA.js} +1 -1
  28. package/dist/chunks/{group-chat-ZIWQQO4G.js → group-chat-7SEAVAJR.js} +3 -3
  29. package/dist/chunks/{lazy-dispatch-MZ3EZYDL.js → lazy-dispatch-ZDKLS5MR.js} +3 -3
  30. package/dist/chunks/{meeting-XE6CTXYA.js → meeting-7AEQGBAT.js} +18 -12
  31. package/dist/chunks/minute-doc-REI6RUE4.js +20 -0
  32. package/dist/chunks/{project-XREEXFU2.js → project-6PRGBLO2.js} +38 -14
  33. package/dist/chunks/{recruit-stage-TSQWOGQD.js → recruit-stage-TLZJUFHD.js} +543 -463
  34. package/dist/chunks/{registry-F4YFZLOD.js → registry-KQ4TNUWO.js} +1 -1
  35. package/dist/chunks/{registry-7UDUWYB5.js → registry-UVTI323K.js} +12 -11
  36. package/dist/chunks/{room-recommend-FO3HLPNB.js → room-recommend-ELEJUYBN.js} +4 -4
  37. package/dist/chunks/{schedule-DHNNOHVS.js → schedule-XBKY7VEA.js} +4 -4
  38. package/dist/chunks/{update-AV5VOXGY.js → update-77ZUIYSG.js} +2 -2
  39. package/dist/chunks/{workflow-MAGCHWYZ.js → workflow-SYCBS5XD.js} +1 -1
  40. package/dist/index.js +3 -3
  41. package/dist/internal/update/service.js +9 -8
  42. package/dist/shortcuts/contract/data/collection-ledger-html.js +109 -33
  43. package/dist/shortcuts/contract/data/collection-node-catalog.js +26 -2
  44. package/dist/shortcuts/contract/data/report-renderers.js +75 -31
  45. package/dist/shortcuts/contract/data/report-spec.js +17 -3
  46. package/dist/shortcuts/contract/manifest.js +20 -3
  47. package/dist/shortcuts/contract/operations/bizreview-report.js +23 -2
  48. package/dist/shortcuts/contract/operations/collection-node.js +116 -1
  49. package/dist/shortcuts/contract/operations/compare-report.js +27 -5
  50. package/dist/shortcuts/contract/operations/credit-page.js +11 -2
  51. package/dist/shortcuts/contract/operations/docx-slots.js +27 -2
  52. package/dist/shortcuts/contract/operations/draft-submit.js +9 -6
  53. package/dist/shortcuts/contract/operations/elements-build.js +162 -30
  54. package/dist/shortcuts/contract/operations/elements-spec.js +50 -0
  55. package/dist/shortcuts/contract/operations/generated-submit.js +35 -0
  56. package/dist/shortcuts/contract/operations/ledger-card.js +32 -2
  57. package/dist/shortcuts/contract/operations/ledger-stat.js +17 -5
  58. package/dist/shortcuts/contract/operations/ledger.js +88 -16
  59. package/dist/shortcuts/contract/operations/metrics.js +16 -3
  60. package/dist/shortcuts/contract/operations/ops-draft.js +359 -27
  61. package/dist/shortcuts/contract/operations/page.js +23 -0
  62. package/dist/shortcuts/contract/operations/quote-recognize.js +91 -13
  63. package/dist/shortcuts/contract/operations/quote-submit.js +16 -0
  64. package/dist/shortcuts/contract/operations/review-report.js +11 -3
  65. package/dist/shortcuts/contract/operations/save-recognize.js +62 -1
  66. package/dist/shortcuts/contract/operations/triage.js +18 -3
  67. package/dist/shortcuts/contract/operations/viewlink.js +17 -1
  68. package/dist/shortcuts/ehr/operations/recruit.js +255 -90
  69. package/dist/shortcuts/meeting/confirm-gate.js +42 -0
  70. package/dist/shortcuts/meeting/continuation.js +6 -2
  71. package/dist/shortcuts/meeting/minute-doc.js +119 -12
  72. package/dist/shortcuts/meeting/operations/attachment.js +19 -0
  73. package/dist/shortcuts/meeting/operations/compose-outcome.js +24 -2
  74. package/dist/shortcuts/meeting/operations/eb/conflict.js +2 -1
  75. package/dist/shortcuts/meeting/operations/eb/create-flow.js +162 -19
  76. package/dist/shortcuts/meeting/operations/eb/room-recommend.js +22 -3
  77. package/dist/shortcuts/meeting/operations/group-share.js +268 -0
  78. package/dist/shortcuts/meeting/operations/minute-content.js +58 -1
  79. package/dist/shortcuts/meeting/operations/minute-export.js +295 -0
  80. package/dist/shortcuts/meeting/operations/registry.js +4 -0
  81. package/dist/shortcuts/project/operations/read.js +40 -15
  82. package/dist/shortcuts/recruit-stage/context.js +16 -81
  83. package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +89 -53
  84. package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +15 -5
  85. package/dist/shortcuts/recruit-stage/operations/jd-create.js +46 -108
  86. package/dist/shortcuts/recruit-stage/operations/list.js +203 -74
  87. package/dist/shortcuts/recruit-stage/operations/resume-import.js +21 -85
  88. package/dist/shortcuts/recruit-stage/operations/search.js +113 -53
  89. package/dist/shortcuts/recruit-stage/shared.js +153 -4
  90. package/dist/shortcuts/workflow/endpoints.js +2 -0
  91. package/dist/shortcuts/workflow/operations/form.js +11 -0
  92. package/dist/shortcuts/workflow/operations/read.js +24 -5
  93. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +2 -2
  94. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +2 -0
  95. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +28 -4
  96. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.node.js +198 -0
  97. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.prepareQuery.js +4 -2
  98. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.subordinate.js +70 -0
  99. package/dist/shortcuts/workflow/operations/todoSmartConvert/workflowClarification.js +15 -5
  100. package/docs/project.md +1 -1
  101. package/package.json +1 -1
  102. package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
  103. package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
  104. package/scripts/pysite/__pycache__/sitecustomize.cpython-314.pyc +0 -0
  105. package/skills/weaver-e10-jinchengda/SKILL.md +64 -28
  106. package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +4 -4
  107. package/skills/weaver-e10-jinchengda/references/contract-bizreview-report-template.html +1 -1
  108. package/skills/weaver-e10-jinchengda/references/contract-bizreview.md +5 -4
  109. package/skills/weaver-e10-jinchengda/references/contract-collection-node.md +26 -2
  110. package/skills/weaver-e10-jinchengda/references/contract-command-index.md +4 -4
  111. package/skills/weaver-e10-jinchengda/references/contract-compare-report.md +9 -8
  112. package/skills/weaver-e10-jinchengda/references/contract-credit-page.md +47 -52
  113. package/skills/weaver-e10-jinchengda/references/contract-disabled-capabilities.md +1 -1
  114. package/skills/weaver-e10-jinchengda/references/contract-doc-compare.md +5 -5
  115. package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +1 -1
  116. package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +7 -1
  117. package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +21 -12
  118. package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +44 -1
  119. package/skills/weaver-e10-jinchengda/references/contract-firstscreen-guide.md +5 -4
  120. package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +8 -0
  121. package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +33 -3
  122. package/skills/weaver-e10-jinchengda/references/contract-ledger-report.md +1 -1
  123. package/skills/weaver-e10-jinchengda/references/contract-material-gap.md +17 -3
  124. package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +12 -12
  125. package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +18 -10
  126. package/skills/weaver-e10-jinchengda/references/contract-ops-draft.md +77 -37
  127. package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +7 -0
  128. package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +55 -12
  129. package/skills/weaver-e10-jinchengda/references/contract-review-todo.md +102 -0
  130. package/skills/weaver-e10-jinchengda/references/contract-sign-launch.md +1 -17
  131. package/skills/weaver-e10-jinchengda/references/contract-smart-draft.md +11 -8
  132. package/skills/weaver-e10-jinchengda/references/contract-type-fingerprints.md +2 -1
  133. package/skills/weaver-e10-jinchengda/references/orchestration.md +6 -6
  134. package/skills/weaver-e10-meeting/SKILL.md +203 -80
  135. package/skills/weaver-e10-meeting/references/create-quickstart.md +98 -0
  136. package/skills/weaver-e10-meeting/references/delivery-checklist.md +34 -0
  137. package/skills/weaver-e10-meeting/references/error-codes.md +44 -0
  138. package/skills/weaver-e10-meeting/references/minutes-pipeline.md +56 -3
  139. package/skills/weaver-e10-meeting/references/room-recommend.md +2 -0
  140. package/skills/weaver-e10-recruit-stage/SKILL.md +61 -58
  141. package/skills/weaver-e10-recruit-stage/agents/openai.yaml +28 -25
  142. package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +20 -14
  143. package/skills/weaver-e10-recruit-stage/lib/recruit-attach-probe.mjs +127 -0
  144. package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +71 -25
  145. package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +39 -7
  146. package/skills/weaver-e10-recruit-stage/lib/recruit-xiaoe-file.mjs +2 -2
  147. package/skills/weaver-e10-recruit-stage/references/position-templates.md +10 -10
  148. package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +8 -5
  149. package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +29 -31
  150. package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +4 -2
  151. package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +6 -6
  152. package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +4 -4
  153. package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +3 -3
  154. package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +10 -0
  155. package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +2 -1
  156. package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +1 -0
  157. package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +1 -1
  158. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +10 -28
  159. package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +2 -0
  160. package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +1 -1
  161. package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +2 -2
  162. package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +1 -1
  163. package/skills/weaver-e10-recruit-stage/templates/match-report.html +14 -10
  164. package/skills/weaver-e10-shijingran/SKILL.md +2 -2
  165. package/skills/weaver-e10-shijingran/references/operations.md +5 -2
  166. package/skills/weaver-e10-shijingran/references/source-manifest.json +41 -40
  167. package/skills/weaver-e10-workflow/SKILL.md +13 -9
  168. package/skills/weaver-e10-workflow/references/todo-dialogue.md +33 -8
  169. package/skills/weaver-e10-workflow/references/todo-smart-convert.md +19 -14
  170. package/skills/weaver-e10-workflow/references/workflow-create.md +1 -1
  171. package/skills/weaver-e10-workflow/references/workflow-query.md +4 -2
  172. package/skills/weaver-e10-workflow/references/workflow-view.md +3 -3
  173. package/skills/weaver-e10-workflow/tools/todo-summary.cjs +132 -42
  174. package/templates/meeting/minute.docx +0 -0
  175. 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-SQFKBWTR.js";
32
- import "./chunk-R4PN3OFK.js";
33
- import "./chunk-Q7RXCK2Y.js";
34
- import "./chunk-AZC53XSQ.js";
35
- import "./chunk-KJA7CRES.js";
36
- import "./chunk-WHI6YAUE.js";
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,
@@ -42,7 +42,7 @@ import {
42
42
  toNumber,
43
43
  toPageQuery,
44
44
  toPositiveInt
45
- } from "./chunk-5QUTQHXF.js";
45
+ } from "./chunk-WNFDR5PC.js";
46
46
  import {
47
47
  MANIFEST_LIST_COMPACT_PATHS,
48
48
  manifestView,
@@ -5,9 +5,9 @@ import {
5
5
  meetingEntryOperations,
6
6
  readEntryChoice,
7
7
  verifyEntryToken
8
- } from "./chunk-NZQRW4KL.js";
9
- import "./chunk-KJA7CRES.js";
10
- import "./chunk-WHI6YAUE.js";
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-KJA7CRES.js";
10
- import "./chunk-WHI6YAUE.js";
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";
@@ -12,7 +12,7 @@ import {
12
12
  requireConfirm,
13
13
  verifyLease,
14
14
  writeBody
15
- } from "./chunk-WHI6YAUE.js";
15
+ } from "./chunk-UZ2E3VNI.js";
16
16
  import "./chunk-7BDPM5ST.js";
17
17
  import "./chunk-UG5G54VL.js";
18
18
  import "./chunk-BUSC6UAE.js";
@@ -6,9 +6,9 @@ import {
6
6
  ensureMeetingGroupChat,
7
7
  meetingEbGroupChatOperations,
8
8
  savePendingForm
9
- } from "./chunk-H6N6U2D6.js";
10
- import "./chunk-KJA7CRES.js";
11
- import "./chunk-WHI6YAUE.js";
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-L5SCNJKX.js";
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-SU6IJD6D.js";
19
- import "./chunk-OJ4JPD25.js";
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-MS7MKBGJ.js";
7
- import "./chunk-T7HVQ2WP.js";
6
+ } from "./chunk-BP7BONZO.js";
7
+ import "./chunk-E2EY3DMS.js";
8
+ import "./chunk-IBTGXLOT.js";
8
9
  import "./chunk-WMRNO6IU.js";
9
- import "./chunk-H6N6U2D6.js";
10
- import "./chunk-NZQRW4KL.js";
11
- import "./chunk-WJQJ7YEX.js";
12
- import "./chunk-SQFKBWTR.js";
13
- import "./chunk-R4PN3OFK.js";
14
- import "./chunk-Q7RXCK2Y.js";
15
- import "./chunk-AZC53XSQ.js";
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-KJA7CRES.js";
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-WHI6YAUE.js";
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) throw meetingValidationError("continuation_invalid", "continuation \u7B7E\u540D\u6821\u9A8C\u5931\u8D25");
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: "\u67E5\u8BE2\u4E8B\u4E95\u7136\u5E94\u7528\u7248\u672C\u5E76\u5224\u65AD\u662F\u5426\u6EE1\u8DB3 20.6.11\uFF1B\u4EC5\u7528\u4E8E\u5F02\u5E38\u8BCA\u65AD\u6216\u7528\u6237\u4E3B\u52A8\u8BE2\u95EE",
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
- const appId = args.appId ? String(args.appId) : await getAppId(host);
910
- const response = await host.request({
911
- method: "GET",
912
- path: "/api/installer/public/querySpAppVersionInfo",
913
- query: { appId },
914
- operation: "project.version.check"
915
- });
916
- assertWeaverSuccess(response, "project.version.check");
917
- const version = String(response?.data?.commitVersion ?? "");
918
- if (!version) throw new Error("\u63A5\u53E3\u672A\u8FD4\u56DE\u5E94\u7528\u7248\u672C");
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
- version,
922
- minimumVersion: MIN_VERSION.join("."),
923
- supported: versionAtLeast(version)
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
  },