weaver-work-cli 0.1.66 → 0.1.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{attachment-content-NRBGS5XG.js → attachment-content-7SDA6WER.js} +3 -3
- package/dist/chunks/{chunk-5FQT7GSN.js → chunk-33ANTJWB.js} +2 -2
- package/dist/chunks/{chunk-BZ6HAY2U.js → chunk-4PYLZORW.js} +7 -7
- package/dist/chunks/{chunk-YT73QQMS.js → chunk-6ZOSVKMT.js} +1 -1
- package/dist/chunks/{chunk-NNXZMBIB.js → chunk-DTJZOAO6.js} +6 -6
- package/dist/chunks/{chunk-2BAZJCG7.js → chunk-JU5OPHSY.js} +2 -2
- package/dist/chunks/{chunk-GOZ75GHU.js → chunk-KS6LXSCA.js} +38 -38
- package/dist/chunks/{chunk-VWQGF3KW.js → chunk-LNWFHNVK.js} +2433 -314
- package/dist/chunks/{chunk-SAADVUK6.js → chunk-MRYKV5HN.js} +32 -32
- package/dist/chunks/{chunk-AAOYOPHW.js → chunk-R6GGDZ2C.js} +1 -1
- package/dist/chunks/{chunk-EYEJW5SG.js → chunk-RU7ZZQQQ.js} +4 -4
- package/dist/chunks/{chunk-YFX5JKOY.js → chunk-TXXO4TJT.js} +2 -2
- package/dist/chunks/{chunk-M7IEDTRI.js → chunk-XARLZK6C.js} +1 -1
- package/dist/chunks/{conflict-LJYKIUJM.js → conflict-DYCSX7CN.js} +2 -2
- package/dist/chunks/{create-flow-75MCKXGI.js → create-flow-PABAGCK2.js} +6 -6
- package/dist/chunks/{entry-mode-3PI6A7JD.js → entry-mode-C2WPJQJM.js} +3 -3
- package/dist/chunks/{env-FI62FOKK.js → env-SEEXUXZF.js} +2 -2
- package/dist/chunks/{factory-HLS4SDQM.js → factory-WNLDOLJZ.js} +1 -1
- package/dist/chunks/{group-chat-MFBVOLKY.js → group-chat-DOS4XWUN.js} +3 -3
- package/dist/chunks/{invoice-MOGNB6HN.js → invoice-SMODTN2D.js} +7 -2
- package/dist/chunks/{meeting-ROWDB3DO.js → meeting-2IWXP5IL.js} +11 -11
- package/dist/chunks/{minute-doc-ABMO2UDX.js → minute-doc-N4OR5OLP.js} +2 -2
- package/dist/chunks/{registry-NLAO2W6T.js → registry-ABKBGGGK.js} +1 -1
- package/dist/chunks/{registry-QV6IPRVM.js → registry-XOUVCSV4.js} +11 -11
- package/dist/chunks/{room-recommend-P54PQTCN.js → room-recommend-TWIEVY44.js} +4 -4
- package/dist/chunks/{schedule-BEBFGMT6.js → schedule-XZ4UUX4E.js} +4 -4
- package/dist/chunks/{workflow-LBFFZZN2.js → workflow-D7LBN5MZ.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/shortcuts/invoice/manifest.js +1 -1
- package/dist/shortcuts/invoice/operations/get.js +2 -0
- package/dist/shortcuts/invoice/operations/shared.js +2 -0
- package/dist/shortcuts/invoice/projection.js +4 -1
- package/dist/shortcuts/workflow/endpoints.js +2 -0
- package/dist/shortcuts/workflow/operations/aiDeepRead/collect.js +1735 -0
- package/dist/shortcuts/workflow/operations/aiDeepRead/render.js +562 -0
- package/dist/shortcuts/workflow/operations/deepRead.js +447 -0
- package/dist/shortcuts/workflow/operations/read.js +18 -4
- package/dist/shortcuts/workflow/operations/registry.js +4 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +9 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +3 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +5 -0
- package/docs/invoice.md +2 -0
- package/package.json +1 -1
- package/scripts/package-skill.mjs +13 -2
- package/skills/weaver-e10-workflow/SKILL.md +15 -3
- package/skills/weaver-e10-workflow/aiDeepRead/config.json +151 -0
- package/skills/weaver-e10-workflow/aiDeepRead/templates//345/215/225/345/215/241/347/211/207-demo.html +64 -0
- package/skills/weaver-e10-workflow/aiDeepRead/templates//346/261/207/346/200/273/345/256/241/346/211/271-demo.html +310 -0
- package/skills/weaver-e10-workflow/references/todo-smart-convert.md +4 -2
- package/skills/weaver-e10-workflow/references/workflow-deep-read.md +201 -0
- package/skills/weaver-e10-workflow/tools/ai-deep-read.cjs +80 -0
- package/skills/weaver-e10-workflow/tools/todo-summary.cjs +80 -6
- package/skills/weaver-e10-yepiaotong/SKILL.md +30 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-detail.md +2 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-enterprise-list.md +2 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-output-view.md +1 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-personal-list.md +2 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +4 -4
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +16 -2
- package/skills/weaver-e10-yepiaotong/references/reim-examples.md +44 -9
- package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +3 -1
- package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +16 -2
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +61 -2
|
@@ -120,7 +120,7 @@ const invoicePartySchema = objectSchema({
|
|
|
120
120
|
tcode: { type: 'string' },
|
|
121
121
|
}, [], true);
|
|
122
122
|
const invoiceInfoSchema = objectSchema({
|
|
123
|
-
id: { type: 'string' },
|
|
123
|
+
id: { type: 'string', description: '发票业务 ID;列表和详情返回时与 fid 保持一致。' },
|
|
124
124
|
fid: { type: 'string' },
|
|
125
125
|
code: { type: 'string' },
|
|
126
126
|
number: { type: 'string' },
|
|
@@ -6,6 +6,8 @@ export class InvoiceGetOperation {
|
|
|
6
6
|
const result = await getDetail(input, host);
|
|
7
7
|
const infos = Array.isArray(result?.infos) ? result.infos : [];
|
|
8
8
|
for (const item of infos) {
|
|
9
|
+
if (item?.info?.fid !== undefined)
|
|
10
|
+
item.info.id = item.info.fid;
|
|
9
11
|
const fid = item?.info?.fid ?? item?.info?.id;
|
|
10
12
|
if (fid)
|
|
11
13
|
item.detailUrl = invoiceDetailUrl(session.baseUrl, String(fid));
|
|
@@ -560,6 +560,8 @@ export async function listInvoices(input, host, flag) {
|
|
|
560
560
|
const result = await host.invoiceRequest({ path: '/api/inc/sync', method: 'POST', body });
|
|
561
561
|
const items = (result.infos || []).filter((item) => !isRedReversedInvoice(invoiceRecordOf(item))).map((item) => {
|
|
562
562
|
const record = invoiceRecordOf(item);
|
|
563
|
+
if (record.fid !== undefined)
|
|
564
|
+
record.id = record.fid;
|
|
563
565
|
const fid = record.fid ?? record.id;
|
|
564
566
|
if (fid)
|
|
565
567
|
record.detailUrl = invoiceDetailUrl(session.baseUrl, String(fid));
|
|
@@ -11,6 +11,7 @@ export const OUTPUT_VIEWS = ['full', 'summary', 'detail'];
|
|
|
11
11
|
* `EXT_INFO_FIELDS` 来自票面 `ext`(费用说明、城市、备注、起止地等)。
|
|
12
12
|
*/
|
|
13
13
|
export const SUMMARY_ITEM_FIELDS = [
|
|
14
|
+
'id',
|
|
14
15
|
'fid',
|
|
15
16
|
'number',
|
|
16
17
|
'code',
|
|
@@ -55,8 +56,10 @@ export function summarizeInvoiceItem(raw) {
|
|
|
55
56
|
const payer = asRecord(comm.payer);
|
|
56
57
|
const modify = asRecord(item.modify_info);
|
|
57
58
|
const reimList = Array.isArray(asRecord(item.oreim).list_reim) ? asRecord(item.oreim).list_reim : [];
|
|
59
|
+
const fid = text(item.fid ?? item.id);
|
|
58
60
|
const summary = {
|
|
59
|
-
|
|
61
|
+
id: fid,
|
|
62
|
+
fid,
|
|
60
63
|
number: text(item.number),
|
|
61
64
|
code: text(item.code),
|
|
62
65
|
typeName: text(pro.cname),
|
|
@@ -42,6 +42,8 @@ export const WORKFLOW_ENDPOINTS = {
|
|
|
42
42
|
/** 待办总数 / 列表 */
|
|
43
43
|
TODO_TOTAL: '/api/workflow/list/total/getTodoListTotal',
|
|
44
44
|
TODO_LIST: '/api/workflow/list/data/getTodoListData',
|
|
45
|
+
/** 列表行批量校验(2026-11-23 aiDeepRead 行过滤用:checkBatchOptRes[].canCheck) */
|
|
46
|
+
LIST_AUGMENT_BASE: '/api/workflow/list/augment/getListBaseAugment',
|
|
45
47
|
/** 待办分类树:流程大类/父类型下的工作流名称与归属类型。 */
|
|
46
48
|
TODO_TREE: '/api/workflow/list/tree/getTodoListTree',
|
|
47
49
|
/** 待办分组计数(按工作流/参与节点/参与身份三元组) */
|