tex-ai-cli 0.2.0__py3-none-win_amd64.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.
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: tex-ai-cli
3
+ Version: 0.2.0
4
+ Classifier: Environment :: Console
5
+ Classifier: License :: OSI Approved :: Apache Software License
6
+ Classifier: Programming Language :: Rust
7
+ Summary: The command line for Tex's API
8
+ License: Apache-2.0
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
11
+ Project-URL: Homepage, https://trytex.ai
12
+
13
+ <img src="https://trytex.ai/glen-logo.png" alt="Tex" width="96" height="96">
14
+
15
+ # tex-ai-cli
16
+
17
+ The command line for [Tex](https://trytex.ai)'s API.
18
+
19
+ ```bash
20
+ pip install tex-ai-cli
21
+ export TEX_TOKEN=... # a personal token, made in the console
22
+ tex-ai-cli agents list
23
+ tex-ai-cli agents get triage
24
+ tex-ai-cli agents send --agent triage --message "Look at alert 4412"
25
+ tex-ai-cli sessions list --limit 5
26
+ tex-ai-cli knowledge-bases page ops 12 hosts/web.md
27
+ ```
28
+
29
+ It calls https://app.trytex.ai unless `TEX_URL` names another Tex.
30
+ `GLEN_URL` and `GLEN_TOKEN` still work when `TEX_URL` and `TEX_TOKEN`
31
+ are unset.
32
+
33
+ `tex-ai-cli --help` lists every resource, and `tex-ai-cli <resource>
34
+ --help` its verbs. Each verb is one route of the API, which
35
+ `GET /v1/openapi.json` describes. A path parameter is a positional
36
+ argument; a query parameter and each field of a JSON body are flags;
37
+ `--body` takes the whole body, `@file` reads a file and `-` reads stdin;
38
+ `@@` starts a value that begins with `@`.
39
+
40
+ It prints the API's JSON answer, and exits 1 when the API refuses, with
41
+ the status and the reason on stderr.
42
+
43
+ This package was `glen-cli`, whose command was `glen`. `pip install -U
44
+ glen-cli` installs this one and keeps a `glen` command that runs
45
+ `tex-ai-cli`.
46
+
@@ -0,0 +1,5 @@
1
+ tex_ai_cli-0.2.0.data/scripts/tex-ai-cli.exe,sha256=cLww9EIbibc6ARw2w0SPV6TdHGM4f603n3V8L6UX3b0,3608064
2
+ tex_ai_cli-0.2.0.dist-info/METADATA,sha256=F8FQLWDePSv_AR09NGOuycWn0lnLaJkSbIXUZuLVRow,1663
3
+ tex_ai_cli-0.2.0.dist-info/WHEEL,sha256=Uvw7WSmy7Kj2FBk8Va4L_dq4MDW8X5Ynby-pOX3ZNS0,94
4
+ tex_ai_cli-0.2.0.dist-info/sboms/tex-ai-cli.cyclonedx.json,sha256=2pdK0eO0y26a2J7bmsOwm53Yep9h-2AwVe6bwJWS3v4,168974
5
+ tex_ai_cli-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.16.0)
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_amd64