rigcode 0.1.0__tar.gz → 0.1.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.
- {rigcode-0.1.0 → rigcode-0.1.1}/CHANGELOG.md +8 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/PKG-INFO +5 -2
- {rigcode-0.1.0 → rigcode-0.1.1}/README.md +4 -1
- {rigcode-0.1.0 → rigcode-0.1.1}/pyproject.toml +1 -1
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/__init__.py +1 -1
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/cli.py +18 -5
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/llm/probe.py +16 -2
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/ui/terminal.py +14 -9
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/test_cli.py +8 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/test_discover.py +5 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/test_terminal_ui.py +1 -1
- {rigcode-0.1.0 → rigcode-0.1.1}/.gitignore +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/LICENSE +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/__main__.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/agent/__init__.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/agent/loop.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/agent/mentions.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/agent/prompts.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/agent/runtime.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/agent/session.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/agent/state.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/config.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/doctor.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/extensions.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/hooks.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/llm/__init__.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/llm/client.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/llm/stream.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/llm/textmode.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/llm/types.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/llm/wire.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/mcp.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/permissions.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/agents/coder.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/agents/debugger.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/agents/explore.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/agents/plan.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/agents/researcher.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/agents/reviewer.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/agents/verifier.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/commit.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/compact.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/init.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/prompts/system.md +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/__init__.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/base.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/bashsafety.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/editmatch.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/files.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/interact.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/search.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/shell.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/skill.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/task.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/todo.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/tools/web.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/ui/__init__.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/ui/base.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/ui/commands.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/ui/plain.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/ui/render.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/utils/__init__.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/utils/files.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/utils/frontmatter.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/utils/globmatch.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/utils/jsonrepair.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/utils/paths.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/rigcode/utils/text.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/conftest.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/helpers.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/mock_server.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/test_agent_e2e.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/test_bashsafety.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/test_config_session_render.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/test_editmatch.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/test_file_tools.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/test_llm_parsing.py +0 -0
- {rigcode-0.1.0 → rigcode-0.1.1}/tests/test_permissions.py +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.1 - 2026-11-20
|
|
4
|
+
|
|
5
|
+
- Finding a local server is faster on Windows, where a closed localhost port takes about 2 seconds to refuse a connection. Ports are now checked with a quick TCP connect first, so startup no longer waits on servers that aren't running.
|
|
6
|
+
- Permission and question dialogs no longer have a bright blue background. Their style names clashed with prompt_toolkit's built-in `dialog` style.
|
|
7
|
+
- Permission prompts read naturally: "Allow this edit?" and "Allow creating this file?" instead of "Allow this edit file?" and "Allow this create file?".
|
|
8
|
+
- `rigcode doctor` accepts `-m`, `--base-url` and `--api-key`, and rejects unknown flags instead of silently ignoring them.
|
|
9
|
+
- The README has a demo recording.
|
|
10
|
+
|
|
3
11
|
## 0.1.0 - 2026-11-19
|
|
4
12
|
|
|
5
13
|
First public release.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: rigcode
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: A terminal coding agent for models you run yourself: llama.cpp, Ollama, LM Studio, vLLM. Built to stay fast on slow hardware.
|
|
5
5
|
Project-URL: Homepage, https://github.com/sarthak-1111/rigcode
|
|
6
6
|
Project-URL: Issues, https://github.com/sarthak-1111/rigcode/issues
|
|
@@ -38,7 +38,10 @@ rigcode reads your code, edits files, runs commands and tests, and delegates to
|
|
|
38
38
|
|
|
39
39
|
It is built for the case other agents handle badly: **a big model on modest hardware**. When your server reads prompts at 30 tokens a second, re-reading a 4,000-token conversation costs two minutes, and most agents re-read it on every turn. rigcode is designed around how llama.cpp's prompt cache actually works, so each step re-reads only the new tokens.
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
<p align="center">
|
|
42
|
+
<img src="docs/demo.gif" width="857" alt="rigcode finds a local Ollama server, runs the failing tests, reads cart.py, fixes subtotal() after asking to edit, and re-runs the tests until all three pass">
|
|
43
|
+
</p>
|
|
44
|
+
<p align="center"><sub>Real time, not sped up: gpt-oss:120b on Ollama, on a workstation with four RTX A6000s. rigcode asks before it runs a command or edits a file.</sub></p>
|
|
42
45
|
|
|
43
46
|
```bash
|
|
44
47
|
pipx install rigcode # or: uv tool install rigcode
|
|
@@ -6,7 +6,10 @@ rigcode reads your code, edits files, runs commands and tests, and delegates to
|
|
|
6
6
|
|
|
7
7
|
It is built for the case other agents handle badly: **a big model on modest hardware**. When your server reads prompts at 30 tokens a second, re-reading a 4,000-token conversation costs two minutes, and most agents re-read it on every turn. rigcode is designed around how llama.cpp's prompt cache actually works, so each step re-reads only the new tokens.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
<p align="center">
|
|
10
|
+
<img src="docs/demo.gif" width="857" alt="rigcode finds a local Ollama server, runs the failing tests, reads cart.py, fixes subtotal() after asking to edit, and re-runs the tests until all three pass">
|
|
11
|
+
</p>
|
|
12
|
+
<p align="center"><sub>Real time, not sped up: gpt-oss:120b on Ollama, on a workstation with four RTX A6000s. rigcode asks before it runs a command or edits a file.</sub></p>
|
|
10
13
|
|
|
11
14
|
```bash
|
|
12
15
|
pipx install rigcode # or: uv tool install rigcode
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "rigcode"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.1"
|
|
8
8
|
description = "A terminal coding agent for models you run yourself: llama.cpp, Ollama, LM Studio, vLLM. Built to stay fast on slow hardware."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -22,7 +22,8 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
22
22
|
p = argparse.ArgumentParser(
|
|
23
23
|
prog="rigcode",
|
|
24
24
|
description="A terminal coding agent for self-hosted models behind an OpenAI-compatible API.",
|
|
25
|
-
epilog="Subcommands: rigcode doctor [--quick] · rigcode config [get|set ...] ·
|
|
25
|
+
epilog="Subcommands: rigcode doctor [--quick] [-m MODEL] [--base-url URL] · rigcode config [get|set ...] · "
|
|
26
|
+
"rigcode sessions")
|
|
26
27
|
p.add_argument("prompt", nargs="*", help="initial prompt (interactive) or the task to run (-p)")
|
|
27
28
|
p.add_argument("-p", "--print", action="store_true", dest="print_mode",
|
|
28
29
|
help="run one task non-interactively and print the result (stdin is appended to the prompt)")
|
|
@@ -155,10 +156,22 @@ async def _run_print(settings, project_root: Path, cwd: Path, prompt: str, args,
|
|
|
155
156
|
|
|
156
157
|
def _cmd_doctor(argv: list[str]) -> int:
|
|
157
158
|
from rigcode.doctor import run_doctor
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
p = argparse.ArgumentParser(prog="rigcode doctor", description="Diagnose the model server connection and local setup.")
|
|
160
|
+
p.add_argument("--quick", action="store_true", help="skip the chat test")
|
|
161
|
+
p.add_argument("-m", "--model", help="model name, or the name of a profile from settings")
|
|
162
|
+
p.add_argument("--base-url", help="OpenAI-compatible base URL (default: find a local server)")
|
|
163
|
+
p.add_argument("--api-key", help="API key")
|
|
164
|
+
args = p.parse_args(argv)
|
|
165
|
+
root = _project(Path.cwd())
|
|
166
|
+
overrides: dict = {}
|
|
167
|
+
if args.base_url:
|
|
168
|
+
overrides["provider.base_url"] = args.base_url
|
|
169
|
+
if args.api_key:
|
|
170
|
+
overrides["provider.api_key"] = args.api_key
|
|
171
|
+
settings = load_settings(root, overrides)
|
|
172
|
+
if args.model and not settings.apply_profile(args.model):
|
|
173
|
+
settings.set("provider.model", args.model)
|
|
174
|
+
ok = asyncio.run(run_doctor(settings, root, _console_out(), chat_test=not args.quick))
|
|
162
175
|
return 0 if ok else 1
|
|
163
176
|
|
|
164
177
|
|
|
@@ -191,6 +191,18 @@ LOCAL_SERVERS = (
|
|
|
191
191
|
)
|
|
192
192
|
|
|
193
193
|
|
|
194
|
+
async def _port_open(url: str, timeout: float = 0.5) -> bool:
|
|
195
|
+
"""Quick TCP connect. A listening local port accepts at once, but on Windows a refused
|
|
196
|
+
localhost connection takes about 2 s to fail, so closed ports are cut off by the timeout."""
|
|
197
|
+
u = httpx.URL(url)
|
|
198
|
+
try:
|
|
199
|
+
_, writer = await asyncio.wait_for(asyncio.open_connection(u.host, u.port), timeout)
|
|
200
|
+
except (OSError, asyncio.TimeoutError):
|
|
201
|
+
return False
|
|
202
|
+
writer.close()
|
|
203
|
+
return True
|
|
204
|
+
|
|
205
|
+
|
|
194
206
|
async def discover(provider: dict, timeout: float = 8.0) -> tuple[ServerInfo, str | None]:
|
|
195
207
|
"""Probe the configured server, or find a local one when base_url is 'auto', and pick the model
|
|
196
208
|
when model is 'auto'. Fills in provider['base_url'] / provider['model'] in place.
|
|
@@ -199,9 +211,11 @@ async def discover(provider: dict, timeout: float = 8.0) -> tuple[ServerInfo, st
|
|
|
199
211
|
key = provider.get("api_key")
|
|
200
212
|
notice = None
|
|
201
213
|
if provider.get("base_url") in AUTO:
|
|
202
|
-
|
|
214
|
+
is_open = await asyncio.gather(*(_port_open(url) for _, url in LOCAL_SERVERS))
|
|
215
|
+
listening = [s for s, ok in zip(LOCAL_SERVERS, is_open) if ok]
|
|
216
|
+
infos = await asyncio.gather(*(probe_server(url, key, timeout=2.0) for _, url in listening))
|
|
203
217
|
# A server counts only if it lists models: dev web servers often sit on 8000/8080 too.
|
|
204
|
-
found = [(name, url, i) for (name, url), i in zip(
|
|
218
|
+
found = [(name, url, i) for (name, url), i in zip(listening, infos) if i.reachable and i.models]
|
|
205
219
|
if not found:
|
|
206
220
|
ports = ", ".join(f"{url.split(':')[2].split('/')[0]} ({name})" for name, url in LOCAL_SERVERS)
|
|
207
221
|
return ServerInfo(error=f"no local model server found on ports {ports}. Start one, or point "
|
|
@@ -53,9 +53,10 @@ STYLE = Style.from_dict({
|
|
|
53
53
|
"spinner": "#d7875f",
|
|
54
54
|
"status": "#d7875f",
|
|
55
55
|
"hint": "#6c6c6c",
|
|
56
|
-
"dialog
|
|
57
|
-
"
|
|
58
|
-
"
|
|
56
|
+
# not "dialog.*": prompt_toolkit's built-in style gives every "dialog" class a blue background
|
|
57
|
+
"choice.title": "bold #87afd7",
|
|
58
|
+
"choice.sel": "bold #87d7ff",
|
|
59
|
+
"choice.opt": "",
|
|
59
60
|
"mode.plan": "#5fafaf",
|
|
60
61
|
"mode.accept": "#af87ff",
|
|
61
62
|
"mode.bypass": "#ff5f5f",
|
|
@@ -397,13 +398,13 @@ class TerminalUI(BaseUI):
|
|
|
397
398
|
frags.extend(self._live(w))
|
|
398
399
|
d = self.dialog
|
|
399
400
|
if d is not None:
|
|
400
|
-
frags.append(("class:
|
|
401
|
+
frags.append(("class:choice.title", "\n" + d.title + "\n"))
|
|
401
402
|
if d.typing:
|
|
402
403
|
frags.append(("class:faint", f" {d.text_label or 'Type your answer'} · Enter to send · Esc to go back\n"))
|
|
403
404
|
else:
|
|
404
405
|
for i, opt in enumerate(d.options):
|
|
405
406
|
sel = i == d.index
|
|
406
|
-
frags.append(("class:
|
|
407
|
+
frags.append(("class:choice.sel" if sel else "class:choice.opt",
|
|
407
408
|
f"{'❯' if sel else ' '} {i + 1}. {one_line(opt, w - 6)}\n"))
|
|
408
409
|
frags.append(("class:faint", " ↑/↓ and Enter, or press a number · Esc to cancel\n"))
|
|
409
410
|
frags.append(("class:prompt", " ↳ " if d is not None and d.typing else "> "))
|
|
@@ -625,7 +626,7 @@ class TerminalUI(BaseUI):
|
|
|
625
626
|
if req.kind == "edit" and req.preview and req.preview.get("type") == "new_file":
|
|
626
627
|
title = "Create file"
|
|
627
628
|
who = "" if getattr(agent, "is_main", True) else f" (requested by the {agent.name} subagent)"
|
|
628
|
-
frags = [("", "\n"), ("class:
|
|
629
|
+
frags = [("", "\n"), ("class:choice.title", f"● {title}"), ("class:dim", who + "\n")]
|
|
629
630
|
target = req.target or req.label
|
|
630
631
|
for line in target.split("\n")[:20]:
|
|
631
632
|
frags.append(("", f" {line}\n"))
|
|
@@ -645,7 +646,11 @@ class TerminalUI(BaseUI):
|
|
|
645
646
|
elif req.rule_suggestion:
|
|
646
647
|
options.append(f"Yes, and don't ask again for {req.rule_suggestion} in this project")
|
|
647
648
|
options.append("No, and tell rigcode what to do differently")
|
|
648
|
-
|
|
649
|
+
questions = {"Bash command": "Allow this bash command?", "Edit file": "Allow this edit?",
|
|
650
|
+
"Create file": "Allow creating this file?", "Web access": "Allow this web request?",
|
|
651
|
+
"MCP tool": "Allow this MCP tool call?", "Subagent": "Allow this subagent?"}
|
|
652
|
+
idx, text = await self.dialog_choice(questions.get(title, f"Allow {title}?"), options,
|
|
653
|
+
text_option=len(options) - 1,
|
|
649
654
|
text_label="What should rigcode do instead? (empty = just stop)")
|
|
650
655
|
if idx is None:
|
|
651
656
|
return Decision(allow=False, stop=True)
|
|
@@ -659,7 +664,7 @@ class TerminalUI(BaseUI):
|
|
|
659
664
|
return Decision(allow=True, remember_rule=req.rule_suggestion)
|
|
660
665
|
|
|
661
666
|
async def ask_user(self, question: str, options: list[str]) -> str | None:
|
|
662
|
-
self.out([("", "\n"), ("class:
|
|
667
|
+
self.out([("", "\n"), ("class:choice.title", "? "), ("class:tool.label", question + "\n")])
|
|
663
668
|
if options:
|
|
664
669
|
opts = list(options) + ["Type something else"]
|
|
665
670
|
idx, text = await self.dialog_choice("Your answer:", opts, text_option=len(opts) - 1)
|
|
@@ -674,7 +679,7 @@ class TerminalUI(BaseUI):
|
|
|
674
679
|
return answer
|
|
675
680
|
|
|
676
681
|
async def review_plan(self, plan: str):
|
|
677
|
-
self.out([("", "\n"), ("class:
|
|
682
|
+
self.out([("", "\n"), ("class:choice.title", "● Plan ready for review\n")])
|
|
678
683
|
self.out_markdown(plan)
|
|
679
684
|
opts = ["Yes, and auto-accept edits", "Yes, and manually approve edits", "No, keep planning"]
|
|
680
685
|
idx, text = await self.dialog_choice("Would you like to proceed?", opts, text_option=2,
|
|
@@ -59,6 +59,14 @@ def test_doctor_against_mock(server, project, isolated_home):
|
|
|
59
59
|
assert "llama.cpp" in proc.stdout
|
|
60
60
|
|
|
61
61
|
|
|
62
|
+
def test_doctor_takes_server_flags(server, project, isolated_home):
|
|
63
|
+
proc = rigcode(["doctor", "--quick", "--base-url", server.base_url, "-m", "mock-model"], project, isolated_home)
|
|
64
|
+
assert proc.returncode == 0, proc.stdout
|
|
65
|
+
assert f"Model server: {server.base_url}" in proc.stdout and "✓ models: mock-model" in proc.stdout
|
|
66
|
+
proc = rigcode(["doctor", "--model-typo", "x"], project, isolated_home)
|
|
67
|
+
assert proc.returncode == 2 and "unrecognized arguments" in proc.stderr
|
|
68
|
+
|
|
69
|
+
|
|
62
70
|
def test_sessions_and_config_subcommands(project, isolated_home):
|
|
63
71
|
proc = rigcode(["config", "set", "provider.reasoning_effort", "high"], project, isolated_home)
|
|
64
72
|
assert proc.returncode == 0, proc.stderr
|
|
@@ -35,6 +35,11 @@ def test_auto_url_finds_the_first_local_server(server, monkeypatch):
|
|
|
35
35
|
assert notice == f"Found mock at {server.base_url}, using model mock-model"
|
|
36
36
|
|
|
37
37
|
|
|
38
|
+
def test_port_check(server):
|
|
39
|
+
assert asyncio.run(probe._port_open(server.base_url))
|
|
40
|
+
assert not asyncio.run(probe._port_open(_dead_url()))
|
|
41
|
+
|
|
42
|
+
|
|
38
43
|
def test_auto_url_without_any_server(monkeypatch):
|
|
39
44
|
monkeypatch.setattr(probe, "LOCAL_SERVERS", (("dead", _dead_url()),))
|
|
40
45
|
provider = {"base_url": "auto", "model": "auto"}
|
|
@@ -86,7 +86,7 @@ def test_permission_dialog_and_tool_block(server, project):
|
|
|
86
86
|
async def script(ui, rt, inp):
|
|
87
87
|
inp.send_text("make a file\r")
|
|
88
88
|
await wait_for(lambda: ui.dialog is not None)
|
|
89
|
-
assert "Allow this
|
|
89
|
+
assert "Allow creating this file?" in ui.dialog.title
|
|
90
90
|
inp.send_text("1")
|
|
91
91
|
await wait_for(lambda: len(server.requests) == 2 and not ui.busy)
|
|
92
92
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|