weaver-work-cli 0.1.1 → 0.1.4

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 (351) hide show
  1. package/README.md +187 -76
  2. package/dist/cmd/setup/index.js +5 -5
  3. package/dist/cmd/skills/index.js +1 -1
  4. package/dist/core/hooks.js +7 -0
  5. package/dist/index.js +0 -0
  6. package/dist/internal/e10/auth/commands.js +160 -55
  7. package/dist/internal/e10/auth/crypto.js +7 -22
  8. package/dist/internal/e10/auth/session.js +1 -1
  9. package/dist/internal/e10/auth/xiaoe.js +268 -0
  10. package/dist/internal/e10/context.js +16 -2
  11. package/dist/internal/e10/index.js +1 -0
  12. package/dist/internal/e10/request-runtime.js +344 -0
  13. package/dist/internal/skills/install.js +48 -6
  14. package/dist/internal/skills/reader.js +27 -0
  15. package/dist/shortcuts/archive/continuation.js +70 -0
  16. package/dist/shortcuts/archive/errors.js +53 -0
  17. package/dist/shortcuts/archive/host.js +197 -0
  18. package/dist/shortcuts/archive/index.js +363 -0
  19. package/dist/shortcuts/archive/manifest.js +45 -0
  20. package/dist/shortcuts/archive/operations/archive-info.js +55 -0
  21. package/dist/shortcuts/archive/operations/borrow-car.js +146 -0
  22. package/dist/shortcuts/archive/operations/borrow-list.js +200 -0
  23. package/dist/shortcuts/archive/operations/confirm.js +46 -0
  24. package/dist/shortcuts/archive/operations/download.js +238 -0
  25. package/dist/shortcuts/archive/operations/flow-url.js +240 -0
  26. package/dist/shortcuts/archive/operations/fonds.js +95 -0
  27. package/dist/shortcuts/archive/operations/getPageUrl.js +137 -0
  28. package/dist/shortcuts/archive/operations/registry.js +43 -0
  29. package/dist/shortcuts/archive/operations/search.js +88 -0
  30. package/dist/shortcuts/archive/operations/shared.js +120 -0
  31. package/dist/shortcuts/archive/operations/types.js +23 -0
  32. package/dist/shortcuts/archive/operations/upload.js +182 -0
  33. package/dist/shortcuts/archive/operations.js +13 -0
  34. package/dist/shortcuts/archive/render/search-format.js +276 -0
  35. package/dist/shortcuts/archive/render/search-view.js +125 -0
  36. package/dist/shortcuts/asset/continuation.js +70 -0
  37. package/dist/shortcuts/asset/errors.js +67 -0
  38. package/dist/shortcuts/asset/host.js +438 -0
  39. package/dist/shortcuts/asset/index.js +255 -0
  40. package/dist/shortcuts/asset/manifest.js +471 -0
  41. package/dist/shortcuts/asset/operations/query.js +249 -0
  42. package/dist/shortcuts/asset/operations/registry.js +85 -0
  43. package/dist/shortcuts/asset/operations/shared.js +100 -0
  44. package/dist/shortcuts/asset/operations/type-cache.js +49 -0
  45. package/dist/shortcuts/asset/operations/types.js +1 -0
  46. package/dist/shortcuts/asset/operations/viewlink.js +117 -0
  47. package/dist/shortcuts/asset/operations/write.js +435 -0
  48. package/dist/shortcuts/asset/operations.js +9 -0
  49. package/dist/shortcuts/calendar/continuation.js +70 -0
  50. package/dist/shortcuts/calendar/errors.js +53 -0
  51. package/dist/shortcuts/calendar/host.js +148 -0
  52. package/dist/shortcuts/calendar/index.js +125 -0
  53. package/dist/shortcuts/calendar/manifest.js +26 -0
  54. package/dist/shortcuts/calendar/operations/read.js +259 -0
  55. package/dist/shortcuts/calendar/operations/registry.js +31 -0
  56. package/dist/shortcuts/calendar/operations/shared.js +132 -0
  57. package/dist/shortcuts/calendar/operations/types.js +25 -0
  58. package/dist/shortcuts/calendar/operations/write.js +439 -0
  59. package/dist/shortcuts/calendar/operations.js +8 -0
  60. package/dist/shortcuts/ehr/continuation.js +70 -0
  61. package/dist/shortcuts/ehr/errors.js +53 -0
  62. package/dist/shortcuts/ehr/host.js +213 -0
  63. package/dist/shortcuts/ehr/index.js +205 -0
  64. package/dist/shortcuts/ehr/manifest.js +47 -0
  65. package/dist/shortcuts/ehr/operations/attend-read.js +373 -0
  66. package/dist/shortcuts/ehr/operations/attend-write.js +514 -0
  67. package/dist/shortcuts/ehr/operations/hr-contact.js +363 -0
  68. package/dist/shortcuts/ehr/operations/hr-ds.js +298 -0
  69. package/dist/shortcuts/ehr/operations/hr-report.js +386 -0
  70. package/dist/shortcuts/ehr/operations/recruit-write.js +1629 -0
  71. package/dist/shortcuts/ehr/operations/recruit.js +803 -0
  72. package/dist/shortcuts/ehr/operations/registry.js +43 -0
  73. package/dist/shortcuts/ehr/operations/salary.js +319 -0
  74. package/dist/shortcuts/ehr/operations/shared.js +246 -0
  75. package/dist/shortcuts/ehr/operations/types.js +25 -0
  76. package/dist/shortcuts/ehr/operations.js +25 -0
  77. package/dist/shortcuts/esb/continuation.js +70 -0
  78. package/dist/shortcuts/esb/errors.js +65 -0
  79. package/dist/shortcuts/esb/host.js +187 -0
  80. package/dist/shortcuts/esb/index.js +112 -0
  81. package/dist/shortcuts/esb/manifest.js +91 -0
  82. package/dist/shortcuts/esb/operations/input-format.js +31 -0
  83. package/dist/shortcuts/esb/operations/registry.js +48 -0
  84. package/dist/shortcuts/esb/operations/shared.js +152 -0
  85. package/dist/shortcuts/esb/operations/trigger.js +76 -0
  86. package/dist/shortcuts/esb/operations/types.js +21 -0
  87. package/dist/shortcuts/esb/operations.js +15 -0
  88. package/dist/shortcuts/fna/continuation.js +70 -0
  89. package/dist/shortcuts/fna/errors.js +59 -0
  90. package/dist/shortcuts/fna/host.js +146 -0
  91. package/dist/shortcuts/fna/index.js +111 -0
  92. package/dist/shortcuts/fna/manifest.js +41 -0
  93. package/dist/shortcuts/fna/operations/budget.js +124 -0
  94. package/dist/shortcuts/fna/operations/expense-center.js +148 -0
  95. package/dist/shortcuts/fna/operations/invoice-writeoff.js +212 -0
  96. package/dist/shortcuts/fna/operations/loan.js +195 -0
  97. package/dist/shortcuts/fna/operations/registry.js +35 -0
  98. package/dist/shortcuts/fna/operations/shared.js +210 -0
  99. package/dist/shortcuts/fna/operations/types.js +25 -0
  100. package/dist/shortcuts/fna/operations.js +19 -0
  101. package/dist/shortcuts/hrm/errors.js +38 -0
  102. package/dist/shortcuts/hrm/host.js +156 -0
  103. package/dist/shortcuts/hrm/index.js +111 -0
  104. package/dist/shortcuts/hrm/manifest.js +32 -0
  105. package/dist/shortcuts/hrm/operations/employee.js +338 -0
  106. package/dist/shortcuts/hrm/operations/org.js +110 -0
  107. package/dist/shortcuts/hrm/operations/position.js +176 -0
  108. package/dist/shortcuts/hrm/operations/registry.js +33 -0
  109. package/dist/shortcuts/hrm/operations/shared.js +143 -0
  110. package/dist/shortcuts/hrm/operations/types.js +23 -0
  111. package/dist/shortcuts/hrm/operations.js +19 -0
  112. package/dist/shortcuts/index.js +20 -0
  113. package/dist/shortcuts/invoice/host.js +99 -94
  114. package/dist/shortcuts/invoice/index.js +65 -61
  115. package/dist/shortcuts/invoice/manifest.js +222 -14
  116. package/dist/shortcuts/invoice/operations/browse-field.js +17 -0
  117. package/dist/shortcuts/invoice/operations/issuing.js +198 -0
  118. package/dist/shortcuts/invoice/operations/ocr-preview.js +6 -3
  119. package/dist/shortcuts/invoice/operations/registry.js +17 -0
  120. package/dist/shortcuts/invoice/operations/reim.js +401 -0
  121. package/dist/shortcuts/invoice/operations/shared.js +271 -6
  122. package/dist/shortcuts/invoice/operations/validate-preview.js +1 -1
  123. package/dist/shortcuts/jiuchuanhui/cache.js +441 -0
  124. package/dist/shortcuts/jiuchuanhui/continuation.js +70 -0
  125. package/dist/shortcuts/jiuchuanhui/errors.js +59 -0
  126. package/dist/shortcuts/jiuchuanhui/host.js +159 -0
  127. package/dist/shortcuts/jiuchuanhui/index.js +109 -0
  128. package/dist/shortcuts/jiuchuanhui/manifest.js +469 -0
  129. package/dist/shortcuts/jiuchuanhui/operations/datajson.js +214 -0
  130. package/dist/shortcuts/jiuchuanhui/operations/esb.js +157 -0
  131. package/dist/shortcuts/jiuchuanhui/operations/generic.js +146 -0
  132. package/dist/shortcuts/jiuchuanhui/operations/registry.js +133 -0
  133. package/dist/shortcuts/jiuchuanhui/operations/shared.js +158 -0
  134. package/dist/shortcuts/jiuchuanhui/operations/types.js +1 -0
  135. package/dist/shortcuts/jiuchuanhui/operations.js +8 -0
  136. package/dist/shortcuts/mail/continuation.js +70 -0
  137. package/dist/shortcuts/mail/errors.js +53 -0
  138. package/dist/shortcuts/mail/host.js +182 -0
  139. package/dist/shortcuts/mail/index.js +519 -0
  140. package/dist/shortcuts/mail/manifest.js +38 -0
  141. package/dist/shortcuts/mail/operations/mail-blacklist.js +79 -0
  142. package/dist/shortcuts/mail/operations/mail-contacts.js +195 -0
  143. package/dist/shortcuts/mail/operations/mail-manage.js +335 -0
  144. package/dist/shortcuts/mail/operations/mail-read.js +508 -0
  145. package/dist/shortcuts/mail/operations/mail-send.js +474 -0
  146. package/dist/shortcuts/mail/operations/mail-sign.js +203 -0
  147. package/dist/shortcuts/mail/operations/mail-template.js +170 -0
  148. package/dist/shortcuts/mail/operations/registry.js +41 -0
  149. package/dist/shortcuts/mail/operations/shared.js +64 -0
  150. package/dist/shortcuts/mail/operations/types.js +27 -0
  151. package/dist/shortcuts/mail/operations.js +19 -0
  152. package/dist/shortcuts/plan/continuation.js +70 -0
  153. package/dist/shortcuts/plan/errors.js +70 -0
  154. package/dist/shortcuts/plan/host.js +180 -0
  155. package/dist/shortcuts/plan/index.js +150 -0
  156. package/dist/shortcuts/plan/manifest.js +53 -0
  157. package/dist/shortcuts/plan/operations/link.js +256 -0
  158. package/dist/shortcuts/plan/operations/read.js +259 -0
  159. package/dist/shortcuts/plan/operations/registry.js +33 -0
  160. package/dist/shortcuts/plan/operations/shared.js +246 -0
  161. package/dist/shortcuts/plan/operations/types.js +49 -0
  162. package/dist/shortcuts/plan/operations/version.js +49 -0
  163. package/dist/shortcuts/plan/operations/write.js +710 -0
  164. package/dist/shortcuts/plan/operations.js +8 -0
  165. package/docs/SKILL.md +11 -7
  166. package/docs/_catalog.md +23 -5
  167. package/docs/agent-invoice.md +31 -10
  168. package/docs/agent-skill-install.md +211 -0
  169. package/docs/calendar.md +87 -0
  170. package/docs/e10-auth.md +28 -9
  171. package/docs/ehr.md +186 -0
  172. package/docs/esb.md +64 -0
  173. package/docs/fna.md +72 -0
  174. package/docs/hrm.md +89 -0
  175. package/docs/invoice.md +66 -20
  176. package/docs/jiuchuanhui.md +131 -0
  177. package/docs/operation-manual.md +443 -0
  178. package/docs/plan.md +82 -0
  179. package/docs/wenshuding.md +129 -0
  180. package/docs/ziguanjia.md +89 -0
  181. package/package.json +4 -4
  182. package/scripts/package-skill.mjs +127 -34
  183. package/scripts/postbuild.mjs +13 -0
  184. package/skill-template/business-info.json +13 -2
  185. package/skill-template/domains/calendar.md +15 -0
  186. package/skill-template/domains/esb.md +13 -0
  187. package/skill-template/domains/hrm.md +16 -0
  188. package/skill-template/domains/jiuchuanhui.md +23 -0
  189. package/skill-template/domains/jucailin.md +22 -0
  190. package/skill-template/domains/mail.md +21 -0
  191. package/skill-template/domains/plan.md +17 -0
  192. package/skill-template/domains/qiyecheng.md +17 -0
  193. package/skill-template/domains/shared.md +9 -3
  194. package/skill-template/domains/skill-maker.md +10 -0
  195. package/skill-template/domains/wenshuding.md +22 -0
  196. package/skill-template/domains/{invoice.md → yepiaotong.md} +4 -0
  197. package/skill-template/domains/ziguanjia.md +21 -0
  198. package/skill-template/master-skill-template.md +12 -6
  199. package/skill-template/skill-template.md +40 -9
  200. package/skills/weaver-e10-calendar/SKILL.md +101 -0
  201. package/skills/weaver-e10-calendar/product.json +8 -0
  202. package/skills/weaver-e10-calendar/references/calendar-app-check.md +65 -0
  203. package/skills/weaver-e10-calendar/references/calendar-dict.md +55 -0
  204. package/skills/weaver-e10-calendar/references/calendar-query.md +70 -0
  205. package/skills/weaver-e10-calendar/references/calendar-write.md +97 -0
  206. package/skills/weaver-e10-calendar/references/source-manifest.json +54 -0
  207. package/skills/weaver-e10-esb/SKILL.md +102 -0
  208. package/skills/weaver-e10-esb/product.json +8 -0
  209. package/skills/weaver-e10-esb/references/input-format.md +52 -0
  210. package/skills/weaver-e10-esb/references/source-manifest.json +242 -0
  211. package/skills/weaver-e10-esb/references/trigger.md +99 -0
  212. package/skills/weaver-e10-hrm/SKILL.md +87 -0
  213. package/skills/weaver-e10-hrm/product.json +8 -0
  214. package/skills/weaver-e10-hrm/references/employee.md +109 -0
  215. package/skills/weaver-e10-hrm/references/org.md +95 -0
  216. package/skills/weaver-e10-hrm/references/position.md +95 -0
  217. package/skills/weaver-e10-hrm/references/source-manifest.json +121 -0
  218. package/skills/weaver-e10-jiuchuanhui/SKILL.md +174 -0
  219. package/skills/weaver-e10-jiuchuanhui/product.json +8 -0
  220. package/skills/weaver-e10-jiuchuanhui/references/cache.md +110 -0
  221. package/skills/weaver-e10-jiuchuanhui/references/clue.md +61 -0
  222. package/skills/weaver-e10-jiuchuanhui/references/contact-plan.md +56 -0
  223. package/skills/weaver-e10-jiuchuanhui/references/contact-records.md +48 -0
  224. package/skills/weaver-e10-jiuchuanhui/references/contact.md +56 -0
  225. package/skills/weaver-e10-jiuchuanhui/references/customer.md +69 -0
  226. package/skills/weaver-e10-jiuchuanhui/references/disabled-capabilities.md +24 -0
  227. package/skills/weaver-e10-jiuchuanhui/references/discovery-config.md +60 -0
  228. package/skills/weaver-e10-jiuchuanhui/references/general-helpers.md +59 -0
  229. package/skills/weaver-e10-jiuchuanhui/references/jiuchuanhui-entry.md +60 -0
  230. package/skills/weaver-e10-jiuchuanhui/references/sale.md +72 -0
  231. package/skills/weaver-e10-jiuchuanhui/references/source-manifest.json +2632 -0
  232. package/skills/weaver-e10-jucailin/SKILL.md +101 -0
  233. package/skills/weaver-e10-jucailin/product.json +8 -0
  234. package/skills/weaver-e10-jucailin/references/attend-read.md +73 -0
  235. package/skills/weaver-e10-jucailin/references/attend-write.md +82 -0
  236. package/skills/weaver-e10-jucailin/references/hr-contact.md +92 -0
  237. package/skills/weaver-e10-jucailin/references/hr-datasource.md +104 -0
  238. package/skills/weaver-e10-jucailin/references/hr-report.md +76 -0
  239. package/skills/weaver-e10-jucailin/references/recruit-read.md +76 -0
  240. package/skills/weaver-e10-jucailin/references/recruit-write.md +70 -0
  241. package/skills/weaver-e10-jucailin/references/safety-boundaries.md +35 -0
  242. package/skills/weaver-e10-jucailin/references/salary.md +110 -0
  243. package/skills/weaver-e10-jucailin/references/source-manifest.json +152 -0
  244. package/skills/weaver-e10-mail/SKILL.md +151 -0
  245. package/skills/weaver-e10-mail/product.json +8 -0
  246. package/skills/weaver-e10-mail/references/mail-agent-entry.md +47 -0
  247. package/skills/weaver-e10-mail/references/mail-attachment.md +30 -0
  248. package/skills/weaver-e10-mail/references/mail-blacklist.md +27 -0
  249. package/skills/weaver-e10-mail/references/mail-contacts.md +33 -0
  250. package/skills/weaver-e10-mail/references/mail-manage.md +44 -0
  251. package/skills/weaver-e10-mail/references/mail-read.md +76 -0
  252. package/skills/weaver-e10-mail/references/mail-send.md +43 -0
  253. package/skills/weaver-e10-mail/references/mail-sign.md +33 -0
  254. package/skills/weaver-e10-mail/references/mail-template.md +31 -0
  255. package/skills/weaver-e10-mail/references/safety-boundaries.md +32 -0
  256. package/skills/weaver-e10-plan/SKILL.md +139 -0
  257. package/skills/weaver-e10-plan/product.json +8 -0
  258. package/skills/weaver-e10-plan/references/plan-collect-and-compose.md +123 -0
  259. package/skills/weaver-e10-plan/references/plan-overview-and-routing.md +138 -0
  260. package/skills/weaver-e10-plan/references/plan-report-query.md +154 -0
  261. package/skills/weaver-e10-plan/references/plan-report-remind.md +104 -0
  262. package/skills/weaver-e10-plan/references/plan-report-write.md +162 -0
  263. package/skills/weaver-e10-plan/references/source-manifest.json +858 -0
  264. package/skills/weaver-e10-qiyecheng/SKILL.md +118 -0
  265. package/skills/weaver-e10-qiyecheng/product.json +8 -0
  266. package/skills/weaver-e10-qiyecheng/references/budget.md +65 -0
  267. package/skills/weaver-e10-qiyecheng/references/catalog.md +56 -0
  268. package/skills/weaver-e10-qiyecheng/references/expense-center.md +51 -0
  269. package/skills/weaver-e10-qiyecheng/references/invoice-writeoff.md +57 -0
  270. package/skills/weaver-e10-qiyecheng/references/loan-management.md +59 -0
  271. package/skills/weaver-e10-qiyecheng/references/source-manifest.json +698 -0
  272. package/skills/weaver-e10-shared/SKILL.md +86 -0
  273. package/skills/weaver-e10-shared/references/e10-auth-and-session.md +127 -0
  274. package/skills/weaver-e10-shared/references/json-output-contract.md +120 -0
  275. package/skills/weaver-e10-shared/references/weaver-e10-installation.md +110 -0
  276. package/skills/weaver-e10-skill-maker/SKILL.md +77 -0
  277. package/skills/weaver-e10-skill-maker/product.json +8 -0
  278. package/skills/weaver-e10-skill-maker/references/business-skill-generation.md +124 -0
  279. package/skills/weaver-e10-skill-maker/references/detector-validation.md +101 -0
  280. package/skills/weaver-e10-skill-maker/references/module-cli-generation.md +230 -0
  281. package/skills/weaver-e10-skill-maker/references/post-generation-install.md +105 -0
  282. package/skills/weaver-e10-skill-maker/references/source-update-detection.md +261 -0
  283. package/skills/weaver-e10-skill-maker/references/weaver-skill-style.md +141 -0
  284. package/skills/weaver-e10-wenshuding/SKILL.md +157 -0
  285. package/skills/weaver-e10-wenshuding/product.json +8 -0
  286. package/skills/weaver-e10-wenshuding/references/archive-agent-entry.md +63 -0
  287. package/skills/weaver-e10-wenshuding/references/archive-borrow-car.md +52 -0
  288. package/skills/weaver-e10-wenshuding/references/archive-borrow-list.md +52 -0
  289. package/skills/weaver-e10-wenshuding/references/archive-disabled-capabilities.md +22 -0
  290. package/skills/weaver-e10-wenshuding/references/archive-download.md +48 -0
  291. package/skills/weaver-e10-wenshuding/references/archive-flow.md +46 -0
  292. package/skills/weaver-e10-wenshuding/references/archive-fonds.md +34 -0
  293. package/skills/weaver-e10-wenshuding/references/archive-info.md +33 -0
  294. package/skills/weaver-e10-wenshuding/references/archive-search.md +52 -0
  295. package/skills/weaver-e10-wenshuding/references/archive-upload.md +41 -0
  296. package/skills/weaver-e10-wenshuding/references/source-manifest.json +517 -0
  297. package/skills/weaver-e10-yepiaotong/SKILL.md +184 -0
  298. package/skills/{weaver-work-cli-invoice → weaver-e10-yepiaotong}/references/invoice-add.md +1 -1
  299. package/skills/weaver-e10-yepiaotong/references/invoice-agent-entry.md +47 -0
  300. package/skills/weaver-e10-yepiaotong/references/invoice-browse-field-data.md +204 -0
  301. package/skills/{weaver-work-cli-invoice → weaver-e10-yepiaotong}/references/invoice-delete.md +1 -1
  302. package/skills/{weaver-work-cli-invoice → weaver-e10-yepiaotong}/references/invoice-detail.md +13 -5
  303. package/skills/weaver-e10-yepiaotong/references/invoice-disabled-capabilities.md +28 -0
  304. package/skills/weaver-e10-yepiaotong/references/invoice-download.md +31 -0
  305. package/skills/weaver-e10-yepiaotong/references/invoice-enterprise-list.md +45 -0
  306. package/skills/{weaver-work-cli-invoice → weaver-e10-yepiaotong}/references/invoice-file-upload.md +15 -4
  307. package/skills/weaver-e10-yepiaotong/references/invoice-import.md +45 -0
  308. package/skills/weaver-e10-yepiaotong/references/invoice-issuing-examples.md +120 -0
  309. package/skills/weaver-e10-yepiaotong/references/invoice-issuing-field-rules.md +161 -0
  310. package/skills/weaver-e10-yepiaotong/references/invoice-issuing.md +99 -0
  311. package/skills/{weaver-work-cli-invoice → weaver-e10-yepiaotong}/references/invoice-ocr-preview.md +14 -4
  312. package/skills/weaver-e10-yepiaotong/references/invoice-personal-list.md +58 -0
  313. package/skills/weaver-e10-yepiaotong/references/invoice-red.md +261 -0
  314. package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +97 -0
  315. package/skills/{weaver-work-cli-invoice → weaver-e10-yepiaotong}/references/invoice-update.md +1 -1
  316. package/skills/{weaver-work-cli-invoice → weaver-e10-yepiaotong}/references/invoice-validation-preview.md +10 -3
  317. package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +1340 -0
  318. package/skills/weaver-e10-yepiaotong/references/reim-examples.md +845 -0
  319. package/skills/weaver-e10-yepiaotong/references/reim-expense-subject-rules.md +94 -0
  320. package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +449 -0
  321. package/skills/weaver-e10-yepiaotong/references/reim-matching-rules.md +266 -0
  322. package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +494 -0
  323. package/skills/weaver-e10-yepiaotong/references/source-manifest.json +1103 -0
  324. package/skills/weaver-e10-ziguanjia/SKILL.md +162 -0
  325. package/skills/weaver-e10-ziguanjia/product.json +8 -0
  326. package/skills/weaver-e10-ziguanjia/references/source-manifest.json +147 -0
  327. package/skills/weaver-e10-ziguanjia/references/ziguanjia-agent-entry.md +65 -0
  328. package/skills/weaver-e10-ziguanjia/references/ziguanjia-create.md +45 -0
  329. package/skills/weaver-e10-ziguanjia/references/ziguanjia-depre.md +48 -0
  330. package/skills/weaver-e10-ziguanjia/references/ziguanjia-disabled-capabilities.md +22 -0
  331. package/skills/weaver-e10-ziguanjia/references/ziguanjia-purch.md +57 -0
  332. package/skills/weaver-e10-ziguanjia/references/ziguanjia-query.md +62 -0
  333. package/skills/weaver-e10-ziguanjia/references/ziguanjia-repair.md +83 -0
  334. package/skills/weaver-e10-ziguanjia/references/ziguanjia-resolve.md +49 -0
  335. package/skills/weaver-e10-ziguanjia/references/ziguanjia-return.md +70 -0
  336. package/skills/weaver-e10-ziguanjia/references/ziguanjia-update.md +45 -0
  337. package/skills/weaver-e10-ziguanjia/references/ziguanjia-use.md +60 -0
  338. package/skills/weaver-e10-ziguanjia/references/ziguanjia-viewlink.md +81 -0
  339. package/skills/weaver-work-cli-invoice/SKILL.md +0 -103
  340. package/skills/weaver-work-cli-invoice/references/invoice-agent-entry.md +0 -38
  341. package/skills/weaver-work-cli-invoice/references/invoice-disabled-capabilities.md +0 -26
  342. package/skills/weaver-work-cli-invoice/references/invoice-download.md +0 -22
  343. package/skills/weaver-work-cli-invoice/references/invoice-enterprise-list.md +0 -35
  344. package/skills/weaver-work-cli-invoice/references/invoice-import.md +0 -28
  345. package/skills/weaver-work-cli-invoice/references/invoice-personal-list.md +0 -47
  346. package/skills/weaver-work-cli-shared/SKILL.md +0 -53
  347. package/skills/weaver-work-cli-shared/references/e10-auth-and-session.md +0 -83
  348. package/skills/weaver-work-cli-shared/references/json-output-contract.md +0 -61
  349. package/skills/weaver-work-cli-shared/references/weaver-work-cli-installation.md +0 -61
  350. /package/skills/{weaver-work-cli-shared → weaver-e10-shared}/references/high-risk-write.md +0 -0
  351. /package/skills/{weaver-work-cli-invoice → weaver-e10-yepiaotong}/product.json +0 -0
@@ -0,0 +1,24 @@
1
+ # 禁用能力边界(disabled-capabilities)
2
+
3
+ ## 何时使用
4
+
5
+ 用户表达九氚汇相关意图,但目标能力不在 `weaver-work-cli jiuchuanhui schema` 中,或源资料给出了接口但尚未安全封装为 CLI operation 时。
6
+
7
+ ## 未暴露为 CLI operation 的能力
8
+
9
+ | 能力 | 原因 | 处理方式 |
10
+ |---|---|---|
11
+ | `jiuchuanhui.sale.stage-advance`(商机阶段推进) | 依赖缓存 `sale_stage` 配置做阶段 ID 映射与前置校验,属于 Skill 编排层职责 | 用 `sale.update` + `sale.stage.search` 组合实现;先查阶段选项,再按目标阶段映射 ID 走 `sale.update.prepare/apply` |
12
+ | `jiuchuanhui.ds.fields`(表单字段发现) | 接口 `/api/ebuilder/common/ds/fields` 在当前 E10 版本返回 HTTP 400,无法使用 | 字段信息通过缓存初始化(`cache.init`)获取,不依赖此接口 |
13
+
14
+ ## 处理规则
15
+
16
+ - 禁止绕过 CLI 直接 curl、fetch、浏览器自动化或拼 E10 原始接口。
17
+ - 禁止加载原始 `weaver-e10-jiuchuanhui` 源 Skill 代替 CLI;禁止直接运行源目录 `scripts/*.mjs`。
18
+ - 禁止读取或复制 CLI runtime 内部 Token、Cookie、ETEAMSID。
19
+ - 源资料中有、但 CLI 未暴露的接口,先按 `weaver-e10-skill-maker` 流程评估是否补 operation;在补齐之前明确告知用户该能力暂不可用。
20
+
21
+ ## 注意
22
+
23
+ - 缓存文件 `~/.weaver-e10-jiuchuanhui/{tenantKey}/{userId}/` 是 Agent 本地状态,不随 Skill 打包、不入库。
24
+ - 不要编造不存在的 operation 或字段。
@@ -0,0 +1,60 @@
1
+ # 发现与配置(discovery-config)
2
+
3
+ ## 何时使用
4
+
5
+ 用户表达缓存/配置相关意图:初始化或刷新九氚汇配置缓存、应用发现、表单发现、字段发现、字段选项、接口配置详情、接口标识转配置 ID、文件预览。
6
+
7
+ ## 可用 operation
8
+
9
+ | Operation | 风险 | 输入要点 |
10
+ |---|---|---|
11
+ | `jiuchuanhui.app.discovery` | 只读 | `tag`(默认 `jch-crm-project`) |
12
+ | `jiuchuanhui.form.discovery` | 只读 | `tag`、`appId` |
13
+ | `jiuchuanhui.field.options` | 只读 | `fieldName`、`sourceType`(必填,值为 `FORM`);可选 `objId`、`groupId`(可省略自动发现,`groupId` 来自 `app.discovery` tag=`jch-crm-project`) |
14
+ | `jiuchuanhui.rest.cfg.detail` | 只读 | `apid`、`id`(cfgId) |
15
+ | `jiuchuanhui.config.id.by.pk` | 只读 | `mainTable.interface_pk` |
16
+ | `jiuchuanhui.file.preview` | 只读(文件预览) | `fileId` 必填,可选 `fieldId`/`appId`/`customParam` |
17
+ | `jiuchuanhui.get-rest-cfg-detail` | 只读 | `apid`、`id`(cfgId) |
18
+
19
+ ## 输入要点
20
+
21
+ - 九氚汇配置缓存放 `~/.weaver-e10-jiuchuanhui/{tenantKey}/{userId}/`:主缓存 `weaver-e10-jiuchuanhui.json`(`discovery`/`ebuilder`/`options`/`region`),接口配置 `config/{pk}.json`。
22
+ - 创建/更新类接口读 `config/{pk}.json.detail` 的 `mainFields`/`detailFields`;搜索类读 `searchParams`;选项字段优先读字段 `optionList`。
23
+ - 缓存缺失或用户要求刷新时,调用 CLI operation `jiuchuanhui.cache.init`(应用发现 -> objId -> 版本校验 >= 1.5.11 -> cfgId -> 接口配置 -> 关联数据 -> 字段选项 -> 搜索参数 -> 行政区划),再继续业务调用。缓存初始化和刷新**已暴露为 CLI operation `jiuchuanhui.cache.init`**(risk: local-file-write,无需 prepare/apply 确认链);也可在仓库根运行 `node src/shortcuts/jiuchuanhui/scripts/cache-init.mjs`(薄包装)。
24
+ - 文件预览:`fileId` 为必填;涉及本地文件/远程 URL 解析时先提醒用户文件内容可能进入大模型上下文或发送到文件服务。
25
+ - `file.preview` 返回的 `loadUrl`/`previewLink` 带临时签名(约 7 天),过期需重新调用获取,不要硬编码或长期缓存下载地址;附件 ID 从表单数据字段获取,字段无附件时返回空数组,无需调用本接口。
26
+
27
+ ## 命令
28
+
29
+ Windows PowerShell:
30
+
31
+ ```powershell
32
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.app.discovery --input-json '{"tag":"jch-crm-project"}'
33
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.form.discovery --input-json '{"tag":"uf_jch_customer","appId":"APP_ID"}'
34
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.field.options --input-json '{"fieldName":"FIELD_ID","sourceType":"FORM","objId":"OBJ_ID","groupId":"APP_ID"}'
35
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.file.preview --input-json '{"fileId":"FILE_ID"}'
36
+ ```
37
+
38
+ macOS/Linux(bash/zsh):
39
+
40
+ ```bash
41
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.app.discovery --input-json '{"tag":"jch-crm-project"}'
42
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.form.discovery --input-json '{"tag":"uf_jch_customer","appId":"APP_ID"}'
43
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.field.options --input-json '{"fieldName":"FIELD_ID","sourceType":"FORM","objId":"OBJ_ID","groupId":"APP_ID"}'
44
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.file.preview --input-json '{"fileId":"FILE_ID"}'
45
+ ```
46
+
47
+ ## 输出处理
48
+
49
+ - `app.discovery` 返回 `data[0].appId`;`form.discovery` 优先取 `formId` 非空且非 `"0"` 的记录 `id` 为 `objId`;`field.options` 返回选项数组 `{lable, lableTitle, value}`。
50
+
51
+ ## 注意
52
+
53
+ - 选项字段必须先取选项 ID 再传值(Select/RadioBox/CheckBox 传 `value`,不传 `lable` 中文名)。
54
+ - `field.options` 的 `fieldName` 参数实际传字段元数据 ID(fieldid,纯数字),**不是** `data_key` 名称。传错会返回空数组。
55
+ - `rest.cfg.detail` 与 `get-rest-cfg-detail` 都用于读取接口配置详情,Agent 按上下文选一个即可,不需要两个都调。
56
+
57
+ ## 失败处理
58
+
59
+ - 版本校验 < `1.5.11`:停止业务调用并告知用户。
60
+ - 缓存缺失:先执行初始化/单项刷新,再重试业务调用。
@@ -0,0 +1,59 @@
1
+ # 通用辅助(general-helpers)
2
+
3
+ ## 何时使用
4
+
5
+ 用户表达辅助解析意图:按名称查事项 ID、按姓名查人员 ID、查询当前人员信息、校验事项权限、查询企业工商照面、按字段 ID 获取字段信息、自定义浏览字段选项查询。
6
+
7
+ ## 可用 operation
8
+
9
+ | Operation | 风险 | 输入要点 |
10
+ |---|---|---|
11
+ | `jiuchuanhui.entity.id.by-name` | 只读 | `mainTable`: `{moduleType, name}` |
12
+ | `jiuchuanhui.user.id.by-name` | 只读 | `mainTable.employeeName` |
13
+ | `jiuchuanhui.user.current-profile` | 只读 | 无入参;每轮会话优先取一次并复用 |
14
+ | `jiuchuanhui.entity.permission.judge` | 只读 | `mainTable`: `{moduleType, entityId, opType}` |
15
+ | `jiuchuanhui.company.business-profile.query` | 只读 | `mainTable.companyName` |
16
+ | `jiuchuanhui.field.info.by-ids` | 只读 | `mainTable.fieldids` |
17
+ | `jiuchuanhui.browser-option.search` | 只读 | `pathParams.customBrowserType` 必填,`params.searchValue` 可选 |
18
+
19
+ ## 输入要点
20
+
21
+ - `moduleType`:模块类型(如 `customer`/`sale`/`clue`/`contact` 等),`name` 为事项名称。
22
+ - 行政区划也走按名称查事项 ID:`moduleType: "administrativeDivision"`、`name` 传城市名;返回全路径 ID,可写缓存。
23
+ - `browser-option.search` 是 RelateBrowser 字段的选项查询入口:用 `customBrowserType` 指定浏览类型,返回自定义浏览选项供选择。需已知 `customBrowserType`(自定义浏览类型标识),通过「通过字段id获取字段信息」接口(`jiuchuanhui.field.info.by-ids`)获取 RelateBrowser 字段定义中的 `browser_type` 作为 `customBrowserType`。 常见类型:`customBrowser_industrybrowser`(行业)。
24
+ - 选项字段(Select/RadioBox/CheckBox)传 ID;`RelateBrowser` 字段通过 `browser-option.search` 查询对应类型选项。
25
+
26
+ ## 命令
27
+
28
+ Windows PowerShell:
29
+
30
+ ```powershell
31
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.user.id.by-name --input-json '{"mainTable":{"employeeName":"魏思雨"}}'
32
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.entity.id.by-name --input-json '{"mainTable":{"moduleType":"customer","name":"示例科技有限公司"}}'
33
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.user.current-profile --input-json '{}'
34
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.browser-option.search --input-json '{"pathParams":{"customBrowserType":"customer_type"},"params":{"searchValue":"科技"}}'
35
+ ```
36
+
37
+ macOS/Linux(bash/zsh):
38
+
39
+ ```bash
40
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.user.id.by-name --input-json '{"mainTable":{"employeeName":"魏思雨"}}'
41
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.entity.id.by-name --input-json '{"mainTable":{"moduleType":"customer","name":"示例科技有限公司"}}'
42
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.user.current-profile --input-json '{}'
43
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.browser-option.search --input-json '{"pathParams":{"customBrowserType":"customer_type"},"params":{"searchValue":"科技"}}'
44
+ ```
45
+
46
+ ## 输出处理
47
+
48
+ - `user.id.by-name` / `entity.id.by-name` 返回业务 ID,供后续写操作或关联使用。
49
+ - `user.current-profile` 返回当前人员 ID,可作为默认 `manager`/负责人/操作人。
50
+
51
+ ## 注意
52
+
53
+ - 查询无结果时说明实际条件并停止,不得放宽条件猜测重试。
54
+ - `entity.permission.judge` 的 `moduleType` 仅确认支持 `customer`(转移)与 `contactPlan`(联系记录);是否支持 `saleChance`/`clue` 等其它类型须以动作流实际返回为准,返回不支持/校验失败时应如实反馈用户,不得臆造支持范围。
55
+ - `field.info.by-ids` 的 `fieldids` 传字段 ID(逗号分隔多个)。
56
+
57
+ ## 失败处理
58
+
59
+ - 参数缺失/不支持:说明具体问题并停止。
@@ -0,0 +1,60 @@
1
+ # 入口:schema 与统一调用方式
2
+
3
+ ## 何时使用
4
+
5
+ 首次接触九氚汇模块、不确定某个 operation 是否存在、需要核对字段与风险等级,或想确认写操作是否走 prepare/apply 时。
6
+
7
+ ## 命令
8
+
9
+ Windows PowerShell:
10
+
11
+ ```powershell
12
+ weaver-work-cli jiuchuanhui schema
13
+ weaver-work-cli --json jiuchuanhui schema
14
+ ```
15
+
16
+ macOS/Linux(bash/zsh):
17
+
18
+ ```bash
19
+ weaver-work-cli jiuchuanhui schema
20
+ weaver-work-cli --json jiuchuanhui schema
21
+ ```
22
+
23
+ ## 输出处理
24
+
25
+ `schema` 输出全部 operation 的 name、risk 和 inputSchema。`weaver-work-cli jiuchuanhui schema` 是 operation、字段和风险等级的合约来源,任何调用都以它为最终依据;references 是第一信息源,`schema` 是契约校验。
26
+
27
+ ## 调用方式
28
+
29
+ 统一入口 `weaver-work-cli --json jiuchuanhui run <operation>`。输入支持两种方式:`--input-json '<json>'` 内联 JSON、`--input <path>` 从文件读取:
30
+
31
+ Windows PowerShell:
32
+
33
+ ```powershell
34
+ # 内联 JSON(复杂/嵌套结构)
35
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.customer.get --input-json '{"id":"100001"}'
36
+ # 从文件读取 JSON
37
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.customer.create.prepare --input .\customer-create.json
38
+ ```
39
+
40
+ macOS/Linux(bash/zsh):
41
+
42
+ ```bash
43
+ # 内联 JSON(复杂/嵌套结构)
44
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.customer.get --input-json '{"id":"100001"}'
45
+ # 从文件读取 JSON
46
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.customer.create.prepare --input ./customer-create.json
47
+ ```
48
+
49
+ 简单 JSON 传 `--input-json '<json>'`;复杂或多行 JSON 先写入 UTF-8 文件再传 `--input <path>`。
50
+
51
+ ## 注意
52
+
53
+ - 业务输入不得包含 Cookie、ETEAMSID、Token 或内部控制字段;CLI 会拒绝这些 key。
54
+ - 写 operation 都带 `.prepare` / `.apply` 后缀;`.apply` 只接受 prepare 返回的 continuation 且 `confirm:true`。
55
+ - 不要在对话中手写 E10 原始接口路径或拼 HTTP 鉴权细节。
56
+
57
+ ## 失败处理
58
+
59
+ - operation 不存在或字段不符:检查 `jiuchuanhui schema`,按合约修正,不猜字段。
60
+ - `authentication`/`session_expired`:按共享规则完成登录后再继续。
@@ -0,0 +1,72 @@
1
+ # 商机管理(sale)
2
+
3
+ ## 何时使用
4
+
5
+ 用户表达商机相关意图:新建商机、商机详情、搜索商机、修改商机、销售阶段/销售过程查询、商机转移/负责人变更、暂停、重启、赢单、输单、无效、关联联系人、商机联系记录、对手/友商查询、输单原因查询。
6
+
7
+ ## 可用 operation
8
+
9
+ | Operation | 风险 | 输入要点 |
10
+ |---|---|---|
11
+ | `jiuchuanhui.sale.create.prepare/apply` | 高风险写 | `form`: `{mainTable, detail1?, ...}` |
12
+ | `jiuchuanhui.sale.get` | 只读 | `id` |
13
+ | `jiuchuanhui.sale.search` | 只读 | 搜索条件走 query,`count:true` 并行取总数 |
14
+ | `jiuchuanhui.sale.update.prepare/apply` | 高风险写 | `form`:主表修改 |
15
+ | `jiuchuanhui.sale.stage.search` / `sale.process.search` / `sale.lose-reason.search` | 只读 | 阶段/销售过程/输单原因选项,分页字段 |
16
+ | `jiuchuanhui.rival.search` | 只读 | 对手/友商列表 |
17
+ | `jiuchuanhui.sale.win.prepare/apply` | 高风险写 | `saleId`;赢单不可逆 |
18
+ | `jiuchuanhui.sale.lose.prepare/apply` | 高风险写 | `saleid`、`reasonids`(输单原因,**单选**,传一个原因 ID);可选 `money`(单位为**元**)、`rivals`(对手 ID,**多选**逗号分隔)、`desc`;输单必须先确定原因 |
19
+ | `jiuchuanhui.sale.invalid.prepare/apply` | 高风险写 | `saleid`;无效不可逆 |
20
+ | `jiuchuanhui.sale.pause.prepare/apply` | 高风险写 | `saleid`、`pauseReason`(必填,暂停原因描述);可选 `restartDate`(**预计重启日期**,格式 `yyyy-MM-dd`) |
21
+ | `jiuchuanhui.sale.restart.prepare/apply` | 高风险写 | `saleChanceId`(**仅可重启已暂停的商机**);确认商机已暂停再操作 |
22
+ | `jiuchuanhui.sale.manager-change.prepare/apply` | 高风险写 | `saleChanceId`、`managerId`(目标负责人);转移/负责人变更共用;**仅本人或本人下级商机可操作**,权限不足返回 HTTP 204 |
23
+ | `jiuchuanhui.sale.link-contacts.prepare/apply` | 高风险写 | `salechanceId`(注意小写 c)、`contactIds`;确认联系人与商机关联关系 |
24
+ | `jiuchuanhui.sale.contact-record.create.prepare/apply` | 高风险写 | `saleid`、`comment_content`(必填);可选 `type`/`rating`/`contact_information`/`contacts`/`next_time`/`next_content`/`next_contact_information`/`next_contacts`/`rel_remind`。`type` 为**联系类型**(例行联系等),与客户联系记录的 `type`(评论类型)**取值体系不同,勿混用** |
25
+
26
+ ## 输入要点
27
+
28
+ - 创建/修改前读缓存 `config/sale_create_api.json`(或 `sale_update_api.json`)的 `detail`,按 `data_key` 组装,`isRequired:"1"` 缺失时追问。
29
+ - Select/RadioBox/CheckBox 传选项 ID;关联客户传 `customerId`;负责人传人员 ID。
30
+ - 搜索商机:默认小页;需要总数时 `count:true` 与列表**并行**发起。
31
+
32
+ ## 命令
33
+
34
+ Windows PowerShell:
35
+
36
+ ```powershell
37
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.search --input-json '{"sale_name":"示例","pageNo":1,"pageSize":10,"count":true}'
38
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.get --input-json '{"id":"200001"}'
39
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.win.prepare --input-json '{"mainTable":{"saleId":"200001"}}'
40
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.win.apply --input-json '{"continuation":"PREPARE_CONTINUATION","confirm":true}'
41
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.lose.prepare --input-json '{"mainTable":{"saleId":"200001","reasonids":"400001"}}'
42
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.link-contacts.prepare --input-json '{"mainTable":{"salechanceId":"200001","contactIds":"300001,300002"}}'
43
+ ```
44
+
45
+ macOS/Linux(bash/zsh):
46
+
47
+ ```bash
48
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.search --input-json '{"sale_name":"示例","pageNo":1,"pageSize":10,"count":true}'
49
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.get --input-json '{"id":"200001"}'
50
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.win.prepare --input-json '{"mainTable":{"saleId":"200001"}}'
51
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.win.apply --input-json '{"continuation":"PREPARE_CONTINUATION","confirm":true}'
52
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.lose.prepare --input-json '{"mainTable":{"saleId":"200001","reasonids":"400001"}}'
53
+ weaver-work-cli --json jiuchuanhui run jiuchuanhui.sale.link-contacts.prepare --input-json '{"mainTable":{"salechanceId":"200001","contactIds":"300001,300002"}}'
54
+ ```
55
+
56
+ ## 输出处理
57
+
58
+ - 赢单/输单/无效等 ESB 操作以 `resultCode===200` 为成功标志,不额外发起查询验证。
59
+ - 商机名称渲染为可点击链接,`objId` 取缓存 `discovery["objId:uf_jch_sale"]`。
60
+
61
+ ## 注意
62
+
63
+ - 赢单、输单、无效是高影响状态变更,执行前必须提示不可逆或关键影响。
64
+ - 输单要先确定输单原因(`sale.lose-reason.search` 取 ID);暂停必须有暂停原因;重启需确认目标商机处于可重启状态。
65
+ - 商机转移和负责人变更共用 `sale.manager-change`。
66
+ - 关联联系人前要确认商机和联系人均唯一,且联系人属于该客户/商机关系链。
67
+ - 商机阶段推进(stage-advance)属于 Skill 编排层组合逻辑,不暴露为 CLI operation;可用 `sale.update` + `sale.stage.search` 组合实现。
68
+
69
+ ## 失败处理
70
+
71
+ - 参数缺失/不支持:说明具体问题并停止。
72
+ - `partial/write_uncertain`:停止重试,补一次 `sale.get` 回查。