Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
11801a89
Commit
11801a89
authored
Feb 25, 2026
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Helper scripts for life-cycle management and MCP control of the program.
parent
c6d346ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
eyesis_host_daemon.py
scripts/eyesis_host_daemon.py
+1
-1
eyesis_mcp_ctl.sh
scripts/eyesis_mcp_ctl.sh
+1
-1
No files found.
scripts/eyesis_host_daemon.py
View file @
11801a89
...
...
@@ -37,7 +37,7 @@ DEFAULT_QUEUE = REPO_ROOT / "attic" / "session-logs" / "eyesis-host-daemon"
CTL_SCRIPT
=
REPO_ROOT
/
"scripts"
/
"eyesis_mcp_ctl.sh"
MCP_SCRIPT
=
REPO_ROOT
/
"scripts"
/
"mcp_http.sh"
ALLOWED_CTL
=
{
"start"
,
"stop"
,
"restart"
,
"status"
,
"wait"
,
"logs"
}
ALLOWED_CTL
=
{
"start"
,
"stop"
,
"restart"
,
"status"
,
"wait"
}
ALLOWED_MCP
=
{
"status"
,
"dialog"
,
"button"
,
"set"
,
"submit"
,
"interrupt"
,
"confirm-stop"
}
...
...
scripts/eyesis_mcp_ctl.sh
View file @
11801a89
...
...
@@ -102,7 +102,7 @@ mcp_is_up() {
mcp_request_exit
()
{
local
helper
=
"
${
REPO_ROOT
}
/scripts/mcp_http.sh"
if
[[
-x
"
${
helper
}
"
]]
;
then
"
${
helper
}
"
--timeout
5 button
--label
"Exit"
>
/dev/null
"
${
helper
}
"
button
--timeout
5
--label
"Exit"
>
/dev/null
return
$?
fi
curl
-fsS
--max-time
5
-X
POST
--data-urlencode
"label=Exit"
"
$(
mcp_base_url
)
/button"
>
/dev/null
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment