基于 skill-template 脚手架开发,包含: - payroll_config(费率配置,可编辑)+ payslip_snapshots(解析历史,只读)2 张业务表 - 全国默认 + 北上广 4 套费率(社保/公积金/个税起征点/7 级税率表) - 5 个业务 Action:calculate-payslip-simple / calculate-payslip-full / explain-term / view-config / edit-config - 个税累计预扣法计算,支持多月历史累加 - 20 个薪资名词库(社保/公积金/个税/全勤/加班费等) - 完整市场文档(README/TUTORIAL/DEMO/CHANGELOG) - 296 测试全部通过
41 lines
952 B
YAML
41 lines
952 B
YAML
# 样例:五类 adapter 运行方式(复制到业务仓后按环境改名;勿提交真实凭证)
|
|
runtime:
|
|
profile: mock
|
|
|
|
adapters:
|
|
demo_external_system:
|
|
interface: demo
|
|
profile: mock
|
|
|
|
mock:
|
|
target: mock
|
|
channel: none
|
|
|
|
simulator_api:
|
|
target: simulator
|
|
channel: api
|
|
base_url: http://localhost:5180/api/demo
|
|
timeout_seconds: 10
|
|
|
|
simulator_rpa:
|
|
target: simulator
|
|
channel: rpa
|
|
entry_url: http://localhost:5180/select
|
|
timeout_seconds: 30
|
|
|
|
real_api:
|
|
target: real
|
|
channel: api
|
|
base_url: https://example.invalid/api
|
|
credential_ref: vault://tenant/demo/external-system/api
|
|
write_enabled: false
|
|
timeout_seconds: 20
|
|
|
|
real_rpa:
|
|
target: real
|
|
channel: rpa
|
|
entry_url: https://example.invalid/portal
|
|
credential_ref: vault://tenant/demo/external-system/rpa
|
|
write_enabled: false
|
|
timeout_seconds: 60
|