arkitekt-next 0.8.44__tar.gz → 0.8.46__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 (141) hide show
  1. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/PKG-INFO +9 -8
  2. arkitekt_next-0.8.46/arkitekt_next/cli/commands/delegate/main.py +20 -0
  3. arkitekt_next-0.8.46/arkitekt_next/cli/commands/delegate/script.py +96 -0
  4. arkitekt_next-0.8.46/arkitekt_next/cli/commands/run/__init__.py +0 -0
  5. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/main.py +2 -0
  6. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/pyproject.toml +8 -8
  7. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/LICENSE +0 -0
  8. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/README.md +0 -0
  9. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/__blok__.py +0 -0
  10. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/__init__.py +0 -0
  11. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/apps/__init__.py +0 -0
  12. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/apps/service/__init__.py +0 -0
  13. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/apps/service/fakts_next.py +0 -0
  14. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/apps/service/fakts_qt.py +0 -0
  15. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/apps/service/grant_registry.py +0 -0
  16. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/apps/service/herre.py +0 -0
  17. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/apps/service/herre_qt.py +0 -0
  18. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/apps/types.py +0 -0
  19. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/base_models.py +0 -0
  20. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/__init__.py +0 -0
  21. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/admin.py +0 -0
  22. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/arkitekt.py +0 -0
  23. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/base.py +0 -0
  24. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/config.py +0 -0
  25. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/fluss.py +0 -0
  26. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/gateway.py +0 -0
  27. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/internal_docker.py +0 -0
  28. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/kabinet.py +0 -0
  29. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/livekit.py +0 -0
  30. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/lok.py +0 -0
  31. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/mikro.py +0 -0
  32. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/minio.py +0 -0
  33. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/mount.py +0 -0
  34. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/namegen.py +0 -0
  35. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/orkestrator.py +0 -0
  36. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/postgres.py +0 -0
  37. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/redis.py +0 -0
  38. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/rekuest.py +0 -0
  39. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/secret.py +0 -0
  40. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/__init__.py +0 -0
  41. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/admin.py +0 -0
  42. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/config.py +0 -0
  43. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/db.py +0 -0
  44. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/gateway.py +0 -0
  45. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/livekit.py +0 -0
  46. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/lok.py +0 -0
  47. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/mount.py +0 -0
  48. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/name.py +0 -0
  49. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/redis.py +0 -0
  50. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/s3.py +0 -0
  51. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/secret.py +0 -0
  52. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/services/socket.py +0 -0
  53. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/socket.py +0 -0
  54. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/bloks/tailscale.py +0 -0
  55. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/builders.py +0 -0
  56. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/__init__.py +0 -0
  57. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/call/__init__.py +0 -0
  58. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/call/local.py +0 -0
  59. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/call/main.py +0 -0
  60. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/call/remote.py +0 -0
  61. {arkitekt_next-0.8.44/arkitekt_next/cli/commands/gen → arkitekt_next-0.8.46/arkitekt_next/cli/commands/delegate}/__init__.py +0 -0
  62. {arkitekt_next-0.8.44/arkitekt_next/cli/commands/init → arkitekt_next-0.8.46/arkitekt_next/cli/commands/gen}/__init__.py +0 -0
  63. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/gen/compile.py +0 -0
  64. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/gen/init.py +0 -0
  65. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/gen/main.py +0 -0
  66. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/gen/watch.py +0 -0
  67. {arkitekt_next-0.8.44/arkitekt_next/cli/commands/inspect → arkitekt_next-0.8.46/arkitekt_next/cli/commands/init}/__init__.py +0 -0
  68. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/init/main.py +0 -0
  69. {arkitekt_next-0.8.44/arkitekt_next/cli/commands/kabinet → arkitekt_next-0.8.46/arkitekt_next/cli/commands/inspect}/__init__.py +0 -0
  70. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/inspect/main.py +0 -0
  71. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/inspect/requirements.py +0 -0
  72. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/inspect/templates.py +0 -0
  73. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/inspect/variables.py +0 -0
  74. {arkitekt_next-0.8.44/arkitekt_next/cli/commands/manifest → arkitekt_next-0.8.46/arkitekt_next/cli/commands/kabinet}/__init__.py +0 -0
  75. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/kabinet/build.py +0 -0
  76. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/kabinet/init.py +0 -0
  77. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/kabinet/main.py +0 -0
  78. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/kabinet/publish.py +0 -0
  79. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/kabinet/stage.py +0 -0
  80. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/kabinet/utils.py +0 -0
  81. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/kabinet/validate.py +0 -0
  82. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/kabinet/wizard.py +0 -0
  83. {arkitekt_next-0.8.44/arkitekt_next/cli/commands/run → arkitekt_next-0.8.46/arkitekt_next/cli/commands/manifest}/__init__.py +0 -0
  84. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/manifest/inspect.py +0 -0
  85. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/manifest/main.py +0 -0
  86. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/manifest/scopes.py +0 -0
  87. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/manifest/version.py +0 -0
  88. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/manifest/wizard.py +0 -0
  89. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/run/dev.py +0 -0
  90. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/run/main.py +0 -0
  91. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/run/prod.py +0 -0
  92. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/commands/run/utils.py +0 -0
  93. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/configs/base.yaml +0 -0
  94. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/constants.py +0 -0
  95. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile +0 -0
  96. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/errors.py +0 -0
  97. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/inspect.py +0 -0
  98. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/io.py +0 -0
  99. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/options.py +0 -0
  100. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/fluss.schema.graphql +0 -0
  101. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/gucker.schema.graphql +0 -0
  102. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/kabinet.schema.graphql +0 -0
  103. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/kluster.schema.graphql +0 -0
  104. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/konviktion.schema.graphql +0 -0
  105. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/kuay.schema.graphql +0 -0
  106. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/mikro.schema.graphql +0 -0
  107. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/mikro_next.schema.graphql +0 -0
  108. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/napari.schema.graphql +0 -0
  109. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/omero_ark.schema.graphql +0 -0
  110. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/port.schema.graphql +0 -0
  111. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/rekuest.schema.graphql +0 -0
  112. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql +0 -0
  113. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/schemas/unlok.schema.graphql +0 -0
  114. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/templates/filter.py +0 -0
  115. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/templates/simple.py +0 -0
  116. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/texts.py +0 -0
  117. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/types.py +0 -0
  118. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/ui.py +0 -0
  119. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/utils.py +0 -0
  120. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/validators.py +0 -0
  121. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/vars.py +0 -0
  122. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/cli/versions/v1.yaml +0 -0
  123. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/constants.py +0 -0
  124. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/__init__.py +0 -0
  125. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/assets/dark/gear.png +0 -0
  126. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
  127. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
  128. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
  129. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
  130. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/assets/light/gear.png +0 -0
  131. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/assets/light/green pulse.gif +0 -0
  132. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
  133. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
  134. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/assets/light/red pulse.gif +0 -0
  135. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/builders.py +0 -0
  136. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/magic_bar.py +0 -0
  137. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/types.py +0 -0
  138. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/qt/utils.py +0 -0
  139. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/service_registry.py +0 -0
  140. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/arkitekt_next/tqdm.py +0 -0
  141. {arkitekt_next-0.8.44 → arkitekt_next-0.8.46}/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.44
3
+ Version: 0.8.46
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -17,25 +17,26 @@ Provides-Extra: all
17
17
  Provides-Extra: blok
18
18
  Provides-Extra: cli
19
19
  Provides-Extra: extended
20
+ Provides-Extra: stream
20
21
  Requires-Dist: blok (>=0.0.19) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "blok")
21
22
  Requires-Dist: cryptography (>=40.0.8) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
22
23
  Requires-Dist: dokker (>=1.0.0)
23
24
  Requires-Dist: fakts-next (>=1.0.2)
24
- Requires-Dist: fluss-next (>=0.1.93) ; extra == "all"
25
+ Requires-Dist: fluss-next (>=0.1.95) ; extra == "all"
25
26
  Requires-Dist: herre-next (>=1.0.2)
26
- Requires-Dist: kabinet (>=0.1.43) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
27
+ Requires-Dist: kabinet (>=0.1.45) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
27
28
  Requires-Dist: koil (>=1.0.3)
28
- Requires-Dist: kraph (>=0.1.98) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "extended")
29
- Requires-Dist: lovekit (>=0.1.16) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "all")
29
+ Requires-Dist: kraph (>=0.1.100) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "extended")
30
+ Requires-Dist: lovekit (>=0.1.16) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "stream")
30
31
  Requires-Dist: mikro-next (>=0.1.50) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "all")
31
32
  Requires-Dist: namegenerator (>=1.0.6) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
32
33
  Requires-Dist: netifaces (>=0.11.0) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
33
- Requires-Dist: reaktion-next (>=0.1.83) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all")
34
- Requires-Dist: rekuest-next (>=0.2.47) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "cli" or extra == "all")
34
+ Requires-Dist: reaktion-next (>=0.1.85) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all")
35
+ Requires-Dist: rekuest-next (>=0.2.49) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "cli" or extra == "all")
35
36
  Requires-Dist: rich-click (>=1.6.1) ; extra == "cli" or extra == "all"
36
37
  Requires-Dist: semver (>=3.0.1) ; extra == "cli" or extra == "all"
37
38
  Requires-Dist: turms (>=0.8.2) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "cli" or extra == "all")
38
- Requires-Dist: unlok-next (>=0.1.86) ; python_version >= "3.8" and python_version < "4.0"
39
+ Requires-Dist: unlok-next (>=0.1.87) ; python_version >= "3.8" and python_version < "4.0"
39
40
  Requires-Dist: watchfiles (>=0.18.1) ; extra == "cli" or extra == "all"
40
41
  Description-Content-Type: text/markdown
41
42
 
@@ -0,0 +1,20 @@
1
+ import rich_click as click
2
+
3
+
4
+ import rich_click as click
5
+ from .script import script
6
+
7
+
8
+ @click.group()
9
+ @click.pass_context
10
+ def delegate(ctx):
11
+ """Inspects your arkitekt_next app
12
+
13
+ Inspects various parts of your arkitekt_next app. This is useful for debugging
14
+ and development. It also represents methods that are called by the arkitekt_next
15
+ server when you run your app in production mode.
16
+
17
+ """
18
+
19
+
20
+ delegate.add_command(script, "script")
@@ -0,0 +1,96 @@
1
+ import rich_click as click
2
+ from arkitekt_next.cli.options import *
3
+ import asyncio
4
+ from arkitekt_next.cli.ui import construct_run_panel
5
+ from importlib import import_module
6
+ from arkitekt_next.cli.utils import import_builder
7
+ from rekuest_next.agents.extensions.delegating.extension import CLIExtension
8
+ from rekuest_next.api.schema import NodeKind, BindsInput
9
+ from rich.table import Table
10
+ from rich.console import Console
11
+ from typing import Dict, Any
12
+
13
+ from rekuest_next.rekuest import RekuestNext
14
+
15
+
16
+ async def call_app(
17
+ console: Console,
18
+ app: App,
19
+ template_string: str,
20
+ arg: Dict[str, Any],
21
+ ):
22
+ async with app:
23
+ await app.services.get("rekuest").agent.aprovide()
24
+
25
+
26
+ @click.command("prod")
27
+ @click.argument("script_name", type=str, required=True, nargs=-1)
28
+ @click.option(
29
+ "--url",
30
+ help="The fakts_next url for connection",
31
+ default=DEFAULT_ARKITEKT_URL,
32
+ envvar="FAKTS_URL",
33
+ )
34
+ @with_builder
35
+ @with_token
36
+ @with_instance_id
37
+ @with_headless
38
+ @with_log_level
39
+ @with_skip_cache
40
+ @click.pass_context
41
+ @click.option(
42
+ "--arg",
43
+ "-a",
44
+ "args",
45
+ help="Key Value pairs for the setup",
46
+ type=(str, str),
47
+ multiple=True,
48
+ )
49
+ @click.option(
50
+ "--template",
51
+ "-t",
52
+ "template",
53
+ help="The template to run",
54
+ type=str,
55
+ )
56
+ def script(
57
+ ctx,
58
+ script_name,
59
+ entrypoint=None,
60
+ builder=None,
61
+ args=None,
62
+ template: str = None,
63
+ **builder_kwargs,
64
+ ):
65
+ """Runs the app in production mode
66
+
67
+ \n
68
+ You can specify the builder to use with the --builder flag. By default, the easy builder is used, which is designed to be easy to use and to get started with.
69
+
70
+ """
71
+
72
+ manifest = get_manifest(ctx)
73
+ console = get_console(ctx)
74
+ entrypoint = entrypoint or manifest.entrypoint
75
+
76
+ kwargs = dict(args or [])
77
+
78
+ builder = import_builder(builder)
79
+
80
+
81
+
82
+ app = builder(
83
+ **manifest.to_builder_dict(),
84
+ **builder_kwargs,
85
+ )
86
+
87
+
88
+ rekuest: RekuestNext = app.services.get("rekuest")
89
+
90
+ rekuest.agent.register_extension("cli", CLIExtension(" ".join(script_name)))
91
+
92
+
93
+ panel = construct_run_panel(app)
94
+ console.print(panel)
95
+
96
+ asyncio.run(call_app(console, app, template, kwargs))
@@ -21,6 +21,7 @@ from arkitekt_next.cli.commands.init.main import init
21
21
  from arkitekt_next.cli.commands.manifest.main import manifest
22
22
  from arkitekt_next.cli.commands.inspect.main import inspect
23
23
  from arkitekt_next.cli.commands.call.main import call
24
+ from arkitekt_next.cli.commands.delegate.main import delegate
24
25
  from arkitekt_next.cli.io import load_manifest
25
26
  from arkitekt_next.utils import create_arkitekt_next_folder
26
27
 
@@ -76,6 +77,7 @@ cli.add_command(kabinet, "kabinet")
76
77
  cli.add_command(manifest, "manifest")
77
78
  cli.add_command(inspect, "inspect")
78
79
  cli.add_command(call, "call")
80
+ cli.add_command(delegate, "delegate")
79
81
 
80
82
  if __name__ == "__main__":
81
83
  cli()
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "arkitekt-next"
3
- version = "0.8.44"
3
+ version = "0.8.46"
4
4
  description = "client for the arkitekt_next platform"
5
5
  authors = ["jhnnsrs <jhnnsrs@gmail.com>"]
6
6
  license = "MIT"
@@ -11,13 +11,13 @@ readme = "README.md"
11
11
  python = "^3.8"
12
12
  herre-next = ">=1.0.2"
13
13
  fakts-next = ">=1.0.2"
14
- kraph = { version = ">=0.1.98", python = "^3.8", optional = true }
14
+ kraph = { version = ">=0.1.100", python = "^3.8", optional = true }
15
15
  mikro-next = { version = ">=0.1.50", python = "^3.10", optional = true }
16
- kabinet = { version = ">=0.1.43", optional = true, python = "^3.9" }
17
- fluss-next = { version = ">=0.1.93", optional = true }
18
- reaktion-next= { version = ">=0.1.83", python = "^3.8", optional = true }
19
- rekuest-next= { version = ">=0.2.47", python = "^3.8", optional = true }
20
- unlok-next= { version = ">=0.1.86", python = "^3.8", optional = true }
16
+ kabinet = { version = ">=0.1.45", optional = true, python = "^3.9" }
17
+ fluss-next = { version = ">=0.1.95", optional = true }
18
+ reaktion-next= { version = ">=0.1.85", python = "^3.8", optional = true }
19
+ rekuest-next= { version = ">=0.2.49", python = "^3.8", optional = true }
20
+ unlok-next= { version = ">=0.1.87", python = "^3.8", optional = true }
21
21
  lovekit = { version = ">=0.1.16", python = "^3.10", optional = true }
22
22
  rich-click = { version = ">=1.6.1", optional = true }
23
23
  watchfiles = { version = ">=0.18.1", optional = true }
@@ -42,9 +42,9 @@ all = [
42
42
  "rekuest-next",
43
43
  "mikro-next",
44
44
  "kabinet",
45
- "lovekit",
46
45
  "fluss-next",
47
46
  ]
47
+ stream = ["lovekit"]
48
48
  extended = ["kraph"]
49
49
  blok = ["netifaces", "blok", "cryptography", "namegenerator"]
50
50
 
File without changes
File without changes