vps-work 2.3.0 → 2.4.1
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/.well-known/skills/index.json +17 -2
- package/README.md +1 -0
- package/dist/office-runtime.cjs +20 -20
- package/dist/vps-work.cjs +36628 -37995
- package/package.json +3 -3
- package/skills/sale-performance-query/SKILL.md +1 -1
- package/skills/sale-performance-query/references/vps-sales-agent-five-suite.md +16 -2
- package/skills/sale-performance-query/references/vps-sales-dealer-performance.md +17 -0
- package/skills/vps-approval/SKILL.md +12 -0
- package/skills/vps-creative/SKILL.md +2 -0
- package/skills/vps-daily-report-assistant/SKILL.md +3 -1
- package/skills/vps-finance-ledger/SKILL.md +29 -0
- package/skills/vps-finance-ledger/scripts/save-export.mjs +8 -0
- package/skills/vps-hr-compensation-documents/SKILL.md +3 -2
- package/skills/vps-hr-compensation-documents/reference.md +4 -2
- package/skills/vps-hr-compensation-documents/references/+payslip.md +2 -2
- package/skills/vps-hr-compensation-documents/references/runtime-and-helpers.md +1 -1
- package/skills/vps-mail/SKILL.md +1 -0
- package/skills/vps-pending-approval-assistant/SKILL.md +15 -10
- package/skills/vps-pending-approval-assistant/reference.md +21 -5
- package/skills/vps-purchase/SKILL.md +47 -0
- package/skills/vps-task-management-assistant/SKILL.md +13 -0
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
"name": "vps-hr-compensation-documents",
|
|
193
|
-
"description": "员工月度工资条只读查询(VPS 原生 HR,vps_tenant_payslips
|
|
193
|
+
"description": "员工月度工资条只读查询(VPS 原生 HR,vps_tenant_payslips)。本人可查本人已发放工资条,查他人需要薪酬管理组及有效薪酬访问凭证,管理员不豁免。取数通过 `vps-work hr +payslip`。",
|
|
194
194
|
"files": [
|
|
195
195
|
"skills/vps-hr-compensation-documents/SKILL.md",
|
|
196
196
|
"skills/vps-hr-compensation-documents/reference.md",
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
217
|
"name": "vps-pending-approval-assistant",
|
|
218
|
-
"description": "提供 VPS 审批相关能力:`vps-work approval +wait` / `+pending` / `+my-submitted` / `+my-approved` 拉取本人、部门或全员待办与历史视图,`+logs` 看单证轨迹,`+pass` / `+refuse`
|
|
218
|
+
"description": "提供 VPS 审批相关能力:`vps-work approval +wait` / `+pending` / `+my-submitted` / `+my-approved` 拉取本人、部门或全员待办与历史视图,`+logs` 看单证轨迹,`+pass` / `+refuse` 在明确意图下操作当前步骤。新版 VPS 及 ERP 历史付款申请列表、金额明细和审批进度复用现有 exec 的 payment_applications 只读查询,需独立全量查询权限。在用户查看待我审批、付款申请单、ERP 历史付款、审批流、签核历史、我提交的审批、我已批过的单子、同意或驳回、统计待办类型或整理审批队列时使用。其他业务单据结构化取数由对应业务域 skill 负责,不拼接业务表查询。",
|
|
219
219
|
"files": [
|
|
220
220
|
"skills/vps-pending-approval-assistant/SKILL.md",
|
|
221
221
|
"skills/vps-pending-approval-assistant/reference.md"
|
|
@@ -263,6 +263,21 @@
|
|
|
263
263
|
"files": [
|
|
264
264
|
"skills/vps-task-center-department-manager/SKILL.md"
|
|
265
265
|
]
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "vps-finance-ledger",
|
|
269
|
+
"description": "通过已登记的 VPS 只读入口查询合作伙伴与科目余额、已过账往来明细、科目余额及合作伙伴基础资料,并导出含勾稽的 Excel。用于往来分析和对账;不用于账务写入、审批或付款。",
|
|
270
|
+
"files": [
|
|
271
|
+
"skills/vps-finance-ledger/SKILL.md",
|
|
272
|
+
"skills/vps-finance-ledger/scripts/save-export.mjs"
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "vps-purchase",
|
|
277
|
+
"description": "只读查询 VPS 原生采购申请及明细、ERP 采购订单及订单行。适用于采购单、办公采购申请、供应商订单、采购数量、单价、收货及开票数量查询。必须使用当前身份的独立采购只读权限。",
|
|
278
|
+
"files": [
|
|
279
|
+
"skills/vps-purchase/SKILL.md"
|
|
280
|
+
]
|
|
266
281
|
}
|
|
267
282
|
]
|
|
268
283
|
}
|
package/README.md
CHANGED
|
@@ -228,6 +228,7 @@ CI / 自动化常用环境变量:`VERTU_BOT_INBOUND_KEY`(Bearer)、`VERTU_
|
|
|
228
228
|
| `hr` | `vps-work hr +me` · `+org-tree` · `+headcount` · `+profile` · `+contracts` · `+payslip` · `+business-list` · `+onboarding` · `+transfer` · `+resignation` |
|
|
229
229
|
| `attendance` | `vps-work attendance +daily` · `+schedule-*` · `+applications` · `+application-preview` · `+application-submit` |
|
|
230
230
|
| `knowledge` | `vps-work knowledge +list` · `+documents` · `+import-vdrive` · `+search` · `+ask` · `+graph` |
|
|
231
|
+
| `purchase` | `vps-work purchase +requests` · `+request-detail` · `+request-lines` · `+orders` · `+order-detail` · `+order-lines`(独立只读权限) |
|
|
231
232
|
| `product` | `vps-work product +inventory` · `+price` · `+delivery` · `+kit-materials` · `+phone-head-inventory` · `+abnormal-location` · `+abnormal-location-list` · `+abnormal-details` |
|
|
232
233
|
| `creative` | `vps-work creative +models` · `+image` · `+video` · `+video-status` · `+tts` · `+music` |
|
|
233
234
|
| `corporate` | `vps-work corporate +partner-list` · `+seal-list` · `+business-list` · `+regulation-list` · `+attachments` |
|
package/dist/office-runtime.cjs
CHANGED
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
-
// node_modules
|
|
33
|
+
// node_modules/zod/v3/helpers/util.cjs
|
|
34
34
|
var require_util = __commonJS({
|
|
35
|
-
"node_modules
|
|
35
|
+
"node_modules/zod/v3/helpers/util.cjs"(exports2) {
|
|
36
36
|
"use strict";
|
|
37
37
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
38
38
|
exports2.getParsedType = exports2.ZodParsedType = exports2.objectUtil = exports2.util = void 0;
|
|
@@ -172,9 +172,9 @@ var require_util = __commonJS({
|
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
// node_modules
|
|
175
|
+
// node_modules/zod/v3/ZodError.cjs
|
|
176
176
|
var require_ZodError = __commonJS({
|
|
177
|
-
"node_modules
|
|
177
|
+
"node_modules/zod/v3/ZodError.cjs"(exports2) {
|
|
178
178
|
"use strict";
|
|
179
179
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
180
180
|
exports2.ZodError = exports2.quotelessJson = exports2.ZodIssueCode = void 0;
|
|
@@ -300,9 +300,9 @@ var require_ZodError = __commonJS({
|
|
|
300
300
|
}
|
|
301
301
|
});
|
|
302
302
|
|
|
303
|
-
// node_modules
|
|
303
|
+
// node_modules/zod/v3/locales/en.cjs
|
|
304
304
|
var require_en = __commonJS({
|
|
305
|
-
"node_modules
|
|
305
|
+
"node_modules/zod/v3/locales/en.cjs"(exports2) {
|
|
306
306
|
"use strict";
|
|
307
307
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
308
308
|
var ZodError_js_1 = require_ZodError();
|
|
@@ -411,9 +411,9 @@ var require_en = __commonJS({
|
|
|
411
411
|
}
|
|
412
412
|
});
|
|
413
413
|
|
|
414
|
-
// node_modules
|
|
414
|
+
// node_modules/zod/v3/errors.cjs
|
|
415
415
|
var require_errors = __commonJS({
|
|
416
|
-
"node_modules
|
|
416
|
+
"node_modules/zod/v3/errors.cjs"(exports2) {
|
|
417
417
|
"use strict";
|
|
418
418
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
419
419
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -434,9 +434,9 @@ var require_errors = __commonJS({
|
|
|
434
434
|
}
|
|
435
435
|
});
|
|
436
436
|
|
|
437
|
-
// node_modules
|
|
437
|
+
// node_modules/zod/v3/helpers/parseUtil.cjs
|
|
438
438
|
var require_parseUtil = __commonJS({
|
|
439
|
-
"node_modules
|
|
439
|
+
"node_modules/zod/v3/helpers/parseUtil.cjs"(exports2) {
|
|
440
440
|
"use strict";
|
|
441
441
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
442
442
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -565,17 +565,17 @@ var require_parseUtil = __commonJS({
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
|
|
568
|
-
// node_modules
|
|
568
|
+
// node_modules/zod/v3/helpers/typeAliases.cjs
|
|
569
569
|
var require_typeAliases = __commonJS({
|
|
570
|
-
"node_modules
|
|
570
|
+
"node_modules/zod/v3/helpers/typeAliases.cjs"(exports2) {
|
|
571
571
|
"use strict";
|
|
572
572
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
|
|
576
|
-
// node_modules
|
|
576
|
+
// node_modules/zod/v3/helpers/errorUtil.cjs
|
|
577
577
|
var require_errorUtil = __commonJS({
|
|
578
|
-
"node_modules
|
|
578
|
+
"node_modules/zod/v3/helpers/errorUtil.cjs"(exports2) {
|
|
579
579
|
"use strict";
|
|
580
580
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
581
581
|
exports2.errorUtil = void 0;
|
|
@@ -587,9 +587,9 @@ var require_errorUtil = __commonJS({
|
|
|
587
587
|
}
|
|
588
588
|
});
|
|
589
589
|
|
|
590
|
-
// node_modules
|
|
590
|
+
// node_modules/zod/v3/types.cjs
|
|
591
591
|
var require_types = __commonJS({
|
|
592
|
-
"node_modules
|
|
592
|
+
"node_modules/zod/v3/types.cjs"(exports2) {
|
|
593
593
|
"use strict";
|
|
594
594
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
595
595
|
exports2.discriminatedUnion = exports2.date = exports2.boolean = exports2.bigint = exports2.array = exports2.any = exports2.coerce = exports2.ZodFirstPartyTypeKind = exports2.late = exports2.ZodSchema = exports2.Schema = exports2.ZodReadonly = exports2.ZodPipeline = exports2.ZodBranded = exports2.BRAND = exports2.ZodNaN = exports2.ZodCatch = exports2.ZodDefault = exports2.ZodNullable = exports2.ZodOptional = exports2.ZodTransformer = exports2.ZodEffects = exports2.ZodPromise = exports2.ZodNativeEnum = exports2.ZodEnum = exports2.ZodLiteral = exports2.ZodLazy = exports2.ZodFunction = exports2.ZodSet = exports2.ZodMap = exports2.ZodRecord = exports2.ZodTuple = exports2.ZodIntersection = exports2.ZodDiscriminatedUnion = exports2.ZodUnion = exports2.ZodObject = exports2.ZodArray = exports2.ZodVoid = exports2.ZodNever = exports2.ZodUnknown = exports2.ZodAny = exports2.ZodNull = exports2.ZodUndefined = exports2.ZodSymbol = exports2.ZodDate = exports2.ZodBoolean = exports2.ZodBigInt = exports2.ZodNumber = exports2.ZodString = exports2.ZodType = void 0;
|
|
@@ -4129,9 +4129,9 @@ var require_types = __commonJS({
|
|
|
4129
4129
|
}
|
|
4130
4130
|
});
|
|
4131
4131
|
|
|
4132
|
-
// node_modules
|
|
4132
|
+
// node_modules/zod/v3/external.cjs
|
|
4133
4133
|
var require_external = __commonJS({
|
|
4134
|
-
"node_modules
|
|
4134
|
+
"node_modules/zod/v3/external.cjs"(exports2) {
|
|
4135
4135
|
"use strict";
|
|
4136
4136
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
4137
4137
|
if (k2 === void 0) k2 = k;
|
|
@@ -4159,9 +4159,9 @@ var require_external = __commonJS({
|
|
|
4159
4159
|
}
|
|
4160
4160
|
});
|
|
4161
4161
|
|
|
4162
|
-
// node_modules
|
|
4162
|
+
// node_modules/zod/index.cjs
|
|
4163
4163
|
var require_zod = __commonJS({
|
|
4164
|
-
"node_modules
|
|
4164
|
+
"node_modules/zod/index.cjs"(exports2) {
|
|
4165
4165
|
"use strict";
|
|
4166
4166
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
4167
4167
|
if (k2 === void 0) k2 = k;
|