prompt_objects 0.4.0 → 0.6.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/CLAUDE.md +113 -44
- data/README.md +140 -14
- data/frontend/index.html +5 -1
- data/frontend/src/App.tsx +72 -79
- data/frontend/src/canvas/CanvasView.tsx +5 -5
- data/frontend/src/canvas/constants.ts +31 -31
- data/frontend/src/canvas/inspector/InspectorPanel.tsx +4 -4
- data/frontend/src/canvas/inspector/POInspector.tsx +35 -35
- data/frontend/src/canvas/inspector/ToolCallInspector.tsx +13 -13
- data/frontend/src/canvas/nodes/PONode.ts +2 -2
- data/frontend/src/components/ContextMenu.tsx +5 -4
- data/frontend/src/components/EnvDataPane.tsx +69 -0
- data/frontend/src/components/Inspector.tsx +263 -0
- data/frontend/src/components/MarkdownMessage.tsx +22 -20
- data/frontend/src/components/MethodList.tsx +90 -0
- data/frontend/src/components/ModelSelector.tsx +13 -14
- data/frontend/src/components/NotificationPanel.tsx +29 -33
- data/frontend/src/components/ObjectList.tsx +78 -0
- data/frontend/src/components/PaneSlot.tsx +30 -0
- data/frontend/src/components/SourcePane.tsx +202 -0
- data/frontend/src/components/SystemBar.tsx +74 -0
- data/frontend/src/components/Transcript.tsx +76 -0
- data/frontend/src/components/UsagePanel.tsx +27 -27
- data/frontend/src/components/Workspace.tsx +260 -0
- data/frontend/src/components/index.ts +10 -9
- data/frontend/src/hooks/useResize.ts +55 -0
- data/frontend/src/hooks/useWebSocket.ts +70 -0
- data/frontend/src/index.css +27 -10
- data/frontend/src/store/index.ts +36 -0
- data/frontend/src/types/index.ts +13 -0
- data/frontend/tailwind.config.js +28 -9
- data/lib/prompt_objects/capability.rb +23 -1
- data/lib/prompt_objects/connectors/mcp.rb +2 -16
- data/lib/prompt_objects/environment.rb +15 -0
- data/lib/prompt_objects/llm/openai_adapter.rb +22 -0
- data/lib/prompt_objects/mcp/tools/inspect_po.rb +1 -31
- data/lib/prompt_objects/mcp/tools/list_prompt_objects.rb +1 -6
- data/lib/prompt_objects/prompt_object.rb +239 -7
- data/lib/prompt_objects/server/api/routes.rb +16 -48
- data/lib/prompt_objects/server/app.rb +14 -0
- data/lib/prompt_objects/server/public/assets/{index-xvyeb-5Z.js → index-DEPawnfZ.js} +206 -206
- data/lib/prompt_objects/server/public/assets/index-oMrRce1m.css +1 -0
- data/lib/prompt_objects/server/public/index.html +7 -3
- data/lib/prompt_objects/server/websocket_handler.rb +41 -98
- data/lib/prompt_objects/server.rb +6 -62
- data/lib/prompt_objects/session/store.rb +176 -4
- data/lib/prompt_objects/universal/delete_env_data.rb +70 -0
- data/lib/prompt_objects/universal/get_env_data.rb +64 -0
- data/lib/prompt_objects/universal/list_env_data.rb +61 -0
- data/lib/prompt_objects/universal/store_env_data.rb +87 -0
- data/lib/prompt_objects/universal/update_env_data.rb +88 -0
- data/lib/prompt_objects.rb +6 -1
- data/prompt_objects.gemspec +1 -1
- data/templates/arc-agi-1/objects/observer.md +4 -0
- data/templates/arc-agi-1/objects/solver.md +10 -1
- data/templates/arc-agi-1/objects/verifier.md +4 -0
- data/templates/arc-agi-1/primitives/find_objects.rb +1 -1
- data/templates/arc-agi-1/primitives/grid_diff.rb +2 -2
- data/templates/arc-agi-1/primitives/grid_info.rb +1 -1
- data/templates/arc-agi-1/primitives/grid_transform.rb +1 -1
- data/templates/arc-agi-1/primitives/render_grid.rb +1 -0
- data/templates/arc-agi-1/primitives/test_solution.rb +3 -0
- data/tools/thread-explorer.html +27 -0
- metadata +18 -16
- data/Gemfile.lock +0 -233
- data/IMPLEMENTATION_PLAN.md +0 -1073
- data/design-doc-v2.md +0 -1232
- data/frontend/src/components/CapabilitiesPanel.tsx +0 -141
- data/frontend/src/components/ChatPanel.tsx +0 -296
- data/frontend/src/components/Dashboard.tsx +0 -83
- data/frontend/src/components/Header.tsx +0 -153
- data/frontend/src/components/MessageBus.tsx +0 -56
- data/frontend/src/components/POCard.tsx +0 -56
- data/frontend/src/components/PODetail.tsx +0 -124
- data/frontend/src/components/PromptPanel.tsx +0 -156
- data/frontend/src/components/SessionsPanel.tsx +0 -174
- data/frontend/src/components/ThreadsSidebar.tsx +0 -163
- data/lib/prompt_objects/server/public/assets/index-6y64NXFy.css +0 -1
data/Gemfile.lock
DELETED
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
prompt_objects (0.4.0)
|
|
5
|
-
anthropic (~> 1.0)
|
|
6
|
-
async-websocket (~> 0.28)
|
|
7
|
-
falcon (~> 0.50)
|
|
8
|
-
front_matter_parser (~> 1.0)
|
|
9
|
-
listen (~> 3.9)
|
|
10
|
-
mcp (~> 0.4)
|
|
11
|
-
rack (~> 3.0)
|
|
12
|
-
ruby-openai (~> 7.0)
|
|
13
|
-
sqlite3 (~> 2.0)
|
|
14
|
-
|
|
15
|
-
GEM
|
|
16
|
-
remote: https://rubygems.org/
|
|
17
|
-
specs:
|
|
18
|
-
addressable (2.8.8)
|
|
19
|
-
public_suffix (>= 2.0.2, < 8.0)
|
|
20
|
-
anthropic (1.19.0)
|
|
21
|
-
cgi
|
|
22
|
-
connection_pool
|
|
23
|
-
ast (2.4.3)
|
|
24
|
-
async (2.36.0)
|
|
25
|
-
console (~> 1.29)
|
|
26
|
-
fiber-annotation
|
|
27
|
-
io-event (~> 1.11)
|
|
28
|
-
metrics (~> 0.12)
|
|
29
|
-
traces (~> 0.18)
|
|
30
|
-
async-container (0.30.0)
|
|
31
|
-
async (~> 2.22)
|
|
32
|
-
async-container-supervisor (0.9.3)
|
|
33
|
-
async-service
|
|
34
|
-
io-endpoint
|
|
35
|
-
memory (~> 0.7)
|
|
36
|
-
memory-leak (~> 0.5)
|
|
37
|
-
process-metrics
|
|
38
|
-
async-http (0.94.2)
|
|
39
|
-
async (>= 2.10.2)
|
|
40
|
-
async-pool (~> 0.11)
|
|
41
|
-
io-endpoint (~> 0.14)
|
|
42
|
-
io-stream (~> 0.6)
|
|
43
|
-
metrics (~> 0.12)
|
|
44
|
-
protocol-http (~> 0.58)
|
|
45
|
-
protocol-http1 (~> 0.36)
|
|
46
|
-
protocol-http2 (~> 0.22)
|
|
47
|
-
protocol-url (~> 0.2)
|
|
48
|
-
traces (~> 0.10)
|
|
49
|
-
async-http-cache (0.4.6)
|
|
50
|
-
async-http (~> 0.56)
|
|
51
|
-
async-pool (0.11.1)
|
|
52
|
-
async (>= 2.0)
|
|
53
|
-
async-service (0.19.0)
|
|
54
|
-
async
|
|
55
|
-
async-container (~> 0.29)
|
|
56
|
-
string-format (~> 0.2)
|
|
57
|
-
async-websocket (0.30.0)
|
|
58
|
-
async-http (~> 0.76)
|
|
59
|
-
protocol-http (~> 0.34)
|
|
60
|
-
protocol-rack (~> 0.7)
|
|
61
|
-
protocol-websocket (~> 0.17)
|
|
62
|
-
bake (0.24.1)
|
|
63
|
-
bigdecimal
|
|
64
|
-
samovar (~> 2.1)
|
|
65
|
-
base64 (0.3.0)
|
|
66
|
-
bigdecimal (4.0.1)
|
|
67
|
-
cgi (0.5.1)
|
|
68
|
-
connection_pool (3.0.2)
|
|
69
|
-
console (1.34.2)
|
|
70
|
-
fiber-annotation
|
|
71
|
-
fiber-local (~> 1.1)
|
|
72
|
-
json
|
|
73
|
-
date (3.5.1)
|
|
74
|
-
debug (1.11.1)
|
|
75
|
-
irb (~> 1.10)
|
|
76
|
-
reline (>= 0.3.8)
|
|
77
|
-
erb (6.0.1)
|
|
78
|
-
event_stream_parser (1.0.0)
|
|
79
|
-
falcon (0.54.2)
|
|
80
|
-
async
|
|
81
|
-
async-container (~> 0.20)
|
|
82
|
-
async-container-supervisor (~> 0.6)
|
|
83
|
-
async-http (~> 0.75)
|
|
84
|
-
async-http-cache (~> 0.4)
|
|
85
|
-
async-service (~> 0.19)
|
|
86
|
-
bundler
|
|
87
|
-
localhost (~> 1.1)
|
|
88
|
-
openssl (>= 3.0)
|
|
89
|
-
protocol-http (~> 0.31)
|
|
90
|
-
protocol-rack (~> 0.7)
|
|
91
|
-
samovar (~> 2.3)
|
|
92
|
-
faraday (2.14.1)
|
|
93
|
-
faraday-net_http (>= 2.0, < 3.5)
|
|
94
|
-
json
|
|
95
|
-
logger
|
|
96
|
-
faraday-multipart (1.2.0)
|
|
97
|
-
multipart-post (~> 2.0)
|
|
98
|
-
faraday-net_http (3.4.2)
|
|
99
|
-
net-http (~> 0.5)
|
|
100
|
-
ffi (1.17.3-arm64-darwin)
|
|
101
|
-
ffi (1.17.3-x86_64-linux-gnu)
|
|
102
|
-
fiber-annotation (0.2.0)
|
|
103
|
-
fiber-local (1.1.0)
|
|
104
|
-
fiber-storage
|
|
105
|
-
fiber-storage (1.0.1)
|
|
106
|
-
front_matter_parser (1.0.1)
|
|
107
|
-
io-console (0.8.2)
|
|
108
|
-
io-endpoint (0.17.2)
|
|
109
|
-
io-event (1.14.2)
|
|
110
|
-
io-stream (0.11.1)
|
|
111
|
-
irb (1.17.0)
|
|
112
|
-
pp (>= 0.6.0)
|
|
113
|
-
prism (>= 1.3.0)
|
|
114
|
-
rdoc (>= 4.0.0)
|
|
115
|
-
reline (>= 0.4.2)
|
|
116
|
-
json (2.18.1)
|
|
117
|
-
json-schema (6.1.0)
|
|
118
|
-
addressable (~> 2.8)
|
|
119
|
-
bigdecimal (>= 3.1, < 5)
|
|
120
|
-
language_server-protocol (3.17.0.5)
|
|
121
|
-
lint_roller (1.1.0)
|
|
122
|
-
listen (3.10.0)
|
|
123
|
-
logger
|
|
124
|
-
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
125
|
-
rb-inotify (~> 0.9, >= 0.9.10)
|
|
126
|
-
localhost (1.7.0)
|
|
127
|
-
logger (1.7.0)
|
|
128
|
-
mapping (1.1.3)
|
|
129
|
-
mcp (0.6.0)
|
|
130
|
-
json-schema (>= 4.1)
|
|
131
|
-
memory (0.12.0)
|
|
132
|
-
bake (~> 0.15)
|
|
133
|
-
console
|
|
134
|
-
msgpack
|
|
135
|
-
memory-leak (0.7.0)
|
|
136
|
-
metrics (0.15.0)
|
|
137
|
-
minitest (5.27.0)
|
|
138
|
-
msgpack (1.8.0)
|
|
139
|
-
multipart-post (2.4.1)
|
|
140
|
-
net-http (0.9.1)
|
|
141
|
-
uri (>= 0.11.1)
|
|
142
|
-
openssl (4.0.0)
|
|
143
|
-
parallel (1.27.0)
|
|
144
|
-
parser (3.3.10.1)
|
|
145
|
-
ast (~> 2.4.1)
|
|
146
|
-
racc
|
|
147
|
-
pp (0.6.3)
|
|
148
|
-
prettyprint
|
|
149
|
-
prettyprint (0.2.0)
|
|
150
|
-
prism (1.9.0)
|
|
151
|
-
process-metrics (0.8.0)
|
|
152
|
-
console (~> 1.8)
|
|
153
|
-
json (~> 2)
|
|
154
|
-
samovar (~> 2.1)
|
|
155
|
-
protocol-hpack (1.5.1)
|
|
156
|
-
protocol-http (0.59.0)
|
|
157
|
-
protocol-http1 (0.37.0)
|
|
158
|
-
protocol-http (~> 0.58)
|
|
159
|
-
protocol-http2 (0.24.0)
|
|
160
|
-
protocol-hpack (~> 1.4)
|
|
161
|
-
protocol-http (~> 0.47)
|
|
162
|
-
protocol-rack (0.21.1)
|
|
163
|
-
io-stream (>= 0.10)
|
|
164
|
-
protocol-http (~> 0.58)
|
|
165
|
-
rack (>= 1.0)
|
|
166
|
-
protocol-url (0.4.0)
|
|
167
|
-
protocol-websocket (0.20.2)
|
|
168
|
-
protocol-http (~> 0.2)
|
|
169
|
-
psych (5.3.1)
|
|
170
|
-
date
|
|
171
|
-
stringio
|
|
172
|
-
public_suffix (7.0.2)
|
|
173
|
-
racc (1.8.1)
|
|
174
|
-
rack (3.2.4)
|
|
175
|
-
rainbow (3.1.1)
|
|
176
|
-
rake (13.3.1)
|
|
177
|
-
rb-fsevent (0.11.2)
|
|
178
|
-
rb-inotify (0.11.1)
|
|
179
|
-
ffi (~> 1.0)
|
|
180
|
-
rdoc (7.2.0)
|
|
181
|
-
erb
|
|
182
|
-
psych (>= 4.0.0)
|
|
183
|
-
tsort
|
|
184
|
-
regexp_parser (2.11.3)
|
|
185
|
-
reline (0.6.3)
|
|
186
|
-
io-console (~> 0.5)
|
|
187
|
-
rubocop (1.84.1)
|
|
188
|
-
json (~> 2.3)
|
|
189
|
-
language_server-protocol (~> 3.17.0.2)
|
|
190
|
-
lint_roller (~> 1.1.0)
|
|
191
|
-
parallel (~> 1.10)
|
|
192
|
-
parser (>= 3.3.0.2)
|
|
193
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
194
|
-
regexp_parser (>= 2.9.3, < 3.0)
|
|
195
|
-
rubocop-ast (>= 1.49.0, < 2.0)
|
|
196
|
-
ruby-progressbar (~> 1.7)
|
|
197
|
-
unicode-display_width (>= 2.4.0, < 4.0)
|
|
198
|
-
rubocop-ast (1.49.0)
|
|
199
|
-
parser (>= 3.3.7.2)
|
|
200
|
-
prism (~> 1.7)
|
|
201
|
-
ruby-openai (7.4.0)
|
|
202
|
-
event_stream_parser (>= 0.3.0, < 2.0.0)
|
|
203
|
-
faraday (>= 1)
|
|
204
|
-
faraday-multipart (>= 1)
|
|
205
|
-
ruby-progressbar (1.13.0)
|
|
206
|
-
samovar (2.4.1)
|
|
207
|
-
console (~> 1.0)
|
|
208
|
-
mapping (~> 1.0)
|
|
209
|
-
sqlite3 (2.9.0-arm64-darwin)
|
|
210
|
-
sqlite3 (2.9.0-x86_64-linux-gnu)
|
|
211
|
-
string-format (0.2.0)
|
|
212
|
-
stringio (3.2.0)
|
|
213
|
-
traces (0.18.2)
|
|
214
|
-
tsort (0.2.0)
|
|
215
|
-
unicode-display_width (3.2.0)
|
|
216
|
-
unicode-emoji (~> 4.1)
|
|
217
|
-
unicode-emoji (4.2.0)
|
|
218
|
-
uri (1.1.1)
|
|
219
|
-
|
|
220
|
-
PLATFORMS
|
|
221
|
-
arm64-darwin-24
|
|
222
|
-
x86_64-linux
|
|
223
|
-
|
|
224
|
-
DEPENDENCIES
|
|
225
|
-
base64
|
|
226
|
-
debug (~> 1.0)
|
|
227
|
-
minitest (~> 5.0)
|
|
228
|
-
prompt_objects!
|
|
229
|
-
rake (~> 13.0)
|
|
230
|
-
rubocop (~> 1.50)
|
|
231
|
-
|
|
232
|
-
BUNDLED WITH
|
|
233
|
-
2.7.2
|