@useconvoy/cli 0.114.0 → 0.123.6

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.
Files changed (161) hide show
  1. package/dist/marketplace/convoy/skills/convoy/SKILL.md +1 -0
  2. package/dist/marketplace/convoy/skills/convoy/references/inline-html.md +101 -0
  3. package/dist/src/agent/app/runner.d.ts +5 -1
  4. package/dist/src/agent/app/runner.js +7 -2
  5. package/dist/src/agent/app/runner.js.map +1 -1
  6. package/dist/src/agent/runtimes/agent-instructions.js +2 -1
  7. package/dist/src/agent/runtimes/agent-instructions.js.map +1 -1
  8. package/dist/src/agent/runtimes/claudeCode/runner.js +56 -1
  9. package/dist/src/agent/runtimes/claudeCode/runner.js.map +1 -1
  10. package/dist/src/agent/runtimes/contracts.d.ts +6 -1
  11. package/dist/src/agent/runtimes/cursor/detect.d.ts +5 -0
  12. package/dist/src/agent/runtimes/cursor/detect.js +20 -5
  13. package/dist/src/agent/runtimes/cursor/detect.js.map +1 -1
  14. package/dist/src/agent/runtimes/cursor/runner.d.ts +7 -2
  15. package/dist/src/agent/runtimes/cursor/runner.js +25 -4
  16. package/dist/src/agent/runtimes/cursor/runner.js.map +1 -1
  17. package/dist/src/agent/runtimes/cursor/runtime.js +1 -1
  18. package/dist/src/agent/runtimes/cursor/runtime.js.map +1 -1
  19. package/dist/src/agent/runtimes/opencode/client.d.ts +9 -0
  20. package/dist/src/agent/runtimes/opencode/client.js +5 -0
  21. package/dist/src/agent/runtimes/opencode/client.js.map +1 -1
  22. package/dist/src/agent/runtimes/opencode/detect.d.ts +10 -2
  23. package/dist/src/agent/runtimes/opencode/detect.js +8 -28
  24. package/dist/src/agent/runtimes/opencode/detect.js.map +1 -1
  25. package/dist/src/agent/runtimes/opencode/runner.d.ts +4 -1
  26. package/dist/src/agent/runtimes/opencode/runner.js +22 -2
  27. package/dist/src/agent/runtimes/opencode/runner.js.map +1 -1
  28. package/dist/src/agent/runtimes/opencode/runtime.js +2 -2
  29. package/dist/src/agent/runtimes/opencode/runtime.js.map +1 -1
  30. package/dist/src/agent/runtimes/opencode/server.d.ts +17 -2
  31. package/dist/src/agent/runtimes/opencode/server.js +92 -12
  32. package/dist/src/agent/runtimes/opencode/server.js.map +1 -1
  33. package/dist/src/agent/runtimes/registry.js +2 -1
  34. package/dist/src/agent/runtimes/registry.js.map +1 -1
  35. package/dist/src/commands/browser/workflow.js +6 -0
  36. package/dist/src/commands/browser/workflow.js.map +1 -1
  37. package/dist/src/commands/connect/workflow.d.ts +3 -1
  38. package/dist/src/commands/connect/workflow.js +6 -2
  39. package/dist/src/commands/connect/workflow.js.map +1 -1
  40. package/dist/src/commands/environment/command.js +1 -7
  41. package/dist/src/commands/environment/command.js.map +1 -1
  42. package/dist/src/commands/environment/index.d.ts +52 -0
  43. package/dist/src/commands/environment/index.js +2 -1
  44. package/dist/src/commands/environment/index.js.map +1 -1
  45. package/dist/src/commands/environment/paths.d.ts +2 -0
  46. package/dist/src/commands/environment/paths.js +4 -0
  47. package/dist/src/commands/environment/paths.js.map +1 -1
  48. package/dist/src/commands/environment/workflow.js +3 -0
  49. package/dist/src/commands/environment/workflow.js.map +1 -1
  50. package/dist/src/commands/keys/command.js +42 -19
  51. package/dist/src/commands/keys/command.js.map +1 -1
  52. package/dist/src/commands/keys/workflow.d.ts +43 -1
  53. package/dist/src/commands/keys/workflow.js +46 -18
  54. package/dist/src/commands/keys/workflow.js.map +1 -1
  55. package/dist/src/commands/project/command.js +12 -4
  56. package/dist/src/commands/project/command.js.map +1 -1
  57. package/dist/src/commands/project/formatters.js +17 -6
  58. package/dist/src/commands/project/formatters.js.map +1 -1
  59. package/dist/src/commands/project/launcher.d.ts +23 -0
  60. package/dist/src/commands/project/launcher.js +7 -5
  61. package/dist/src/commands/project/launcher.js.map +1 -1
  62. package/dist/src/commands/project/validators.d.ts +84 -1
  63. package/dist/src/commands/project/validators.js +12 -5
  64. package/dist/src/commands/project/validators.js.map +1 -1
  65. package/dist/src/commands/project/workflow.d.ts +12 -0
  66. package/dist/src/commands/project/workflow.js +10 -1
  67. package/dist/src/commands/project/workflow.js.map +1 -1
  68. package/dist/src/commands/remote/command.d.ts +1 -1
  69. package/dist/src/commands/remote/command.js +31 -8
  70. package/dist/src/commands/remote/command.js.map +1 -1
  71. package/dist/src/commands/remote/index.d.ts +1 -0
  72. package/dist/src/commands/remote/index.js +1 -0
  73. package/dist/src/commands/remote/index.js.map +1 -1
  74. package/dist/src/commands/remote/resolution.d.ts +11 -0
  75. package/dist/src/commands/remote/resolution.js +16 -0
  76. package/dist/src/commands/remote/resolution.js.map +1 -0
  77. package/dist/src/commands/remote/workflow.d.ts +52 -0
  78. package/dist/src/commands/remote/workflow.js +2 -1
  79. package/dist/src/commands/remote/workflow.js.map +1 -1
  80. package/dist/src/commands/service/resolution.js +2 -4
  81. package/dist/src/commands/service/resolution.js.map +1 -1
  82. package/dist/src/commands/service/server.js +1 -1
  83. package/dist/src/commands/service/server.js.map +1 -1
  84. package/dist/src/commands/service/validators.d.ts +136 -2
  85. package/dist/src/commands/service/workflow.js +2 -1
  86. package/dist/src/commands/service/workflow.js.map +1 -1
  87. package/dist/src/commands/threads/attach.js +8 -2
  88. package/dist/src/commands/threads/attach.js.map +1 -1
  89. package/dist/src/commands/tui/actions/app.js +8 -4
  90. package/dist/src/commands/tui/actions/app.js.map +1 -1
  91. package/dist/src/commands/tui/app.js +74 -34
  92. package/dist/src/commands/tui/app.js.map +1 -1
  93. package/dist/src/commands/tui/credentials/app.js +111 -47
  94. package/dist/src/commands/tui/credentials/app.js.map +1 -1
  95. package/dist/src/commands/tui/credentials/formatters.d.ts +2 -3
  96. package/dist/src/commands/tui/credentials/formatters.js +7 -8
  97. package/dist/src/commands/tui/credentials/formatters.js.map +1 -1
  98. package/dist/src/commands/tui/credentials/index.d.ts +1 -0
  99. package/dist/src/commands/tui/credentials/index.js +1 -0
  100. package/dist/src/commands/tui/credentials/index.js.map +1 -1
  101. package/dist/src/commands/tui/credentials/validators.d.ts +2 -4
  102. package/dist/src/commands/tui/credentials/workflow.d.ts +5 -16
  103. package/dist/src/commands/tui/credentials/workflow.js +11 -6
  104. package/dist/src/commands/tui/credentials/workflow.js.map +1 -1
  105. package/dist/src/commands/tui/dialog/app.d.ts +3 -1
  106. package/dist/src/commands/tui/dialog/app.js +5 -3
  107. package/dist/src/commands/tui/dialog/app.js.map +1 -1
  108. package/dist/src/commands/tui/environments/app.js +19 -9
  109. package/dist/src/commands/tui/environments/app.js.map +1 -1
  110. package/dist/src/commands/tui/formatters.d.ts +7 -0
  111. package/dist/src/commands/tui/formatters.js +20 -0
  112. package/dist/src/commands/tui/formatters.js.map +1 -1
  113. package/dist/src/commands/tui/onboarding/app.js +22 -9
  114. package/dist/src/commands/tui/onboarding/app.js.map +1 -1
  115. package/dist/src/commands/tui/onboarding/formatters.js +1 -1
  116. package/dist/src/commands/tui/onboarding/formatters.js.map +1 -1
  117. package/dist/src/commands/tui/onboarding/index.d.ts +1 -0
  118. package/dist/src/commands/tui/onboarding/runtime-access.d.ts +8 -0
  119. package/dist/src/commands/tui/onboarding/runtime-access.js +194 -0
  120. package/dist/src/commands/tui/onboarding/runtime-access.js.map +1 -0
  121. package/dist/src/commands/tui/onboarding/validators.d.ts +14 -0
  122. package/dist/src/commands/tui/onboarding/validators.js +2 -0
  123. package/dist/src/commands/tui/onboarding/validators.js.map +1 -0
  124. package/dist/src/commands/tui/onboarding/workflow.d.ts +11 -0
  125. package/dist/src/commands/tui/onboarding/workflow.js +4 -0
  126. package/dist/src/commands/tui/onboarding/workflow.js.map +1 -1
  127. package/dist/src/commands/tui/resolution.d.ts +2 -1
  128. package/dist/src/commands/tui/resolution.js +3 -1
  129. package/dist/src/commands/tui/resolution.js.map +1 -1
  130. package/dist/src/commands/tui/workflow.d.ts +128 -1
  131. package/dist/src/commands/tui/workflow.js +46 -1
  132. package/dist/src/commands/tui/workflow.js.map +1 -1
  133. package/dist/src/convex/_generated/ai/ai-files.state.json +5 -4
  134. package/dist/src/convex/_generated/ai/guidelines.md +185 -270
  135. package/dist/src/lib/config/credentials/resolution.d.ts +11 -3
  136. package/dist/src/lib/config/credentials/resolution.js +101 -25
  137. package/dist/src/lib/config/credentials/resolution.js.map +1 -1
  138. package/dist/src/lib/config/credentials/store.js +5 -3
  139. package/dist/src/lib/config/credentials/store.js.map +1 -1
  140. package/dist/src/lib/config/credentials/validators.d.ts +176 -2
  141. package/dist/src/lib/config/credentials/validators.js +47 -7
  142. package/dist/src/lib/config/credentials/validators.js.map +1 -1
  143. package/dist/src/lib/config/provider-keys.d.ts +6 -1
  144. package/dist/src/lib/config/provider-keys.js +20 -3
  145. package/dist/src/lib/config/provider-keys.js.map +1 -1
  146. package/dist/src/lib/content-type.js +10 -1
  147. package/dist/src/lib/content-type.js.map +1 -1
  148. package/dist/templates/devcontainer/Dockerfile +4 -0
  149. package/dist/templates/devcontainer/README.md +2 -0
  150. package/dist/templates/devcontainer/devcontainer.json +1 -1
  151. package/dist/templates/project-isolation/Dockerfile +13 -1
  152. package/dist/templates/project-isolation/README.md +31 -1
  153. package/dist/templates/project-isolation/devcontainer.json +1 -1
  154. package/dist/templates/project-isolation/environment.py +8 -0
  155. package/dist/templates/project-isolation/environment.test.py +12 -0
  156. package/dist/templates/project-isolation/install.py +1 -1
  157. package/dist/templates/project-isolation/launcher.py +119 -14
  158. package/dist/templates/project-isolation/launcher.test.py +98 -5
  159. package/package.json +2 -1
  160. package/dist/templates/project-isolation/__pycache__/install.cpython-311.pyc +0 -0
  161. package/dist/templates/project-isolation/__pycache__/launcher.cpython-311.pyc +0 -0
@@ -57,6 +57,40 @@ class LauncherPolicyTests(unittest.TestCase):
57
57
  with self.assertRaises(ValueError):
58
58
  launcher.validate_credentials({"config": {"claudeAuth": auth}})
59
59
 
60
+ def test_managed_anthropic_keys_reach_claude_code_only(self):
61
+ self.assertIn("credentials-anthropic-v1", launcher.CAPABILITIES)
62
+ launcher.validate_credentials({"config": {"claudeAuth": {"mode": "anthropic", "secret": "sentinel"}}})
63
+ for field, auth in [("claudeAuth", {"mode": "anthropic", "secret": "sentinel", "region": "us-east-1"}),
64
+ ("claudeAuth", {"mode": "anthropic"}),
65
+ ("claudeAuth", {"mode": "anthropic", "secret": "x\0"}),
66
+ ("codexAuth", {"mode": "anthropic", "secret": "sentinel"})]:
67
+ with self.assertRaises(ValueError):
68
+ launcher.validate_credentials({"config": {field: auth}})
69
+
70
+ def test_managed_opencode_keys_carry_only_known_slots(self):
71
+ self.assertIn("credentials-opencode-v1", launcher.CAPABILITIES)
72
+ for auth in [{"mode": "managed", "keys": {"openai": "sentinel"}},
73
+ {"mode": "managed", "keys": {"openai": "sentinel", "anthropic": "other"}}, {"mode": "disabled"}]:
74
+ launcher.validate_credentials({"config": {"opencodeAuth": auth}})
75
+ for auth in [{"mode": "managed", "keys": {}}, {"mode": "managed", "keys": {"cursor": "sentinel"}},
76
+ {"mode": "managed", "keys": {"openai": "x\n"}}, {"mode": "managed", "keys": ["sentinel"]},
77
+ {"mode": "managed", "keys": {"openai": "sentinel"}, "secret": "sentinel"},
78
+ {"mode": "managed", "secret": "sentinel"}, {"mode": "native"}]:
79
+ with self.assertRaises(ValueError):
80
+ launcher.validate_credentials({"config": {"opencodeAuth": auth}})
81
+
82
+ def test_managed_cursor_keys_reach_cursor_only(self):
83
+ self.assertIn("credentials-cursor-v1", launcher.CAPABILITIES)
84
+ for auth in [{"mode": "managed", "secret": "sentinel"}, {"mode": "disabled"}]:
85
+ launcher.validate_credentials({"config": {"cursorAuth": auth}})
86
+ for field, auth in [("cursorAuth", {"mode": "managed"}),
87
+ ("cursorAuth", {"mode": "native"}),
88
+ ("cursorAuth", {"mode": "anthropic", "secret": "sentinel"}),
89
+ ("cursorAuth", {"mode": "managed", "secret": "sentinel", "env": {}}),
90
+ ("cursorAuth", {"mode": "managed", "secret": "x\n"})]:
91
+ with self.assertRaises(ValueError):
92
+ launcher.validate_credentials({"config": {field: auth}})
93
+
60
94
  def tearDown(self):
61
95
  self.temp.cleanup()
62
96
 
@@ -196,7 +230,7 @@ class LauncherPolicyTests(unittest.TestCase):
196
230
  with patch.object(launcher.shutil, "which", side_effect=lambda name, path=None: binaries.get(name)), \
197
231
  patch.object(launcher.Path, "resolve", lambda self, strict=False: self), \
198
232
  patch.object(launcher, "trusted_path", side_effect=trusted):
199
- self.assertEqual(launcher.runtime_states(self.config), {"codex": "ready", "claude-code": "untrusted"})
233
+ self.assertEqual(launcher.runtime_states(self.config), {"codex": "ready", "claude-code": "untrusted", "cursor": "missing", "opencode": "missing"})
200
234
  args = launcher.sandbox_args(self.config, {"identity": self.identity, "path": str(self.root / "a")})
201
235
  self.assertEqual(args[args.index("CONVOY_PROJECT_UNTRUSTED") + 1], "claude-code")
202
236
  self.assertEqual(args[args.index("CONVOY_PROJECT_LOGGED_OUT") + 1], "codex")
@@ -211,11 +245,22 @@ class LauncherPolicyTests(unittest.TestCase):
211
245
  (outside / ".credentials.json").write_text("{}")
212
246
  (home / ".codex").symlink_to(outside)
213
247
  (home / ".claude" / ".credentials.json").symlink_to(outside / ".credentials.json")
214
- self.assertEqual(launcher.runtime_files(home), {"codex": (False, False), "claude-code": (True, False)})
248
+ (home / ".config").symlink_to(outside)
249
+ (outside / "cursor").mkdir()
250
+ (outside / "cursor" / "auth.json").write_text("{}")
251
+ self.assertEqual(launcher.runtime_files(home), {"codex": (False, False), "claude-code": (True, False), "cursor": (False, False), "opencode": (False, False)})
215
252
  (home / ".claude" / ".credentials.json").unlink()
216
253
  (home / ".claude" / ".credentials.json").write_text("{}")
217
254
  self.assertEqual(launcher.runtime_files(home)["claude-code"], (True, True))
218
- self.assertEqual(launcher.runtime_files(self.root / "absent"), {"codex": (False, False), "claude-code": (False, False)})
255
+ (home / ".config").unlink()
256
+ (home / ".config" / "cursor").mkdir(parents=True)
257
+ self.assertEqual(launcher.runtime_files(home)["cursor"], (True, False))
258
+ (home / ".config" / "cursor" / "auth.json").write_text("{}")
259
+ self.assertEqual(launcher.runtime_files(home)["cursor"], (True, True))
260
+ (home / ".local" / "share" / "opencode").mkdir(parents=True)
261
+ (home / ".local" / "share" / "opencode" / "auth.json").write_text("{}")
262
+ self.assertEqual(launcher.runtime_files(home)["opencode"], (True, True))
263
+ self.assertEqual(launcher.runtime_files(self.root / "absent"), {"codex": (False, False), "claude-code": (False, False), "cursor": (False, False), "opencode": (False, False)})
219
264
 
220
265
  def test_a_held_lease_names_its_holder(self):
221
266
  fd = launcher.take_lease(self.config, self.identity, "shell")
@@ -282,13 +327,15 @@ class LauncherPolicyTests(unittest.TestCase):
282
327
  fd = launcher.take_lease(self.config, self.identity, "service")
283
328
  try:
284
329
  with patch.object(launcher, "check_boundary", side_effect=ValueError("Sandbox check failed: bwrap: denied.")), \
285
- patch.object(launcher, "runtime_states", return_value={"codex": "ready", "claude-code": "missing"}):
330
+ patch.object(launcher, "runtime_states", return_value={"codex": "ready", "claude-code": "missing", "cursor": "missing", "opencode": "missing"}):
286
331
  result = launcher.check(self.config, entry)
287
332
  finally:
288
333
  os.close(fd)
289
334
  self.assertEqual(result, {"sandbox": "Sandbox check failed: bwrap: denied.", "holder": "service", "runtimes": {
290
335
  "codex": {"state": "ready", "home": True, "loggedIn": True},
291
- "claude-code": {"state": "missing", "home": False, "loggedIn": False}}})
336
+ "claude-code": {"state": "missing", "home": False, "loggedIn": False},
337
+ "cursor": {"state": "missing", "home": False, "loggedIn": False},
338
+ "opencode": {"state": "missing", "home": False, "loggedIn": False}}})
292
339
  self.assertFalse((home / ".claude").exists())
293
340
 
294
341
  def test_runtime_homes_are_created_without_following_symlinks(self):
@@ -300,6 +347,13 @@ class LauncherPolicyTests(unittest.TestCase):
300
347
  self.assertEqual((home / ".codex").stat().st_mode & 0o777, 0o700)
301
348
  self.assertTrue((home / ".claude").is_symlink())
302
349
  self.assertEqual(outside.stat().st_mode & 0o777, 0o755)
350
+ self.assertEqual((home / ".config" / "cursor").stat().st_mode & 0o777, 0o700)
351
+ self.assertEqual((home / ".local" / "share" / "opencode").stat().st_mode & 0o777, 0o700)
352
+ linked = self.root / "linked"
353
+ linked.mkdir()
354
+ (linked / ".config").symlink_to(outside)
355
+ launcher.runtime_homes(linked, os.getuid())
356
+ self.assertFalse((outside / "cursor").exists())
303
357
 
304
358
  def test_login_runs_only_the_detected_runtime_login(self):
305
359
  entry = {"identity": self.identity, "uid": 20001, "path": str(self.root / "a")}
@@ -314,6 +368,12 @@ class LauncherPolicyTests(unittest.TestCase):
314
368
  self.assertIn("codex login --device-auth", spawn.call_args.args[0])
315
369
  with self.assertRaisesRegex(ValueError, "Claude Code is not installed system-wide"):
316
370
  launcher.supervise(self.config, entry, {"login": "claude-code"}, shell=True)
371
+ with patch.object(launcher, "detect_runtimes", return_value=["cursor"]):
372
+ launcher.supervise(self.config, entry, {"login": "cursor"}, shell=True)
373
+ self.assertIn("NO_OPEN_BROWSER=1 cursor-agent login", spawn.call_args.args[0])
374
+ with patch.object(launcher, "detect_runtimes", return_value=["opencode"]):
375
+ launcher.supervise(self.config, entry, {"login": "opencode"}, shell=True)
376
+ self.assertIn("opencode auth login", spawn.call_args.args[0])
317
377
 
318
378
  def test_boundary_check_explains_a_user_namespace_denial(self):
319
379
  failed = subprocess.CompletedProcess([], 1, "", "bwrap: setting up uid map: Permission denied\n")
@@ -461,5 +521,38 @@ class LauncherPolicyTests(unittest.TestCase):
461
521
  libc.return_value.prctl.assert_called_once_with(38, 1, 0, 0, 0)
462
522
 
463
523
 
524
+ class AccountStatusTests(unittest.TestCase):
525
+ def test_recognized_status_and_safe_projection(self):
526
+ self.assertEqual(launcher.account_result("codex", 0, "Logged in using ChatGPT\n"),
527
+ {"status": "signed-in", "method": "ChatGPT"})
528
+ self.assertEqual(launcher.account_result("codex", 0, "Logged in using an API key - sk-secret"),
529
+ {"status": "signed-in", "method": "API key"})
530
+ self.assertEqual(launcher.account_result("codex", 1, "Not logged in\n"), {"status": "signed-out"})
531
+ self.assertEqual(launcher.account_result("claude-code", 0, json.dumps({"loggedIn": True, "email": "me@example.com", "token": "secret"})),
532
+ {"status": "signed-in", "account": "me@example.com"})
533
+ self.assertEqual(launcher.account_result("claude-code", 1, '{"loggedIn":false}'), {"status": "signed-out"})
534
+ for runtime, code, output in [("codex", 1, "broken: sk-secret"), ("codex", 1, "Logged in using ChatGPT"),
535
+ ("claude-code", 2, '{"loggedIn":false}'), ("claude-code", 0, '[]')]:
536
+ self.assertEqual(launcher.account_result(runtime, code, output), {"status": "unknown"})
537
+
538
+ def test_codex_status_tolerates_startup_warning(self):
539
+ self.assertEqual(launcher.account_result("codex", 1, "WARNING: could not create PATH aliases\nNot logged in\n"), {"status": "signed-out"})
540
+
541
+ def test_sandbox_output_is_bounded_and_failures_are_unknown(self):
542
+ entry = {"uid": 24001, "identity": "a" * 64, "path": "/project"}
543
+ for script, expected in [("print('Logged in using ChatGPT')", "signed-in"),
544
+ ("while True: print('x' * 4096, flush=True)", "unknown"),
545
+ ("print('secret error'); raise SystemExit(1)", "unknown")]:
546
+ with patch.object(launcher, "private_directory"), patch.object(launcher, "drop_privileges") as drop, \
547
+ patch.object(launcher, "detect_runtimes", return_value=["codex"]), \
548
+ patch.object(launcher, "sandbox_args", return_value=["/usr/bin/python3", "-c", script]) as sandbox:
549
+ started = time.monotonic()
550
+ result = launcher.account_status({"state": "/state"}, entry)
551
+ self.assertLess(time.monotonic() - started, 2)
552
+ self.assertEqual(result["codex"]["status"], expected)
553
+ self.assertEqual(result["claude-code"], {"status": "unknown"})
554
+ sandbox.assert_called_once_with({"state": "/state"}, entry)
555
+
556
+
464
557
  if __name__ == "__main__":
465
558
  unittest.main()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useconvoy/cli",
3
- "version": "0.114.0",
3
+ "version": "0.123.6",
4
4
  "description": "CLI agent for Convoy",
5
5
  "license": "Elastic-2.0",
6
6
  "homepage": "https://docs.convoy.build/docs/cli/install",
@@ -34,6 +34,7 @@
34
34
  "scripts": {
35
35
  "dev": "tsx bin/convoy.ts",
36
36
  "dev:watch": "tsx watch bin/convoy.ts",
37
+ "deploy": "tsx scripts/deploy.ts",
37
38
  "build": "node -e \"const fs=require('fs');fs.rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && node -e \"const fs=require('fs');fs.cpSync('../../plugins','dist/marketplace',{recursive:true});fs.cpSync('../../templates','dist/templates',{recursive:true});fs.cpSync('../web/convex/_generated','dist/src/convex/_generated',{recursive:true})\"",
38
39
  "prepack": "npm run build",
39
40
  "start": "node dist/bin/convoy.js",