taiwan-logistics-skill 1.2.2 → 1.3.0

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 (46) hide show
  1. package/README.md +132 -132
  2. package/assets/taiwan-logistics/CLAUDE.md +147 -137
  3. package/assets/taiwan-logistics/EXAMPLES.md +3258 -3258
  4. package/assets/taiwan-logistics/README.md +132 -132
  5. package/assets/taiwan-logistics/SKILL.md +845 -845
  6. package/assets/taiwan-logistics/data/field-mappings.csv +23 -27
  7. package/assets/taiwan-logistics/data/logistics-types.csv +29 -25
  8. package/assets/taiwan-logistics/data/operations.csv +32 -32
  9. package/assets/taiwan-logistics/data/providers.csv +20 -15
  10. package/assets/taiwan-logistics/data/status-codes.csv +89 -35
  11. package/assets/taiwan-logistics/examples/ecpay-logistics-cvs-example.py +175 -175
  12. package/assets/taiwan-logistics/examples/newebpay-logistics-cvs-example.py +524 -524
  13. package/assets/taiwan-logistics/examples/payuni-logistics-cvs-example.py +605 -605
  14. package/assets/taiwan-logistics/examples/store-map-integration-example.html +573 -573
  15. package/assets/taiwan-logistics/references/NEWEBPAY_LOGISTICS_REFERENCE.md +774 -774
  16. package/assets/taiwan-logistics/references/carrier-direct-access.md +134 -0
  17. package/assets/taiwan-logistics/references/ecpay-logistics-api.md +536 -536
  18. package/assets/taiwan-logistics/references/ezship-logistics-api.md +103 -0
  19. package/assets/taiwan-logistics/references/hct-logistics-api.md +1102 -1102
  20. package/assets/taiwan-logistics/references/lalamove-logistics-api.md +138 -0
  21. package/assets/taiwan-logistics/references/paynow-logistics-api.md +1670 -1670
  22. package/assets/taiwan-logistics/references/payuni-logistics-api.md +712 -712
  23. package/assets/taiwan-logistics/references/pchomepay-logistics-api.md +1154 -1154
  24. package/assets/taiwan-logistics/references/smilepay-logistics-api.md +1332 -1332
  25. package/assets/taiwan-logistics/scripts/core.py +276 -276
  26. package/assets/taiwan-logistics/scripts/generate-logistics-service.py +1248 -1248
  27. package/assets/taiwan-logistics/scripts/recommend.py +370 -364
  28. package/assets/taiwan-logistics/scripts/search.py +127 -127
  29. package/assets/taiwan-logistics/scripts/test_logistics.py +300 -300
  30. package/assets/templates/base/quick-reference.md +74 -74
  31. package/assets/templates/base/skill-content.md +845 -845
  32. package/assets/templates/platforms/agent.json +26 -26
  33. package/assets/templates/platforms/claude.json +26 -26
  34. package/assets/templates/platforms/codebuddy.json +25 -25
  35. package/assets/templates/platforms/codex.json +26 -26
  36. package/assets/templates/platforms/continue.json +25 -25
  37. package/assets/templates/platforms/copilot.json +25 -25
  38. package/assets/templates/platforms/cursor.json +26 -26
  39. package/assets/templates/platforms/gemini.json +25 -25
  40. package/assets/templates/platforms/kiro.json +25 -25
  41. package/assets/templates/platforms/opencode.json +25 -25
  42. package/assets/templates/platforms/qoder.json +25 -25
  43. package/assets/templates/platforms/roocode.json +25 -25
  44. package/assets/templates/platforms/trae.json +25 -25
  45. package/assets/templates/platforms/windsurf.json +25 -25
  46. package/package.json +65 -65
@@ -1,25 +1,25 @@
1
- {
2
- "platform": "trae",
3
- "displayName": "Trae",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".trae",
7
- "skillPath": "skills/taiwan-logistics",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/taiwan-logistics/scripts",
11
- "frontmatter": {
12
- "name": "taiwan-logistics",
13
- "description": "Taiwan Logistics API integration for ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow, HCT, SmilePay, PChomePay, PayNow, and HCT direct.",
14
- "user-invocable": "true"
15
- },
16
- "sections": {
17
- "examples": true,
18
- "references": true,
19
- "scripts": true,
20
- "quickReference": false
21
- },
22
- "title": "Taiwan Logistics Skill",
23
- "description": "Comprehensive guide for Taiwan Logistics API integration. Supports ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow, HCT, SmilePay, PChomePay, PayNow, and HCT direct providers covering CVS store-to-store, B2C bulk pickup, home delivery, and shipment tracking.",
24
- "skillOrWorkflow": "Skill"
25
- }
1
+ {
2
+ "platform": "trae",
3
+ "displayName": "Trae",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".trae",
7
+ "skillPath": "skills/taiwan-logistics",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/taiwan-logistics/scripts",
11
+ "frontmatter": {
12
+ "name": "taiwan-logistics",
13
+ "description": "Taiwan Logistics API integration for ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow, HCT, SmilePay, PChomePay, PayNow, and HCT direct.",
14
+ "user-invocable": "true"
15
+ },
16
+ "sections": {
17
+ "examples": true,
18
+ "references": true,
19
+ "scripts": true,
20
+ "quickReference": false
21
+ },
22
+ "title": "Taiwan Logistics Skill",
23
+ "description": "Comprehensive guide for Taiwan Logistics API integration. Supports ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow, HCT, SmilePay, PChomePay, PayNow, and HCT direct providers covering CVS store-to-store, B2C bulk pickup, home delivery, and shipment tracking.",
24
+ "skillOrWorkflow": "Skill"
25
+ }
@@ -1,25 +1,25 @@
1
- {
2
- "platform": "windsurf",
3
- "displayName": "Windsurf",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".windsurf",
7
- "skillPath": "skills/taiwan-logistics",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/taiwan-logistics/scripts",
11
- "frontmatter": {
12
- "name": "taiwan-logistics",
13
- "description": "Taiwan Logistics API integration specialist for ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow, HCT, SmilePay, PChomePay, PayNow, and HCT direct logistics aggregators. Use when developing shipping flows, implementing CVS pickup (7-11/全家/萊爾富/OK), home delivery (黑貓/宅配通), store-map selectors, COD orders, or shipment tracking. Handles encryption, store-map iframes, and provider field mappings.",
14
- "user-invocable": "true"
15
- },
16
- "sections": {
17
- "examples": true,
18
- "references": true,
19
- "scripts": true,
20
- "quickReference": false
21
- },
22
- "title": "Taiwan Logistics Skill",
23
- "description": "Comprehensive guide for Taiwan Logistics API integration. Supports ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow, HCT, SmilePay, PChomePay, PayNow, and HCT direct providers covering CVS store-to-store, B2C bulk pickup, home delivery, and shipment tracking.",
24
- "skillOrWorkflow": "Skill"
25
- }
1
+ {
2
+ "platform": "windsurf",
3
+ "displayName": "Windsurf",
4
+ "installType": "full",
5
+ "folderStructure": {
6
+ "root": ".windsurf",
7
+ "skillPath": "skills/taiwan-logistics",
8
+ "filename": "SKILL.md"
9
+ },
10
+ "scriptPath": "skills/taiwan-logistics/scripts",
11
+ "frontmatter": {
12
+ "name": "taiwan-logistics",
13
+ "description": "Taiwan Logistics API integration specialist for ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow, HCT, SmilePay, PChomePay, PayNow, and HCT direct logistics aggregators. Use when developing shipping flows, implementing CVS pickup (7-11/全家/萊爾富/OK), home delivery (黑貓/宅配通), store-map selectors, COD orders, or shipment tracking. Handles encryption, store-map iframes, and provider field mappings.",
14
+ "user-invocable": "true"
15
+ },
16
+ "sections": {
17
+ "examples": true,
18
+ "references": true,
19
+ "scripts": true,
20
+ "quickReference": false
21
+ },
22
+ "title": "Taiwan Logistics Skill",
23
+ "description": "Comprehensive guide for Taiwan Logistics API integration. Supports ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow, HCT, SmilePay, PChomePay, PayNow, and HCT direct providers covering CVS store-to-store, B2C bulk pickup, home delivery, and shipment tracking.",
24
+ "skillOrWorkflow": "Skill"
25
+ }
package/package.json CHANGED
@@ -1,65 +1,65 @@
1
- {
2
- "name": "taiwan-logistics-skill",
3
- "version": "1.2.2",
4
- "description": "AI-powered Taiwan Logistics toolkit. Supports 7 providers: 6 aggregators (ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow) plus HCT 新竹物流 direct carrier API.",
5
- "bin": {
6
- "taiwan-logistics": "./dist/index.js"
7
- },
8
- "files": [
9
- "dist",
10
- "assets"
11
- ],
12
- "scripts": {
13
- "build": "node scripts/build.js",
14
- "prepublishOnly": "npm run build"
15
- },
16
- "keywords": [
17
- "taiwan",
18
- "logistics",
19
- "shipping",
20
- "ecpay",
21
- "newebpay",
22
- "payuni",
23
- "smilepay",
24
- "pchomepay",
25
- "paynow",
26
- "hct",
27
- "新竹物流",
28
- "黑貓",
29
- "tcat",
30
- "claude",
31
- "claude-code",
32
- "cursor",
33
- "antigravity",
34
- "ai-skill",
35
- "agent-skills",
36
- "coding-assistant"
37
- ],
38
- "author": "Moksa1123",
39
- "license": "MIT",
40
- "repository": {
41
- "type": "git",
42
- "url": "git+https://github.com/Moksa1123/taiwan-ecommerce-toolkit.git"
43
- },
44
- "bugs": {
45
- "url": "https://github.com/Moksa1123/taiwan-ecommerce-toolkit/issues"
46
- },
47
- "homepage": "https://github.com/Moksa1123/taiwan-ecommerce-toolkit#readme",
48
- "dependencies": {
49
- "chalk": "^4.1.2",
50
- "cli-progress": "^3.12.0",
51
- "commander": "^11.1.0",
52
- "ora": "^5.4.1",
53
- "prompts": "^2.4.2"
54
- },
55
- "devDependencies": {
56
- "@types/cli-progress": "^3.11.6",
57
- "@types/node": "^22.10.1",
58
- "@types/prompts": "^2.4.9",
59
- "esbuild": "^0.24.0",
60
- "typescript": "^5.7.2"
61
- },
62
- "engines": {
63
- "node": ">=18.0.0"
64
- }
65
- }
1
+ {
2
+ "name": "taiwan-logistics-skill",
3
+ "version": "1.3.0",
4
+ "description": "AI-powered Taiwan Logistics toolkit. Supports 7 providers: 6 aggregators (ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow) plus HCT 新竹物流 direct carrier API.",
5
+ "bin": {
6
+ "taiwan-logistics": "./dist/index.js"
7
+ },
8
+ "files": [
9
+ "dist",
10
+ "assets"
11
+ ],
12
+ "scripts": {
13
+ "build": "node scripts/build.js",
14
+ "prepublishOnly": "npm run build"
15
+ },
16
+ "keywords": [
17
+ "taiwan",
18
+ "logistics",
19
+ "shipping",
20
+ "ecpay",
21
+ "newebpay",
22
+ "payuni",
23
+ "smilepay",
24
+ "pchomepay",
25
+ "paynow",
26
+ "hct",
27
+ "新竹物流",
28
+ "黑貓",
29
+ "tcat",
30
+ "claude",
31
+ "claude-code",
32
+ "cursor",
33
+ "antigravity",
34
+ "ai-skill",
35
+ "agent-skills",
36
+ "coding-assistant"
37
+ ],
38
+ "author": "Moksa1123",
39
+ "license": "MIT",
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/Moksa1123/taiwan-ecommerce-toolkit.git"
43
+ },
44
+ "bugs": {
45
+ "url": "https://github.com/Moksa1123/taiwan-ecommerce-toolkit/issues"
46
+ },
47
+ "homepage": "https://github.com/Moksa1123/taiwan-ecommerce-toolkit#readme",
48
+ "dependencies": {
49
+ "chalk": "^4.1.2",
50
+ "cli-progress": "^3.12.0",
51
+ "commander": "^11.1.0",
52
+ "ora": "^5.4.1",
53
+ "prompts": "^2.4.2"
54
+ },
55
+ "devDependencies": {
56
+ "@types/cli-progress": "^3.11.6",
57
+ "@types/node": "^22.10.1",
58
+ "@types/prompts": "^2.4.9",
59
+ "esbuild": "^0.24.0",
60
+ "typescript": "^5.7.2"
61
+ },
62
+ "engines": {
63
+ "node": ">=18.0.0"
64
+ }
65
+ }