apex-dev 2.1.3 → 3.0.1
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/.local/share/amp/history.jsonl +32 -0
- package/.local/share/amp/session.json +2 -2
- package/.local/share/amp/threads/T-019c9769-4a8a-77b8-beab-f48973276f9a.json +1541 -0
- package/.local/share/amp/threads/T-019c9772-edac-7075-b26e-0ada1f8697d2.json +7 -0
- package/.local/share/amp/threads/T-019c97e8-a9ab-71a1-a8f9-109c540c98bf.json +111 -0
- package/.local/share/amp/threads/T-019c97e9-2277-753c-8c5d-df745fa6cfff.json +7 -0
- package/.local/share/amp/threads/T-019c97e9-f28e-758d-9663-e37047a8ed95.json +111 -0
- package/.local/share/amp/threads/T-019c97ea-17c7-77b8-92b2-f641c069bcc9.json +71 -0
- package/.local/share/amp/threads/T-019c97ea-44c6-75b8-88bc-d88113194f6a.json +1611 -0
- package/.local/share/amp/threads/T-019c97ec-abae-7251-a5f6-693adf496a1c.json +7 -0
- package/.local/share/amp/threads/T-019c97f5-8e61-73ad-8c5d-2637abedcde6.json +1341 -0
- package/.local/share/amp/threads/T-019c989d-4f4e-7249-bde0-21d19455ccae.json +163 -0
- package/.local/share/amp/threads/T-019c989d-9024-73c4-bee8-e2ae45028a39.json +124 -0
- package/.local/share/amp/threads/T-019c989e-1394-74ad-8234-ac573fcdb4c7.json +1260 -0
- package/.local/share/amp/threads/T-019c989f-e3dd-772e-85ac-525d0fc88fda.json +403 -0
- package/.local/share/amp/threads/T-019c98a1-7b0c-778a-b311-2e1cff85d710.json +3422 -0
- package/.local/share/amp/threads/T-019c98c5-4b7f-7284-99e9-88aa8c18ba66.json +1830 -0
- package/.local/share/amp/threads/T-019c98d0-f27f-76ec-be10-6df96f22be99.json +4061 -0
- package/.local/share/amp/threads/T-019c98f9-d031-704d-a0c2-f2f395f68f2b.json +509 -0
- package/.local/share/amp/threads/T-019c9919-f9ee-766c-90be-af7a07f6a4c6.json +2075 -0
- package/.local/share/amp/threads/T-019c991c-b98b-7158-9083-cc52408beb13.json +7 -0
- package/.local/share/amp/threads/T-019c991d-66d6-72aa-a9a1-105f7df0ea06.json +7 -0
- package/.local/share/amp/threads/T-019c9c2e-71a4-77ff-bd7f-b053da7f9000.json +1637 -0
- package/.local/share/amp/threads/T-019c9c45-27ca-728b-ba77-835115dfa9b2.json +3893 -0
- package/.local/share/amp/threads/T-019c9c48-45dc-736a-9752-e4119fe698f9.json +7 -0
- package/.local/share/amp/threads/T-019c9c4d-266b-72d0-b56e-74a5777e6583.json +7 -0
- package/.local/share/amp/threads/T-019c9c52-ab89-758f-9178-bda99c39d10b.json +7 -0
- package/.local/share/amp/threads/T-019c9c56-5715-72e2-b8b4-87711a842dd1.json +1799 -0
- package/.local/share/opencode/opencode.db +0 -0
- package/.local/share/opencode/opencode.db-shm +0 -0
- package/.local/share/opencode/opencode.db-wal +0 -0
- package/.local/share/opencode/storage/agent-usage-reminder/ses_36870ea98ffe8S5ZOCE4F11yFh.json +6 -0
- package/.local/share/opencode/storage/agent-usage-reminder/ses_3687a3e9affewUnHBzvpiPR6df.json +6 -0
- package/.local/share/opencode/storage/agent-usage-reminder/ses_36886e68dffeKVgUWf6lzXdEEt.json +6 -0
- package/.local/share/opencode/storage/session_diff/ses_36870ea98ffe8S5ZOCE4F11yFh.json +1 -0
- package/.local/share/opencode/storage/session_diff/ses_3687a3e9affewUnHBzvpiPR6df.json +1 -0
- package/.local/share/opencode/storage/session_diff/ses_36886e68dffeKVgUWf6lzXdEEt.json +1 -0
- package/.local/state/replit/log-query.db +0 -0
- package/.local/state/replit/log-query.db-shm +0 -0
- package/.local/state/replit/log-query.db-wal +0 -0
- package/.upm/store.json +1 -1
- package/AGENTS.md +32 -0
- package/bun.lock +137 -103
- package/index.jsx +24 -0
- package/package.json +12 -9
- package/src/agent.js +252 -169
- package/src/app.jsx +96 -0
- package/src/commands.js +66 -38
- package/src/components/AssistantMessage.jsx +83 -0
- package/src/components/ChatArea.jsx +84 -0
- package/src/components/DiffView.jsx +26 -0
- package/src/components/Divider.jsx +8 -0
- package/src/components/Header.jsx +44 -0
- package/src/components/HelpModal.jsx +81 -0
- package/src/components/InputBar.jsx +32 -0
- package/src/components/Spinner.jsx +23 -0
- package/src/components/StatusBar.jsx +44 -0
- package/src/components/SystemMessage.jsx +31 -0
- package/src/components/ThinkBlock.jsx +29 -0
- package/src/components/ToolCallItem.jsx +43 -0
- package/src/components/UserMessage.jsx +11 -0
- package/src/components/Welcome.jsx +14 -0
- package/src/config.js +118 -2
- package/src/hooks/useLayout.js +15 -0
- package/src/hooks/useStore.js +6 -0
- package/src/prompt.js +67 -48
- package/src/store.js +99 -0
- package/src/theme.js +19 -0
- package/src/thinking.js +0 -24
- package/src/toolExecutors.js +521 -23
- package/src/tools.js +124 -4
- package/src/utils.js +32 -0
- package/tsconfig.json +10 -0
- package/index.js +0 -92
- package/src/ui.js +0 -269
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
{
|
|
2
|
+
"v": 45,
|
|
3
|
+
"id": "T-019c989d-4f4e-7249-bde0-21d19455ccae",
|
|
4
|
+
"created": 1772086972597,
|
|
5
|
+
"messages": [
|
|
6
|
+
{
|
|
7
|
+
"role": "user",
|
|
8
|
+
"messageId": 0,
|
|
9
|
+
"content": [
|
|
10
|
+
{
|
|
11
|
+
"type": "text",
|
|
12
|
+
"text": "rework the CLI tool to use OpenTUI"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"userState": {
|
|
16
|
+
"currentlyVisibleFiles": []
|
|
17
|
+
},
|
|
18
|
+
"agentMode": "smart",
|
|
19
|
+
"meta": {
|
|
20
|
+
"sentAt": 1772086981331
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"role": "assistant",
|
|
25
|
+
"messageId": 1,
|
|
26
|
+
"content": [
|
|
27
|
+
{
|
|
28
|
+
"type": "text",
|
|
29
|
+
"text": "\n\n"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "thinking",
|
|
33
|
+
"thinking": "Let me first understand the current codebase structure and what the CLI tool looks like, then research OpenTUI.",
|
|
34
|
+
"signature": "",
|
|
35
|
+
"provider": "anthropic"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"state": {
|
|
39
|
+
"type": "cancelled"
|
|
40
|
+
},
|
|
41
|
+
"usage": {
|
|
42
|
+
"model": "claude-opus-4-6",
|
|
43
|
+
"maxInputTokens": 168000,
|
|
44
|
+
"inputTokens": 3,
|
|
45
|
+
"outputTokens": 9,
|
|
46
|
+
"cacheCreationInputTokens": 1211,
|
|
47
|
+
"cacheReadInputTokens": 13127,
|
|
48
|
+
"totalInputTokens": 14341,
|
|
49
|
+
"timestamp": "2026-02-26T06:23:03.854Z"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"role": "user",
|
|
54
|
+
"messageId": 2,
|
|
55
|
+
"content": [
|
|
56
|
+
{
|
|
57
|
+
"type": "text",
|
|
58
|
+
"text": "thi"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"userState": {
|
|
62
|
+
"currentlyVisibleFiles": []
|
|
63
|
+
},
|
|
64
|
+
"agentMode": "smart",
|
|
65
|
+
"meta": {
|
|
66
|
+
"sentAt": 1772086983932
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"role": "assistant",
|
|
71
|
+
"messageId": 3,
|
|
72
|
+
"content": [
|
|
73
|
+
{
|
|
74
|
+
"type": "text",
|
|
75
|
+
"text": "\n\n"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "thinking",
|
|
79
|
+
"thinking": "The user wants me to rework a CLI tool to use \"OpenTUI\". Let me first understand the current codebase and what CLI",
|
|
80
|
+
"signature": "",
|
|
81
|
+
"provider": "anthropic"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"state": {
|
|
85
|
+
"type": "streaming"
|
|
86
|
+
},
|
|
87
|
+
"usage": {
|
|
88
|
+
"model": "claude-opus-4-6",
|
|
89
|
+
"maxInputTokens": 168000,
|
|
90
|
+
"inputTokens": 3,
|
|
91
|
+
"outputTokens": 10,
|
|
92
|
+
"cacheCreationInputTokens": 1227,
|
|
93
|
+
"cacheReadInputTokens": 13127,
|
|
94
|
+
"totalInputTokens": 14357,
|
|
95
|
+
"timestamp": "2026-02-26T06:23:06.234Z"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"agentMode": "smart",
|
|
100
|
+
"nextMessageId": 4,
|
|
101
|
+
"meta": {
|
|
102
|
+
"traces": [
|
|
103
|
+
{
|
|
104
|
+
"name": "agent",
|
|
105
|
+
"id": "8EGSi",
|
|
106
|
+
"startTime": "2026-02-26T06:23:01.333Z",
|
|
107
|
+
"context": {
|
|
108
|
+
"messageId": 0
|
|
109
|
+
},
|
|
110
|
+
"endTime": "2026-02-26T06:23:03.935Z"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "inference",
|
|
114
|
+
"id": "6dc4g",
|
|
115
|
+
"parent": "8EGSi",
|
|
116
|
+
"startTime": "2026-02-26T06:23:01.334Z",
|
|
117
|
+
"context": {
|
|
118
|
+
"messageId": 0
|
|
119
|
+
},
|
|
120
|
+
"endTime": "2026-02-26T06:23:03.936Z"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "agent",
|
|
124
|
+
"id": "iIb76",
|
|
125
|
+
"startTime": "2026-02-26T06:23:03.933Z",
|
|
126
|
+
"context": {
|
|
127
|
+
"messageId": 2
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "inference",
|
|
132
|
+
"id": "nFXqJ",
|
|
133
|
+
"parent": "iIb76",
|
|
134
|
+
"startTime": "2026-02-26T06:23:03.935Z",
|
|
135
|
+
"context": {
|
|
136
|
+
"messageId": 2
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
"env": {
|
|
142
|
+
"initial": {
|
|
143
|
+
"trees": [
|
|
144
|
+
{
|
|
145
|
+
"displayName": "workspace",
|
|
146
|
+
"uri": "file:///home/runner/workspace"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"platform": {
|
|
150
|
+
"os": "linux",
|
|
151
|
+
"osVersion": "Ubuntu 24.04.2 LTS",
|
|
152
|
+
"cpuArchitecture": "x64",
|
|
153
|
+
"webBrowser": false,
|
|
154
|
+
"client": "CLI",
|
|
155
|
+
"clientVersion": "0.0.1772067340-g53cd9b",
|
|
156
|
+
"clientType": "cli",
|
|
157
|
+
"installationID": "990855e2-5987-4061-ad34-8c29deacfa95",
|
|
158
|
+
"deviceFingerprint": "v1:fp_5e0b4aaea6d8b2adcf3c155505cf5c39765fb8ea3e8157ac186424d91df98615"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"title": "Rework CLI tool to use OpenTUI"
|
|
163
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
{
|
|
2
|
+
"v": 13,
|
|
3
|
+
"id": "T-019c989d-9024-73c4-bee8-e2ae45028a39",
|
|
4
|
+
"created": 1772086988842,
|
|
5
|
+
"messages": [
|
|
6
|
+
{
|
|
7
|
+
"role": "user",
|
|
8
|
+
"messageId": 0,
|
|
9
|
+
"content": [
|
|
10
|
+
{
|
|
11
|
+
"type": "text",
|
|
12
|
+
"text": "rework the app to use OpenTUI"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"userState": {
|
|
16
|
+
"currentlyVisibleFiles": []
|
|
17
|
+
},
|
|
18
|
+
"agentMode": "smart",
|
|
19
|
+
"meta": {
|
|
20
|
+
"sentAt": 1772087014153
|
|
21
|
+
},
|
|
22
|
+
"interrupted": true
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"role": "assistant",
|
|
26
|
+
"messageId": 1,
|
|
27
|
+
"content": [],
|
|
28
|
+
"state": {
|
|
29
|
+
"type": "cancelled"
|
|
30
|
+
},
|
|
31
|
+
"usage": {
|
|
32
|
+
"model": "claude-opus-4-6",
|
|
33
|
+
"maxInputTokens": 168000,
|
|
34
|
+
"inputTokens": 3,
|
|
35
|
+
"outputTokens": 14,
|
|
36
|
+
"cacheCreationInputTokens": 1209,
|
|
37
|
+
"cacheReadInputTokens": 13127,
|
|
38
|
+
"totalInputTokens": 14339,
|
|
39
|
+
"timestamp": "2026-02-26T06:23:36.349Z"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"role": "user",
|
|
44
|
+
"messageId": 2,
|
|
45
|
+
"content": [
|
|
46
|
+
{
|
|
47
|
+
"type": "text",
|
|
48
|
+
"text": "thi"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"userState": {
|
|
52
|
+
"currentlyVisibleFiles": []
|
|
53
|
+
},
|
|
54
|
+
"agentMode": "smart",
|
|
55
|
+
"meta": {
|
|
56
|
+
"sentAt": 1772087016440
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"agentMode": "smart",
|
|
61
|
+
"nextMessageId": 3,
|
|
62
|
+
"meta": {
|
|
63
|
+
"traces": [
|
|
64
|
+
{
|
|
65
|
+
"name": "agent",
|
|
66
|
+
"id": "vfH82",
|
|
67
|
+
"startTime": "2026-02-26T06:23:34.155Z",
|
|
68
|
+
"context": {
|
|
69
|
+
"messageId": 0
|
|
70
|
+
},
|
|
71
|
+
"endTime": "2026-02-26T06:23:36.444Z"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "inference",
|
|
75
|
+
"id": "OuJx6",
|
|
76
|
+
"parent": "vfH82",
|
|
77
|
+
"startTime": "2026-02-26T06:23:34.157Z",
|
|
78
|
+
"context": {
|
|
79
|
+
"messageId": 0
|
|
80
|
+
},
|
|
81
|
+
"endTime": "2026-02-26T06:23:36.444Z"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "agent",
|
|
85
|
+
"id": "Xv3M1",
|
|
86
|
+
"startTime": "2026-02-26T06:23:36.441Z",
|
|
87
|
+
"context": {
|
|
88
|
+
"messageId": 2
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "inference",
|
|
93
|
+
"id": "m17W8",
|
|
94
|
+
"parent": "Xv3M1",
|
|
95
|
+
"startTime": "2026-02-26T06:23:36.443Z",
|
|
96
|
+
"context": {
|
|
97
|
+
"messageId": 2
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"env": {
|
|
103
|
+
"initial": {
|
|
104
|
+
"trees": [
|
|
105
|
+
{
|
|
106
|
+
"displayName": "workspace",
|
|
107
|
+
"uri": "file:///home/runner/workspace"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"platform": {
|
|
111
|
+
"os": "linux",
|
|
112
|
+
"osVersion": "Ubuntu 24.04.2 LTS",
|
|
113
|
+
"cpuArchitecture": "x64",
|
|
114
|
+
"webBrowser": false,
|
|
115
|
+
"client": "CLI",
|
|
116
|
+
"clientVersion": "0.0.1772067340-g53cd9b",
|
|
117
|
+
"clientType": "cli",
|
|
118
|
+
"installationID": "990855e2-5987-4061-ad34-8c29deacfa95",
|
|
119
|
+
"deviceFingerprint": "v1:fp_5e0b4aaea6d8b2adcf3c155505cf5c39765fb8ea3e8157ac186424d91df98615"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"title": "Rework app to use OpenTUI"
|
|
124
|
+
}
|