synapse-sdk 1.0.0b6__py3-none-any.whl → 1.0.0b7__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 synapse-sdk might be problematic. Click here for more details.
- synapse_sdk/cli/code_server.py +305 -33
- synapse_sdk/plugins/categories/export/actions/export.py +1 -16
- {synapse_sdk-1.0.0b6.dist-info → synapse_sdk-1.0.0b7.dist-info}/METADATA +1 -1
- {synapse_sdk-1.0.0b6.dist-info → synapse_sdk-1.0.0b7.dist-info}/RECORD +8 -8
- {synapse_sdk-1.0.0b6.dist-info → synapse_sdk-1.0.0b7.dist-info}/WHEEL +0 -0
- {synapse_sdk-1.0.0b6.dist-info → synapse_sdk-1.0.0b7.dist-info}/entry_points.txt +0 -0
- {synapse_sdk-1.0.0b6.dist-info → synapse_sdk-1.0.0b7.dist-info}/licenses/LICENSE +0 -0
- {synapse_sdk-1.0.0b6.dist-info → synapse_sdk-1.0.0b7.dist-info}/top_level.txt +0 -0
synapse_sdk/cli/code_server.py
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
4
|
import shutil
|
|
5
|
+
import socket
|
|
5
6
|
import subprocess
|
|
7
|
+
import webbrowser
|
|
6
8
|
from pathlib import Path
|
|
7
9
|
from typing import Optional
|
|
8
10
|
from urllib.parse import quote
|
|
@@ -141,6 +143,169 @@ def detect_and_encrypt_plugin(workspace_path: str) -> Optional[dict]:
|
|
|
141
143
|
return None
|
|
142
144
|
|
|
143
145
|
|
|
146
|
+
def is_ssh_session() -> bool:
|
|
147
|
+
"""Check if we're in an SSH session.
|
|
148
|
+
|
|
149
|
+
Returns:
|
|
150
|
+
bool: True if in SSH session, False otherwise
|
|
151
|
+
"""
|
|
152
|
+
return bool(os.environ.get('SSH_CONNECTION') or os.environ.get('SSH_CLIENT'))
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
def is_vscode_terminal() -> bool:
|
|
156
|
+
"""Check if we're running in a VSCode terminal.
|
|
157
|
+
|
|
158
|
+
Returns:
|
|
159
|
+
bool: True if in VSCode terminal, False otherwise
|
|
160
|
+
"""
|
|
161
|
+
return os.environ.get('TERM_PROGRAM') == 'vscode'
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
def is_vscode_ssh_session() -> bool:
|
|
165
|
+
"""Check if we're in a VSCode terminal over SSH.
|
|
166
|
+
|
|
167
|
+
Returns:
|
|
168
|
+
bool: True if in VSCode terminal via SSH, False otherwise
|
|
169
|
+
"""
|
|
170
|
+
return is_vscode_terminal() and is_ssh_session()
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
def get_ssh_tunnel_instructions(port: int) -> str:
|
|
174
|
+
"""Get SSH tunnel setup instructions for VSCode users.
|
|
175
|
+
|
|
176
|
+
Args:
|
|
177
|
+
port: The port number code-server is running on
|
|
178
|
+
|
|
179
|
+
Returns:
|
|
180
|
+
str: Instructions for setting up SSH tunnel
|
|
181
|
+
"""
|
|
182
|
+
ssh_client = os.environ.get('SSH_CLIENT', '').split()[0] if os.environ.get('SSH_CLIENT') else 'your_server'
|
|
183
|
+
|
|
184
|
+
instructions = f"""
|
|
185
|
+
📡 VSCode SSH Tunnel Setup:
|
|
186
|
+
|
|
187
|
+
Since you're using VSCode's integrated terminal over SSH, you can access code-server locally by:
|
|
188
|
+
|
|
189
|
+
1. Using VSCode's built-in port forwarding:
|
|
190
|
+
• Open Command Palette (Cmd/Ctrl+Shift+P)
|
|
191
|
+
• Type "Forward a Port"
|
|
192
|
+
• Enter port: {port}
|
|
193
|
+
• VSCode will automatically forward the port
|
|
194
|
+
|
|
195
|
+
2. Or manually forward the port in a new local terminal:
|
|
196
|
+
ssh -L {port}:localhost:{port} {ssh_client}
|
|
197
|
+
|
|
198
|
+
3. Then open in your local browser:
|
|
199
|
+
http://localhost:{port}
|
|
200
|
+
"""
|
|
201
|
+
return instructions
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
def open_browser_smart(url: str) -> bool:
|
|
205
|
+
"""Open browser with smart fallback handling.
|
|
206
|
+
|
|
207
|
+
Attempts to open a browser using multiple methods, with appropriate
|
|
208
|
+
handling for SSH sessions and headless environments.
|
|
209
|
+
|
|
210
|
+
Args:
|
|
211
|
+
url: URL to open
|
|
212
|
+
|
|
213
|
+
Returns:
|
|
214
|
+
bool: True if browser was opened successfully, False otherwise
|
|
215
|
+
"""
|
|
216
|
+
# Don't even try to open browser in SSH sessions (except VSCode can handle it)
|
|
217
|
+
if is_ssh_session() and not is_vscode_terminal():
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
# Try Python's webbrowser module first (cross-platform)
|
|
221
|
+
try:
|
|
222
|
+
if webbrowser.open(url):
|
|
223
|
+
return True
|
|
224
|
+
except Exception:
|
|
225
|
+
pass
|
|
226
|
+
|
|
227
|
+
# Try platform-specific commands
|
|
228
|
+
commands = []
|
|
229
|
+
|
|
230
|
+
# Check for macOS
|
|
231
|
+
if shutil.which('open'):
|
|
232
|
+
commands.append(['open', url])
|
|
233
|
+
|
|
234
|
+
# Check for Linux with display
|
|
235
|
+
if os.environ.get('DISPLAY'):
|
|
236
|
+
if shutil.which('xdg-open'):
|
|
237
|
+
commands.append(['xdg-open', url])
|
|
238
|
+
if shutil.which('gnome-open'):
|
|
239
|
+
commands.append(['gnome-open', url])
|
|
240
|
+
if shutil.which('kde-open'):
|
|
241
|
+
commands.append(['kde-open', url])
|
|
242
|
+
|
|
243
|
+
# Try each command
|
|
244
|
+
for cmd in commands:
|
|
245
|
+
try:
|
|
246
|
+
result = subprocess.run(cmd, capture_output=True, text=True, timeout=2)
|
|
247
|
+
if result.returncode == 0:
|
|
248
|
+
return True
|
|
249
|
+
except Exception:
|
|
250
|
+
continue
|
|
251
|
+
|
|
252
|
+
return False
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
def is_port_in_use(port: int) -> bool:
|
|
256
|
+
"""Check if a port is already in use.
|
|
257
|
+
|
|
258
|
+
Args:
|
|
259
|
+
port: Port number to check
|
|
260
|
+
|
|
261
|
+
Returns:
|
|
262
|
+
bool: True if port is in use, False otherwise
|
|
263
|
+
"""
|
|
264
|
+
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
|
|
265
|
+
try:
|
|
266
|
+
s.bind(('127.0.0.1', port))
|
|
267
|
+
return False
|
|
268
|
+
except socket.error:
|
|
269
|
+
return True
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
def get_process_on_port(port: int) -> Optional[str]:
|
|
273
|
+
"""Get the name of the process using a specific port.
|
|
274
|
+
|
|
275
|
+
Args:
|
|
276
|
+
port: Port number to check
|
|
277
|
+
|
|
278
|
+
Returns:
|
|
279
|
+
str: Process name if found, None otherwise
|
|
280
|
+
"""
|
|
281
|
+
try:
|
|
282
|
+
# Use lsof to find the process
|
|
283
|
+
result = subprocess.run(['lsof', '-i', f':{port}', '-t'], capture_output=True, text=True, timeout=2)
|
|
284
|
+
|
|
285
|
+
if result.returncode == 0 and result.stdout.strip():
|
|
286
|
+
# Get the PID
|
|
287
|
+
pid = result.stdout.strip().split('\n')[0]
|
|
288
|
+
|
|
289
|
+
# Get process details
|
|
290
|
+
proc_result = subprocess.run(['ps', '-p', pid, '-o', 'comm='], capture_output=True, text=True, timeout=2)
|
|
291
|
+
|
|
292
|
+
if proc_result.returncode == 0:
|
|
293
|
+
process_name = proc_result.stdout.strip()
|
|
294
|
+
# Check if it's a code-server process
|
|
295
|
+
if 'node' in process_name or 'code-server' in process_name:
|
|
296
|
+
# Try to get more details
|
|
297
|
+
cmd_result = subprocess.run(
|
|
298
|
+
['ps', '-p', pid, '-o', 'args='], capture_output=True, text=True, timeout=2
|
|
299
|
+
)
|
|
300
|
+
if cmd_result.returncode == 0 and 'code-server' in cmd_result.stdout:
|
|
301
|
+
return 'code-server'
|
|
302
|
+
return process_name
|
|
303
|
+
except Exception:
|
|
304
|
+
pass
|
|
305
|
+
|
|
306
|
+
return None
|
|
307
|
+
|
|
308
|
+
|
|
144
309
|
def is_code_server_installed() -> bool:
|
|
145
310
|
"""Check if code-server is installed locally.
|
|
146
311
|
|
|
@@ -154,7 +319,7 @@ def get_code_server_port() -> int:
|
|
|
154
319
|
"""Get code-server port from config file.
|
|
155
320
|
|
|
156
321
|
Returns:
|
|
157
|
-
int: Port number from config, defaults to
|
|
322
|
+
int: Port number from config, defaults to 8070 if not found
|
|
158
323
|
"""
|
|
159
324
|
config_path = Path.home() / '.config' / 'code-server' / 'config.yaml'
|
|
160
325
|
|
|
@@ -163,7 +328,7 @@ def get_code_server_port() -> int:
|
|
|
163
328
|
with open(config_path, 'r') as f:
|
|
164
329
|
config = yaml.safe_load(f)
|
|
165
330
|
|
|
166
|
-
# Parse bind-addr which can be in format "127.0.0.1:
|
|
331
|
+
# Parse bind-addr which can be in format "127.0.0.1:8070" or just ":8070"
|
|
167
332
|
bind_addr = config.get('bind-addr', '')
|
|
168
333
|
if ':' in bind_addr:
|
|
169
334
|
port_str = bind_addr.split(':')[-1]
|
|
@@ -176,31 +341,133 @@ def get_code_server_port() -> int:
|
|
|
176
341
|
pass
|
|
177
342
|
|
|
178
343
|
# Default port if config not found or invalid
|
|
179
|
-
return
|
|
344
|
+
return 8070
|
|
180
345
|
|
|
181
346
|
|
|
182
|
-
def launch_local_code_server(workspace_path: str, open_browser: bool = True) -> None:
|
|
347
|
+
def launch_local_code_server(workspace_path: str, open_browser: bool = True, custom_port: Optional[int] = None) -> None:
|
|
183
348
|
"""Launch local code-server instance.
|
|
184
349
|
|
|
185
350
|
Args:
|
|
186
351
|
workspace_path: Directory to open in code-server
|
|
187
352
|
open_browser: Whether to open browser automatically
|
|
353
|
+
custom_port: Optional custom port to use instead of config/default
|
|
188
354
|
"""
|
|
189
355
|
try:
|
|
190
|
-
#
|
|
191
|
-
port = get_code_server_port()
|
|
356
|
+
# Use custom port if provided, otherwise get from config
|
|
357
|
+
port = custom_port if custom_port else get_code_server_port()
|
|
358
|
+
|
|
359
|
+
# Check if port is already in use
|
|
360
|
+
if is_port_in_use(port):
|
|
361
|
+
process_name = get_process_on_port(port)
|
|
362
|
+
|
|
363
|
+
if process_name == 'code-server':
|
|
364
|
+
# Code-server is already running
|
|
365
|
+
click.echo(f'⚠️ Code-server is already running on port {port}')
|
|
366
|
+
|
|
367
|
+
# Create URL with folder query parameter
|
|
368
|
+
encoded_path = quote(workspace_path)
|
|
369
|
+
url_with_folder = f'http://localhost:{port}/?folder={encoded_path}'
|
|
370
|
+
|
|
371
|
+
# Ask user what to do
|
|
372
|
+
questions = [
|
|
373
|
+
inquirer.List(
|
|
374
|
+
'action',
|
|
375
|
+
message='What would you like to do?',
|
|
376
|
+
choices=[
|
|
377
|
+
('Use existing code-server instance', 'use_existing'),
|
|
378
|
+
('Stop existing and start new instance', 'restart'),
|
|
379
|
+
('Cancel', 'cancel'),
|
|
380
|
+
],
|
|
381
|
+
)
|
|
382
|
+
]
|
|
383
|
+
|
|
384
|
+
try:
|
|
385
|
+
answers = inquirer.prompt(questions)
|
|
386
|
+
|
|
387
|
+
if not answers or answers['action'] == 'cancel':
|
|
388
|
+
click.echo('Cancelled')
|
|
389
|
+
return
|
|
390
|
+
|
|
391
|
+
if answers['action'] == 'use_existing':
|
|
392
|
+
click.echo('\n✅ Using existing code-server instance')
|
|
393
|
+
click.echo(f' URL: {url_with_folder}')
|
|
394
|
+
|
|
395
|
+
# Optionally open browser
|
|
396
|
+
if open_browser:
|
|
397
|
+
if is_vscode_ssh_session():
|
|
398
|
+
# Special handling for VSCode SSH sessions
|
|
399
|
+
click.echo(get_ssh_tunnel_instructions(port))
|
|
400
|
+
click.echo(f'🔗 Remote URL: {url_with_folder}')
|
|
401
|
+
click.echo(f'\n✨ After port forwarding, access at: http://localhost:{port}')
|
|
402
|
+
elif is_ssh_session():
|
|
403
|
+
click.echo('📝 SSH session detected - please open the URL in your local browser')
|
|
404
|
+
click.echo(f'👉 URL: {url_with_folder}')
|
|
405
|
+
elif open_browser_smart(url_with_folder):
|
|
406
|
+
click.echo('✅ Browser opened successfully')
|
|
407
|
+
else:
|
|
408
|
+
click.echo('⚠️ Could not open browser automatically')
|
|
409
|
+
click.echo(f'👉 URL: {url_with_folder}')
|
|
410
|
+
return
|
|
411
|
+
|
|
412
|
+
if answers['action'] == 'restart':
|
|
413
|
+
# Stop existing code-server
|
|
414
|
+
click.echo('Stopping existing code-server...')
|
|
415
|
+
try:
|
|
416
|
+
# Get PID of code-server process
|
|
417
|
+
result = subprocess.run(
|
|
418
|
+
['lsof', '-i', f':{port}', '-t'], capture_output=True, text=True, timeout=2
|
|
419
|
+
)
|
|
420
|
+
|
|
421
|
+
if result.returncode == 0 and result.stdout.strip():
|
|
422
|
+
pid = result.stdout.strip().split('\n')[0]
|
|
423
|
+
subprocess.run(['kill', pid], timeout=5)
|
|
424
|
+
|
|
425
|
+
# Wait a moment for process to stop
|
|
426
|
+
import time
|
|
427
|
+
|
|
428
|
+
time.sleep(2)
|
|
429
|
+
|
|
430
|
+
click.echo('✅ Existing code-server stopped')
|
|
431
|
+
except Exception as e:
|
|
432
|
+
click.echo(f'⚠️ Could not stop existing code-server: {e}')
|
|
433
|
+
click.echo('Please stop it manually and try again')
|
|
434
|
+
return
|
|
435
|
+
|
|
436
|
+
except (KeyboardInterrupt, EOFError):
|
|
437
|
+
click.echo('\nCancelled')
|
|
438
|
+
return
|
|
439
|
+
|
|
440
|
+
else:
|
|
441
|
+
# Another process is using the port
|
|
442
|
+
click.echo(f'❌ Port {port} is already in use by: {process_name or "unknown process"}')
|
|
443
|
+
if not custom_port:
|
|
444
|
+
click.echo('\nYou can:')
|
|
445
|
+
click.echo('1. Stop the process using the port')
|
|
446
|
+
click.echo('2. Use a different port with --port option (e.g., --port 8071)')
|
|
447
|
+
click.echo('3. Change the default port in ~/.config/code-server/config.yaml')
|
|
448
|
+
else:
|
|
449
|
+
click.echo(f'Please try a different port or stop the process using port {port}')
|
|
450
|
+
return
|
|
192
451
|
|
|
193
452
|
# Create URL with folder query parameter
|
|
194
453
|
encoded_path = quote(workspace_path)
|
|
195
454
|
url_with_folder = f'http://localhost:{port}/?folder={encoded_path}'
|
|
196
455
|
|
|
197
456
|
# Basic code-server command - let code-server handle the workspace internally
|
|
198
|
-
cmd = ['code-server'
|
|
457
|
+
cmd = ['code-server']
|
|
458
|
+
|
|
459
|
+
# Add custom port binding if specified
|
|
460
|
+
if custom_port:
|
|
461
|
+
cmd.extend(['--bind-addr', f'127.0.0.1:{port}'])
|
|
462
|
+
|
|
463
|
+
cmd.append(workspace_path)
|
|
199
464
|
|
|
200
465
|
if not open_browser:
|
|
201
466
|
cmd.append('--disable-getting-started-override')
|
|
202
467
|
|
|
203
468
|
click.echo(f'🚀 Starting local code-server for workspace: {workspace_path}')
|
|
469
|
+
if custom_port:
|
|
470
|
+
click.echo(f' Using custom port: {port}')
|
|
204
471
|
click.echo(f' URL: {url_with_folder}')
|
|
205
472
|
click.echo(' Press Ctrl+C to stop the server')
|
|
206
473
|
|
|
@@ -221,17 +488,18 @@ def launch_local_code_server(workspace_path: str, open_browser: bool = True) ->
|
|
|
221
488
|
time.sleep(3)
|
|
222
489
|
|
|
223
490
|
# Open browser with folder parameter
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
click.echo(
|
|
234
|
-
|
|
491
|
+
if is_vscode_ssh_session():
|
|
492
|
+
# Special handling for VSCode SSH sessions
|
|
493
|
+
click.echo(get_ssh_tunnel_instructions(port))
|
|
494
|
+
click.echo(f'🔗 Remote URL: {url_with_folder}')
|
|
495
|
+
click.echo(f'\n✨ After port forwarding, access at: http://localhost:{port}')
|
|
496
|
+
elif is_ssh_session():
|
|
497
|
+
click.echo('📝 SSH session detected - please open the URL in your local browser')
|
|
498
|
+
click.echo(f'👉 URL: {url_with_folder}')
|
|
499
|
+
elif open_browser_smart(url_with_folder):
|
|
500
|
+
click.echo('✅ Browser opened successfully')
|
|
501
|
+
else:
|
|
502
|
+
click.echo('⚠️ Could not open browser automatically')
|
|
235
503
|
click.echo(f'👉 Please manually open: {url_with_folder}')
|
|
236
504
|
|
|
237
505
|
# Wait for the server thread (blocking)
|
|
@@ -333,19 +601,22 @@ def run_agent_code_server(agent: Optional[str], workspace: str, open_browser: bo
|
|
|
333
601
|
if open_browser and url:
|
|
334
602
|
click.echo('\nAttempting to open in browser...')
|
|
335
603
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
click.echo(
|
|
347
|
-
|
|
348
|
-
|
|
604
|
+
if is_vscode_ssh_session():
|
|
605
|
+
# Extract port from URL for instructions
|
|
606
|
+
import re
|
|
607
|
+
|
|
608
|
+
port_match = re.search(r':(\d+)', url)
|
|
609
|
+
if port_match:
|
|
610
|
+
agent_port = int(port_match.group(1))
|
|
611
|
+
click.echo(get_ssh_tunnel_instructions(agent_port))
|
|
612
|
+
click.echo(f'🔗 Remote URL: {url}')
|
|
613
|
+
elif is_ssh_session():
|
|
614
|
+
click.echo('📝 SSH session detected - please open the URL in your local browser')
|
|
615
|
+
click.echo(f'👉 URL: {url}')
|
|
616
|
+
elif open_browser_smart(url):
|
|
617
|
+
click.echo('✅ Browser opened successfully')
|
|
618
|
+
else:
|
|
619
|
+
click.echo('⚠️ Could not open browser automatically')
|
|
349
620
|
click.echo(f'👉 Please manually open: {url}')
|
|
350
621
|
|
|
351
622
|
# Show additional instructions
|
|
@@ -364,7 +635,8 @@ def run_agent_code_server(agent: Optional[str], workspace: str, open_browser: bo
|
|
|
364
635
|
@click.option('--agent', help='Agent name or ID')
|
|
365
636
|
@click.option('--open-browser/--no-open-browser', default=True, help='Open in browser')
|
|
366
637
|
@click.option('--workspace', help='Workspace directory path (defaults to current directory)')
|
|
367
|
-
|
|
638
|
+
@click.option('--port', type=int, help='Port to bind code-server (default: from config or 8070)')
|
|
639
|
+
def code_server(agent: Optional[str], open_browser: bool, workspace: Optional[str], port: Optional[int]):
|
|
368
640
|
"""Open code-server either through agent or locally."""
|
|
369
641
|
|
|
370
642
|
# Get current working directory if workspace not specified
|
|
@@ -405,7 +677,7 @@ def code_server(agent: Optional[str], open_browser: bool, workspace: Optional[st
|
|
|
405
677
|
|
|
406
678
|
elif answers['option'] == 'local':
|
|
407
679
|
click.echo('\n💻 Starting local code-server...')
|
|
408
|
-
launch_local_code_server(workspace, open_browser)
|
|
680
|
+
launch_local_code_server(workspace, open_browser, port)
|
|
409
681
|
|
|
410
682
|
elif answers['option'] == 'install':
|
|
411
683
|
show_code_server_installation_help()
|
|
@@ -41,7 +41,7 @@ class ExportRun(Run):
|
|
|
41
41
|
"""Log export file information.
|
|
42
42
|
|
|
43
43
|
Args:
|
|
44
|
-
log_type (str): The type of log ('export_data_file' or 'export_original_file'
|
|
44
|
+
log_type (str): The type of log ('export_data_file' or 'export_original_file').
|
|
45
45
|
target_id (int): The ID of the data file.
|
|
46
46
|
data_file_info (dict): The JSON info of the data file.
|
|
47
47
|
status (ExportStatus): The status of the data file.
|
|
@@ -89,16 +89,6 @@ class ExportRun(Run):
|
|
|
89
89
|
"""Log export origin data file."""
|
|
90
90
|
self.log_file('export_original_file', target_id, data_file_info, status, error)
|
|
91
91
|
|
|
92
|
-
def export_log_etc_file(
|
|
93
|
-
self,
|
|
94
|
-
target_id: int,
|
|
95
|
-
data_file_info: dict,
|
|
96
|
-
status: ExportStatus = ExportStatus.STAND_BY,
|
|
97
|
-
error: str | None = None,
|
|
98
|
-
):
|
|
99
|
-
"""Log export etc file."""
|
|
100
|
-
self.log_file('etc', target_id, data_file_info, status, error)
|
|
101
|
-
|
|
102
92
|
|
|
103
93
|
class ExportTargetHandler(ABC):
|
|
104
94
|
"""
|
|
@@ -302,11 +292,6 @@ class ExportAction(Action):
|
|
|
302
292
|
'failed': 0,
|
|
303
293
|
'success': 0,
|
|
304
294
|
},
|
|
305
|
-
'etc': {
|
|
306
|
-
'stand_by': 0,
|
|
307
|
-
'failed': 0,
|
|
308
|
-
'success': 0,
|
|
309
|
-
},
|
|
310
295
|
}
|
|
311
296
|
|
|
312
297
|
def get_filtered_results(self, filters, handler):
|
|
@@ -7,7 +7,7 @@ synapse_sdk/i18n.py,sha256=VXMR-Zm_1hTAg9iPk3YZNNq-T1Bhx1J2fEtRT6kyYbg,766
|
|
|
7
7
|
synapse_sdk/loggers.py,sha256=xK48h3ZaDDZLaF-qsdnv1-6-4vw_cYlgpSCKHYUQw1g,6549
|
|
8
8
|
synapse_sdk/types.py,sha256=khzn8KpgxFdn1SrpbcuX84m_Md1Mz_HIoUoPq8uok40,698
|
|
9
9
|
synapse_sdk/cli/__init__.py,sha256=64Qaxak5rwhEKUj5xLkdg1vtBgyl4Do1Z97eNiqNqEE,11668
|
|
10
|
-
synapse_sdk/cli/code_server.py,sha256=
|
|
10
|
+
synapse_sdk/cli/code_server.py,sha256=5m90k1JkvF13aGn5_fso23NVdzH6AdYnM5Eq7YOztzo,25309
|
|
11
11
|
synapse_sdk/cli/config.py,sha256=2WVKeAdcDeiwRb4JnNEOeZoAVlTHrY2jx4NAUiAZO2c,16156
|
|
12
12
|
synapse_sdk/cli/devtools.py,sha256=hi06utdLllptlUy3HhPfmfRqjc9bdiVGezY0U5s_0pY,2617
|
|
13
13
|
synapse_sdk/cli/alias/__init__.py,sha256=jDy8N_KupVy7n_jKKWhjQOj76-mR-uoVvMoyzObUkuI,405
|
|
@@ -113,7 +113,7 @@ synapse_sdk/plugins/categories/data_validation/templates/plugin/validation.py,sh
|
|
|
113
113
|
synapse_sdk/plugins/categories/export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
114
114
|
synapse_sdk/plugins/categories/export/enums.py,sha256=gtyngvQ1DKkos9iKGcbecwTVQQ6sDwbrBPSGPNb5Am0,127
|
|
115
115
|
synapse_sdk/plugins/categories/export/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
116
|
-
synapse_sdk/plugins/categories/export/actions/export.py,sha256=
|
|
116
|
+
synapse_sdk/plugins/categories/export/actions/export.py,sha256=YM8xu_mv4HTAG3DgqTYxu8oH8kBLmrNOoxPd5-iWJkU,11849
|
|
117
117
|
synapse_sdk/plugins/categories/export/templates/config.yaml,sha256=N7YmnFROb3s3M35SA9nmabyzoSb5O2t2TRPicwFNN2o,56
|
|
118
118
|
synapse_sdk/plugins/categories/export/templates/plugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
119
119
|
synapse_sdk/plugins/categories/export/templates/plugin/export.py,sha256=GDb6Ucodsr5aBPMU4alr68-DyFoLR5TyhC_MCaJrkF0,6411
|
|
@@ -211,9 +211,9 @@ synapse_sdk/utils/storage/providers/gcp.py,sha256=i2BQCu1Kej1If9SuNr2_lEyTcr5M_n
|
|
|
211
211
|
synapse_sdk/utils/storage/providers/http.py,sha256=2DhIulND47JOnS5ZY7MZUex7Su3peAPksGo1Wwg07L4,5828
|
|
212
212
|
synapse_sdk/utils/storage/providers/s3.py,sha256=ZmqekAvIgcQBdRU-QVJYv1Rlp6VHfXwtbtjTSphua94,2573
|
|
213
213
|
synapse_sdk/utils/storage/providers/sftp.py,sha256=_8s9hf0JXIO21gvm-JVS00FbLsbtvly4c-ETLRax68A,1426
|
|
214
|
-
synapse_sdk-1.0.
|
|
215
|
-
synapse_sdk-1.0.
|
|
216
|
-
synapse_sdk-1.0.
|
|
217
|
-
synapse_sdk-1.0.
|
|
218
|
-
synapse_sdk-1.0.
|
|
219
|
-
synapse_sdk-1.0.
|
|
214
|
+
synapse_sdk-1.0.0b7.dist-info/licenses/LICENSE,sha256=bKzmC5YAg4V1Fhl8OO_tqY8j62hgdncAkN7VrdjmrGk,1101
|
|
215
|
+
synapse_sdk-1.0.0b7.dist-info/METADATA,sha256=wxCAnhyKInbnikbhOkyYMsILdiqmrizaCmNbFzaynZw,3718
|
|
216
|
+
synapse_sdk-1.0.0b7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
217
|
+
synapse_sdk-1.0.0b7.dist-info/entry_points.txt,sha256=VNptJoGoNJI8yLXfBmhgUefMsmGI0m3-0YoMvrOgbxo,48
|
|
218
|
+
synapse_sdk-1.0.0b7.dist-info/top_level.txt,sha256=ytgJMRK1slVOKUpgcw3LEyHHP7S34J6n_gJzdkcSsw8,12
|
|
219
|
+
synapse_sdk-1.0.0b7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|