claude-dev-env 8.36.2 → 8.36.3
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.
|
@@ -212,7 +212,7 @@ def default_credentials_path() -> Path:
|
|
|
212
212
|
|
|
213
213
|
::
|
|
214
214
|
|
|
215
|
-
CLAUDE_CONFIG_DIR=C:/profiles/
|
|
215
|
+
CLAUDE_CONFIG_DIR=C:/profiles/work -> C:/profiles/work/.credentials.json
|
|
216
216
|
(variable unset or empty) -> ~/.claude/.credentials.json
|
|
217
217
|
|
|
218
218
|
A profile-isolated session keeps its credential under the config-dir
|
|
@@ -664,12 +664,12 @@ def test_does_not_flag_identifier_bound_only_in_a_test_module() -> None:
|
|
|
664
664
|
"--- a/tests/test_config.py\n"
|
|
665
665
|
"+++ b/tests/test_config.py\n"
|
|
666
666
|
"@@ -0,0 +1,1 @@\n"
|
|
667
|
-
"+
|
|
667
|
+
"+office_pc_json = load_fixture()\n"
|
|
668
668
|
"diff --git a/README.md b/README.md\n"
|
|
669
669
|
"--- a/README.md\n"
|
|
670
670
|
"+++ b/README.md\n"
|
|
671
671
|
"@@ -0,0 +1,1 @@\n"
|
|
672
|
-
"+The
|
|
672
|
+
"+The office pc export runs first.\n"
|
|
673
673
|
)
|
|
674
674
|
assert sweep_diff(diff) == []
|
|
675
675
|
|
|
@@ -680,16 +680,16 @@ def test_still_flags_identifier_bound_in_a_production_module() -> None:
|
|
|
680
680
|
"--- a/api/config.py\n"
|
|
681
681
|
"+++ b/api/config.py\n"
|
|
682
682
|
"@@ -0,0 +1,1 @@\n"
|
|
683
|
-
"+
|
|
683
|
+
"+office_pc_json = load_config()\n"
|
|
684
684
|
"diff --git a/README.md b/README.md\n"
|
|
685
685
|
"--- a/README.md\n"
|
|
686
686
|
"+++ b/README.md\n"
|
|
687
687
|
"@@ -0,0 +1,1 @@\n"
|
|
688
|
-
"+The
|
|
688
|
+
"+The office pc export runs first.\n"
|
|
689
689
|
)
|
|
690
690
|
findings = sweep_diff(diff)
|
|
691
691
|
assert len(findings) == 1
|
|
692
|
-
assert "
|
|
692
|
+
assert "office pc export" in findings[0]
|
|
693
693
|
|
|
694
694
|
|
|
695
695
|
def test_does_not_flag_window_whose_leading_tokens_are_a_known_identifier() -> None:
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ def test_rejects_bad_payload_and_schedule() -> None:
|
|
|
26
26
|
|
|
27
27
|
def test_rejects_unknown_and_private_paths() -> None:
|
|
28
28
|
assert translate_capability("NoSuchSurface", {})["status"] == "unknown"
|
|
29
|
-
assert translate_capability("SendMessage", {"message": "C:\\Users\\
|
|
29
|
+
assert translate_capability("SendMessage", {"message": "C:\\Users\\example\\secret"})["status"] == "rejected"
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
@pytest.mark.parametrize("private_path", ["C:/private/file", "\\\\server\\share\\file", "/private/file", "~/secret", "$HOME/secret", "%USERPROFILE%\\secret", "safe/../secret"])
|