conduct-cli 0.6.9__tar.gz → 0.6.11__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.
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/PKG-INFO +35 -1
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/README.md +34 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/pyproject.toml +1 -1
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/guard.py +9 -6
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli.egg-info/PKG-INFO +35 -1
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/setup.cfg +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/setup.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/hook_precompact_template.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/hook_session_start_template.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/hook_stop_template.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/hook_template.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/log_util.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/main.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/memory.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli/paxel.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/src/conduct_cli.egg-info/top_level.txt +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/tests/test_bash_operator_signature.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/tests/test_command_word_matcher.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/tests/test_guard_policy.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/tests/test_guard_savings.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/tests/test_hook_syntax.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/tests/test_journal_drain.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/tests/test_log_util.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/tests/test_proxy_env.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/tests/test_signed_policy.py +0 -0
- {conduct_cli-0.6.9 → conduct_cli-0.6.11}/tests/test_switch.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: conduct-cli
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.11
|
|
4
4
|
Summary: CLI for Conduct AI — install agents, manage projects, run tests
|
|
5
5
|
Author-email: Conduct AI <hello@conductai.ai>
|
|
6
6
|
License: MIT
|
|
@@ -285,6 +285,40 @@ Run `conduct login` first — `conduct-mcp` reads credentials from `~/.conduct/c
|
|
|
285
285
|
|
|
286
286
|
---
|
|
287
287
|
|
|
288
|
+
## VS Code + GitHub Copilot
|
|
289
|
+
|
|
290
|
+
Install from the MCP registry directly in VS Code:
|
|
291
|
+
|
|
292
|
+
```bash
|
|
293
|
+
code --add-mcp '{"name":"conduct","command":"conduct-mcp","args":[]}'
|
|
294
|
+
code --add-mcp '{"name":"conductguard","command":"conductguard-mcp","args":["--team","<workspace-id>","--token","<member-token>"]}'
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
Or add to `.vscode/mcp.json` in your repo:
|
|
298
|
+
|
|
299
|
+
```json
|
|
300
|
+
{
|
|
301
|
+
"servers": {
|
|
302
|
+
"conduct": {
|
|
303
|
+
"type": "stdio",
|
|
304
|
+
"command": "conduct-mcp",
|
|
305
|
+
"args": []
|
|
306
|
+
},
|
|
307
|
+
"conductguard": {
|
|
308
|
+
"type": "stdio",
|
|
309
|
+
"command": "conductguard-mcp",
|
|
310
|
+
"args": ["--team", "<workspace-id>", "--token", "<member-token>"]
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
Once wired, GitHub Copilot can list your agents, trigger workflows, and check Guard policies — the same tools available in Claude Code and Cursor.
|
|
317
|
+
|
|
318
|
+
**Prerequisites:** `pip install conduct-cli` + `conduct login`
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
288
322
|
## Links
|
|
289
323
|
|
|
290
324
|
- Dashboard: [conductai.ai](https://conductai.ai)
|
|
@@ -258,6 +258,40 @@ Run `conduct login` first — `conduct-mcp` reads credentials from `~/.conduct/c
|
|
|
258
258
|
|
|
259
259
|
---
|
|
260
260
|
|
|
261
|
+
## VS Code + GitHub Copilot
|
|
262
|
+
|
|
263
|
+
Install from the MCP registry directly in VS Code:
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
code --add-mcp '{"name":"conduct","command":"conduct-mcp","args":[]}'
|
|
267
|
+
code --add-mcp '{"name":"conductguard","command":"conductguard-mcp","args":["--team","<workspace-id>","--token","<member-token>"]}'
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
Or add to `.vscode/mcp.json` in your repo:
|
|
271
|
+
|
|
272
|
+
```json
|
|
273
|
+
{
|
|
274
|
+
"servers": {
|
|
275
|
+
"conduct": {
|
|
276
|
+
"type": "stdio",
|
|
277
|
+
"command": "conduct-mcp",
|
|
278
|
+
"args": []
|
|
279
|
+
},
|
|
280
|
+
"conductguard": {
|
|
281
|
+
"type": "stdio",
|
|
282
|
+
"command": "conductguard-mcp",
|
|
283
|
+
"args": ["--team", "<workspace-id>", "--token", "<member-token>"]
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
Once wired, GitHub Copilot can list your agents, trigger workflows, and check Guard policies — the same tools available in Claude Code and Cursor.
|
|
290
|
+
|
|
291
|
+
**Prerequisites:** `pip install conduct-cli` + `conduct login`
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
261
295
|
## Links
|
|
262
296
|
|
|
263
297
|
- Dashboard: [conductai.ai](https://conductai.ai)
|
|
@@ -1012,12 +1012,15 @@ def cmd_guard_sync(args):
|
|
|
1012
1012
|
|
|
1013
1013
|
# Write LLM proxy env vars so any AI tool (Claude Code, Cursor, Codex, …)
|
|
1014
1014
|
# routes through Conduct Guard. Customer-overridable via --proxy-url or
|
|
1015
|
-
# CONDUCT_PROXY_URL env var;
|
|
1016
|
-
proxy_url = (
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1015
|
+
# CONDUCT_PROXY_URL env var; otherwise fetched from server (workspace_config).
|
|
1016
|
+
proxy_url = getattr(args, "proxy_url", None) or os.environ.get("CONDUCT_PROXY_URL")
|
|
1017
|
+
if not proxy_url:
|
|
1018
|
+
try:
|
|
1019
|
+
proxy_cfg = _req("GET", f"{base_url}/guard/proxy-config", api_key=api_key,
|
|
1020
|
+
token=cfg.get("member_token", ""))
|
|
1021
|
+
proxy_url = proxy_cfg.get("conduct_proxy_url") or DEFAULT_PROXY_URL
|
|
1022
|
+
except Exception:
|
|
1023
|
+
proxy_url = DEFAULT_PROXY_URL
|
|
1021
1024
|
member_token = cfg.get("member_token", "")
|
|
1022
1025
|
rc_path, newly_sourced = _write_proxy_env(member_token, proxy_url)
|
|
1023
1026
|
if member_token:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: conduct-cli
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.11
|
|
4
4
|
Summary: CLI for Conduct AI — install agents, manage projects, run tests
|
|
5
5
|
Author-email: Conduct AI <hello@conductai.ai>
|
|
6
6
|
License: MIT
|
|
@@ -285,6 +285,40 @@ Run `conduct login` first — `conduct-mcp` reads credentials from `~/.conduct/c
|
|
|
285
285
|
|
|
286
286
|
---
|
|
287
287
|
|
|
288
|
+
## VS Code + GitHub Copilot
|
|
289
|
+
|
|
290
|
+
Install from the MCP registry directly in VS Code:
|
|
291
|
+
|
|
292
|
+
```bash
|
|
293
|
+
code --add-mcp '{"name":"conduct","command":"conduct-mcp","args":[]}'
|
|
294
|
+
code --add-mcp '{"name":"conductguard","command":"conductguard-mcp","args":["--team","<workspace-id>","--token","<member-token>"]}'
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
Or add to `.vscode/mcp.json` in your repo:
|
|
298
|
+
|
|
299
|
+
```json
|
|
300
|
+
{
|
|
301
|
+
"servers": {
|
|
302
|
+
"conduct": {
|
|
303
|
+
"type": "stdio",
|
|
304
|
+
"command": "conduct-mcp",
|
|
305
|
+
"args": []
|
|
306
|
+
},
|
|
307
|
+
"conductguard": {
|
|
308
|
+
"type": "stdio",
|
|
309
|
+
"command": "conductguard-mcp",
|
|
310
|
+
"args": ["--team", "<workspace-id>", "--token", "<member-token>"]
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
Once wired, GitHub Copilot can list your agents, trigger workflows, and check Guard policies — the same tools available in Claude Code and Cursor.
|
|
317
|
+
|
|
318
|
+
**Prerequisites:** `pip install conduct-cli` + `conduct login`
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
288
322
|
## Links
|
|
289
323
|
|
|
290
324
|
- Dashboard: [conductai.ai](https://conductai.ai)
|
|
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
|