weaver-work-cli 0.1.52 → 0.1.54

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 (84) hide show
  1. package/dist/chunks/{attachment-content-MBYYSQIX.js → attachment-content-2EPEI4HV.js} +3 -3
  2. package/dist/chunks/{chunk-DZOC77ZD.js → chunk-6LGLI46Q.js} +1 -1
  3. package/dist/chunks/{chunk-RWFRZSIP.js → chunk-7KKI5KDY.js} +2 -2
  4. package/dist/chunks/{chunk-KLZ3ULQQ.js → chunk-CNVZETM5.js} +1 -1
  5. package/dist/chunks/{chunk-RPRFIG6I.js → chunk-FE3CQAAM.js} +23 -23
  6. package/dist/chunks/{chunk-ZRHKGQRQ.js → chunk-JJRIT2ZN.js} +2 -2
  7. package/dist/chunks/{chunk-LTRLF6MM.js → chunk-LYOFRYC4.js} +4 -4
  8. package/dist/chunks/{chunk-7UOXOGFL.js → chunk-O6RIBG5E.js} +4 -4
  9. package/dist/chunks/{chunk-LM2H7SZI.js → chunk-QUDHSMG3.js} +37 -25
  10. package/dist/chunks/{chunk-IRMA3GVP.js → chunk-XHMJBRLZ.js} +1 -1
  11. package/dist/chunks/{chunk-LALWNK6M.js → chunk-XPQN4E5O.js} +41 -19
  12. package/dist/chunks/{chunk-D3TDNRFE.js → chunk-Z7B7QSR2.js} +7 -7
  13. package/dist/chunks/{conflict-D2HYKBMH.js → conflict-K2IAKKFR.js} +2 -2
  14. package/dist/chunks/{contract-MFOFMM2J.js → contract-LJRAXVZU.js} +5448 -1857
  15. package/dist/chunks/{create-flow-7ZATJVTM.js → create-flow-UL37MZGP.js} +6 -6
  16. package/dist/chunks/{env-5DO4YENS.js → env-BZDB5OVZ.js} +2 -2
  17. package/dist/chunks/{factory-3M7D7WJC.js → factory-VD3YI6N7.js} +1 -1
  18. package/dist/chunks/{group-chat-B2HT5NEO.js → group-chat-DHNVO76L.js} +3 -3
  19. package/dist/chunks/{meeting-HZOX3CBB.js → meeting-OWG4O2XH.js} +10 -10
  20. package/dist/chunks/{registry-SJHSBO5G.js → registry-ASYCWF2U.js} +10 -10
  21. package/dist/chunks/{registry-KYPFFQIH.js → registry-CJOVECZD.js} +1 -1
  22. package/dist/chunks/{room-recommend-5AHR4YQV.js → room-recommend-LSVAMGKV.js} +4 -4
  23. package/dist/chunks/{schedule-KZPJUPC2.js → schedule-7QOPRUU4.js} +4 -4
  24. package/dist/chunks/{smart-extract-IXHCZE4R.js → smart-extract-FOUYNIG3.js} +44 -8
  25. package/dist/chunks/{workflow-UHKCZJMY.js → workflow-YHXFIU63.js} +1 -1
  26. package/dist/index.js +4 -4
  27. package/dist/shortcuts/contract/manifest.js +105 -5
  28. package/dist/shortcuts/contract/ooxml/docx-table.js +233 -0
  29. package/dist/shortcuts/contract/operations/card-action.js +597 -17
  30. package/dist/shortcuts/contract/operations/card-ebdf-list.js +258 -2
  31. package/dist/shortcuts/contract/operations/card.js +6 -5
  32. package/dist/shortcuts/contract/operations/docx-fillfromquote.js +532 -0
  33. package/dist/shortcuts/contract/operations/docx-verify.js +258 -0
  34. package/dist/shortcuts/contract/operations/elements-build.js +47 -0
  35. package/dist/shortcuts/contract/operations/first-screen.js +28 -3
  36. package/dist/shortcuts/contract/operations/ledger.js +438 -0
  37. package/dist/shortcuts/contract/operations/performance.js +104 -3
  38. package/dist/shortcuts/contract/operations/quotescreen.js +529 -0
  39. package/dist/shortcuts/contract/operations/registry.js +10 -0
  40. package/dist/shortcuts/contract/operations/triage.js +1100 -0
  41. package/dist/shortcuts/meeting/operations/eb/create-flow.js +21 -0
  42. package/dist/shortcuts/smart-extract/operations/fill.js +10 -7
  43. package/dist/shortcuts/smart-extract/operations/validate.js +49 -3
  44. package/dist/shortcuts/workflow/operations/form.js +68 -33
  45. package/docs/smart-extract.md +5 -5
  46. package/package.json +1 -1
  47. package/skills/weaver-e10-jinchengda/SKILL.md +139 -99
  48. package/skills/weaver-e10-jinchengda/references/contract-action-card.md +43 -482
  49. package/skills/weaver-e10-jinchengda/references/contract-action-engine.md +7 -8
  50. package/skills/weaver-e10-jinchengda/references/contract-agent-entry.md +3 -3
  51. package/skills/weaver-e10-jinchengda/references/contract-ai-assistant.md +1 -1
  52. package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +32 -16
  53. package/skills/weaver-e10-jinchengda/references/contract-card-render-internals.md +478 -0
  54. package/skills/weaver-e10-jinchengda/references/contract-command-index.md +4 -4
  55. package/skills/weaver-e10-jinchengda/references/contract-disabled-capabilities.md +2 -2
  56. package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +39 -61
  57. package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +13 -9
  58. package/skills/weaver-e10-jinchengda/references/contract-execution-rules.md +2 -2
  59. package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +2 -2
  60. package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +3 -3
  61. package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +3 -3
  62. package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +263 -0
  63. package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +525 -0
  64. package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +36 -0
  65. package/skills/weaver-e10-jinchengda/references/contract-modeltext-library.md +1 -1
  66. package/skills/weaver-e10-jinchengda/references/contract-multi-file.md +3 -6
  67. package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +80 -54
  68. package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +53 -76
  69. package/skills/weaver-e10-jinchengda/references/contract-template-selector.md +19 -21
  70. package/skills/weaver-e10-jinchengda/references/orchestration.md +12 -12
  71. package/skills/weaver-e10-jinchengda/references/source-manifest.json +1 -6
  72. package/skills/weaver-e10-jinchengda/scripts/fill_plan.py +2 -1
  73. package/skills/weaver-e10-meeting/SKILL.md +2 -1
  74. package/skills/weaver-e10-smart-extract/SKILL.md +15 -4
  75. package/skills/weaver-e10-smart-extract/references/result-format.md +2 -2
  76. package/skills/weaver-e10-smart-extract/references/troubleshooting.md +2 -1
  77. package/skills/weaver-e10-workflow/references/workflow-create.md +6 -5
  78. package/skills/weaver-e10-workflow/references/workflow-edit.md +1 -1
  79. package/skills/weaver-e10-jinchengda/scripts/contract_first_screen.py +0 -200
  80. package/skills/weaver-e10-jinchengda/scripts/fill_contract_from_quote.py +0 -572
  81. package/skills/weaver-e10-jinchengda/scripts/quote_screen.py +0 -560
  82. package/skills/weaver-e10-jinchengda/scripts/triage_contract.py +0 -894
  83. package/skills/weaver-e10-jinchengda/scripts/validate_action_card.py +0 -598
  84. package/skills/weaver-e10-jinchengda/scripts/verify_docx_placeholders.py +0 -118
@@ -2,12 +2,12 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  meetingStateDir
5
- } from "./chunk-DZOC77ZD.js";
5
+ } from "./chunk-6LGLI46Q.js";
6
6
  import {
7
7
  meetingSuccess,
8
8
  meetingValidationError,
9
9
  schemaOf
10
- } from "./chunk-IRMA3GVP.js";
10
+ } from "./chunk-XHMJBRLZ.js";
11
11
 
12
12
  // src/shortcuts/meeting/operations/eb/group-chat.ts
13
13
  import { mkdir, readFile, readdir, rm, writeFile } from "node:fs/promises";
@@ -159,7 +159,7 @@ async function triggerGroupFlow(env, input, meetingName, memberIds) {
159
159
  if (addressText === "[object Object]") addressText = "";
160
160
  if (addressText) {
161
161
  try {
162
- const { resolveAddressRoom } = await import("./create-flow-7ZATJVTM.js");
162
+ const { resolveAddressRoom } = await import("./create-flow-UL37MZGP.js");
163
163
  const room = await resolveAddressRoom(env, addressText);
164
164
  if (room?.name) addressText = room.name;
165
165
  } catch {
@@ -201,7 +201,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
201
201
  const group = String(groupId).trim();
202
202
  if (id === "" || group === "") return { ok: false, error: "\u6CA1\u6709\u4F1A\u8BAE id \u6216\u7FA4 id" };
203
203
  try {
204
- const { EB_BASE, ebBusinessSuccess, writeBody } = await import("./factory-3M7D7WJC.js");
204
+ const { EB_BASE, ebBusinessSuccess, writeBody } = await import("./factory-VD3YI6N7.js");
205
205
  const session = await env.host.getSession();
206
206
  await env.host.request({
207
207
  method: "POST",
@@ -219,7 +219,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
219
219
  return { ok: false, error: String(error?.message ?? error).slice(0, 300) };
220
220
  }
221
221
  try {
222
- const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
222
+ const { getMeetingOperation } = await import("./registry-ASYCWF2U.js");
223
223
  const detail = getMeetingOperation("meeting.eb.meeting.detail");
224
224
  const read = await detail.handler({ id }, env);
225
225
  const main = read?.data?.data ?? read?.data?.main ?? {};
@@ -235,7 +235,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
235
235
  }
236
236
  async function searchMyRequests(env, options = {}) {
237
237
  try {
238
- const { getWorkflowOperation } = await import("./registry-KYPFFQIH.js");
238
+ const { getWorkflowOperation } = await import("./registry-CJOVECZD.js");
239
239
  const op = getWorkflowOperation("workflow.search");
240
240
  const wfEnv = await buildWorkflowEnv(env);
241
241
  const args = { category: "mine", pageSize: 20, sort: "createTime:desc" };
@@ -267,7 +267,7 @@ async function resolveMeetingByRequestId(env, requestId, sinceMs) {
267
267
  const target = String(requestId).trim();
268
268
  if (target === "") return null;
269
269
  try {
270
- const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
270
+ const { getMeetingOperation } = await import("./registry-ASYCWF2U.js");
271
271
  const list = getMeetingOperation("meeting.eb.meeting.list");
272
272
  const detail = getMeetingOperation("meeting.eb.meeting.detail");
273
273
  const page = await list.handler({ pageSize: 30 }, env);
@@ -7,8 +7,8 @@ import {
7
7
  findCommonFreeSlots,
8
8
  meetingEbConflictOperations,
9
9
  runEbConflictCheck
10
- } from "./chunk-7UOXOGFL.js";
11
- import "./chunk-IRMA3GVP.js";
10
+ } from "./chunk-O6RIBG5E.js";
11
+ import "./chunk-XHMJBRLZ.js";
12
12
  import "./chunk-7BDPM5ST.js";
13
13
  import "./chunk-UG5G54VL.js";
14
14
  import "./chunk-BUSC6UAE.js";