nimbie-shell 0.0.1.dev0__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 (32) hide show
  1. nimbie_shell-0.0.1.dev0/PKG-INFO +97 -0
  2. nimbie_shell-0.0.1.dev0/README.md +79 -0
  3. nimbie_shell-0.0.1.dev0/pyproject.toml +42 -0
  4. nimbie_shell-0.0.1.dev0/src/nimbie/__init__.py +5 -0
  5. nimbie_shell-0.0.1.dev0/src/nimbie/browser_gateway.py +645 -0
  6. nimbie_shell-0.0.1.dev0/src/nimbie/cli.py +382 -0
  7. nimbie_shell-0.0.1.dev0/src/nimbie/command_policy.py +284 -0
  8. nimbie_shell-0.0.1.dev0/src/nimbie/config.py +292 -0
  9. nimbie_shell-0.0.1.dev0/src/nimbie/model.py +259 -0
  10. nimbie_shell-0.0.1.dev0/src/nimbie/summary_entry.py +425 -0
  11. nimbie_shell-0.0.1.dev0/src/nimbie/system.md +34 -0
  12. nimbie_shell-0.0.1.dev0/src/nimbie/system_prompt.py +87 -0
  13. nimbie_shell-0.0.1.dev0/src/nimbie/tools/__init__.py +26 -0
  14. nimbie_shell-0.0.1.dev0/src/nimbie/tools/internal/__init__.py +1 -0
  15. nimbie_shell-0.0.1.dev0/src/nimbie/tools/internal/file_patcher.py +634 -0
  16. nimbie_shell-0.0.1.dev0/src/nimbie/tools/internal/selection_prompt.py +95 -0
  17. nimbie_shell-0.0.1.dev0/src/nimbie/tools/internal/set_result.py +53 -0
  18. nimbie_shell-0.0.1.dev0/src/nimbie/tools/internal/shell_runner.py +627 -0
  19. nimbie_shell-0.0.1.dev0/src/nimbie/tools/tool_runtime.py +339 -0
  20. nimbie_shell-0.0.1.dev0/src/nimbie/ui/gateway_textual.py +55 -0
  21. nimbie_shell-0.0.1.dev0/src/nimbie/ui/incremental_markdown.py +82 -0
  22. nimbie_shell-0.0.1.dev0/src/nimbie/ui/process_overview_textual.py +126 -0
  23. nimbie_shell-0.0.1.dev0/src/nimbie/ui/selection_panel_textual.py +149 -0
  24. nimbie_shell-0.0.1.dev0/src/nimbie/ui/session_history_inspector_textual.py +234 -0
  25. nimbie_shell-0.0.1.dev0/src/nimbie/ui/shared/remote_shell_support.py +582 -0
  26. nimbie_shell-0.0.1.dev0/src/nimbie/ui/streaming_tail.py +74 -0
  27. nimbie_shell-0.0.1.dev0/src/nimbie/ui/terminal_markdown.py +201 -0
  28. nimbie_shell-0.0.1.dev0/src/nimbie/ui/v2/output_hub.py +191 -0
  29. nimbie_shell-0.0.1.dev0/src/nimbie/ui/v2/renderer.py +226 -0
  30. nimbie_shell-0.0.1.dev0/src/nimbie/ui/v2/repl_app.py +1579 -0
  31. nimbie_shell-0.0.1.dev0/src/nimbie/ui/v2/slash_commands.py +216 -0
  32. nimbie_shell-0.0.1.dev0/src/nimbie/ui/v3/repl_app.py +3506 -0
@@ -0,0 +1,97 @@
1
+ Metadata-Version: 2.3
2
+ Name: nimbie-shell
3
+ Version: 0.0.1.dev0
4
+ Summary: Lightweight agent loop and context manager (standalone)
5
+ Requires-Dist: click>=8.1.7
6
+ Requires-Dist: httpx[http2]>=0.28.1
7
+ Requires-Dist: litellm>=1.81.11
8
+ Requires-Dist: chronml>=0.1.0
9
+ Requires-Dist: nimbie-flash>=0.0.1.dev0
10
+ Requires-Dist: prompt-toolkit>=3.0.39
11
+ Requires-Dist: rich>=13.7.0
12
+ Requires-Dist: textual>=0.80.0
13
+ Requires-Dist: asyncssh>=2.13.1
14
+ Requires-Dist: fastapi>=0.115.0
15
+ Requires-Dist: uvicorn[standard]>=0.30.0
16
+ Requires-Python: >=3.10
17
+ Description-Content-Type: text/markdown
18
+
19
+ # nimbie
20
+
21
+ `nimbie` is a terminal-first coding assistant shell.
22
+
23
+ This repository now contains two main parts:
24
+
25
+ - `nimbie` (root package): REPL/UI, command tools, shell execution flow, session UX
26
+ - `oturn` (sub-package): standalone async orchestration/runtime core for agent turns
27
+
28
+ ## Repository Layout
29
+
30
+ - `src/nimbie`: CLI app and terminal UI
31
+ - `oturn/src/oturn`: reusable orchestration package
32
+ - `chron`: chronml package used for message/config templating
33
+ - `flash`: shell runtime bridge and executor components
34
+
35
+ ## Requirements
36
+
37
+ - Python `>=3.10`
38
+ - `uv` (recommended)
39
+
40
+ ## Install (Root CLI)
41
+
42
+ ```bash
43
+ uv sync
44
+ uv pip install -e .
45
+ ```
46
+
47
+ Run:
48
+
49
+ ```bash
50
+ nimbie --help
51
+ uv run nimbie --help
52
+ ```
53
+
54
+ ## Install (`oturn` only)
55
+
56
+ If you only want the orchestration package:
57
+
58
+ ```bash
59
+ cd oturn
60
+ uv sync
61
+ uv pip install -e .
62
+ ```
63
+
64
+ ## Build
65
+
66
+ Root package:
67
+
68
+ ```bash
69
+ uv build
70
+ ```
71
+
72
+ `oturn` package:
73
+
74
+ ```bash
75
+ cd oturn
76
+ uv build
77
+ ```
78
+
79
+ ## Config
80
+
81
+ The CLI loads config from (first match wins by runtime path logic):
82
+
83
+ - `~/.nimbie/config.py`
84
+ - `~/.nimbie/config.json`
85
+ - `~/.openclaw/openclaw.json`
86
+ - `.nimbie_config.py`
87
+ - `.nimbie_config.json`
88
+
89
+ ## Session and History
90
+
91
+ - Session artifacts are stored under `.nimbie/` in the workspace/global locations used by CLI.
92
+ - The UI supports continue/list/export workflows via CLI flags and REPL commands.
93
+
94
+ ## Notes
95
+
96
+ - Flash runtime is expected for shell parsing/execution flow.
97
+ - `oturn` does not use global auto tool registry; tools are injected explicitly at runtime.
@@ -0,0 +1,79 @@
1
+ # nimbie
2
+
3
+ `nimbie` is a terminal-first coding assistant shell.
4
+
5
+ This repository now contains two main parts:
6
+
7
+ - `nimbie` (root package): REPL/UI, command tools, shell execution flow, session UX
8
+ - `oturn` (sub-package): standalone async orchestration/runtime core for agent turns
9
+
10
+ ## Repository Layout
11
+
12
+ - `src/nimbie`: CLI app and terminal UI
13
+ - `oturn/src/oturn`: reusable orchestration package
14
+ - `chron`: chronml package used for message/config templating
15
+ - `flash`: shell runtime bridge and executor components
16
+
17
+ ## Requirements
18
+
19
+ - Python `>=3.10`
20
+ - `uv` (recommended)
21
+
22
+ ## Install (Root CLI)
23
+
24
+ ```bash
25
+ uv sync
26
+ uv pip install -e .
27
+ ```
28
+
29
+ Run:
30
+
31
+ ```bash
32
+ nimbie --help
33
+ uv run nimbie --help
34
+ ```
35
+
36
+ ## Install (`oturn` only)
37
+
38
+ If you only want the orchestration package:
39
+
40
+ ```bash
41
+ cd oturn
42
+ uv sync
43
+ uv pip install -e .
44
+ ```
45
+
46
+ ## Build
47
+
48
+ Root package:
49
+
50
+ ```bash
51
+ uv build
52
+ ```
53
+
54
+ `oturn` package:
55
+
56
+ ```bash
57
+ cd oturn
58
+ uv build
59
+ ```
60
+
61
+ ## Config
62
+
63
+ The CLI loads config from (first match wins by runtime path logic):
64
+
65
+ - `~/.nimbie/config.py`
66
+ - `~/.nimbie/config.json`
67
+ - `~/.openclaw/openclaw.json`
68
+ - `.nimbie_config.py`
69
+ - `.nimbie_config.json`
70
+
71
+ ## Session and History
72
+
73
+ - Session artifacts are stored under `.nimbie/` in the workspace/global locations used by CLI.
74
+ - The UI supports continue/list/export workflows via CLI flags and REPL commands.
75
+
76
+ ## Notes
77
+
78
+ - Flash runtime is expected for shell parsing/execution flow.
79
+ - `oturn` does not use global auto tool registry; tools are injected explicitly at runtime.
@@ -0,0 +1,42 @@
1
+ [project]
2
+ name = "nimbie-shell"
3
+ version = "0.0.1.dev0"
4
+ description = "Lightweight agent loop and context manager (standalone)"
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ dependencies = [
8
+ "click>=8.1.7",
9
+ "httpx[http2]>=0.28.1",
10
+ "litellm>=1.81.11",
11
+ "chronml>=0.1.0",
12
+ "nimbie_flash>=0.0.1.dev0",
13
+ "prompt_toolkit>=3.0.39",
14
+ "rich>=13.7.0",
15
+ "textual>=0.80.0",
16
+ "asyncssh>=2.13.1",
17
+ "fastapi>=0.115.0",
18
+ "uvicorn[standard]>=0.30.0",
19
+ ]
20
+
21
+ [build-system]
22
+ requires = ["uv_build>=0.7.0,<0.12"]
23
+ build-backend = "uv_build"
24
+
25
+ [tool.uv.build-backend]
26
+ module-name = "nimbie"
27
+ source-exclude = [
28
+ "**/.cyf/**",
29
+ "**/.nimbie/**",
30
+ "src/nimbie/.cyf/**",
31
+ "src/nimbie/.nimbie/**",
32
+ "src/nimbie/**/__pycache__/**",
33
+ "src/nimbie/**/*.pyc",
34
+ "src/nimbie/**/*.pyo",
35
+ "src/nimbie/**/*.log",
36
+ ]
37
+
38
+ [project.scripts]
39
+ nimbie = "nimbie.cli:main"
40
+
41
+ [tool.setuptools.packages.find]
42
+ where = ["src"]
@@ -0,0 +1,5 @@
1
+ """nimbie: Lightweight context manager CLI built standalone.
2
+
3
+ This nested package exists to satisfy uv_build's src-layout.
4
+ """
5
+ __all__ = []