@optima-chat/dev-skills 0.7.19 → 0.7.20

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.
@@ -31,6 +31,7 @@
31
31
  - `optima-store` - 商城前端(仅 Stage)
32
32
  - `commerce-rq-worker` - RQ 后台任务
33
33
  - `commerce-rq-scheduler` - RQ 定时调度
34
+ - `optima-logistics` - 物流服务(仅 Stage/Prod)
34
35
  - `lines` (可选): 显示行数,默认 50
35
36
  - `environment` (可选): 环境,默认 ci
36
37
  - `ci` - CI 持续集成环境(开发环境,默认)
@@ -126,6 +127,7 @@ aws logs get-log-events --log-group-name /ecs/commerce-backend-stage --log-strea
126
127
  - `optima-store` → `/ecs/optima-store-stage`
127
128
  - `commerce-rq-worker` → `/ecs/commerce-rq-worker-stage`
128
129
  - `commerce-rq-scheduler` → `/ecs/commerce-rq-scheduler-stage`
130
+ - `optima-logistics` → `/ecs/optima-logistics-stage`
129
131
 
130
132
  ### 2. Prod 环境(environment = "prod")
131
133
 
@@ -164,6 +166,7 @@ aws logs get-log-events --log-group-name /ecs/commerce-backend-prod --log-stream
164
166
  - `optima-scout` → `/ecs/optima-scout-prod`
165
167
  - `commerce-rq-worker` → `/ecs/commerce-rq-worker-prod`
166
168
  - `commerce-rq-scheduler` → `/ecs/commerce-rq-scheduler-prod`
169
+ - `optima-logistics` → `/ecs/optima-logistics-prod`
167
170
 
168
171
  **注意**: `optima-store` 仅在 Stage 环境部署
169
172
 
@@ -191,6 +191,7 @@ INFO - Database query took 3200ms: SELECT * FROM products WHERE...
191
191
  | `optima-store` | 商城前端 | - | ✓ | - |
192
192
  | `commerce-rq-worker` | RQ 后台任务 | - | ✓ | ✓ |
193
193
  | `commerce-rq-scheduler` | RQ 定时调度 | - | ✓ | ✓ |
194
+ | `optima-logistics` | 物流服务 | - | ✓ | ✓ |
194
195
 
195
196
  ## 最佳实践
196
197
 
@@ -76,6 +76,7 @@ optima-query-db commerce-backend "SELECT status, COUNT(*) FROM orders GROUP BY s
76
76
  - `agentic-chat` - AI 聊天数据库
77
77
  - `bi-backend` - BI 后端数据库
78
78
  - `session-gateway` - AI Shell 网关数据库
79
+ - `optima-logistics` - 物流服务数据库
79
80
 
80
81
  ### 常用查询示例
81
82
 
@@ -195,6 +196,7 @@ optima-query-db commerce-backend "SELECT status, COUNT(*) FROM orders GROUP BY s
195
196
  | agentic-chat | `CHAT_DB_USER` | `CHAT_DB_PASSWORD` |
196
197
  | bi-backend | `BI_DB_USER` | `BI_DB_PASSWORD` |
197
198
  | session-gateway | `AI_SHELL_DB_USER` | `AI_SHELL_DB_PASSWORD` |
199
+ | optima-logistics | `LOGISTICS_DB_USER` | `LOGISTICS_DB_PASSWORD` |
198
200
 
199
201
  ### RDS 连接
200
202
 
@@ -71,6 +71,7 @@ allowed-tools: ["Bash"]
71
71
  | ai-shell-web-ui | ai-shell-web-ui-stage | Shell Web UI |
72
72
  | optima-store | optima-store-stage | 商城前端 |
73
73
  | pgbouncer | pgbouncer-stage | 数据库连接池 |
74
+ | optima-logistics | optima-logistics-stage | 物流服务 |
74
75
 
75
76
  ### Prod 环境
76
77
 
@@ -90,6 +91,7 @@ allowed-tools: ["Bash"]
90
91
  | bi-dashboard | bi-dashboard-prod | BI 仪表板 |
91
92
  | optima-scout | optima-scout-prod | 产品研究工具 |
92
93
  | ai-shell-web-ui | ai-shell-web-ui-prod | Shell Web UI |
94
+ | optima-logistics | optima-logistics-prod | 物流服务 |
93
95
 
94
96
  **注意**: `optima-store` 和 `pgbouncer` 仅在 Stage 环境部署
95
97
 
@@ -58,6 +58,7 @@ optima-show-env agentic-chat stage
58
58
  - `optima-store` - 商城前端
59
59
  - `optima-scout` - 产品研究工具
60
60
  - `mcp-host` - MCP 主机
61
+ - `optima-logistics` - 物流服务
61
62
 
62
63
  **支持的环境**:
63
64
  - `stage` - Stage 预发布环境
package/bin/cli.js CHANGED
@@ -37,7 +37,7 @@ switch (command) {
37
37
  log(' /logs mcp-host 200 prod Prod, 200 lines', 'cyan');
38
38
 
39
39
  log('\nSupported Services:', 'yellow');
40
- log(' commerce-backend user-auth mcp-host agentic-chat', 'cyan');
40
+ log(' commerce-backend user-auth mcp-host agentic-chat optima-logistics', 'cyan');
41
41
 
42
42
  log('\nEnvironments:', 'yellow');
43
43
  log(' stage (default) prod', 'cyan');
@@ -42,6 +42,11 @@ const SERVICE_DB_MAP = {
42
42
  ci: null, // CI 环境暂无 session-gateway 数据库
43
43
  stage: { userKey: 'AI_SHELL_DB_USER', passwordKey: 'AI_SHELL_DB_PASSWORD', database: 'optima_shell' },
44
44
  prod: { userKey: 'AI_SHELL_DB_USER', passwordKey: 'AI_SHELL_DB_PASSWORD', database: 'optima_ai_shell' }
45
+ },
46
+ 'optima-logistics': {
47
+ ci: null,
48
+ stage: { userKey: 'LOGISTICS_DB_USER', passwordKey: 'LOGISTICS_DB_PASSWORD', database: 'optima_stage_logistics' },
49
+ prod: { userKey: 'LOGISTICS_DB_USER', passwordKey: 'LOGISTICS_DB_PASSWORD', database: 'optima_logistics' }
45
50
  }
46
51
  };
47
52
 
@@ -18,7 +18,9 @@ const SUPPORTED_SERVICES = [
18
18
  'session-gateway',
19
19
  'optima-store',
20
20
  'optima-scout',
21
- 'mcp-host'
21
+ 'mcp-host',
22
+ 'shopify-backend',
23
+ 'optima-logistics'
22
24
  ];
23
25
 
24
26
  // 环境到 Infisical environment 的映射
@@ -61,6 +61,11 @@ const SERVICE_DB_MAP = {
61
61
  ci: null, // CI 环境暂无 session-gateway 数据库
62
62
  stage: { userKey: 'AI_SHELL_DB_USER', passwordKey: 'AI_SHELL_DB_PASSWORD', database: 'optima_shell' },
63
63
  prod: { userKey: 'AI_SHELL_DB_USER', passwordKey: 'AI_SHELL_DB_PASSWORD', database: 'optima_ai_shell' }
64
+ },
65
+ 'optima-logistics': {
66
+ ci: null,
67
+ stage: { userKey: 'LOGISTICS_DB_USER', passwordKey: 'LOGISTICS_DB_PASSWORD', database: 'optima_stage_logistics' },
68
+ prod: { userKey: 'LOGISTICS_DB_USER', passwordKey: 'LOGISTICS_DB_PASSWORD', database: 'optima_logistics' }
64
69
  }
65
70
  };
66
71
  // Stage 和 Prod 独立的 RDS 实例
@@ -11,7 +11,9 @@ const SUPPORTED_SERVICES = [
11
11
  'session-gateway',
12
12
  'optima-store',
13
13
  'optima-scout',
14
- 'mcp-host'
14
+ 'mcp-host',
15
+ 'shopify-backend',
16
+ 'optima-logistics'
15
17
  ];
16
18
  // 环境到 Infisical environment 的映射
17
19
  const ENV_MAP = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/dev-skills",
3
- "version": "0.7.19",
3
+ "version": "0.7.20",
4
4
  "description": "Claude Code Skills for Optima development team - cross-environment collaboration tools",
5
5
  "main": "index.js",
6
6
  "bin": {