Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/hotloop-flow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ keywords:

maintainers:
- name: HotLoop LLC
email: helpdesk@fireballz.ai
email: info@hotloop.ai

annotations:
catalog.cattle.io/display-name: "HotLoop Flow"
Expand Down
2 changes: 1 addition & 1 deletion internal/api/mcp_diagrams.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var diagramTools = []routeTool{
perm: PermStatusRead, method: "GET", path: "/diagrams/{id}", pathArgs: []string{"id"}, handler: func(s *Server) http.HandlerFunc { return s.handleDiagram }},
{name: "get_diagram_trace", desc: "What the last run of a diagram did, in order: every node that started or finished and every value that crossed a wire, with the milliseconds into the run. It answers not found for a diagram that has not run since it was deployed. The editor replays it on the canvas.",
perm: PermStatusRead, method: "GET", path: "/diagrams/{id}/trace", pathArgs: []string{"id"}, handler: func(s *Server) http.HandlerFunc { return s.handleDiagramTrace }},
{name: "run_diagram", desc: "RUN a diagram: start it, as the editor's Run button does. What its nodes write to equipment goes through HotLoop's write gate, and who started the run is in the audit trail. Optional body: {highlightMs, pause, breakpoints}.",
{name: "run_diagram", desc: "RUN a diagram: start it, as the editor's Run button does. What its nodes write to equipment goes through HotLoop's Safe writes, and who started the run is in the audit trail. Optional body: {highlightMs, pause, breakpoints}.",
perm: PermDiagramRun, method: "POST", path: "/diagrams/{id}/run", pathArgs: []string{"id"}, body: "optional: {highlightMs: how long a wire stays lit, pause: start paused, breakpoints: wire keys to stop at}",
handler: func(s *Server) http.HandlerFunc { return s.handleDiagramRun }},
{name: "stop_diagram", desc: "STOP a running diagram. Nothing it already wrote to equipment is undone.",
Expand Down
6 changes: 3 additions & 3 deletions internal/diagram/ops_gate.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ func init() {
InputPorts: []string{"value", "tag?", "err?"}, OutputPorts: []string{"written", "reason", "err"},
Props: []node.Prop{
{Name: "hotloop", Label: "HotLoop", Kind: node.PropConfigRef, ConfigType: "hotloop-flow-hotloop", Required: true,
Help: "The HotLoop whose write gate decides."},
Help: "The HotLoop whose Safe writes decides."},
{Name: "tag", Label: "HotLoop tag", Kind: node.PropString, Placeholder: "plc-1/Setpoint",
Help: "The tag this writes, written device/tag. Used when no tag is wired in."},
},
Help: "Writes its value to a tag in HotLoop through HotLoop's write gate, which decides in its own order that writes are switched on, that the tag is armed and that the value is in range. This is how a diagram commands equipment: Flow never writes to a machine itself. HotLoop records every attempt, refused or not, with the reason flow:<diagram>/<node>. A refusal is an error on the error wire with the gate's own reason, and so is a HotLoop that cannot be reached; the write does not happen. Written is the value that went in, and Reason is what HotLoop was told.",
Help: "Writes its value to a tag in HotLoop through HotLoop's Safe writes, which decides in its own order that writes are switched on, that the tag is armed and that the value is in range. This is how a diagram commands equipment: Flow never writes to a machine itself. HotLoop records every attempt, refused or not, with the reason flow:<diagram>/<node>. A refusal is an error on the error wire with Safe writes' own reason, and so is a HotLoop that cannot be reached; the write does not happen. Written is the value that went in, and Reason is what HotLoop was told.",
},
New: func(raw map[string]any) (Op, error) {
cfgID := strProp(raw, "hotloop", "")
if cfgID == "" {
return nil, fmt.Errorf("no HotLoop selected: a write to equipment has to go through a HotLoop's write gate")
return nil, fmt.Errorf("no HotLoop selected: a write to equipment has to go through a HotLoop's Safe writes")
}
tag := strProp(raw, "tag", "")
return opFunc(func(ctx context.Context, rc *Ctx, in map[string]any) (map[string]any, error) {
Expand Down
24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.ar.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.bg.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.de.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.el.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.en.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.es.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.fr.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.hi.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.it.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.ja.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.ko.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.nb.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.vi.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions internal/i18n/catalog/nodes.zh-Hans.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions internal/nodes/hotloop_gate.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ import (
// and a node with none selected is exactly the node it was before.

// hotloopGateHelp is the paragraph every equipment write node adds to its help.
const hotloopGateHelp = "\n\nWith a HotLoop selected under Write through HotLoop, the value goes to HotLoop's write gate " +
"instead of to the equipment, and a write the gate refuses arrives at a Catch node with the gate's reason."
const hotloopGateHelp = "\n\nWith a HotLoop selected under Write through HotLoop, the value goes to HotLoop's Safe writes " +
"instead of to the equipment, and a write that Safe writes refuses arrives at a Catch node with Safe writes' reason."

// hotloopGateProps are the two properties the equipment write nodes carry.
func hotloopGateProps() []node.Prop {
return []node.Prop{
{Name: "hotloop", Kind: node.PropConfigRef, Label: "Write through HotLoop", ConfigType: "hotloop-flow-hotloop",
Help: "Leave empty to write straight to the equipment. With a HotLoop here, the write goes to HotLoop's write " +
"gate instead, as the tag named below, and the equipment connection above is not used. If HotLoop " +
Help: "Leave empty to write straight to the equipment. With a HotLoop here, the write goes to HotLoop's Safe " +
"writes instead, as the tag named below, and the equipment connection above is not used. If HotLoop " +
"refuses, or can't be reached, the write does not happen: it never falls back to writing directly."},
{Name: "hotloopTag", Kind: node.PropTypedInput, Label: "HotLoop tag", Default: "",
TypeProp: "hotloopTagType", TypedInputTypes: hotloopStringTypes(), Placeholder: "plc-1/Setpoint",
Expand Down
4 changes: 2 additions & 2 deletions internal/nodes/hotloop_nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ func registerHotloopScript() {
Help: "Added after flow:<node id> in what HotLoop records beside the run."},
},
Help: "Runs a HotLoop script when a message arrives. HotLoop starts it as the account on the HotLoop " +
"connection, and every write the script makes goes through HotLoop's write gate, which can refuse it. " +
"connection, and every write the script makes goes through HotLoop's Safe writes, which can refuse it. " +
"HotLoop records the run with the reason flow:<node id>.\n\n" +
"The message is sent on with msg.payload set to the run: its status, its fields and, when the node waited, " +
"the trace of every step. A script HotLoop won't start (busy, a field out of range, a script that doesn't " +
Expand Down Expand Up @@ -714,7 +714,7 @@ func registerHotloopRecipe() {
Help: "Added after flow:<node id> in what HotLoop records beside the application."},
},
Help: "Applies a HotLoop recipe when a message arrives. HotLoop checks the whole recipe first and refuses it " +
"whole, writes every target in order through its write gate, and reads each value back from the device. " +
"whole, writes every target in order through its Safe writes, and reads each value back from the device. " +
"The application is recorded under the account on the HotLoop connection with the reason flow:<node id>.\n\n" +
"The message is sent on only when every target was written, with msg.payload set to the application, " +
"including whether each value was verified. A recipe HotLoop refuses, or one that stopped halfway, raises " +
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/Editor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -842,8 +842,8 @@
}
history = [];
historyMessage = ex instanceof ApiError && ex.status === 403
? 'This account cannot read the deployment log.'
: 'Could not load the deployment log.';
? 'This account cannot read Deploy history.'
: 'Could not load Deploy history.';
}
}

Expand Down
20 changes: 10 additions & 10 deletions web/src/i18n/ui.ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"dialogs.conflict.your_flows_are_out_of": "تدفقاتك قديمة",
"dialogs.conflict.somebody_deployed_since_you_loaded": "نشر شخص ما منذ أن حمّلت هذه التدفقات.",
"dialogs.conflict.what_they_changed": "ما الذي غيّروه:",
"dialogs.conflict.the_revision_you_loaded_isnt": "المراجعة التي حمّلتها لم تعد في سجل النشر، لذلك لا يمكن عرض ما غيّروه.",
"dialogs.conflict.the_revision_you_loaded_isnt": "المراجعة التي حمّلتها لم تعد في Deploy history، لذلك لا يمكن عرض ما غيّروه.",
"dialogs.conflict.overwriting_deploys_your_version_over": "الكتابة فوقها تنشر نسختك فوق نسختهم. وتحميل نسختهم يتخلص من تغييراتك.",
"dialogs.conflict.keep_editing": "متابعة التحرير",
"dialogs.conflict.load_theirs": "تحميل نسختهم",
Expand Down Expand Up @@ -134,7 +134,7 @@
"dialogs.propfield.this_flow_file_has_no": "لا يحتوي ملف التدفقات هذا بعد على مخطط FlowLab للاختيار. أضف واحدًا أولًا من شريط التبويبات.",
"dialogs.propfield.choose_a_diagram": "— اختر مخططًا —",
"dialogs.propfield.add_a_case": "إضافة حالة",
"dialogs.rollback.why_this_goes_in_the": "لماذا؟ يُسجَّل هذا في سجل النشر.",
"dialogs.rollback.why_this_goes_in_the": "لماذا؟ يُسجَّل هذا في Deploy history.",
"dialogs.rollback.you_have_changes_in_the": "لديك تغييرات في المحرر لم يتم نشرها قط. التراجع يتخلص منها.",
"dialogs.rollback.note": "ملاحظة",
"dialogs.rollback.cancel": "إلغاء",
Expand Down Expand Up @@ -191,12 +191,12 @@
"panels.debug.dropped": "مُسقَطة",
"panels.debug.trace": "تتبّع",
"panels.debug.test": "اختبار",
"panels.history.reload_the_deployment_log": "إعادة تحميل سجل النشر",
"panels.history.history": "السجل",
"panels.history.reload_the_deployment_log": "إعادة تحميل Deploy history",
"panels.history.history": "Deploy history",
"panels.history.refresh": "تحديث",
"panels.history.changes": "التغييرات",
"panels.history.roll_back": "تراجع",
"panels.review.what_changed_and_why_this": "ما الذي تغيّر ولماذا. يُسجَّل هذا في سجل النشر.",
"panels.review.what_changed_and_why_this": "ما الذي تغيّر ولماذا. يُسجَّل هذا في Deploy history.",
"panels.review.review_and_deploy": "مراجعة ونشر",
"panels.review.keep_editing": "متابعة التحرير",
"panels.runtime.runtime": "بيئة التشغيل",
Expand All @@ -215,7 +215,7 @@
"panels.tests.running": "قيد التشغيل…",
"panels.trace.make_a_flow_test_from": "إنشاء اختبار تدفق من هذا التتبّع",
"panels.trace.put_this_message_into_the": "وضع هذه الرسالة في نسخة العمل ومقارنتها",
"panels.trace.trace": "تتبّع",
"panels.trace.trace": "Message trace",
"panels.trace.click_trace_on_a_debug": "انقر «تتبّع» في رسالة تصحيح لترى المسار الذي سلكته.",
"panels.trace.replaying": "إعادة التشغيل…",
"panels.trace.make_test": "إنشاء اختبار",
Expand Down Expand Up @@ -263,7 +263,7 @@
"editor.cannot_read_tests": "لا يستطيع هذا الحساب قراءة اختبارات التدفق.",
"editor.could_not_load_tests": "تعذّر تحميل اختبارات التدفق.",
"editor.nothing_deployed_yet": "لم يُنشر شيء بعد.",
"editor.history": "السجل",
"editor.history": "Deploy history",
"editor.since_deployment": "{summary} منذ #{seq}.",
"editor.first_deployment": "أول عملية نشر في السجل.",
"editor.could_not_open_deployment": "تعذّر فتح النشر {n}",
Expand Down Expand Up @@ -494,7 +494,7 @@
"server.that_message_s_trace_is_no_longer_kept_send_it_again_and_loo": "لم يعد تتبّع تلك الرسالة محفوظًا: أرسلها مرة أخرى وانظر إلى التتبّع الجديد",
"server.that_trace_is_no_longer_kept": "لم يعد ذلك التتبّع محفوظًا",
"server.the_audit_log_is_not_available": "سجل التدقيق غير متاح",
"server.the_deployment_log_is_not_available": "سجل النشر غير متاح",
"server.the_deployment_log_is_not_available": "Deploy history غير متاح",
"server.there_are_no_flow_tests_to_run": "لا توجد اختبارات تدفق لتشغيلها",
"server.the_tests_are_too_large": "الاختبارات كبيرة جدًا",
"server.the_test_suite_is_too_large": "مجموعة الاختبارات كبيرة جدًا",
Expand Down Expand Up @@ -606,6 +606,6 @@
"editor.replay_nothing": "لم يسجّل ذلك التنفيذ شيئًا لإعادة عرضه.",
"editor.replay_truncated": "كان ذلك التنفيذ أطول مما يُحتفظ به. تعرض إعادة العرض أول {n} حدثًا.",
"editor.replay_not_run": "شغّل المخطط مرة واحدة ثم أعد عرضه.",
"editor.failover_standby": "هذا التثبيت هو الاحتياطي. يشغّل التدفقات لكنه يحجب كتاباته إلى المعدات حتى يستلم عقد الإيجار من {owner}.",
"editor.failover_standby": "هذا التثبيت هو Warm standby. يشغّل التدفقات لكنه يحجب كتاباته إلى المعدات حتى يستلم عقد الإيجار من {owner}.",
"editor.failover_lost": "فقد هذا التثبيت عقد الإيجار، لذلك يحجب كتاباته إلى المعدات. قد يكون {owner} يكتب الآن."
}
}
20 changes: 10 additions & 10 deletions web/src/i18n/ui.bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"dialogs.conflict.your_flows_are_out_of": "Потоците ви са остарели",
"dialogs.conflict.somebody_deployed_since_you_loaded": "Някой е внедрил, откакто заредихте тези потоци.",
"dialogs.conflict.what_they_changed": "Какво е променил:",
"dialogs.conflict.the_revision_you_loaded_isnt": "Ревизията, която заредихте, вече я няма в журнала на внедряванията, затова не може да се покаже какво е променено.",
"dialogs.conflict.the_revision_you_loaded_isnt": "Ревизията, която заредихте, вече я няма в Deploy history, затова не може да се покаже какво е променено.",
"dialogs.conflict.overwriting_deploys_your_version_over": "Презаписването внедрява вашата версия върху тяхната. Зареждането на тяхната изхвърля вашите промени.",
"dialogs.conflict.keep_editing": "Продължи редакцията",
"dialogs.conflict.load_theirs": "Зареди тяхната",
Expand Down Expand Up @@ -134,7 +134,7 @@
"dialogs.propfield.this_flow_file_has_no": "Този файл с потоци още няма диаграма на FlowLab за избор. Първо добавете една от лентата с раздели.",
"dialogs.propfield.choose_a_diagram": "— изберете диаграма —",
"dialogs.propfield.add_a_case": "Добави случай",
"dialogs.rollback.why_this_goes_in_the": "Защо? Това отива в журнала на внедряванията.",
"dialogs.rollback.why_this_goes_in_the": "Защо? Това отива в Deploy history.",
"dialogs.rollback.you_have_changes_in_the": "Имате промени в редактора, които никога не са внедрявани. Връщането назад ги изхвърля.",
"dialogs.rollback.note": "Бележка",
"dialogs.rollback.cancel": "Отказ",
Expand Down Expand Up @@ -191,12 +191,12 @@
"panels.debug.dropped": "изпуснати",
"panels.debug.trace": "Трасиране",
"panels.debug.test": "Тест",
"panels.history.reload_the_deployment_log": "Презареди журнала на внедряванията",
"panels.history.history": "История",
"panels.history.reload_the_deployment_log": "Презареди Deploy history",
"panels.history.history": "Deploy history",
"panels.history.refresh": "Опресни",
"panels.history.changes": "Промени",
"panels.history.roll_back": "Върни назад",
"panels.review.what_changed_and_why_this": "Какво е променено и защо. Това отива в журнала на внедряванията.",
"panels.review.what_changed_and_why_this": "Какво е променено и защо. Това отива в Deploy history.",
"panels.review.review_and_deploy": "Преглед и внедряване",
"panels.review.keep_editing": "Продължи редакцията",
"panels.runtime.runtime": "Runtime",
Expand All @@ -215,7 +215,7 @@
"panels.tests.running": "Изпълнява се…",
"panels.trace.make_a_flow_test_from": "Направи тест на поток от това трасиране",
"panels.trace.put_this_message_into_the": "Постави това съобщение в работното копие и сравни",
"panels.trace.trace": "Трасиране",
"panels.trace.trace": "Message trace",
"panels.trace.click_trace_on_a_debug": "Щракнете върху Трасиране при съобщение за дебъг, за да видите пътя му.",
"panels.trace.replaying": "Повторно възпроизвеждане…",
"panels.trace.make_test": "Направи тест",
Expand Down Expand Up @@ -263,7 +263,7 @@
"editor.cannot_read_tests": "Този акаунт не може да чете тестовете на потока.",
"editor.could_not_load_tests": "Тестовете на потока не можаха да се заредят.",
"editor.nothing_deployed_yet": "Още нищо не е внедрено.",
"editor.history": "История",
"editor.history": "Deploy history",
"editor.since_deployment": "{summary} от #{seq}.",
"editor.first_deployment": "Първото внедряване в журнала.",
"editor.could_not_open_deployment": "Внедряване {n} не можа да се отвори",
Expand Down Expand Up @@ -494,7 +494,7 @@
"server.that_message_s_trace_is_no_longer_kept_send_it_again_and_loo": "трасирането на това съобщение вече не се пази: изпратете го отново и вижте новото",
"server.that_trace_is_no_longer_kept": "това трасиране вече не се пази",
"server.the_audit_log_is_not_available": "журналът за одит не е наличен",
"server.the_deployment_log_is_not_available": "журналът на внедряванията не е наличен",
"server.the_deployment_log_is_not_available": "Deploy history не е наличен",
"server.there_are_no_flow_tests_to_run": "няма тестове на потоци за изпълнение",
"server.the_tests_are_too_large": "тестовете са твърде големи",
"server.the_test_suite_is_too_large": "наборът от тестове е твърде голям",
Expand Down Expand Up @@ -526,6 +526,6 @@
"editor.replay_nothing": "Това изпълнение не е записало нищо за повторение.",
"editor.replay_truncated": "Това изпълнение е по-дълго от запазеното. Повторението показва първите му {n} събития.",
"editor.replay_not_run": "Изпълнете диаграмата веднъж и след това я повторете.",
"editor.failover_standby": "Тази инсталация е резервната. Изпълнява потоците, но задържа записите към оборудването, докато поеме лизинга от {owner}.",
"editor.failover_standby": "Тази инсталация е Warm standby. Изпълнява потоците, но задържа записите към оборудването, докато поеме лизинга от {owner}.",
"editor.failover_lost": "Тази инсталация загуби лизинга и задържа записите към оборудването. {owner} може да записва в момента."
}
}
Loading
Loading