cortexdb-cli 0.5.2__py3-none-any.whl → 0.5.3__py3-none-any.whl
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.
- cortexdb_cli/__init__.py +1 -1
- {cortexdb_cli-0.5.2.dist-info → cortexdb_cli-0.5.3.dist-info}/METADATA +20 -4
- {cortexdb_cli-0.5.2.dist-info → cortexdb_cli-0.5.3.dist-info}/RECORD +5 -5
- {cortexdb_cli-0.5.2.dist-info → cortexdb_cli-0.5.3.dist-info}/WHEEL +0 -0
- {cortexdb_cli-0.5.2.dist-info → cortexdb_cli-0.5.3.dist-info}/entry_points.txt +0 -0
cortexdb_cli/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: cortexdb-cli
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: Command-line interface for CortexDB — the long-term memory layer for AI.
|
|
5
5
|
Project-URL: Homepage, https://cortexdb.ai
|
|
6
6
|
Project-URL: Documentation, https://cortexdb.ai/docs
|
|
@@ -62,8 +62,22 @@ cortexdb recall "Q3 revenue?"
|
|
|
62
62
|
cortexdb
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
The signup token has a 7-day TTL on the free tier.
|
|
66
|
-
|
|
65
|
+
The signup token has a 7-day TTL on the free tier.
|
|
66
|
+
|
|
67
|
+
**Re-running `cortexdb init` does not refresh it.** `init` reuses an existing
|
|
68
|
+
identity and changes nothing; against an expired one it refuses and exits 3.
|
|
69
|
+
That is deliberate: a new identity is a new *brain*, and memories written
|
|
70
|
+
under the old actor stay where they are, unreachable from the new config.
|
|
71
|
+
|
|
72
|
+
When a token expires you have two safe options:
|
|
73
|
+
|
|
74
|
+
- `cortexdb init --api-key <token> --actor <actor>` — keep the same brain
|
|
75
|
+
with a token you already hold (e.g. from your IdP).
|
|
76
|
+
- `cortexdb init --force` — deliberately start a NEW brain. The previous
|
|
77
|
+
identity is backed up to `state.json.replaced` first.
|
|
78
|
+
|
|
79
|
+
For a second brain alongside the first, isolate instead of replacing:
|
|
80
|
+
`cortexdb --config-dir <dir> init`, or set `CORTEXDB_HOME`.
|
|
67
81
|
|
|
68
82
|
## Commands
|
|
69
83
|
|
|
@@ -112,7 +126,9 @@ Force JSON mode any time with `--json`.
|
|
|
112
126
|
- The v1 API requires both `Authorization: Bearer <PASETO>` and `X-Cortex-Actor`.
|
|
113
127
|
The CLI stamps both on every request — you never need to pass them by hand.
|
|
114
128
|
- 401s show the specific error code (`TOKEN_EXPIRED`, `actor_mismatch`, …)
|
|
115
|
-
and the remediation
|
|
129
|
+
and the remediation. Note that `TOKEN_EXPIRED` is **not** fixed by re-running
|
|
130
|
+
`cortexdb init` — see the identity note above; that would mint a different
|
|
131
|
+
brain rather than restore access to yours.
|
|
116
132
|
- 403s cite the missing capability and the policy tier that denied. If a
|
|
117
133
|
recall returns `diagnostics.read denied`, pass `--diagnostics none` —
|
|
118
134
|
free-tier tokens don't carry the `diagnostics.read` capability.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
cortexdb_cli/__init__.py,sha256=
|
|
1
|
+
cortexdb_cli/__init__.py,sha256=2UYu9wmxTQpfORew0gzovY5bYQAyLW6hmnIR-bQps9E,90
|
|
2
2
|
cortexdb_cli/client.py,sha256=CQwGo4Gn7cHDnfLUlJBZMsZ9-AyGVz8W6bJKxNMwlRA,2862
|
|
3
3
|
cortexdb_cli/config.py,sha256=ee1qmOfqMwilL81ujaqjf6TjjlrFG7WZAHRIgeyif9U,5690
|
|
4
4
|
cortexdb_cli/errors.py,sha256=xwxAWYY7KtNa-e7dyLQECnsKcciVcKC41CXFFF_-0VU,3924
|
|
@@ -34,7 +34,7 @@ cortexdb_cli/commands/scopes.py,sha256=Cx_zV-zyIrnDxwp_I4AX_Teh7UFu4EdvDOYe9hTEF
|
|
|
34
34
|
cortexdb_cli/commands/search.py,sha256=4wsgNU47deb0x5o7xC9eWlhwdIIbz56q7ne8GIiCmYo,1953
|
|
35
35
|
cortexdb_cli/commands/understanding.py,sha256=BktqOn-GloOzSSGJGK9xh5kGCpxcrwkNogtXhjj4pBI,5371
|
|
36
36
|
cortexdb_cli/commands/wire.py,sha256=M3UUHScmvr_MDrX_RaMBg-YLTcHKUq9woNkT4KHJKfs,8131
|
|
37
|
-
cortexdb_cli-0.5.
|
|
38
|
-
cortexdb_cli-0.5.
|
|
39
|
-
cortexdb_cli-0.5.
|
|
40
|
-
cortexdb_cli-0.5.
|
|
37
|
+
cortexdb_cli-0.5.3.dist-info/METADATA,sha256=pHC6gxm4OoeXGAaxtiJ-zDrbsuVGbbQfC_Cj2GQTmvM,5234
|
|
38
|
+
cortexdb_cli-0.5.3.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
39
|
+
cortexdb_cli-0.5.3.dist-info/entry_points.txt,sha256=h3sEbdqqvtv8LBbRLUgybYPo9N2lpU85fQUSh5ToEvs,51
|
|
40
|
+
cortexdb_cli-0.5.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|