Commit 20c7eb3
committed
feat: add comprehensive logging for browser and gptme-server output
- Add Tauri logging plugin with stdout and file targets
- Set up console forwarding from browser to Tauri logs with loop prevention
- Capture and forward gptme-server stdout/stderr to logging system
- Enable Rust logs to appear in browser console via attachConsole()
- Add log file persistence to application logs directory
- Configure INFO level logging with proper formatting
- Add pre-commit configuration with Rust, TypeScript, and general formatting hooks
- Fix compilation error and apply automatic formatting fixes1 parent 503a883 commit 20c7eb3
File tree
16 files changed
+477
-29
lines changed- .github/workflows
- public
- src-tauri
- capabilities
- src
16 files changed
+477
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | | - | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
- docs/conf.py+4
- gptme/chat.py+7-9
- gptme/cli.py+23-48
- gptme/commands.py+9-4
- gptme/config.py+65-5
- gptme/init.py+10-10
- gptme/logmanager.py+25-29
- gptme/server/api.py+52-7
- gptme/server/api_v2.py+32-41
- gptme/tools/__init__.py+6-2
- gptme/tools/chats.py+5-5
- gptme/tools/tts.py+29-9
- gptme/util/__init__.py+3-3
- gptme/util/cli.py+135-6
- scripts/auto_rename_logs.py+9-6
- scripts/completions/gptme.fish+80
- tests/conftest.py+7-9
- tests/test_config.py+2-2
- tests/test_server_v2.py+10-14
- tests/test_server_v2_auto_stepping.py+3
- tests/test_server_v2_tool_confirmation.py+4
- tests/test_util_cli.py+10-4
Submodule gptme-webui updated 28 files
- e2e/conversation.spec.ts+10-9
- src/components/AgentsList.tsx+63
- src/components/ChatInput.tsx+254-113
- src/components/ConnectionButton.tsx+1-1
- src/components/ConversationContent.tsx+16-15
- src/components/ConversationList.tsx+113-101
- src/components/ConversationSettings.tsx+46-42
- src/components/Conversations.tsx+154-61
- src/components/LeftSidebar.tsx+99-57
- src/components/MenuBar.tsx+56-2
- src/components/RightSidebar.tsx+17-44
- src/components/WelcomeView.tsx+124
- src/components/WorkspaceList.tsx+101
- src/components/workspace/FileList.tsx+91-7
- src/components/workspace/FilePreview.tsx+22-6
- src/contexts/ApiContext.tsx+2
- src/democonversations.ts+150-145
- src/hooks/useConversation.ts+7-3
- src/stores/conversations.ts+18-8
- src/stores/sidebar.ts+37
- src/types/api.ts+11
- src/types/conversation.ts+5-9
- src/utils/__tests__/markdownRenderer.test.ts+4-5
- src/utils/__tests__/markdownUtils.test.ts+10-1
- src/utils/api.ts+9-7
- src/utils/conversation.ts+2-21
- src/utils/smd.js+43-8
- src/utils/workspaceUtils.ts+111
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments