aiui-code 0.2.0__tar.gz → 0.2.1__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.
Files changed (30) hide show
  1. {aiui_code-0.2.0 → aiui_code-0.2.1}/PKG-INFO +1 -1
  2. {aiui_code-0.2.0 → aiui_code-0.2.1}/pyproject.toml +1 -1
  3. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/__init__.py +1 -1
  4. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/static/code.js +4 -2
  5. {aiui_code-0.2.0 → aiui_code-0.2.1}/.gitignore +0 -0
  6. {aiui_code-0.2.0 → aiui_code-0.2.1}/LICENSE +0 -0
  7. {aiui_code-0.2.0 → aiui_code-0.2.1}/README.md +0 -0
  8. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/approvals.py +0 -0
  9. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/checkpoints.py +0 -0
  10. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/cli_control.py +0 -0
  11. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/client.py +0 -0
  12. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/events.py +0 -0
  13. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/git_diff.py +0 -0
  14. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/mcp_server.py +0 -0
  15. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/plugin.py +0 -0
  16. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/pty_service.py +0 -0
  17. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/routes.py +0 -0
  18. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/runner.py +0 -0
  19. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/security.py +0 -0
  20. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/server.py +0 -0
  21. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/static/code.css +0 -0
  22. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/workspaces.py +0 -0
  23. {aiui_code-0.2.0 → aiui_code-0.2.1}/src/aiui_code/worktrees.py +0 -0
  24. {aiui_code-0.2.0 → aiui_code-0.2.1}/tests/conftest.py +0 -0
  25. {aiui_code-0.2.0 → aiui_code-0.2.1}/tests/test_browser_e2e.py +0 -0
  26. {aiui_code-0.2.0 → aiui_code-0.2.1}/tests/test_cli_and_mcp.py +0 -0
  27. {aiui_code-0.2.0 → aiui_code-0.2.1}/tests/test_plugin_contract.py +0 -0
  28. {aiui_code-0.2.0 → aiui_code-0.2.1}/tests/test_runner_and_approvals.py +0 -0
  29. {aiui_code-0.2.0 → aiui_code-0.2.1}/tests/test_security.py +0 -0
  30. {aiui_code-0.2.0 → aiui_code-0.2.1}/tests/test_workspaces_and_diff.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiui-code
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Multi-agent coding workspace Web UI plugin for PraisonAIUI (aiui)
5
5
  Project-URL: Homepage, https://github.com/MervinPraison/aiui-code
6
6
  Project-URL: Repository, https://github.com/MervinPraison/aiui-code
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "aiui-code"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "Multi-agent coding workspace Web UI plugin for PraisonAIUI (aiui)"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- __version__ = "0.2.0"
5
+ __version__ = "0.2.1"
6
6
  __all__ = ["CodePlugin", "__version__", "plugin"]
7
7
 
8
8
 
@@ -398,8 +398,10 @@ function be({
398
398
  }) {
399
399
  const [m, h] = p(r || t[0]?.id || ""), [w, v] = p(i.find((n) => n.available)?.id || "praisonai"), [y, k] = p("safe"), [d, A] = p(!0), [S, L] = p(""), [s, $] = p(!1), [_, c] = p(!1), [N, x] = p([]), [M, C] = p(""), [b, R] = p(""), [g, U] = p(!1), [O, E] = p("");
400
400
  J(() => {
401
- r && t.some((n) => n.id === r) ? h(r) : !m && t.length > 0 && h(t[0].id);
402
- }, [r, m, t]), J(() => {
401
+ r && h(r);
402
+ }, [r]), J(() => {
403
+ !m && t.length > 0 && h(t[0].id);
404
+ }, [m, t]), J(() => {
403
405
  if (!m) {
404
406
  x([]);
405
407
  return;
File without changes
File without changes
File without changes
File without changes