travel-agent-cli 0.3.3 → 0.3.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "travel-agent-cli",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "AI 驱动的旅行目的地推荐 Agent - 命令行工具(集成 FlyAI 旅行搜索)",
5
5
  "bin": {
6
6
  "travel-agent": "bin/cli.js",
@@ -163,7 +163,7 @@ class ChatScreen(Screen):
163
163
 
164
164
  def action_quit(self) -> None:
165
165
  """退出应用"""
166
- self.exit()
166
+ self.app.exit()
167
167
 
168
168
  def action_submit(self) -> None:
169
169
  """提交输入"""
@@ -196,7 +196,7 @@ class TravelAgentApp(App):
196
196
 
197
197
  CSS = """
198
198
  Screen {
199
- background: $surface;
199
+ background: #1a1a2e;
200
200
  }
201
201
 
202
202
  Vertical {
@@ -205,7 +205,7 @@ class TravelAgentApp(App):
205
205
 
206
206
  #chat-output {
207
207
  height: 1fr;
208
- background: $surface;
208
+ background: #1a1a2e;
209
209
  padding: 1;
210
210
  }
211
211
 
@@ -214,11 +214,56 @@ class TravelAgentApp(App):
214
214
  margin: 1 1 0 1;
215
215
  padding: 1;
216
216
  dock: bottom;
217
+ background: #16213e;
218
+ border: solid #0f3460;
217
219
  }
218
220
 
219
221
  Input#chat-input:focus {
220
- background: $surface;
221
- border: solid $primary;
222
+ background: #16213e;
223
+ border: solid #e94560;
224
+ }
225
+
226
+ /* Command Palette Styles */
227
+ CommandPalette {
228
+ background: rgba(26, 26, 46, 0.95);
229
+ }
230
+
231
+ CommandPalette > Vertical {
232
+ background: #1a1a2e;
233
+ border: solid #0f3460;
234
+ }
235
+
236
+ CommandPalette Input {
237
+ background: #16213e;
238
+ color: #eaeaea;
239
+ border: solid #0f3460;
240
+ }
241
+
242
+ CommandPalette Input:focus {
243
+ background: #16213e;
244
+ border: solid #e94560;
245
+ }
246
+
247
+ CommandPalette .command-palette--help-text {
248
+ color: #6c6c8a;
249
+ }
250
+
251
+ CommandPalette .command-palette--highlight {
252
+ text-style: bold;
253
+ color: #e94560;
254
+ }
255
+
256
+ CommandPalette Static {
257
+ color: #eaeaea;
258
+ }
259
+
260
+ CommandPalette .option-list__option {
261
+ color: #eaeaea;
262
+ }
263
+
264
+ CommandPalette .option-list__option--highlighted {
265
+ background: #0f3460;
266
+ color: #ffffff;
222
267
  }
223
268
  """
224
269