cpee 2.1.123 → 2.1.125
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/cockpit/david.html +1 -1
- data/cockpit/edit.html +1 -1
- data/cockpit/index.html +1 -1
- data/cockpit/js/instance.js +5 -0
- data/cockpit/llm.html +1 -1
- data/cockpit/only_llm.html +5 -1
- data/cpee.gemspec +1 -1
- data/server/executionhandlers/eval/connection.rb +13 -7
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5c30dd94db7a7ad8002ff0a92858e287ca7e92e98d5450c045f3daf055f968c
|
|
4
|
+
data.tar.gz: b2dc5d570aad23df9f558e68218a7edfdcf9771edd296e8a037f7b377d66a3c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b808f91456f36d67f6f0b940dc592e9cb17508d037bf66630f08c25876935ecfc7c08a7c983f299ba92288945658695f15355a778c9bfbc20336971e578409d5
|
|
7
|
+
data.tar.gz: 1968a021e24a8cf4a23c614c002e6098b5b63686e3e2d83adf8465a7dfb435fca69c79a2242141521500805ed9c1a2d37aaec0d7ec06d95600f342992fa7d9a3
|
data/cockpit/david.html
CHANGED
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
</ui-area>
|
|
283
283
|
<ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
|
|
284
284
|
<ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
|
|
285
|
-
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
|
|
285
|
+
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='xml-log'>X</a>,<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
|
|
286
286
|
<table id="dat_log" class="x-ui-layout"></table>
|
|
287
287
|
</ui-area> <!--}}}-->
|
|
288
288
|
</ui-content>
|
data/cockpit/edit.html
CHANGED
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
</ui-area>
|
|
282
282
|
<ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
|
|
283
283
|
<ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
|
|
284
|
-
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
|
|
284
|
+
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='xml-log'>X</a>,<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
|
|
285
285
|
<table id="dat_log" class="x-ui-layout"></table>
|
|
286
286
|
</ui-area> <!--}}}-->
|
|
287
287
|
</ui-content>
|
data/cockpit/index.html
CHANGED
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
</ui-area>
|
|
283
283
|
<ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
|
|
284
284
|
<ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
|
|
285
|
-
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
|
|
285
|
+
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='xml-log'>X</a>,<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
|
|
286
286
|
<table id="dat_log" class="x-ui-layout"></table>
|
|
287
287
|
</ui-area> <!--}}}-->
|
|
288
288
|
</ui-content>
|
data/cockpit/js/instance.js
CHANGED
|
@@ -586,7 +586,9 @@ function monitor_instance_values(type,vals) {// {{{
|
|
|
586
586
|
var uuid = $(" > attributes > uuid",res).text();
|
|
587
587
|
$("#current-log").show();
|
|
588
588
|
$("#shifted-log").show();
|
|
589
|
+
$("#xml-log").show();
|
|
589
590
|
$("#current-log").attr('href',$('body').attr('current-logs') + uuid + '.xes.yaml');
|
|
591
|
+
$("#xml-log").attr('href',$('body').attr('current-logs') + uuid + '.xes.xml');
|
|
590
592
|
$("#shifted-log").attr('href',$('body').attr('current-logs') + uuid + '.xes.shift.yaml');
|
|
591
593
|
if ($("#current-log").text() == '') {
|
|
592
594
|
$("#current-log").text(uuid + '.xes.yaml');
|
|
@@ -594,6 +596,9 @@ function monitor_instance_values(type,vals) {// {{{
|
|
|
594
596
|
if ($("#shifted-log").text() == '') {
|
|
595
597
|
$("#shifted-log").text(uuid + '.xes.shift.yaml');
|
|
596
598
|
}
|
|
599
|
+
if ($("#xml-log").text() == '') {
|
|
600
|
+
$("#shifted-log").text(uuid + '.xes.xml');
|
|
601
|
+
}
|
|
597
602
|
}
|
|
598
603
|
}
|
|
599
604
|
}
|
data/cockpit/llm.html
CHANGED
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
</ui-area>
|
|
280
280
|
<ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
|
|
281
281
|
<ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
|
|
282
|
-
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
|
|
282
|
+
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='xml-log'>X</a>,<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
|
|
283
283
|
<table id="dat_log" class="x-ui-layout"></table>
|
|
284
284
|
</ui-area> <!--}}}-->
|
|
285
285
|
</ui-content>
|
data/cockpit/only_llm.html
CHANGED
|
@@ -228,6 +228,10 @@
|
|
|
228
228
|
<option value="gpt-4">gpt 4</option>
|
|
229
229
|
<option value="gpt-4o">gpt 4o</option>
|
|
230
230
|
<option value="gpt-4o-mini">gpt 4o mini</option>
|
|
231
|
+
<option value="mistralai/Ministral-3-14B-Reasoning-2512"> Morp. Ministral 3</option>
|
|
232
|
+
<option value="google/gemma-4-31B-it">Morp. Gemma 4</option>
|
|
233
|
+
<option value="Qwen/Qwen3.6-35B-A3B">Morp. Qwen 3.6</option>
|
|
234
|
+
<option value="qwen-35-35b-coding">Morp. Qwen 35B Coding</option>
|
|
231
235
|
</select>
|
|
232
236
|
<a id="savetext" href="" download=""></a>
|
|
233
237
|
<button id='generate_text_button' class='llm_button' title='show text generated from model in text area'>Show as Text</button>
|
|
@@ -248,7 +252,7 @@
|
|
|
248
252
|
</div>
|
|
249
253
|
</ui-area>
|
|
250
254
|
<ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
|
|
251
|
-
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
|
|
255
|
+
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='xml-log'>X</a>,<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
|
|
252
256
|
<table id="dat_log" class="x-ui-layout"></table>
|
|
253
257
|
</ui-area> <!--}}}-->
|
|
254
258
|
</ui-content>
|
data/cpee.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "cpee"
|
|
3
|
-
s.version = "2.1.
|
|
3
|
+
s.version = "2.1.125"
|
|
4
4
|
s.platform = Gem::Platform::RUBY
|
|
5
5
|
s.license = "LGPL-3.0-or-later"
|
|
6
6
|
s.summary = "The cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
|
|
@@ -99,7 +99,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
99
99
|
}
|
|
100
100
|
end #}}}
|
|
101
101
|
|
|
102
|
-
def proto_curl(parameters) #{{{
|
|
102
|
+
def proto_curl(parameters, dataelements) #{{{
|
|
103
103
|
params = []
|
|
104
104
|
callback = SecureRandom.hex(16)
|
|
105
105
|
(parameters[:arguments] || []).each do |s|
|
|
@@ -203,11 +203,11 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
203
203
|
headers['CPEE_SALVAGE'] = true
|
|
204
204
|
c = result[0]&.value
|
|
205
205
|
c = c.read if c.respond_to? :read
|
|
206
|
-
callback([ Riddl::Parameter::Complex.new('error','application/json',StringIO.new(JSON::generate({ 'status' => status, 'error' => c }))) ], headers)
|
|
206
|
+
callback([ Riddl::Parameter::Complex.new('error','application/json',StringIO.new(JSON::generate({ 'status' => status, 'error' => c }))) ], headers, dataelements)
|
|
207
207
|
else
|
|
208
208
|
if headers['CPEE_CALLBACK'] && headers['CPEE_CALLBACK'] == 'true' && result.any?
|
|
209
209
|
headers['CPEE_UPDATE'] = true
|
|
210
|
-
callback result, headers
|
|
210
|
+
callback result, headers, dataelements
|
|
211
211
|
elsif headers['CPEE_CALLBACK'] && headers['CPEE_CALLBACK'] == 'true' && result.empty?
|
|
212
212
|
if headers['CPEE_INSTANTIATION']
|
|
213
213
|
@controller.notify("task/instantiation", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => CPEE::ValueHelper.parse(headers['CPEE_INSTANTIATION']))
|
|
@@ -217,19 +217,19 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
217
217
|
end
|
|
218
218
|
# do nothing, later on things will happend
|
|
219
219
|
else
|
|
220
|
-
callback result, headers
|
|
220
|
+
callback result, headers, dataelements
|
|
221
221
|
end
|
|
222
222
|
end
|
|
223
223
|
end #}}}
|
|
224
224
|
|
|
225
|
-
def activity_handle(passthrough, parameters) # {{{
|
|
225
|
+
def activity_handle(passthrough, parameters, dataelements) # {{{
|
|
226
226
|
raise "Wrong endpoint" if @handler_endpoint.nil? || @handler_endpoint.empty?
|
|
227
227
|
@label = parameters[:label]
|
|
228
228
|
@anno = parameters.delete(:annotations) rescue nil
|
|
229
229
|
@controller.notify("activity/calling", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :passthrough => passthrough, :endpoint => @handler_endpoint, :parameters => parameters)
|
|
230
230
|
@controller.notify("activity/annotation", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :annotations => @anno)
|
|
231
231
|
if passthrough.to_s.empty?
|
|
232
|
-
proto_curl parameters
|
|
232
|
+
proto_curl parameters, dataelements
|
|
233
233
|
else
|
|
234
234
|
@controller.callback(self,passthrough,:'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position)
|
|
235
235
|
@handler_passthrough = passthrough
|
|
@@ -274,6 +274,9 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
274
274
|
unless changed_dataelements.nil? || changed_dataelements.empty?
|
|
275
275
|
de = dataelements.slice(*changed_dataelements).transform_values { |v| enc = CPEE::EvalRuby::Translation::detect_encoding(v); (enc == 'OTHER' ? v : (v.encode('UTF-8',enc) rescue CPEE::EvalRuby::Translation::convert_to_base64(v))) }
|
|
276
276
|
@controller.notify("dataelements/change", :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position, :changed => changed_dataelements, :values => de)
|
|
277
|
+
if @anno && @anno[:_context_data_analysis] && @anno[:_context_data_analysis][:probes] && @anno[:_context_data_analysis][:probes].find{ |p| p.dig(:probe,:extractor_type) == 'intrinsic' }
|
|
278
|
+
@controller.notify("task/probe", :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position, :data => dataelements, :probes => @anno[:_context_data_analysis][:probes])
|
|
279
|
+
end
|
|
277
280
|
end
|
|
278
281
|
unless changed_endpoints.nil? || changed_endpoints.empty?
|
|
279
282
|
@controller.notify("endpoints/change", :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position, :changed => changed_endpoints, :values => endpoints.slice(*changed_endpoints))
|
|
@@ -287,9 +290,12 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
287
290
|
@controller.vote("activity/syncing_before", :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :activity => @handler_position, :label => @label, :parameters => parameters)
|
|
288
291
|
end # }}}
|
|
289
292
|
|
|
290
|
-
def callback(result=nil,options={}) #{{{
|
|
293
|
+
def callback(result=nil,options={}, dataelements) #{{{
|
|
291
294
|
recv = CPEE::EvalRuby::Translation::structurize_result(result)
|
|
292
295
|
@controller.notify("activity/receiving", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv)
|
|
296
|
+
if @anno[:_context_data_analysis] && @anno[:_context_data_analysis][:probes] && @anno[:_context_data_analysis][:probes].find{ |p| p.dig(:probe,:extractor_type) == 'extrinsic' }
|
|
297
|
+
@controller.notify("task/probe", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv, :data => dataelements, :probes => @anno[:_context_data_analysis]&.[](:probes))
|
|
298
|
+
end
|
|
293
299
|
|
|
294
300
|
@guard_files += result
|
|
295
301
|
|