weaver-work-cli 0.1.33 → 0.1.38

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 (126) hide show
  1. package/dist/chunks/{archive-FVFY6GZN.js → archive-PDV724YK.js} +5 -4
  2. package/dist/chunks/{archive-oa-NW3OD4UV.js → archive-oa-4XE4MNXQ.js} +4 -3
  3. package/dist/chunks/{asset-7QJKMIDV.js → asset-PDL2QE2N.js} +8 -7
  4. package/dist/chunks/{attachment-content-OSAVA6K3.js → attachment-content-MDDGOE5E.js} +3 -3
  5. package/dist/chunks/{blog-I7SDPNW4.js → blog-UYR3EUXW.js} +5 -4
  6. package/dist/chunks/{caizhilian-O37ZIQNY.js → caizhilian-LG2X5NMF.js} +5 -4
  7. package/dist/chunks/{calendar-7KXE4ED3.js → calendar-FG4BAZHE.js} +4 -3
  8. package/dist/chunks/{chunk-Q6LWB5HX.js → chunk-6FTTSA45.js} +4 -3
  9. package/dist/chunks/{chunk-MQ2I5AA3.js → chunk-6LTFIFLM.js} +3 -2
  10. package/dist/chunks/{chunk-WRRJ4GG2.js → chunk-CORFRD7Q.js} +4 -3
  11. package/dist/chunks/{chunk-WY74UBJ6.js → chunk-DMV2TOMH.js} +2194 -240
  12. package/dist/chunks/{chunk-MEEFGWTM.js → chunk-ELYDWBZJ.js} +135 -10
  13. package/dist/chunks/{chunk-EEWPQE3O.js → chunk-FUWVHMVV.js} +7 -6
  14. package/dist/chunks/{chunk-HEL5XTYI.js → chunk-GGJFMNJM.js} +26 -4
  15. package/dist/chunks/{chunk-KAS45KNR.js → chunk-IZUDA353.js} +1 -1
  16. package/dist/chunks/{chunk-2FLWXFVS.js → chunk-J7USS3ED.js} +4 -4
  17. package/dist/chunks/{chunk-IHUYP6LO.js → chunk-JSMFPO43.js} +1 -1
  18. package/dist/chunks/{chunk-RBGOMK4Y.js → chunk-KKRL3REV.js} +5 -4
  19. package/dist/chunks/{chunk-OCU4RLHC.js → chunk-NI6GIPIM.js} +195 -36
  20. package/dist/chunks/{chunk-PRHJGPMA.js → chunk-NR6RKXPA.js} +2 -2
  21. package/dist/chunks/{chunk-D223PTXU.js → chunk-OJQUJZQF.js} +33 -7
  22. package/dist/chunks/{chunk-ILMBNVSG.js → chunk-UJJD4QWF.js} +4 -3
  23. package/dist/chunks/{chunk-6ATGWRZM.js → chunk-UZZBA6PV.js} +177 -14
  24. package/dist/chunks/{chunk-GFPXQIY2.js → chunk-VRYHGG6O.js} +2 -2
  25. package/dist/chunks/{chunk-NHA62QD7.js → chunk-XJY7G4DD.js} +3 -3
  26. package/dist/chunks/{chunk-VBCFFFGT.js → chunk-Z32KWY6G.js} +4 -1
  27. package/dist/chunks/{conflict-SFNEVJY5.js → conflict-BQZEQ4SP.js} +2 -2
  28. package/dist/chunks/contract-XIRAFTEV.js +9111 -0
  29. package/dist/chunks/{cowork-CKWYHXYB.js → cowork-BLG62BL2.js} +46 -26
  30. package/dist/chunks/{ebuilder-form-KOLJRVZD.js → ebuilder-form-NUKG5QW4.js} +3 -3
  31. package/dist/chunks/{ehr-WFOC3B4D.js → ehr-2STW5ILH.js} +174 -10
  32. package/dist/chunks/{esb-LJZTN663.js → esb-UUDQUNKY.js} +4 -4
  33. package/dist/chunks/{fna-F7QRIIZC.js → fna-6RCY4NU5.js} +15 -9
  34. package/dist/chunks/{host-VQ6JJXGQ.js → host-7RXEDMAH.js} +3 -3
  35. package/dist/chunks/{host-KXPTEWFS.js → host-EJZFROU3.js} +3 -3
  36. package/dist/chunks/{host-BCGUVEWX.js → host-FWDOSRH5.js} +3 -3
  37. package/dist/chunks/{host-DGE2TZD4.js → host-RHM3NPXV.js} +3 -3
  38. package/dist/chunks/{host-BQBRHVR3.js → host-UFF33TWJ.js} +3 -3
  39. package/dist/chunks/{hrm-NI6XAKW5.js → hrm-PKJ6ELSH.js} +3 -3
  40. package/dist/chunks/{im-7TRTF3KT.js → im-YJAXS7CO.js} +3 -3
  41. package/dist/chunks/{invoice-AOXWJKYT.js → invoice-HWVSXGX6.js} +3 -3
  42. package/dist/chunks/{jiuchuanhui-7NQWEZAW.js → jiuchuanhui-L7VKILZB.js} +4 -3
  43. package/dist/chunks/{lazy-dispatch-RNS4EE4S.js → lazy-dispatch-NMYEIHRH.js} +4 -4
  44. package/dist/chunks/{mail-VDHJAB4O.js → mail-B42RRU7G.js} +46 -24
  45. package/dist/chunks/{meeting-GA7XCNNP.js → meeting-CFYVBJSS.js} +77 -12
  46. package/dist/chunks/{okr-TQIRERPQ.js → okr-GCLF6V7W.js} +4 -3
  47. package/dist/chunks/{plan-4RY4LN2P.js → plan-ZVL7GBRI.js} +4 -3
  48. package/dist/chunks/{project-D6XT2OC5.js → project-4YWAAE2K.js} +4 -3
  49. package/dist/chunks/{registry-QKMI43Q6.js → registry-EP4VTHZS.js} +8 -8
  50. package/dist/chunks/{registry-JHRIDQ3A.js → registry-FRJ6H7BT.js} +4 -4
  51. package/dist/chunks/{registry-VOGKFFTR.js → registry-SG2PGVCF.js} +2 -2
  52. package/dist/chunks/{room-recommend-D4EUOOWY.js → room-recommend-R3JVUUAC.js} +4 -4
  53. package/dist/chunks/{schedule-XPFBHPCV.js → schedule-NIJBTYDO.js} +4 -4
  54. package/dist/chunks/{workflow-HLBZRWIY.js → workflow-BB24DFBY.js} +11 -4
  55. package/dist/index.js +31 -26
  56. package/dist/internal/e10/auth-recovery.js +114 -1
  57. package/dist/internal/e10/client.js +16 -2
  58. package/dist/internal/e10/fetch-timing.js +31 -0
  59. package/dist/internal/e10/request-runtime.js +108 -7
  60. package/dist/shortcuts/archive/host.js +3 -2
  61. package/dist/shortcuts/archive-oa/host.js +2 -1
  62. package/dist/shortcuts/asset/host.js +6 -5
  63. package/dist/shortcuts/blog/host.js +3 -2
  64. package/dist/shortcuts/caizhilian/host.js +3 -2
  65. package/dist/shortcuts/calendar/host.js +2 -1
  66. package/dist/shortcuts/contract/host.js +2 -1
  67. package/dist/shortcuts/cowork/host.js +10 -1
  68. package/dist/shortcuts/cowork/operations/types.js +17 -2
  69. package/dist/shortcuts/ebuilder-form/host.js +3 -1
  70. package/dist/shortcuts/ehr/host.js +2 -1
  71. package/dist/shortcuts/ehr/operations/recruit-write.js +35 -0
  72. package/dist/shortcuts/ehr/operations/recruit.js +147 -0
  73. package/dist/shortcuts/esb/host.js +2 -1
  74. package/dist/shortcuts/fna/host.js +2 -1
  75. package/dist/shortcuts/fna/operations/expense-chart.js +19 -7
  76. package/dist/shortcuts/hrm/host.js +2 -1
  77. package/dist/shortcuts/im/host.js +3 -2
  78. package/dist/shortcuts/index.js +5 -0
  79. package/dist/shortcuts/invoice/host.js +5 -4
  80. package/dist/shortcuts/jiuchuanhui/host.js +2 -1
  81. package/dist/shortcuts/mail/host.js +10 -1
  82. package/dist/shortcuts/mail/operations/types.js +17 -2
  83. package/dist/shortcuts/meeting/host.js +3 -2
  84. package/dist/shortcuts/meeting/index.js +79 -1
  85. package/dist/shortcuts/meeting/invitation/text.js +71 -0
  86. package/dist/shortcuts/meeting/manifest.js +10 -0
  87. package/dist/shortcuts/meeting/operations/eb/catalog.js +5 -0
  88. package/dist/shortcuts/meeting/operations/eb/conflict.js +6 -1
  89. package/dist/shortcuts/meeting/operations/eb/create-flow.js +2105 -169
  90. package/dist/shortcuts/meeting/operations/eb/crm-search.js +478 -0
  91. package/dist/shortcuts/meeting/operations/eb/factory.js +161 -8
  92. package/dist/shortcuts/meeting/operations/eb/index.js +2 -0
  93. package/dist/shortcuts/meeting/operations/eb/room-recommend.js +36 -2
  94. package/dist/shortcuts/meeting/operations/eb-fallback.js +4 -0
  95. package/dist/shortcuts/meeting/operations/env.js +6 -0
  96. package/dist/shortcuts/meeting/operations/invitation.js +200 -28
  97. package/dist/shortcuts/okr/host.js +2 -1
  98. package/dist/shortcuts/plan/host.js +2 -1
  99. package/dist/shortcuts/project/host.js +2 -1
  100. package/dist/shortcuts/workflow/endpoints.js +8 -3
  101. package/dist/shortcuts/workflow/operations/form.js +341 -36
  102. package/dist/shortcuts/workflow/operations.js +23 -1
  103. package/docs/ehr.md +1 -1
  104. package/docs/fna.md +2 -1
  105. package/package.json +1 -1
  106. package/skill-template/business-info.json +18 -0
  107. package/skill-template/domains/cowork.md +14 -0
  108. package/skills/weaver-e10-cowork/SKILL.md +101 -0
  109. package/skills/weaver-e10-cowork/references/cowork-read.md +90 -0
  110. package/skills/weaver-e10-cowork/references/cowork-write.md +131 -0
  111. package/skills/weaver-e10-cowork/references/safety-boundaries.md +45 -0
  112. package/skills/weaver-e10-jucailin/SKILL.md +21 -3
  113. package/skills/weaver-e10-jucailin/references/recruit-read.md +25 -0
  114. package/skills/weaver-e10-jucailin/references/recruit-write.md +13 -0
  115. package/skills/weaver-e10-jucailin/references/salary.md +15 -11
  116. package/skills/weaver-e10-mail/SKILL.md +12 -9
  117. package/skills/weaver-e10-meeting/SKILL.md +499 -300
  118. package/skills/weaver-e10-meeting/references/meeting-eb.md +334 -0
  119. package/skills/weaver-e10-meeting/references/meeting-invitation.md +64 -6
  120. package/skills/weaver-e10-meeting.zip +0 -0
  121. package/skills/weaver-e10-okr/references/source-manifest.json +3 -3
  122. package/skills/weaver-e10-qiyecheng/SKILL.md +5 -2
  123. package/skills/weaver-e10-qiyecheng/references/catalog.md +2 -2
  124. package/skills/weaver-e10-qiyecheng/references/expense-chart.md +15 -1
  125. package/skills/weaver-e10-qiyecheng/references/source-manifest.json +22 -21
  126. package/skills/weaver-e10-yimiaoban/references/source-manifest.json +3 -3
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 2,
3
3
  "module": "fna",
4
4
  "skill": "weaver-e10-qiyecheng",
5
- "generatedAt": "2026-10-26T02:55:00.000Z",
5
+ "generatedAt": "2026-10-30T11:22:07.931Z",
6
6
  "generatedFrom": {
7
7
  "kind": "user-provided-folder",
8
8
  "sourceRoots": [
@@ -557,7 +557,7 @@
557
557
  }
558
558
  },
559
559
  "artifactBaseline": {
560
- "aggregateSha256": "6217808ada9c8c868ebda553253b72c4b2d899d06b67d8555b894b13920bda7f",
560
+ "aggregateSha256": "bc00a72b5448ee047ebfe3a224281bce87d7a35745fec7eb19b2f9673a841424",
561
561
  "files": [
562
562
  {
563
563
  "path": "src/shortcuts/fna/manifest.ts",
@@ -640,14 +640,14 @@
640
640
  {
641
641
  "path": "src/shortcuts/index.ts",
642
642
  "role": "generated",
643
- "size": 1500,
644
- "sha256": "fe10e9918df3c47bf9038298df7c7d590c74cc3de62fce173f6f610938ae9090"
643
+ "size": 7750,
644
+ "sha256": "e12effd55fa2bc226f257762fc5061a9cca402fdea7a0efee0399b23afdf01b9"
645
645
  },
646
646
  {
647
647
  "path": "test/business/fna-operations.test.ts",
648
648
  "role": "generated",
649
- "size": 25122,
650
- "sha256": "d9ead65a821e36fa2c838c9c1d594689f5f9ab198ef6b93312b6787c6c38da7f"
649
+ "size": 26986,
650
+ "sha256": "1dc4526a89e2e5fea11748eda841c1a6960fd57bf3971bc8ad3f4a047268d15e"
651
651
  },
652
652
  {
653
653
  "path": "test/business/fna-host.test.ts",
@@ -658,14 +658,14 @@
658
658
  {
659
659
  "path": "docs/fna.md",
660
660
  "role": "generated",
661
- "size": 6479,
662
- "sha256": "549ea77b1dbebdabd04b2b448f6e2f714b090ec89396b596e544561ae7a1b597"
661
+ "size": 7032,
662
+ "sha256": "e6ddd7ff74f049ec71210007fbd78887e74afabdd346b8c06863a866d27da7c3"
663
663
  },
664
664
  {
665
665
  "path": "docs/_catalog.md",
666
666
  "role": "generated",
667
- "size": 5355,
668
- "sha256": "b980b43bc1c9dabfa9b5b6da0a6e0187357d4c4f73c6f80a141c0c317acc182b"
667
+ "size": 5515,
668
+ "sha256": "efb1dfb14eb3f97565046c406237c2b0c6f5bd41063acaa30b1772ab88e84187"
669
669
  },
670
670
  {
671
671
  "path": "docs/SKILL.md",
@@ -676,8 +676,8 @@
676
676
  {
677
677
  "path": "skills/weaver-e10-qiyecheng/SKILL.md",
678
678
  "role": "generated",
679
- "size": 13840,
680
- "sha256": "71d2bb8b8d57fc0fa0530a718d7120b7d58ca1df30294ea77a51c4e1323b58a1"
679
+ "size": 15116,
680
+ "sha256": "ecc74612a2ff5802d3c05cfab2414787cc7538b040d55729961b75c48234796f"
681
681
  },
682
682
  {
683
683
  "path": "skill-template/product.json",
@@ -688,8 +688,8 @@
688
688
  {
689
689
  "path": "skills/weaver-e10-qiyecheng/references/catalog.md",
690
690
  "role": "generated",
691
- "size": 4983,
692
- "sha256": "c73bd5fe277552bedc0e25da6a94ced3786c16ae6d016b1057b0460917178c13"
691
+ "size": 5254,
692
+ "sha256": "07e2a8477fabb3458127cf61933c156ee8bfc1537cf7ff9c89a47c65dca5504c"
693
693
  },
694
694
  {
695
695
  "path": "skills/weaver-e10-qiyecheng/references/budget.md",
@@ -718,8 +718,8 @@
718
718
  {
719
719
  "path": "skill-template/business-info.json",
720
720
  "role": "generated",
721
- "size": 8592,
722
- "sha256": "06f4c239dfcd50f0be1febb00b663e962064a4d2c19193632957fdf5ef85d39a"
721
+ "size": 9027,
722
+ "sha256": "aa2dcebc6e186761b4953a856a86d6d9acdfc227e39b107a293326f574f69f1c"
723
723
  },
724
724
  {
725
725
  "path": "skill-template/domains/qiyecheng.md",
@@ -730,14 +730,14 @@
730
730
  {
731
731
  "path": "src/shortcuts/fna/operations/expense-chart.ts",
732
732
  "role": "generated",
733
- "size": 8202,
734
- "sha256": "c1bc8cffc0f38425b92fec4fd8b7e973697abe183e19e5641d564780b0cfc940"
733
+ "size": 7065,
734
+ "sha256": "c2e9e724144149ba20e9fa9aa8ca82617940b5ad6d77355305d65507151f4d56"
735
735
  },
736
736
  {
737
737
  "path": "skills/weaver-e10-qiyecheng/references/expense-chart.md",
738
738
  "role": "generated",
739
- "size": 5348,
740
- "sha256": "8511fe75e9edabd90e93d9a888d064e7e4a1196859f8a7e965aa695f1d2d9f30"
739
+ "size": 7529,
740
+ "sha256": "7dae4ebfa5b1306299112e9474fbf0e340271a7ae5ba21d00ff84f8a5ab0def3"
741
741
  }
742
742
  ]
743
743
  },
@@ -747,6 +747,7 @@
747
747
  "已知实现缺陷与口径(借款仅统计首条、日期口径差异、menuCode/permissionSetCode 环境相关、超 2^53 ID 保留字符串)写入 docs/fna.md 与 Skill references。",
748
748
  "2026-09-09 由 weaver-e10-skill-maker 首次生成:CLI 命令后缀 fna、Skill 后缀 qiyecheng。",
749
749
  "fna.expense.chart 只暴露自然语言 userInput,不接受也不回传 AI 生成的 SQL;data 由 CLI 归一化为 kind=rows/empty/clarify/blocked/unexpected,clarify 与 blocked 按文案推断并在 meta.messageKindInferred 标注;每次调用消耗一次大模型对话 + 一次 SQL,CLI 超时 180s。",
750
- "2026-10-26 集成报销报表 AI 问答:新增 GET /api/secondev/fna/getExpenseChart(userInput 必填 ≤500 字、maxRows 本地截断 1-5000),同步 CLI operation、host 路径白名单、SKILL.md/catalog/docs/domain 与测试。"
750
+ "2026-10-26 集成报销报表 AI 问答:新增 GET /api/secondev/fna/getExpenseChart(userInput 必填 ≤500 字、maxRows 本地截断 1-5000),同步 CLI operation、host 路径白名单、SKILL.md/catalog/docs/domain 与测试。",
751
+ "2026-10-30 报销报表新增「无权限禁止绕行」硬规则:expense-chart 的字符串结果在文案命中「权限 / 越权」时归类为 clarify 并输出 meta.permissionDenied=true(纯权限提示不带「不明确」也识别,避免落进 unexpected),kind 枚举不变;Agent 侧必须停住并告知权限边界,禁止改调 reimbursed.sum / budget.* / 借款 / 核销等接口按部门或人员拼装同一份报表,也禁止自写 SQL 绕过。SKILL.md 执行原则第 9 条与 expense-chart.md「无权限时的处理」为权威口径。"
751
752
  ]
752
753
  }
@@ -2270,7 +2270,7 @@
2270
2270
  }
2271
2271
  },
2272
2272
  "artifactBaseline": {
2273
- "aggregateSha256": "b12d789dc9cdfb03dd4d749ba305bc2a6f229d296c1a7cccbc5ba73b97e4bb77",
2273
+ "aggregateSha256": "4fcf441cb7e08c3c5e2de04c10144efd27c673788b28904786592c981d6b05e5",
2274
2274
  "files": [
2275
2275
  {
2276
2276
  "path": "docs/im.md",
@@ -2382,8 +2382,8 @@
2382
2382
  {
2383
2383
  "path": "src/shortcuts/im/host.ts",
2384
2384
  "role": "generated-cli",
2385
- "size": 24365,
2386
- "sha256": "e8a285adae2918a79e9fa038ca91cb5b1871206c7e51a7ba7708de6af3e6b97e"
2385
+ "size": 24373,
2386
+ "sha256": "6e219d2936358c6403e0b1eb6aafb5350cf43fbff75b599381a291008f683815"
2387
2387
  },
2388
2388
  {
2389
2389
  "path": "src/shortcuts/im/index.ts",