cmdbox 0.6.1__py3-none-any.whl → 0.6.2__py3-none-any.whl
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.
Potentially problematic release.
This version of cmdbox might be problematic. Click here for more details.
- cmdbox/app/auth/azure_signin.py +5 -1
- cmdbox/app/auth/signin.py +7 -3
- cmdbox/app/edge.py +3 -3
- cmdbox/app/features/cli/agent_base.py +42 -42
- cmdbox/app/features/cli/audit_base.py +28 -28
- cmdbox/app/features/cli/cmdbox_audit_createdb.py +28 -28
- cmdbox/app/features/cli/cmdbox_audit_delete.py +26 -26
- cmdbox/app/features/cli/cmdbox_audit_search.py +42 -42
- cmdbox/app/features/cli/cmdbox_audit_write.py +22 -22
- cmdbox/app/features/cli/cmdbox_client_file_copy.py +36 -36
- cmdbox/app/features/cli/cmdbox_client_file_download.py +38 -38
- cmdbox/app/features/cli/cmdbox_client_file_list.py +34 -34
- cmdbox/app/features/cli/cmdbox_client_file_mkdir.py +32 -32
- cmdbox/app/features/cli/cmdbox_client_file_move.py +34 -34
- cmdbox/app/features/cli/cmdbox_client_file_remove.py +32 -32
- cmdbox/app/features/cli/cmdbox_client_file_rmdir.py +32 -32
- cmdbox/app/features/cli/cmdbox_client_file_upload.py +38 -38
- cmdbox/app/features/cli/cmdbox_client_server_info.py +26 -26
- cmdbox/app/features/cli/cmdbox_cmd_list.py +22 -21
- cmdbox/app/features/cli/cmdbox_cmd_load.py +24 -20
- cmdbox/app/features/cli/cmdbox_edge_config.py +40 -40
- cmdbox/app/features/cli/cmdbox_edge_start.py +4 -4
- cmdbox/app/features/cli/cmdbox_gui_start.py +2 -2
- cmdbox/app/features/cli/cmdbox_gui_stop.py +2 -2
- cmdbox/app/features/cli/cmdbox_mcp_proxy.py +17 -11
- cmdbox/app/features/cli/cmdbox_server_list.py +20 -20
- cmdbox/app/features/cli/cmdbox_server_start.py +26 -26
- cmdbox/app/features/cli/cmdbox_server_stop.py +26 -26
- cmdbox/app/features/cli/cmdbox_web_apikey_add.py +24 -24
- cmdbox/app/features/cli/cmdbox_web_apikey_del.py +24 -24
- cmdbox/app/features/cli/cmdbox_web_gencert.py +24 -24
- cmdbox/app/features/cli/cmdbox_web_genpass.py +20 -20
- cmdbox/app/features/cli/cmdbox_web_group_add.py +26 -26
- cmdbox/app/features/cli/cmdbox_web_group_del.py +22 -22
- cmdbox/app/features/cli/cmdbox_web_group_edit.py +26 -26
- cmdbox/app/features/cli/cmdbox_web_group_list.py +22 -22
- cmdbox/app/features/cli/cmdbox_web_start.py +66 -66
- cmdbox/app/features/cli/cmdbox_web_stop.py +10 -10
- cmdbox/app/features/cli/cmdbox_web_user_add.py +32 -32
- cmdbox/app/features/cli/cmdbox_web_user_del.py +22 -22
- cmdbox/app/features/cli/cmdbox_web_user_edit.py +32 -32
- cmdbox/app/features/cli/cmdbox_web_user_list.py +22 -22
- cmdbox/app/features/web/cmdbox_web_agent.py +0 -4
- cmdbox/app/mcp.py +316 -120
- cmdbox/app/options.py +21 -21
- cmdbox/app/web.py +1 -1
- cmdbox/extensions/sample_project/sample/app/features/cli/sample_client_time.py +4 -4
- cmdbox/extensions/sample_project/sample/app/features/cli/sample_server_time.py +18 -18
- cmdbox/extensions/sample_project/sample/extensions/user_list.yml +4 -0
- cmdbox/extensions/user_list.yml +4 -0
- cmdbox/licenses/LICENSE_dnspython_2_7_0_ISC_License-ISCL.txt +35 -0
- cmdbox/licenses/LICENSE_email_validator_2_2_0_The_Unlicense-Unlicense.txt +27 -0
- cmdbox/licenses/files.txt +4 -2
- cmdbox/version.py +2 -2
- cmdbox/web/agent.html +2 -2
- cmdbox/web/assets/cmdbox/audit.js +14 -14
- cmdbox/web/assets/cmdbox/common.js +21 -7
- cmdbox/web/assets/cmdbox/list_cmd.js +5 -5
- cmdbox/web/assets/cmdbox/signin.js +17 -7
- cmdbox/web/assets/cmdbox/svgicon.js +3 -3
- cmdbox/web/assets/cmdbox/users.js +14 -5
- cmdbox/web/audit.html +6 -6
- cmdbox/web/signin.html +33 -7
- cmdbox/web/users.html +4 -4
- {cmdbox-0.6.1.dist-info → cmdbox-0.6.2.dist-info}/METADATA +27 -23
- {cmdbox-0.6.1.dist-info → cmdbox-0.6.2.dist-info}/RECORD +72 -70
- /cmdbox/licenses/{LICENSE_fastmcp_2_9_2_Apache_Software_License.txt → LICENSE_fastmcp_2_10_1_Apache_Software_License.txt} +0 -0
- /cmdbox/licenses/{LICENSE_mcp_1_9_4_MIT_License.txt → LICENSE_mcp_1_10_1_MIT_License.txt} +0 -0
- {cmdbox-0.6.1.dist-info → cmdbox-0.6.2.dist-info}/LICENSE +0 -0
- {cmdbox-0.6.1.dist-info → cmdbox-0.6.2.dist-info}/WHEEL +0 -0
- {cmdbox-0.6.1.dist-info → cmdbox-0.6.2.dist-info}/entry_points.txt +0 -0
- {cmdbox-0.6.1.dist-info → cmdbox-0.6.2.dist-info}/top_level.txt +0 -0
|
@@ -38,39 +38,39 @@ class AuditWrite(audit_base.AuditBase):
|
|
|
38
38
|
Dict[str, Any]: オプション
|
|
39
39
|
"""
|
|
40
40
|
opt = super().get_option()
|
|
41
|
-
opt['
|
|
42
|
-
opt['
|
|
41
|
+
opt['description_ja'] = "監査を記録します。"
|
|
42
|
+
opt['description_en'] = "Record the audit."
|
|
43
43
|
opt['choice'] += [
|
|
44
44
|
dict(opt="client_only", type=Options.T_BOOL, default=False, required=False, multi=False, hide=True, choice=[True, False],
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
description_ja="サーバーへの接続を行わないようにします。",
|
|
46
|
+
description_en="Do not make connections to the server."),
|
|
47
47
|
dict(opt="audit_type", type=Options.T_STR, default=None, required=True, multi=False, hide=False, choice=Options.AUDITS,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
description_ja="監査の種類を指定します。",
|
|
49
|
+
description_en="Specifies the audit type."),
|
|
50
50
|
dict(opt="clmsg_id", type=Options.T_STR, default=None, required=False, multi=False, hide=False, choice=None,
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
description_ja="クライアントのメッセージIDを指定します。省略した場合はuuid4で生成されます。",
|
|
52
|
+
description_en="Specifies the message ID of the client. If omitted, uuid4 will be generated."),
|
|
53
53
|
dict(opt="clmsg_date", type=Options.T_DATETIME, default=None, required=False, multi=False, hide=False, choice=None,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
description_ja="クライアントのメッセージ発生日時を指定します。省略した場合はサーバーの現在日時が使用されます。",
|
|
55
|
+
description_en="Specifies the date and time the client message occurred. If omitted, the server's current date/time is used."),
|
|
56
56
|
dict(opt="clmsg_src", type=Options.T_STR, default=None, required=False, multi=False, hide=False, choice=None,
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
description_ja="クライアントのメッセージの発生源を指定します。通常 `cmdbox.app.feature.Feature` を継承したクラス名を指定します。",
|
|
58
|
+
description_en="Specifies the source of client messages. Usually specifies the name of a class that extends `cmdbox.app.feature.Feature` ."),
|
|
59
59
|
dict(opt="clmsg_title", type=Options.T_STR, default=None, required=False, multi=False, hide=False, choice=None,
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
description_ja="クライアントのメッセージタイトルを指定します。通常コマンドタイトルを指定します。",
|
|
61
|
+
description_en="Specifies the client message title. Usually specifies the command title."),
|
|
62
62
|
dict(opt="clmsg_user", type=Options.T_STR, default=None, required=False, multi=False, hide=False, choice=None,
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
description_ja="クライアントのメッセージを発生させたユーザーを指定します。",
|
|
64
|
+
description_en="SpecSpecifies the user who generated the client message."),
|
|
65
65
|
dict(opt="clmsg_body", type=Options.T_DICT, default=None, required=False, multi=True, hide=False, choice=None,
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
description_ja="クライアントのメッセージの本文を辞書形式で指定します。",
|
|
67
|
+
description_en="Specifies the body of the client's message in dictionary format."),
|
|
68
68
|
dict(opt="clmsg_tag", type=Options.T_STR, default=None, required=False, multi=True, hide=False, choice=None,
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
description_ja="クライアントのメッセージのタグを指定します。後で検索しやすくするために指定します。",
|
|
70
|
+
description_en="Specifies the tag for the client's message. Specify to make it easier to search later."),
|
|
71
71
|
dict(opt="retention_period_days", type=Options.T_INT, default=365, required=False, multi=False, hide=True, choice=None, web="mask",
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
description_ja="監査を保存する日数を指定します。この日数より古い監査は削除します。0以下を指定すると無期限で保存されます。",
|
|
73
|
+
description_en="Specify the number of days to keep the audit. If the number is less than or equal to 0, the audit will be kept indefinitely."),
|
|
74
74
|
]
|
|
75
75
|
return opt
|
|
76
76
|
|
|
@@ -35,76 +35,76 @@ class ClientFileCopy(feature.UnsupportEdgeFeature):
|
|
|
35
35
|
"""
|
|
36
36
|
return dict(
|
|
37
37
|
use_redis=self.USE_REDIS_MEIGHT, nouse_webmode=False,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
description_ja="サーバー側のデータフォルダ配下のファイルをコピーします。",
|
|
39
|
+
description_en="Copy the files under the data folder on the server side.",
|
|
40
40
|
choice=[
|
|
41
41
|
dict(opt="host", type=Options.T_STR, default=self.default_host, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
description_ja="Redisサーバーのサービスホストを指定します。",
|
|
43
|
+
description_en="Specify the service host of the Redis server."),
|
|
44
44
|
dict(opt="port", type=Options.T_INT, default=self.default_port, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
description_ja="Redisサーバーのサービスポートを指定します。",
|
|
46
|
+
description_en="Specify the service port of the Redis server."),
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
description_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
|
+
description_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
50
|
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
description_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
|
+
description_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="from_path", type=Options.T_STR, default=None, required=True, multi=False, hide=False, choice=None,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
description_ja="サーバーのデータフォルダ以下のコピー元パスを指定します。",
|
|
55
|
+
description_en="Specify the copy source path under the data folder of the inference server.",
|
|
56
56
|
test_true={"server":"/file_server/upload/dog.jpg",
|
|
57
57
|
"client":"/file_client/upload/dog.jpg",
|
|
58
58
|
"current":"/file_current/upload/dog.jpg"}),
|
|
59
59
|
dict(opt="to_path", type=Options.T_STR, default=None, required=True, multi=False, hide=False, choice=None,
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
description_ja="サーバーのデータフォルダ以下のコピー先パスを指定します。",
|
|
61
|
+
description_en="Specify the path to copy under the data folder of the inference server.",
|
|
62
62
|
test_true={"server":"/file_server/upload/dog2.jpg",
|
|
63
63
|
"client":"/file_client/upload/dog2.jpg",
|
|
64
64
|
"current":"/file_current/upload/dog2.jpg"}),
|
|
65
65
|
dict(opt="orverwrite", type=Options.T_BOOL, default=False, required=False, multi=False, hide=True, choice=[True, False],
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
description_ja="コピー先に存在していても上書きします。",
|
|
67
|
+
description_en="Overwrites the copy even if it exists at the destination.",
|
|
68
68
|
test_true={"server":True,
|
|
69
69
|
"client":False,
|
|
70
70
|
"current":False}),
|
|
71
71
|
dict(opt="scope", type=Options.T_STR, default="client", required=True, multi=False, hide=False, choice=["client", "current", "server"],
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
description_ja="参照先スコープを指定します。指定可能な画像タイプは `client` , `current` , `server` です。",
|
|
73
|
+
description_en="Specifies the scope to be referenced. Possible image types are `client` , `current`, and `server`.",
|
|
74
74
|
choice_show=dict(client=["client_data"]),
|
|
75
75
|
test_true={"server":"server",
|
|
76
76
|
"client":"client",
|
|
77
77
|
"current":"current"}),
|
|
78
78
|
dict(opt="client_data", type=Options.T_STR, default=None, required=False, multi=False, hide=False, choice=None,
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
description_ja="ローカルを参照させる場合のデータフォルダのパスを指定します。",
|
|
80
|
+
description_en="Specify the path of the data folder when local is referenced.",
|
|
81
81
|
test_true={"server":None,
|
|
82
82
|
"client":common.HOME_DIR / f".{self.ver.__appid__}",
|
|
83
83
|
"current":None}),
|
|
84
84
|
dict(opt="retry_count", type=Options.T_INT, default=3, required=False, multi=False, hide=True, choice=None,
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
description_ja="Redisサーバーへの再接続回数を指定します。0以下を指定すると永遠に再接続を行います。",
|
|
86
|
+
description_en="Specifies the number of reconnections to the Redis server.If less than 0 is specified, reconnection is forever."),
|
|
87
87
|
dict(opt="retry_interval", type=Options.T_INT, default=5, required=False, multi=False, hide=True, choice=None,
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
description_ja="Redisサーバーに再接続までの秒数を指定します。",
|
|
89
|
+
description_en="Specifies the number of seconds before reconnecting to the Redis server."),
|
|
90
90
|
dict(opt="timeout", type=Options.T_INT, default="15", required=False, multi=False, hide=True, choice=None,
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
description_ja="サーバーの応答が返ってくるまでの最大待ち時間を指定。",
|
|
92
|
+
description_en="Specify the maximum waiting time until the server responds."),
|
|
93
93
|
dict(opt="output_json", short="o", type=Options.T_FILE, default=None, required=False, multi=False, hide=True, choice=None, fileio="out",
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
description_ja="処理結果jsonの保存先ファイルを指定。",
|
|
95
|
+
description_en="Specify the destination file for saving the processing result json."),
|
|
96
96
|
dict(opt="output_json_append", short="a", type=Options.T_BOOL, default=False, required=False, multi=False, hide=True, choice=[True, False],
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
description_ja="処理結果jsonファイルを追記保存します。",
|
|
98
|
+
description_en="Save the processing result json file by appending."),
|
|
99
99
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
101
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
102
102
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
104
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
105
105
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
107
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
108
108
|
]
|
|
109
109
|
)
|
|
110
110
|
|
|
@@ -35,74 +35,74 @@ class ClientFileDownload(feature.OneshotEdgeFeature):
|
|
|
35
35
|
"""
|
|
36
36
|
return dict(
|
|
37
37
|
use_redis=self.USE_REDIS_MEIGHT, nouse_webmode=False,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
description_ja="サーバー側のデータフォルダ配下のファイルをダウンロードします。",
|
|
39
|
+
description_en="Download a file under the data folder on the server.",
|
|
40
40
|
choice=[
|
|
41
41
|
dict(opt="host", type=Options.T_STR, default=self.default_host, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
description_ja="Redisサーバーのサービスホストを指定します。",
|
|
43
|
+
description_en="Specify the service host of the Redis server."),
|
|
44
44
|
dict(opt="port", type=Options.T_INT, default=self.default_port, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
description_ja="Redisサーバーのサービスポートを指定します。",
|
|
46
|
+
description_en="Specify the service port of the Redis server."),
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
description_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
|
+
description_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
50
|
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
description_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
|
+
description_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="svpath", type=Options.T_STR, default="/", required=True, multi=False, hide=False, choice=None,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
description_ja="サーバーのデータフォルダ以下のパスを指定します。",
|
|
55
|
+
description_en="Specify the directory path to get the list of files.",
|
|
56
56
|
test_true={"server":"/file_server",
|
|
57
57
|
"client":"/file_client",
|
|
58
58
|
"current":"/file_current"}),
|
|
59
59
|
dict(opt="scope", type=Options.T_STR, default="client", required=True, multi=False, hide=False, choice=["client", "current", "server"],
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
description_ja="参照先スコープを指定します。指定可能な画像タイプは `client` , `current` , `server` です。",
|
|
61
|
+
description_en="Specifies the scope to be referenced. When omitted, 'client' is used.",
|
|
62
62
|
choice_show=dict(client=["client_data"]),
|
|
63
63
|
test_true={"server":"server",
|
|
64
64
|
"client":"client",
|
|
65
65
|
"current":"current"}),
|
|
66
66
|
dict(opt="rpath", type=Options.T_STR, default=None, required=False, multi=False, hide=False, choice=None,
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
description_ja="リクエストパスを指定します。この値は何もせずそのままレスポンスに含めて返されます。",
|
|
68
|
+
description_en="Specifies the request path. This value is returned in the response without any modification."),
|
|
69
69
|
dict(opt="download_file", type=Options.T_FILE, default=None, required=False, multi=False, hide=False, choice=None, fileio="out",
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
description_ja="クライアントの保存先パスを指定します。",
|
|
71
|
+
description_en="Specify the destination path of the client.",
|
|
72
72
|
test_true={"server":"upload/dog.jpg"}),
|
|
73
73
|
dict(opt="client_data", type=Options.T_STR, default=None, required=False, multi=False, hide=False, choice=None,
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
description_ja="ローカルを参照させる場合のデータフォルダのパスを指定します。",
|
|
75
|
+
description_en="Specify the path of the data folder when local is referenced.",
|
|
76
76
|
test_true={"server":None,
|
|
77
77
|
"client":common.HOME_DIR / f".{self.ver.__appid__}",
|
|
78
78
|
"current":None}),
|
|
79
79
|
dict(opt="img_thumbnail", type=Options.T_FLOAT, default=0.0, required=False, multi=False, hide=True, choice=None,
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
description_ja="対象が画像だった場合のサムネイルのピクセル単位のサイズを指定します。",
|
|
81
|
+
description_en="Specifies the size in pixels of the thumbnail if the subject is an image."),
|
|
82
82
|
dict(opt="retry_count", type=Options.T_INT, default=3, required=False, multi=False, hide=True, choice=None,
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
description_ja="Redisサーバーへの再接続回数を指定します。0以下を指定すると永遠に再接続を行います。",
|
|
84
|
+
description_en="Specifies the number of reconnections to the Redis server.If less than 0 is specified, reconnection is forever."),
|
|
85
85
|
dict(opt="retry_interval", type=Options.T_INT, default=5, required=False, multi=False, hide=True, choice=None,
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
description_ja="Redisサーバーに再接続までの秒数を指定します。",
|
|
87
|
+
description_en="Specifies the number of seconds before reconnecting to the Redis server."),
|
|
88
88
|
dict(opt="timeout", type=Options.T_INT, default="15", required=False, multi=False, hide=True, choice=None,
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
description_ja="サーバーの応答が返ってくるまでの最大待ち時間を指定。",
|
|
90
|
+
description_en="Specify the maximum waiting time until the server responds."),
|
|
91
91
|
dict(opt="output_json", short="o", type=Options.T_FILE, default=None, required=False, multi=False, hide=True, choice=None, fileio="out",
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
description_ja="処理結果jsonの保存先ファイルを指定。",
|
|
93
|
+
description_en="Specify the destination file for saving the processing result json."),
|
|
94
94
|
dict(opt="output_json_append", short="a", type=Options.T_BOOL, default=False, required=False, multi=False, hide=True, choice=[True, False],
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
description_ja="処理結果jsonファイルを追記保存します。",
|
|
96
|
+
description_en="Save the processing result json file by appending."),
|
|
97
97
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
99
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
100
100
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
102
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
103
103
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
105
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
106
106
|
]
|
|
107
107
|
)
|
|
108
108
|
|
|
@@ -35,66 +35,66 @@ class ClientFileList(feature.OneshotResultEdgeFeature):
|
|
|
35
35
|
"""
|
|
36
36
|
return dict(
|
|
37
37
|
use_redis=self.USE_REDIS_MEIGHT, nouse_webmode=False,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
description_ja="データフォルダ配下のファイルリストを取得します。",
|
|
39
|
+
description_en="Get a list of files under the data folder.",
|
|
40
40
|
choice=[
|
|
41
41
|
dict(opt="host", type=Options.T_STR, default=self.default_host, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
description_ja="Redisサーバーのサービスホストを指定します。",
|
|
43
|
+
description_en="Specify the service host of the Redis server."),
|
|
44
44
|
dict(opt="port", type=Options.T_INT, default=self.default_port, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
description_ja="Redisサーバーのサービスポートを指定します。",
|
|
46
|
+
description_en="Specify the service port of the Redis server."),
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
description_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
|
+
description_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
50
|
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
description_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
|
+
description_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="svpath", type=Options.T_STR, default="/", required=True, multi=False, hide=False, choice=None,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
description_ja="サーバーのデータフォルダ以下のパスを指定します。省略時は `/` を使用します。",
|
|
55
|
+
description_en="Specify the directory path to get the list of files.",
|
|
56
56
|
test_true={"server":"/"}),
|
|
57
57
|
dict(opt="recursive", type=Options.T_BOOL, default=False, required=False, multi=False, hide=True, choice=[True, False],
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
description_ja="指定したパスに含まれるフォルダについて、再帰的にファイルリストを取得します。",
|
|
59
|
+
description_en="Get a list of files recursively for a folder contained in the specified path.",
|
|
60
60
|
test_true={"server":True, "client":False}),
|
|
61
61
|
dict(opt="scope", type=Options.T_STR, default="client", required=True, multi=False, hide=False, choice=["client", "current", "server"],
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
description_ja="参照先スコープを指定します。指定可能な画像タイプは `client` , `current` , `server` です。",
|
|
63
|
+
description_en="Specifies the scope to be referenced. When omitted, 'client' is used.",
|
|
64
64
|
choice_show=dict(client=["client_data"]),
|
|
65
65
|
test_true={"server":"server",
|
|
66
66
|
"client":"client",
|
|
67
67
|
"current":"current"}),
|
|
68
68
|
dict(opt="client_data", type=Options.T_STR, default=None, required=False, multi=False, hide=False, choice=None,
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
description_ja="ローカルを参照させる場合のデータフォルダのパスを指定します。",
|
|
70
|
+
description_en="Specify the path of the data folder when local is referenced.",
|
|
71
71
|
test_true={"server":None,
|
|
72
72
|
"client":common.HOME_DIR / f".{self.ver.__appid__}",
|
|
73
73
|
"current":None}),
|
|
74
74
|
dict(opt="retry_count", type=Options.T_INT, default=3, required=False, multi=False, hide=True, choice=None,
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
description_ja="Redisサーバーへの再接続回数を指定します。0以下を指定すると永遠に再接続を行います。",
|
|
76
|
+
description_en="Specifies the number of reconnections to the Redis server.If less than 0 is specified, reconnection is forever."),
|
|
77
77
|
dict(opt="retry_interval", type=Options.T_INT, default=5, required=False, multi=False, hide=True, choice=None,
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
description_ja="Redisサーバーに再接続までの秒数を指定します。",
|
|
79
|
+
description_en="Specifies the number of seconds before reconnecting to the Redis server."),
|
|
80
80
|
dict(opt="timeout", type=Options.T_INT, default="15", required=False, multi=False, hide=True, choice=None,
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
description_ja="サーバーの応答が返ってくるまでの最大待ち時間を指定。",
|
|
82
|
+
description_en="Specify the maximum waiting time until the server responds."),
|
|
83
83
|
dict(opt="output_json", short="o", type=Options.T_FILE, default=None, required=False, multi=False, hide=True, choice=None, fileio="out",
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
description_ja="処理結果jsonの保存先ファイルを指定。",
|
|
85
|
+
description_en="Specify the destination file for saving the processing result json."),
|
|
86
86
|
dict(opt="output_json_append", short="a", type=Options.T_BOOL, default=False, required=False, multi=False, hide=True, choice=[True, False],
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
description_ja="処理結果jsonファイルを追記保存します。",
|
|
88
|
+
description_en="Save the processing result json file by appending."),
|
|
89
89
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
91
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
92
92
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
94
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
95
95
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
97
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
98
98
|
]
|
|
99
99
|
)
|
|
100
100
|
|
|
@@ -35,64 +35,64 @@ class ClientFileMkdir(feature.UnsupportEdgeFeature):
|
|
|
35
35
|
"""
|
|
36
36
|
return dict(
|
|
37
37
|
use_redis=self.USE_REDIS_MEIGHT, nouse_webmode=False,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
description_ja="データフォルダ配下に新しいフォルダを作成します。",
|
|
39
|
+
description_en="Create a new folder under the data folder.",
|
|
40
40
|
choice=[
|
|
41
41
|
dict(opt="host", type=Options.T_STR, default=self.default_host, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
description_ja="Redisサーバーのサービスホストを指定します。",
|
|
43
|
+
description_en="Specify the service host of the Redis server."),
|
|
44
44
|
dict(opt="port", type=Options.T_INT, default=self.default_port, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
description_ja="Redisサーバーのサービスポートを指定します。",
|
|
46
|
+
description_en="Specify the service port of the Redis server."),
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
description_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
|
+
description_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
50
|
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
description_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
|
+
description_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="svpath", type=Options.T_STR, default="/", required=True, multi=False, hide=False, choice=None,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
description_ja="サーバーのデータフォルダ以下のパスを指定します。省略時は `/` を使用します。",
|
|
55
|
+
description_en="Specify the directory path to get the list of files.",
|
|
56
56
|
test_true={"server":"/file_server",
|
|
57
57
|
"client":"/file_client",
|
|
58
58
|
"current":"/file_current"}),
|
|
59
59
|
dict(opt="scope", type=Options.T_STR, default="client", required=True, multi=False, hide=False, choice=["client", "current", "server"],
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
description_ja="参照先スコープを指定します。指定可能な画像タイプは `client` , `current` , `server` です。",
|
|
61
|
+
description_en="Specifies the scope to be referenced. When omitted, 'client' is used.",
|
|
62
62
|
choice_show=dict(client=["client_data"]),
|
|
63
63
|
test_true={"server":"server",
|
|
64
64
|
"client":"client",
|
|
65
65
|
"current":"current"}),
|
|
66
66
|
dict(opt="client_data", type=Options.T_STR, default=None, required=False, multi=False, hide=False, choice=None,
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
description_ja="ローカルを参照させる場合のデータフォルダのパスを指定します。",
|
|
68
|
+
description_en="Specify the path of the data folder when local is referenced.",
|
|
69
69
|
test_true={"server":None,
|
|
70
70
|
"client":common.HOME_DIR / f".{self.ver.__appid__}",
|
|
71
71
|
"current":None}),
|
|
72
72
|
dict(opt="retry_count", type=Options.T_INT, default=3, required=False, multi=False, hide=True, choice=None,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
description_ja="Redisサーバーへの再接続回数を指定します。0以下を指定すると永遠に再接続を行います。",
|
|
74
|
+
description_en="Specifies the number of reconnections to the Redis server.If less than 0 is specified, reconnection is forever."),
|
|
75
75
|
dict(opt="retry_interval", type=Options.T_INT, default=5, required=False, multi=False, hide=True, choice=None,
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
description_ja="Redisサーバーに再接続までの秒数を指定します。",
|
|
77
|
+
description_en="Specifies the number of seconds before reconnecting to the Redis server."),
|
|
78
78
|
dict(opt="timeout", type=Options.T_INT, default="15", required=False, multi=False, hide=True, choice=None,
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
description_ja="サーバーの応答が返ってくるまでの最大待ち時間を指定。",
|
|
80
|
+
description_en="Specify the maximum waiting time until the server responds."),
|
|
81
81
|
dict(opt="output_json", short="o", type=Options.T_FILE, default=None, required=False, multi=False, hide=True, choice=None, fileio="out",
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
description_ja="処理結果jsonの保存先ファイルを指定。",
|
|
83
|
+
description_en="Specify the destination file for saving the processing result json."),
|
|
84
84
|
dict(opt="output_json_append", short="a", type=Options.T_BOOL, default=False, required=False, multi=False, hide=True, choice=[True, False],
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
description_ja="処理結果jsonファイルを追記保存します。",
|
|
86
|
+
description_en="Save the processing result json file by appending."),
|
|
87
87
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
89
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
90
90
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
92
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
93
93
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
95
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
96
96
|
]
|
|
97
97
|
)
|
|
98
98
|
|