lockthard-cli 0.2.7__tar.gz → 0.2.8__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.
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/PKG-INFO +22 -16
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/README.md +21 -15
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli/SKILL.md +34 -31
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli/__init__.py +1 -1
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli/client.py +1 -1
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli.egg-info/PKG-INFO +22 -16
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/pyproject.toml +1 -1
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli/auth.py +0 -0
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli/cli.py +0 -0
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli/config.py +0 -0
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli/formatters.py +0 -0
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli.egg-info/SOURCES.txt +0 -0
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli.egg-info/dependency_links.txt +0 -0
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli.egg-info/entry_points.txt +0 -0
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli.egg-info/requires.txt +0 -0
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/lockthard_cli.egg-info/top_level.txt +0 -0
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/setup.cfg +0 -0
- {lockthard_cli-0.2.7 → lockthard_cli-0.2.8}/tests/test_cli.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lockthard-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.8
|
|
4
4
|
Summary: CLI and AI agent client for LOKTAR — query 2100+ curated AI tools across 86+ tablets
|
|
5
5
|
Author-email: Loktar Team <info@loktar.cc>
|
|
6
6
|
License: MIT
|
|
@@ -20,16 +20,18 @@ Requires-Dist: click>=8.1.0
|
|
|
20
20
|
Requires-Dist: requests>=2.28.0
|
|
21
21
|
Requires-Dist: rich>=13.0.0
|
|
22
22
|
|
|
23
|
-
#
|
|
23
|
+
# LOKTAR CLI (`loktar`)
|
|
24
24
|
|
|
25
|
-
A super efficient, scriptable command-line interface and AI agent client for **
|
|
25
|
+
A super efficient, scriptable command-line interface and AI agent client for **LOKTAR** (https://loktar.cc).
|
|
26
26
|
|
|
27
|
-
Allows both human developers and autonomous AI agents (Claude Code, Antigravity, Aider, Cursor, etc.) to query, search, and inspect
|
|
27
|
+
Allows both human developers and autonomous AI agents (Claude Code, Antigravity, Aider, Cursor, etc.) to query, search, and inspect 86+ tablets and 2100+ AI tools with minimum token usage and zero prompt overhead.
|
|
28
|
+
|
|
29
|
+
*(Note: The command `lockthard` is also provided as a fully compatible alias)*
|
|
28
30
|
|
|
29
31
|
## Installation
|
|
30
32
|
|
|
31
33
|
```bash
|
|
32
|
-
pip install lockthard-cli
|
|
34
|
+
pip install --upgrade lockthard-cli
|
|
33
35
|
```
|
|
34
36
|
|
|
35
37
|
Or run without installing:
|
|
@@ -45,40 +47,44 @@ Get your API key from [loktar.cc](https://loktar.cc).
|
|
|
45
47
|
|
|
46
48
|
- **For AI Agents & CI/CD:**
|
|
47
49
|
```bash
|
|
48
|
-
export
|
|
50
|
+
export LOKTAR_API_KEY="lk_your_token_here"
|
|
51
|
+
# (LOCKTHARD_API_KEY is also supported as fallback)
|
|
49
52
|
```
|
|
50
53
|
- **Interactive Browser Login (Humans):**
|
|
51
54
|
```bash
|
|
52
|
-
|
|
55
|
+
loktar login
|
|
53
56
|
```
|
|
54
57
|
- **Manual Login:**
|
|
55
58
|
```bash
|
|
56
|
-
|
|
59
|
+
loktar login --token "lk_your_token_here"
|
|
57
60
|
```
|
|
58
61
|
|
|
59
62
|
### 2. Commands
|
|
60
63
|
|
|
61
64
|
```bash
|
|
62
65
|
# Ping service
|
|
63
|
-
|
|
66
|
+
loktar ping
|
|
64
67
|
|
|
65
|
-
# Search tools (returns concise
|
|
66
|
-
|
|
68
|
+
# Search tools (returns concise table)
|
|
69
|
+
loktar search "ocr"
|
|
67
70
|
|
|
68
71
|
# Search tools in raw JSON (for agents / jq)
|
|
69
|
-
|
|
72
|
+
loktar -j search "ocr"
|
|
70
73
|
|
|
71
74
|
# List all tablets
|
|
72
|
-
|
|
75
|
+
loktar tablets list
|
|
73
76
|
|
|
74
77
|
# Inspect a specific tablet
|
|
75
|
-
|
|
78
|
+
loktar tablets get ocr
|
|
76
79
|
|
|
77
80
|
# Inspect tool details
|
|
78
|
-
|
|
81
|
+
loktar tools get "Chandra OCR"
|
|
79
82
|
|
|
80
83
|
# Display CLI agent guide
|
|
81
|
-
|
|
84
|
+
loktar guide
|
|
85
|
+
|
|
86
|
+
# Display full agent skill
|
|
87
|
+
loktar skill
|
|
82
88
|
```
|
|
83
89
|
|
|
84
90
|
## Options
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# LOKTAR CLI (`loktar`)
|
|
2
2
|
|
|
3
|
-
A super efficient, scriptable command-line interface and AI agent client for **
|
|
3
|
+
A super efficient, scriptable command-line interface and AI agent client for **LOKTAR** (https://loktar.cc).
|
|
4
4
|
|
|
5
|
-
Allows both human developers and autonomous AI agents (Claude Code, Antigravity, Aider, Cursor, etc.) to query, search, and inspect
|
|
5
|
+
Allows both human developers and autonomous AI agents (Claude Code, Antigravity, Aider, Cursor, etc.) to query, search, and inspect 86+ tablets and 2100+ AI tools with minimum token usage and zero prompt overhead.
|
|
6
|
+
|
|
7
|
+
*(Note: The command `lockthard` is also provided as a fully compatible alias)*
|
|
6
8
|
|
|
7
9
|
## Installation
|
|
8
10
|
|
|
9
11
|
```bash
|
|
10
|
-
pip install lockthard-cli
|
|
12
|
+
pip install --upgrade lockthard-cli
|
|
11
13
|
```
|
|
12
14
|
|
|
13
15
|
Or run without installing:
|
|
@@ -23,40 +25,44 @@ Get your API key from [loktar.cc](https://loktar.cc).
|
|
|
23
25
|
|
|
24
26
|
- **For AI Agents & CI/CD:**
|
|
25
27
|
```bash
|
|
26
|
-
export
|
|
28
|
+
export LOKTAR_API_KEY="lk_your_token_here"
|
|
29
|
+
# (LOCKTHARD_API_KEY is also supported as fallback)
|
|
27
30
|
```
|
|
28
31
|
- **Interactive Browser Login (Humans):**
|
|
29
32
|
```bash
|
|
30
|
-
|
|
33
|
+
loktar login
|
|
31
34
|
```
|
|
32
35
|
- **Manual Login:**
|
|
33
36
|
```bash
|
|
34
|
-
|
|
37
|
+
loktar login --token "lk_your_token_here"
|
|
35
38
|
```
|
|
36
39
|
|
|
37
40
|
### 2. Commands
|
|
38
41
|
|
|
39
42
|
```bash
|
|
40
43
|
# Ping service
|
|
41
|
-
|
|
44
|
+
loktar ping
|
|
42
45
|
|
|
43
|
-
# Search tools (returns concise
|
|
44
|
-
|
|
46
|
+
# Search tools (returns concise table)
|
|
47
|
+
loktar search "ocr"
|
|
45
48
|
|
|
46
49
|
# Search tools in raw JSON (for agents / jq)
|
|
47
|
-
|
|
50
|
+
loktar -j search "ocr"
|
|
48
51
|
|
|
49
52
|
# List all tablets
|
|
50
|
-
|
|
53
|
+
loktar tablets list
|
|
51
54
|
|
|
52
55
|
# Inspect a specific tablet
|
|
53
|
-
|
|
56
|
+
loktar tablets get ocr
|
|
54
57
|
|
|
55
58
|
# Inspect tool details
|
|
56
|
-
|
|
59
|
+
loktar tools get "Chandra OCR"
|
|
57
60
|
|
|
58
61
|
# Display CLI agent guide
|
|
59
|
-
|
|
62
|
+
loktar guide
|
|
63
|
+
|
|
64
|
+
# Display full agent skill
|
|
65
|
+
loktar skill
|
|
60
66
|
```
|
|
61
67
|
|
|
62
68
|
## Options
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
3
|
-
description: "
|
|
4
|
-
version: 0.2.
|
|
2
|
+
name: loktar
|
|
3
|
+
description: "LOKTAR CLI — query 2100+ curated AI tools across 86+ tablets. Search, browse tablets, get tool details, and investigate repos. Designed for both humans and AI agents."
|
|
4
|
+
version: 0.2.8
|
|
5
5
|
metadata:
|
|
6
6
|
hermes:
|
|
7
|
-
tags: [lockthard, tools, ai, search, tablets, mcp]
|
|
7
|
+
tags: [loktar, lockthard, tools, ai, search, tablets, mcp]
|
|
8
8
|
homepage: https://loktar.cc
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
#
|
|
11
|
+
# LOKTAR CLI
|
|
12
12
|
|
|
13
|
-
CLI para consultar el directorio de herramientas IA de
|
|
13
|
+
CLI para consultar el directorio de herramientas IA de LOKTAR (2100+ herramientas, 86+ tablets). Diseñada para humanos (tablas Rich) y agentes IA (JSON limpio).
|
|
14
|
+
*Nota: El comando `lockthard` se mantiene disponible como alias compatible.*
|
|
14
15
|
|
|
15
16
|
## Autenticación
|
|
16
17
|
|
|
17
18
|
```bash
|
|
18
19
|
# Opción 1: Variable de entorno (recomendado para agentes)
|
|
19
|
-
export
|
|
20
|
+
export LOKTAR_API_KEY="lk_tu_token"
|
|
21
|
+
# (También soporta LOCKTHARD_API_KEY como fallback)
|
|
20
22
|
|
|
21
23
|
# Opción 2: Login con token
|
|
22
|
-
|
|
24
|
+
loktar login --token lk_tu_token
|
|
23
25
|
|
|
24
26
|
# Opción 3: Login interactivo (abre navegador)
|
|
25
|
-
|
|
27
|
+
loktar login
|
|
26
28
|
```
|
|
27
29
|
|
|
28
|
-
Token guardado en `~/.lockthard/credentials.json`
|
|
30
|
+
Token guardado en `~/.loktar/credentials.json` (o fallback `~/.lockthard/credentials.json`) con permisos 0600.
|
|
29
31
|
|
|
30
32
|
## Flag JSON (`-j` / `--json`)
|
|
31
33
|
|
|
@@ -34,27 +36,28 @@ Para agentes IA: **siempre usa `-j`** para recibir JSON limpio sin formato ANSI.
|
|
|
34
36
|
El flag funciona tanto a nivel global como en cualquier subcommand:
|
|
35
37
|
|
|
36
38
|
```bash
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
loktar -j tablets list # ✅ global
|
|
40
|
+
loktar tablets list -j # ✅ en subcommand
|
|
41
|
+
loktar -j tablets get vector-knowledge-base # ✅
|
|
42
|
+
loktar tablets get vector-knowledge-base -j # ✅
|
|
41
43
|
```
|
|
42
44
|
|
|
43
45
|
## Comandos
|
|
44
46
|
|
|
45
47
|
| Comando | Descripción |
|
|
46
48
|
|---|---|
|
|
47
|
-
| `
|
|
48
|
-
| `
|
|
49
|
-
| `
|
|
50
|
-
| `
|
|
51
|
-
| `
|
|
52
|
-
| `
|
|
53
|
-
| `
|
|
49
|
+
| `loktar ping` | Verificar conexión y autenticación |
|
|
50
|
+
| `loktar -j search "<query>"` | Buscar herramientas por palabra clave |
|
|
51
|
+
| `loktar -j tablets list` | Listar todos los tablets disponibles |
|
|
52
|
+
| `loktar -j tablets get <tablet_id>` | Ver herramientas de un tablet |
|
|
53
|
+
| `loktar -j tools get "<tool_id>"` | Detalles de una herramienta específica |
|
|
54
|
+
| `loktar -j cli-tools` | Listar herramientas CLI dedicadas |
|
|
55
|
+
| `loktar guide` | Guía rápida para agentes |
|
|
56
|
+
| `loktar skill` | Muestra esta SKILL.md completa |
|
|
54
57
|
|
|
55
58
|
## Estructura de un Tablet
|
|
56
59
|
|
|
57
|
-
Cada tablet es una colección curada de herramientas agrupadas por temática. Al obtener un tablet (`
|
|
60
|
+
Cada tablet es una colección curada de herramientas agrupadas por temática. Al obtener un tablet (`loktar -j tablets get <id>`), recibes:
|
|
58
61
|
|
|
59
62
|
```json
|
|
60
63
|
{
|
|
@@ -95,27 +98,27 @@ Descripción: (vacía)
|
|
|
95
98
|
|
|
96
99
|
## Flujo de trabajo recomendado para agentes
|
|
97
100
|
|
|
98
|
-
1. `
|
|
99
|
-
2. `
|
|
100
|
-
3. `
|
|
101
|
+
1. `loktar ping` — verificar auth
|
|
102
|
+
2. `loktar -j tablets list` — ver tablets disponibles
|
|
103
|
+
3. `loktar -j tablets get <id>` — explorar herramientas de un tablet relevante
|
|
101
104
|
4. Para cada herramienta interesante: **ir al repo/URL y leer documentación**
|
|
102
|
-
5. `
|
|
105
|
+
5. `loktar -j tools get "<nombre>"` — detalles específicos con snippets si se necesitan
|
|
103
106
|
|
|
104
107
|
## Ejemplos de uso
|
|
105
108
|
|
|
106
109
|
```bash
|
|
107
110
|
# Buscar herramientas de OCR
|
|
108
|
-
|
|
111
|
+
loktar -j search "ocr"
|
|
109
112
|
|
|
110
113
|
# Ver todo el tablet de cybersecurity
|
|
111
|
-
|
|
114
|
+
loktar -j tablets get cybersecurity
|
|
112
115
|
|
|
113
116
|
# Ver detalles de una herramienta específica
|
|
114
|
-
|
|
117
|
+
loktar -j tools get "Graphify"
|
|
115
118
|
|
|
116
119
|
# Listar herramientas CLI
|
|
117
|
-
|
|
120
|
+
loktar -j cli-tools
|
|
118
121
|
|
|
119
122
|
# Verificar que todo funciona
|
|
120
|
-
|
|
123
|
+
loktar ping
|
|
121
124
|
```
|
|
@@ -53,7 +53,7 @@ class LockthardClient:
|
|
|
53
53
|
url = f"{self.base_url}/api/mcp"
|
|
54
54
|
resp = self._session.post(url, json=payload, timeout=self.timeout)
|
|
55
55
|
if resp.status_code == 401:
|
|
56
|
-
raise LockthardError("No autorizado: Token inválido. Inicia sesión con '
|
|
56
|
+
raise LockthardError("No autorizado: Token inválido. Inicia sesión con 'loktar login'.")
|
|
57
57
|
resp.raise_for_status()
|
|
58
58
|
data = resp.json()
|
|
59
59
|
if "error" in data:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lockthard-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.8
|
|
4
4
|
Summary: CLI and AI agent client for LOKTAR — query 2100+ curated AI tools across 86+ tablets
|
|
5
5
|
Author-email: Loktar Team <info@loktar.cc>
|
|
6
6
|
License: MIT
|
|
@@ -20,16 +20,18 @@ Requires-Dist: click>=8.1.0
|
|
|
20
20
|
Requires-Dist: requests>=2.28.0
|
|
21
21
|
Requires-Dist: rich>=13.0.0
|
|
22
22
|
|
|
23
|
-
#
|
|
23
|
+
# LOKTAR CLI (`loktar`)
|
|
24
24
|
|
|
25
|
-
A super efficient, scriptable command-line interface and AI agent client for **
|
|
25
|
+
A super efficient, scriptable command-line interface and AI agent client for **LOKTAR** (https://loktar.cc).
|
|
26
26
|
|
|
27
|
-
Allows both human developers and autonomous AI agents (Claude Code, Antigravity, Aider, Cursor, etc.) to query, search, and inspect
|
|
27
|
+
Allows both human developers and autonomous AI agents (Claude Code, Antigravity, Aider, Cursor, etc.) to query, search, and inspect 86+ tablets and 2100+ AI tools with minimum token usage and zero prompt overhead.
|
|
28
|
+
|
|
29
|
+
*(Note: The command `lockthard` is also provided as a fully compatible alias)*
|
|
28
30
|
|
|
29
31
|
## Installation
|
|
30
32
|
|
|
31
33
|
```bash
|
|
32
|
-
pip install lockthard-cli
|
|
34
|
+
pip install --upgrade lockthard-cli
|
|
33
35
|
```
|
|
34
36
|
|
|
35
37
|
Or run without installing:
|
|
@@ -45,40 +47,44 @@ Get your API key from [loktar.cc](https://loktar.cc).
|
|
|
45
47
|
|
|
46
48
|
- **For AI Agents & CI/CD:**
|
|
47
49
|
```bash
|
|
48
|
-
export
|
|
50
|
+
export LOKTAR_API_KEY="lk_your_token_here"
|
|
51
|
+
# (LOCKTHARD_API_KEY is also supported as fallback)
|
|
49
52
|
```
|
|
50
53
|
- **Interactive Browser Login (Humans):**
|
|
51
54
|
```bash
|
|
52
|
-
|
|
55
|
+
loktar login
|
|
53
56
|
```
|
|
54
57
|
- **Manual Login:**
|
|
55
58
|
```bash
|
|
56
|
-
|
|
59
|
+
loktar login --token "lk_your_token_here"
|
|
57
60
|
```
|
|
58
61
|
|
|
59
62
|
### 2. Commands
|
|
60
63
|
|
|
61
64
|
```bash
|
|
62
65
|
# Ping service
|
|
63
|
-
|
|
66
|
+
loktar ping
|
|
64
67
|
|
|
65
|
-
# Search tools (returns concise
|
|
66
|
-
|
|
68
|
+
# Search tools (returns concise table)
|
|
69
|
+
loktar search "ocr"
|
|
67
70
|
|
|
68
71
|
# Search tools in raw JSON (for agents / jq)
|
|
69
|
-
|
|
72
|
+
loktar -j search "ocr"
|
|
70
73
|
|
|
71
74
|
# List all tablets
|
|
72
|
-
|
|
75
|
+
loktar tablets list
|
|
73
76
|
|
|
74
77
|
# Inspect a specific tablet
|
|
75
|
-
|
|
78
|
+
loktar tablets get ocr
|
|
76
79
|
|
|
77
80
|
# Inspect tool details
|
|
78
|
-
|
|
81
|
+
loktar tools get "Chandra OCR"
|
|
79
82
|
|
|
80
83
|
# Display CLI agent guide
|
|
81
|
-
|
|
84
|
+
loktar guide
|
|
85
|
+
|
|
86
|
+
# Display full agent skill
|
|
87
|
+
loktar skill
|
|
82
88
|
```
|
|
83
89
|
|
|
84
90
|
## Options
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "lockthard-cli"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.8"
|
|
8
8
|
description = "CLI and AI agent client for LOKTAR — query 2100+ curated AI tools across 86+ tablets"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
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
|