arkitekt-next 0.8.50__tar.gz → 0.8.52__tar.gz

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 arkitekt-next might be problematic. Click here for more details.

Files changed (146) hide show
  1. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/PKG-INFO +2 -2
  2. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/__blok__.py +2 -0
  3. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/arkitekt.py +2 -2
  4. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/gateway.py +5 -16
  5. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/internal_docker.py +1 -1
  6. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/livekit.py +1 -0
  7. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/lok.py +8 -4
  8. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/orkestrator.py +10 -9
  9. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/pyproject.toml +2 -2
  10. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/LICENSE +0 -0
  11. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/README.md +0 -0
  12. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/__init__.py +0 -0
  13. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/apps/__init__.py +0 -0
  14. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/apps/service/__init__.py +0 -0
  15. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/apps/service/fakts_next.py +0 -0
  16. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/apps/service/fakts_qt.py +0 -0
  17. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/apps/service/grant_registry.py +0 -0
  18. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/apps/service/herre.py +0 -0
  19. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/apps/service/herre_qt.py +0 -0
  20. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/apps/types.py +0 -0
  21. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/base_models.py +0 -0
  22. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/__init__.py +0 -0
  23. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/admin.py +0 -0
  24. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/base.py +0 -0
  25. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/config.py +0 -0
  26. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/fluss.py +0 -0
  27. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/kabinet.py +0 -0
  28. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/kraph.py +0 -0
  29. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/mikro.py +0 -0
  30. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/minio.py +0 -0
  31. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/mount.py +0 -0
  32. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/namegen.py +0 -0
  33. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/ollama.py +0 -0
  34. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/postgres.py +0 -0
  35. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/redis.py +0 -0
  36. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/rekuest.py +0 -0
  37. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/secret.py +0 -0
  38. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/self_signed.py +0 -0
  39. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/__init__.py +0 -0
  40. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/admin.py +0 -0
  41. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/certer.py +0 -0
  42. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/config.py +0 -0
  43. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/db.py +0 -0
  44. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/gateway.py +0 -0
  45. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/livekit.py +0 -0
  46. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/lok.py +0 -0
  47. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/mount.py +0 -0
  48. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/name.py +0 -0
  49. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/ollama.py +0 -0
  50. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/redis.py +0 -0
  51. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/s3.py +0 -0
  52. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/secret.py +0 -0
  53. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/services/socket.py +0 -0
  54. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/socket.py +0 -0
  55. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/bloks/tailscale.py +0 -0
  56. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/builders.py +0 -0
  57. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/__init__.py +0 -0
  58. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/call/__init__.py +0 -0
  59. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/call/local.py +0 -0
  60. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/call/main.py +0 -0
  61. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/call/remote.py +0 -0
  62. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/delegate/__init__.py +0 -0
  63. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/delegate/main.py +0 -0
  64. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/delegate/script.py +0 -0
  65. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/gen/__init__.py +0 -0
  66. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/gen/compile.py +0 -0
  67. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/gen/init.py +0 -0
  68. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/gen/main.py +0 -0
  69. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/gen/watch.py +0 -0
  70. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/init/__init__.py +0 -0
  71. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/init/main.py +0 -0
  72. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/inspect/__init__.py +0 -0
  73. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/inspect/main.py +0 -0
  74. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/inspect/requirements.py +0 -0
  75. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/inspect/templates.py +0 -0
  76. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/inspect/variables.py +0 -0
  77. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/kabinet/__init__.py +0 -0
  78. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/kabinet/build.py +0 -0
  79. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/kabinet/init.py +0 -0
  80. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/kabinet/main.py +0 -0
  81. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/kabinet/publish.py +0 -0
  82. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/kabinet/stage.py +0 -0
  83. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/kabinet/utils.py +0 -0
  84. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/kabinet/validate.py +0 -0
  85. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/kabinet/wizard.py +0 -0
  86. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/manifest/__init__.py +0 -0
  87. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/manifest/inspect.py +0 -0
  88. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/manifest/main.py +0 -0
  89. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/manifest/scopes.py +0 -0
  90. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/manifest/version.py +0 -0
  91. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/manifest/wizard.py +0 -0
  92. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/run/__init__.py +0 -0
  93. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/run/dev.py +0 -0
  94. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/run/main.py +0 -0
  95. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/run/prod.py +0 -0
  96. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/commands/run/utils.py +0 -0
  97. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/configs/base.yaml +0 -0
  98. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/constants.py +0 -0
  99. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile +0 -0
  100. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/errors.py +0 -0
  101. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/inspect.py +0 -0
  102. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/io.py +0 -0
  103. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/main.py +0 -0
  104. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/options.py +0 -0
  105. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/fluss.schema.graphql +0 -0
  106. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/gucker.schema.graphql +0 -0
  107. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/kabinet.schema.graphql +0 -0
  108. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/kluster.schema.graphql +0 -0
  109. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/konviktion.schema.graphql +0 -0
  110. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/kuay.schema.graphql +0 -0
  111. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/mikro.schema.graphql +0 -0
  112. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/mikro_next.schema.graphql +0 -0
  113. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/napari.schema.graphql +0 -0
  114. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/omero_ark.schema.graphql +0 -0
  115. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/port.schema.graphql +0 -0
  116. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/rekuest.schema.graphql +0 -0
  117. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql +0 -0
  118. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/schemas/unlok.schema.graphql +0 -0
  119. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/templates/filter.py +0 -0
  120. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/templates/simple.py +0 -0
  121. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/texts.py +0 -0
  122. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/types.py +0 -0
  123. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/ui.py +0 -0
  124. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/utils.py +0 -0
  125. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/validators.py +0 -0
  126. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/vars.py +0 -0
  127. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/cli/versions/v1.yaml +0 -0
  128. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/constants.py +0 -0
  129. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/__init__.py +0 -0
  130. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/assets/dark/gear.png +0 -0
  131. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
  132. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
  133. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
  134. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
  135. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/assets/light/gear.png +0 -0
  136. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/assets/light/green pulse.gif +0 -0
  137. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
  138. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
  139. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/assets/light/red pulse.gif +0 -0
  140. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/builders.py +0 -0
  141. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/magic_bar.py +0 -0
  142. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/types.py +0 -0
  143. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/qt/utils.py +0 -0
  144. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/service_registry.py +0 -0
  145. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/tqdm.py +0 -0
  146. {arkitekt_next-0.8.50 → arkitekt_next-0.8.52}/arkitekt_next/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.8.50
3
+ Version: 0.8.52
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -18,7 +18,7 @@ Provides-Extra: blok
18
18
  Provides-Extra: cli
19
19
  Provides-Extra: extended
20
20
  Provides-Extra: stream
21
- Requires-Dist: blok (>=0.0.20) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "blok")
21
+ Requires-Dist: blok (>=0.0.22) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "blok")
22
22
  Requires-Dist: cryptography (>=40.0.8) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
23
23
  Requires-Dist: dokker (>=1.0.0)
24
24
  Requires-Dist: fakts-next (>=1.0.4)
@@ -20,6 +20,7 @@ from arkitekt_next.bloks.secret import SecretBlok
20
20
  from arkitekt_next.bloks.namegen import PreformedNamesBlok
21
21
  from arkitekt_next.bloks.ollama import OllamaBlok
22
22
  from arkitekt_next.bloks.self_signed import SelfSignedBlok
23
+ from arkitekt_next.bloks.kraph import KraphBlok
23
24
 
24
25
 
25
26
  def get_bloks():
@@ -39,6 +40,7 @@ def get_bloks():
39
40
  KabinetBlok(),
40
41
  MountBlok(),
41
42
  ConfigBlok(),
43
+ KraphBlok(),
42
44
  InternalDockerBlok(),
43
45
  DockerSocketBlok(),
44
46
  RekuestBlok(),
@@ -28,9 +28,9 @@ class AdminCredentials(BaseModel):
28
28
  RekuestBlok.as_dependency(True, True),
29
29
  FlussBlok.as_dependency(True, True),
30
30
  InternalDockerBlok.as_dependency(True, True),
31
- OrkestratorBlok.as_dependency(True, True),
31
+ LocalLiveKitBlok.as_dependency(True, True),
32
+ OrkestratorBlok.as_dependency(True, False),
32
33
  KraphBlok.as_dependency(True, False),
33
- LocalLiveKitBlok.as_dependency(True, False),
34
34
  TailscaleBlok.as_dependency(True, False),
35
35
  OllamaBlok.as_dependency(True, False),
36
36
  ])
@@ -33,7 +33,7 @@ class ExposedPort(BaseModel):
33
33
 
34
34
 
35
35
  @blok(
36
- "live.arkitekt.gateway", description="A gateway for exposing services on the host"
36
+ "live.arkitekt.gateway", description="A gateway for exposing services on the host",
37
37
  )
38
38
  class CaddyBlok:
39
39
  def __init__(self) -> None:
@@ -63,7 +63,7 @@ class CaddyBlok:
63
63
  def retrieve_gateway_network(self):
64
64
  return self.gateway_network
65
65
 
66
- def preflight(self, init: InitContext, dns: DnsService, name: NameService, certer: Optional[CerterService] = None):
66
+ def preflight(self, init: InitContext, dns: DnsService, name: NameService, certer: CerterService):
67
67
  for key, value in init.kwargs.items():
68
68
  setattr(self, key, value)
69
69
 
@@ -71,9 +71,8 @@ class CaddyBlok:
71
71
  self.public_hosts = dns.get_dns_result().hostnames
72
72
  self.gateway_network = name.retrieve_name().replace("-", "_")
73
73
 
74
- if certer is not None:
75
- self.cert_mount = certer.retrieve_certs_mount()
76
- self.depends_on = certer.retrieve_depends_on()
74
+ self.cert_mount = certer.retrieve_certs_mount()
75
+ self.depends_on = certer.retrieve_depends_on()
77
76
 
78
77
 
79
78
  def build(
@@ -110,6 +109,7 @@ class CaddyBlok:
110
109
  tls /certs/caddy.crt /certs/caddy.key
111
110
  """
112
111
  if protocol == "https"
112
+ and self.cert_mount
113
113
  else ""
114
114
  )
115
115
  caddyfile += """
@@ -186,17 +186,6 @@ class CaddyBlok:
186
186
 
187
187
  context.docker_compose.set_nested("services", "caddy", caddy_container)
188
188
 
189
- context.file_tree.set_nested("certs", {})
190
- certer_container = {
191
- "image": self.certer_image,
192
- "volumes": ["./certs:/certs"],
193
- "environment": {
194
- "DOMAIN_NAMES": ",".join(self.public_hosts),
195
- "IP_ADDRESSED": ",".join(self.public_ips),
196
- },
197
- }
198
-
199
- context.docker_compose.set_nested("services", "certer", certer_container)
200
189
  context.docker_compose.set_nested(
201
190
  "networks",
202
191
  self.gateway_network,
@@ -11,7 +11,7 @@ from blok.tree import YamlFile, Repo
11
11
 
12
12
  @blok(
13
13
  "live.arkitekt.internal_engine",
14
- description="an arktitekt deployer app that uses docker",
14
+ description="An Arkitekt plugin engine running inside a docker container",
15
15
  )
16
16
  class InternalDockerBlok:
17
17
  def __init__(self) -> None:
@@ -23,6 +23,7 @@ class LocalLiveKitBlok:
23
23
  self.skip = False
24
24
 
25
25
  def preflight(self, init: InitContext, gateway: GatewayService):
26
+
26
27
  for key, value in init.kwargs.items():
27
28
  setattr(self, key, value)
28
29
 
@@ -4,7 +4,7 @@ from pydantic import BaseModel
4
4
  from cryptography.hazmat.primitives import serialization as crypto_serialization
5
5
  from cryptography.hazmat.primitives.asymmetric import rsa
6
6
  from cryptography.hazmat.backends import default_backend as crypto_default_backend
7
- from typing import Dict
7
+ from typing import Dict, Optional
8
8
  from arkitekt_next.bloks.secret import SecretBlok
9
9
  from arkitekt_next.bloks.services.admin import AdminService
10
10
  from arkitekt_next.bloks.services.db import DBService
@@ -143,6 +143,7 @@ class LokBlok:
143
143
  self.token_expiry_seconds = 700000
144
144
  self.preformed_redeem_tokens = [secrets.token_hex(16) for i in range(80)]
145
145
  self.registered_tokens = {}
146
+ self.local_access = None
146
147
 
147
148
  def retrieve_credentials(self) -> LokCredentials:
148
149
  return LokCredentials(
@@ -172,8 +173,8 @@ class LokBlok:
172
173
  redis: RedisService,
173
174
  admin: AdminService,
174
175
  secrets: SecretBlok,
175
- livekit: LivekitService,
176
176
  dns: DnsService,
177
+ livekit: Optional[LivekitService] = None,
177
178
  ):
178
179
  for key, value in init.kwargs.items():
179
180
  setattr(self, key, value)
@@ -188,7 +189,8 @@ class LokBlok:
188
189
  self.postgress_access = db.register_db(self.host)
189
190
  self.redis_access = redis.register()
190
191
  self.admin_access = admin.retrieve()
191
- self.local_access = livekit.retrieve_access()
192
+ if livekit:
193
+ self.local_access = livekit.retrieve_access()
192
194
  self.dns_result = dns.get_dns_result()
193
195
  self.initialized = True
194
196
 
@@ -232,6 +234,8 @@ class LokBlok:
232
234
  trusted_origins.append(f"http://{i}")
233
235
  trusted_origins.append(f"https://{i}")
234
236
 
237
+
238
+
235
239
  configuration = YamlFile(
236
240
  **{
237
241
  "db": asdict(self.postgress_access),
@@ -253,7 +257,7 @@ class LokBlok:
253
257
  ],
254
258
  "groups": [group for group in self.groups],
255
259
  "deployment": {"name": self.deployment_name},
256
- "livekit": asdict(self.local_access),
260
+ "livekit": asdict(self.local_access) if self.local_access else {"api_key": "dev", "api_secret": "secret", "api_url": None},
257
261
  "token_expire_seconds": self.token_expiry_seconds,
258
262
  "apps": [],
259
263
  "force_script_name": "lok",
@@ -10,12 +10,12 @@ from blok.tree import Repo, YamlFile
10
10
 
11
11
  @blok(
12
12
  "live.arkitekt.orkestrator",
13
- description="Orkestrator is the electron-based UI for arkitekt",
13
+ description="Orkestrator in its web-based UI",
14
14
  )
15
15
  class OrkestratorBlok:
16
16
  def __init__(self) -> None:
17
17
  self.dev = False
18
- self.disable = True
18
+ self.disable = False
19
19
  self.host = "orkestrator"
20
20
  self.path_name = "orkestrator"
21
21
  self.repo = "https://github.com/arkitektio/orkestrator-next"
@@ -75,16 +75,17 @@ class OrkestratorBlok:
75
75
  return
76
76
 
77
77
  if self.dev:
78
- context.docker_compose.set_nested("services", self.host, self.service)
79
78
 
79
+ context.install_commands.set_nested(
80
+ "orkestrator", Command(self.build_command, cwd=self.mount)
81
+ )
82
+ context.up_commands.set_nested(
83
+ "orkestrator", Command(self.up_command, cwd=self.mount)
84
+ )
80
85
  return
81
86
 
82
- context.install_commands.set_nested(
83
- "orkestrator", Command(self.build_command, cwd=self.mount)
84
- )
85
- context.up_commands.set_nested(
86
- "orkestrator", Command(self.up_command, cwd=self.mount)
87
- )
87
+
88
+ context.docker_compose.set_nested("services", self.host, self.service)
88
89
  pass
89
90
 
90
91
  def get_options(self):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "arkitekt-next"
3
- version = "0.8.50"
3
+ version = "0.8.52"
4
4
  description = "client for the arkitekt_next platform"
5
5
  authors = ["jhnnsrs <jhnnsrs@gmail.com>"]
6
6
  license = "MIT"
@@ -26,7 +26,7 @@ semver = { version = ">=3.0.1", optional = true }
26
26
  dokker = ">=1.0.0"
27
27
  koil = ">=1.0.3"
28
28
  netifaces = { version = ">=0.11.0", python = "^3.8", optional = true }
29
- blok = { version = ">=0.0.20", python = "^3.9", optional = true }
29
+ blok = { version = ">=0.0.22", python = "^3.9", optional = true }
30
30
  cryptography = { version = ">=40.0.8", python = "^3.8", optional = true }
31
31
  namegenerator = { version = ">=1.0.6", python = "^3.8", optional = true }
32
32
 
File without changes
File without changes