ai-memory-cli 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.
- {ai_memory_cli-0.1.0/src/ai_memory_cli.egg-info → ai_memory_cli-0.1.1}/PKG-INFO +10 -6
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/README.md +9 -5
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/pyproject.toml +1 -1
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/src/ai_memory_cli/__init__.py +1 -1
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/src/ai_memory_cli/cli.py +4 -4
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1/src/ai_memory_cli.egg-info}/PKG-INFO +10 -6
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/LICENSE +0 -0
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/setup.cfg +0 -0
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/src/ai_memory_cli/__main__.py +0 -0
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/src/ai_memory_cli.egg-info/SOURCES.txt +0 -0
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/src/ai_memory_cli.egg-info/dependency_links.txt +0 -0
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/src/ai_memory_cli.egg-info/entry_points.txt +0 -0
- {ai_memory_cli-0.1.0 → ai_memory_cli-0.1.1}/src/ai_memory_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ai-memory-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Python CLI for AI Memory terminal capture and offline sync.
|
|
5
5
|
Author: AI Memory
|
|
6
6
|
License-Expression: MIT
|
|
@@ -47,13 +47,17 @@ python -m pip install -e .
|
|
|
47
47
|
## Basic flow
|
|
48
48
|
|
|
49
49
|
```powershell
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
python -m ai_memory_cli auth --token TOKEN_FROM_WEBSITE --api-url https://api.your-domain.com
|
|
51
|
+
python -m ai_memory_cli init --project my-project --repo owner/repo --workspace .
|
|
52
|
+
python -m ai_memory_cli workspace connect --path . --repo owner/repo --editor vscode --package-manager pip
|
|
53
|
+
python -m ai_memory_cli watch
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
Use `
|
|
56
|
+
Use `python -m ai_memory_cli run -- COMMAND` when you only want to record one command.
|
|
57
|
+
|
|
58
|
+
On Windows, `python -m ai_memory_cli ...` is the safest form because it avoids PATH issues and Device Guard policies that can block pip's generated `ai-memory.exe` launcher. Also avoid angle bracket placeholders in CMD because they are treated as file redirection.
|
|
59
|
+
|
|
60
|
+
Inside `watch`, type the real command you want to capture, for example `python --version`. Do not type `python -m ai_memory_cli run -- ...` inside `watch`, or you will capture the nested CLI command too.
|
|
57
61
|
|
|
58
62
|
## Storage
|
|
59
63
|
|
|
@@ -25,13 +25,17 @@ python -m pip install -e .
|
|
|
25
25
|
## Basic flow
|
|
26
26
|
|
|
27
27
|
```powershell
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
python -m ai_memory_cli auth --token TOKEN_FROM_WEBSITE --api-url https://api.your-domain.com
|
|
29
|
+
python -m ai_memory_cli init --project my-project --repo owner/repo --workspace .
|
|
30
|
+
python -m ai_memory_cli workspace connect --path . --repo owner/repo --editor vscode --package-manager pip
|
|
31
|
+
python -m ai_memory_cli watch
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
Use `
|
|
34
|
+
Use `python -m ai_memory_cli run -- COMMAND` when you only want to record one command.
|
|
35
|
+
|
|
36
|
+
On Windows, `python -m ai_memory_cli ...` is the safest form because it avoids PATH issues and Device Guard policies that can block pip's generated `ai-memory.exe` launcher. Also avoid angle bracket placeholders in CMD because they are treated as file redirection.
|
|
37
|
+
|
|
38
|
+
Inside `watch`, type the real command you want to capture, for example `python --version`. Do not type `python -m ai_memory_cli run -- ...` inside `watch`, or you will capture the nested CLI command too.
|
|
35
39
|
|
|
36
40
|
## Storage
|
|
37
41
|
|
|
@@ -130,7 +130,7 @@ def api_url(config: dict[str, Any]) -> str:
|
|
|
130
130
|
def require_token(config: dict[str, Any]) -> str:
|
|
131
131
|
token = str(config.get("token") or "").strip()
|
|
132
132
|
if not token:
|
|
133
|
-
raise SystemExit("Run
|
|
133
|
+
raise SystemExit("Run python -m ai_memory_cli auth --token TOKEN_FROM_WEBSITE first.")
|
|
134
134
|
return token
|
|
135
135
|
|
|
136
136
|
|
|
@@ -261,7 +261,7 @@ def sync_events(home: Path, config: dict[str, Any], limit: int = 50, quiet: bool
|
|
|
261
261
|
token = str(config.get("token") or "").strip()
|
|
262
262
|
if not token:
|
|
263
263
|
if not quiet:
|
|
264
|
-
print("No CLI token saved. Events remain queued until
|
|
264
|
+
print("No CLI token saved. Events remain queued until python -m ai_memory_cli auth is configured.")
|
|
265
265
|
return 0
|
|
266
266
|
paths = sorted((home / "outbox").glob("*.json"))[:limit]
|
|
267
267
|
if not paths:
|
|
@@ -408,7 +408,7 @@ def command_init(args: argparse.Namespace) -> int:
|
|
|
408
408
|
print(f"Initialized project: {project.get('id', payload['project'])}")
|
|
409
409
|
except Exception as exc:
|
|
410
410
|
print(f"Project config saved locally. Server init will need retry: {exc}", file=sys.stderr)
|
|
411
|
-
print("Start terminal capture with:
|
|
411
|
+
print("Start terminal capture with: python -m ai_memory_cli watch")
|
|
412
412
|
return 0
|
|
413
413
|
|
|
414
414
|
|
|
@@ -484,7 +484,7 @@ def command_chat_connect(args: argparse.Namespace) -> int:
|
|
|
484
484
|
def command_run(args: argparse.Namespace) -> int:
|
|
485
485
|
command = command_line(args.command)
|
|
486
486
|
if not command:
|
|
487
|
-
raise SystemExit("Pass a command after --, for example:
|
|
487
|
+
raise SystemExit("Pass a command after --, for example: python -m ai_memory_cli run -- python --version")
|
|
488
488
|
home = cli_home()
|
|
489
489
|
config = load_config(home)
|
|
490
490
|
return capture_command(home, config, command, args.include_excluded, "run")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ai-memory-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Python CLI for AI Memory terminal capture and offline sync.
|
|
5
5
|
Author: AI Memory
|
|
6
6
|
License-Expression: MIT
|
|
@@ -47,13 +47,17 @@ python -m pip install -e .
|
|
|
47
47
|
## Basic flow
|
|
48
48
|
|
|
49
49
|
```powershell
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
python -m ai_memory_cli auth --token TOKEN_FROM_WEBSITE --api-url https://api.your-domain.com
|
|
51
|
+
python -m ai_memory_cli init --project my-project --repo owner/repo --workspace .
|
|
52
|
+
python -m ai_memory_cli workspace connect --path . --repo owner/repo --editor vscode --package-manager pip
|
|
53
|
+
python -m ai_memory_cli watch
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
Use `
|
|
56
|
+
Use `python -m ai_memory_cli run -- COMMAND` when you only want to record one command.
|
|
57
|
+
|
|
58
|
+
On Windows, `python -m ai_memory_cli ...` is the safest form because it avoids PATH issues and Device Guard policies that can block pip's generated `ai-memory.exe` launcher. Also avoid angle bracket placeholders in CMD because they are treated as file redirection.
|
|
59
|
+
|
|
60
|
+
Inside `watch`, type the real command you want to capture, for example `python --version`. Do not type `python -m ai_memory_cli run -- ...` inside `watch`, or you will capture the nested CLI command too.
|
|
57
61
|
|
|
58
62
|
## Storage
|
|
59
63
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|