daiso 1.0.5 → 1.0.6
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/README.md +45 -7
- package/dist/api/configStatus.js +19 -0
- package/dist/api/gs25Handlers.js +25 -14
- package/dist/api/handlers.js +32 -3
- package/dist/api/healthChecks.js +185 -13
- package/dist/api/lottemartHandlers.js +17 -1
- package/dist/api/response.js +2 -0
- package/dist/api/routes/healthRoutes.js +20 -3
- package/dist/bin.js +0 -0
- package/dist/cli/args.js +21 -0
- package/dist/cli/commandOptions.js +38 -0
- package/dist/cli/commands/convenience.js +53 -1
- package/dist/cli/commands/daiso.js +18 -2
- package/dist/cli/http.js +58 -0
- package/dist/cli/interactiveItemSearch.js +4 -2
- package/dist/cli/interactivePrompt.js +3 -2
- package/dist/cli.js +22 -0
- package/dist/cliHelp.js +6 -0
- package/dist/cliInteractive.js +75 -6
- package/dist/cliPicker.js +1 -0
- package/dist/cliRenderer.js +86 -3
- package/dist/core/errors.js +66 -0
- package/dist/core/registry.js +227 -3
- package/dist/index.js +2 -1
- package/dist/pages/openapiSpecActions.js +3 -3
- package/dist/pages/openapiSpecPathsCu.js +7 -0
- package/dist/pages/openapiSpecPathsLotteMart.js +14 -0
- package/dist/pages/openapiSpecPathsOliveyoung.js +35 -0
- package/dist/pages/promptReferenceText.js +13 -7
- package/dist/pages/promptRetailCinemaText.js +2 -1
- package/dist/services/daiso/client.js +8 -0
- package/dist/services/daiso/index.js +2 -0
- package/dist/services/daiso/tools/checkInventory.js +4 -2
- package/dist/services/daiso/tools/findInventoryByName.js +222 -0
- package/dist/services/daiso/tools/getDisplayLocation.js +2 -2
- package/dist/services/emart24/client.js +9 -0
- package/dist/services/emart24/tools/searchProducts.js +27 -17
- package/dist/services/gs25/client.js +10 -0
- package/dist/services/gs25/tools/searchProducts.js +28 -21
- package/dist/services/lottemart/client.js +10 -1
- package/dist/services/lottemart/tools/searchProducts.js +8 -1
- package/dist/services/lottemart/zetta.js +1 -1
- package/dist/services/oliveyoung/client.js +124 -53
- package/dist/services/oliveyoung/tools/checkInventory.js +7 -2
- package/dist/services/seveneleven/client.js +7 -0
- package/dist/services/seveneleven/tools/searchProducts.js +29 -18
- package/dist/utils/http.js +82 -10
- package/dist/utils/zyte.js +47 -26
- package/openapi.json +3 -3
- package/openapi.yaml +3 -3
- package/package.json +26 -8
package/openapi.yaml
CHANGED
|
@@ -84,7 +84,7 @@ paths:
|
|
|
84
84
|
- name: productId
|
|
85
85
|
in: query
|
|
86
86
|
required: false
|
|
87
|
-
description: 제품 ID 또는 상세 조회용 path
|
|
87
|
+
description: 제품 ID 또는 상세 조회용 path 파라미터. 상품명만 알면 먼저 daisoSearchProducts 또는 /api/daiso/products로 productId를 확인하세요.
|
|
88
88
|
schema:
|
|
89
89
|
type: string
|
|
90
90
|
- name: keyword
|
|
@@ -206,13 +206,13 @@ paths:
|
|
|
206
206
|
- name: storeCode
|
|
207
207
|
in: query
|
|
208
208
|
required: false
|
|
209
|
-
description: 매장
|
|
209
|
+
description: 매장 코드. 다이소 진열 위치는 /api/daiso/inventory 응답의 storeInventory.stores[].storeCode에서 확인하세요.
|
|
210
210
|
schema:
|
|
211
211
|
type: string
|
|
212
212
|
- name: storeName
|
|
213
213
|
in: query
|
|
214
214
|
required: false
|
|
215
|
-
description:
|
|
215
|
+
description: 매장명. 롯데마트 상품 조회에서 storeCode가 없을 때 사용하며, 모르면 먼저 lottemartFindNearbyStores 또는 /api/lottemart/stores로 확인하세요.
|
|
216
216
|
schema:
|
|
217
217
|
type: string
|
|
218
218
|
- name: storeKeyword
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "daiso",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "Korean retail and cinema MCP server, CLI, and Codex Skill for Daiso, convenience stores, marts, Olive Young, and theaters",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"daiso": "dist/bin.js"
|
|
@@ -21,10 +21,11 @@
|
|
|
21
21
|
"hooks:install": "git config core.hooksPath .githooks && chmod +x .githooks/pre-push",
|
|
22
22
|
"dev": "wrangler dev",
|
|
23
23
|
"deploy": "wrangler deploy",
|
|
24
|
-
"build": "tsc && npx tsx scripts/generate-openapi.ts",
|
|
25
|
-
"build:openapi": "npx tsx scripts/generate-openapi.ts",
|
|
26
|
-
"cli:smoke": "npm run build && npx tsx scripts/cli-smoke.ts",
|
|
27
|
-
"
|
|
24
|
+
"build": "tsc && npx tsx scripts/ops/generate-openapi.ts",
|
|
25
|
+
"build:openapi": "npx tsx scripts/ops/generate-openapi.ts",
|
|
26
|
+
"cli:smoke": "npm run build && npx tsx scripts/ops/cli-smoke.ts",
|
|
27
|
+
"mcp:smoke": "npx tsx scripts/ops/mcp-smoke.ts",
|
|
28
|
+
"update:workers-chart": "npx tsx scripts/ops/update-workers-invocations-chart.ts",
|
|
28
29
|
"prepack": "npm run build",
|
|
29
30
|
"prepublishOnly": "npm run check && npm run build",
|
|
30
31
|
"release:dry-run": "npm pack --dry-run",
|
|
@@ -42,7 +43,24 @@
|
|
|
42
43
|
},
|
|
43
44
|
"keywords": [
|
|
44
45
|
"mcp",
|
|
46
|
+
"mcp-server",
|
|
45
47
|
"daiso",
|
|
48
|
+
"korea",
|
|
49
|
+
"korean-retail",
|
|
50
|
+
"retail",
|
|
51
|
+
"inventory",
|
|
52
|
+
"cli",
|
|
53
|
+
"codex-skill",
|
|
54
|
+
"clawhub",
|
|
55
|
+
"oliveyoung",
|
|
56
|
+
"gs25",
|
|
57
|
+
"cu",
|
|
58
|
+
"seveneleven",
|
|
59
|
+
"emart24",
|
|
60
|
+
"lottemart",
|
|
61
|
+
"cgv",
|
|
62
|
+
"megabox",
|
|
63
|
+
"lottecinema",
|
|
46
64
|
"cloudflare-workers",
|
|
47
65
|
"serverless"
|
|
48
66
|
],
|
|
@@ -50,14 +68,14 @@
|
|
|
50
68
|
"license": "MIT",
|
|
51
69
|
"repository": {
|
|
52
70
|
"type": "git",
|
|
53
|
-
"url": "https://github.com/hmmhmmhm/daiso-mcp.git"
|
|
71
|
+
"url": "git+https://github.com/hmmhmmhm/daiso-mcp.git"
|
|
54
72
|
},
|
|
55
73
|
"homepage": "https://github.com/hmmhmmhm/daiso-mcp#readme",
|
|
56
74
|
"bugs": {
|
|
57
75
|
"url": "https://github.com/hmmhmmhm/daiso-mcp/issues"
|
|
58
76
|
},
|
|
59
77
|
"engines": {
|
|
60
|
-
"node": ">=20
|
|
78
|
+
"node": ">=20"
|
|
61
79
|
},
|
|
62
80
|
"devDependencies": {
|
|
63
81
|
"@cloudflare/workers-types": "^4.20260316.1",
|