rentman-cli 2.0.0 → 2.1.0
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.
- package/.env.example +39 -39
- package/CHANGELOG.md +5 -0
- package/CLI_PRODUCTION_ANALYSIS.md +510 -510
- package/IMPLEMENTATION_REPORT.md +245 -245
- package/README.md +72 -72
- package/SECURITY_FIXES_README.md +336 -336
- package/bin/rentman.js +7 -7
- package/gen_identity.js +23 -23
- package/migrate-identity.js +75 -75
- package/mission.json +21 -21
- package/package.json +7 -2
- package/src/commands/config.js +44 -44
- package/src/commands/guide.js +26 -26
- package/src/commands/init.js +147 -147
- package/src/commands/legal.js +78 -78
- package/src/commands/listen.js +99 -88
- package/src/commands/post-mission.js +202 -202
- package/src/commands/task.js +126 -126
- package/src/index.js +247 -247
- package/src/lib/api.js +120 -120
- package/src/lib/config.js +34 -34
- package/src/lib/crypto.js +80 -80
- package/src/lib/secure-config.js +118 -118
- package/test-integration.js +142 -135
- package/test_mission_v6.json +10 -10
- package/test_mission_v7.json +10 -10
- package/test_task.json +10 -10
- package/_backup_old_cli_20260208_130317/src/commands/init.js +0 -118
- package/_backup_old_cli_20260208_130317/src/commands/login-v2.js +0 -62
- package/_backup_old_cli_20260208_130317/src/commands/login.js +0 -40
- package/_backup_old_cli_20260208_130317/src/commands/post-mission.js +0 -179
- package/_backup_old_cli_20260208_130317/src/index.js +0 -135
package/.env.example
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
2
|
-
# Rentman CLI - Environment Variables Template
|
|
3
|
-
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
4
|
-
#
|
|
5
|
-
# 📝 NOTE: CLI uses local Conf storage for user identity
|
|
6
|
-
# These environment variables are OPTIONAL and mainly for CI/CD
|
|
7
|
-
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
8
|
-
|
|
9
|
-
# Supabase Configuration (Public - safe to include)
|
|
10
|
-
SUPABASE_URL=https://uoekolfgbbmvhzsfkjef.supabase.co
|
|
11
|
-
SUPABASE_ANON_KEY=
|
|
12
|
-
|
|
13
|
-
# Agent Gateway Endpoint
|
|
14
|
-
# Production:
|
|
15
|
-
AGENT_GATEWAY_URL=https://
|
|
16
|
-
|
|
17
|
-
# Development (uncomment for local testing):
|
|
18
|
-
# AGENT_GATEWAY_URL=http://localhost:3001/v1
|
|
19
|
-
|
|
20
|
-
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
21
|
-
# Optional: Override Identity Storage
|
|
22
|
-
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
23
|
-
# By default, CLI stores identity in ~/.config/rentman/
|
|
24
|
-
# Set these ONLY for CI/CD environments or automation
|
|
25
|
-
|
|
26
|
-
# RENTMAN_AGENT_ID=your_agent_id
|
|
27
|
-
# RENTMAN_SECRET_KEY=your_secret_key_base64
|
|
28
|
-
|
|
29
|
-
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
30
|
-
# Optional: API Key Authentication (Alternative to NACL)
|
|
31
|
-
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
32
|
-
# Use API keys for bots/automation that don't need cryptographic signing
|
|
33
|
-
# RENTMAN_API_KEY=sk_live_your_api_key_here
|
|
34
|
-
|
|
35
|
-
# Logging
|
|
36
|
-
LOG_LEVEL=info
|
|
37
|
-
|
|
38
|
-
# Environment
|
|
39
|
-
NODE_ENV=production
|
|
1
|
+
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
2
|
+
# Rentman CLI - Environment Variables Template
|
|
3
|
+
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
4
|
+
#
|
|
5
|
+
# 📝 NOTE: CLI uses local Conf storage for user identity
|
|
6
|
+
# These environment variables are OPTIONAL and mainly for CI/CD
|
|
7
|
+
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
8
|
+
|
|
9
|
+
# Supabase Configuration (Public - safe to include)
|
|
10
|
+
SUPABASE_URL=https://uoekolfgbbmvhzsfkjef.supabase.co
|
|
11
|
+
SUPABASE_ANON_KEY=
|
|
12
|
+
|
|
13
|
+
# Agent Gateway Endpoint
|
|
14
|
+
# Production:
|
|
15
|
+
AGENT_GATEWAY_URL=https://rentman-api-346436028870.us-central1.run.app/v1
|
|
16
|
+
|
|
17
|
+
# Development (uncomment for local testing):
|
|
18
|
+
# AGENT_GATEWAY_URL=http://localhost:3001/v1
|
|
19
|
+
|
|
20
|
+
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
21
|
+
# Optional: Override Identity Storage
|
|
22
|
+
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
23
|
+
# By default, CLI stores identity in ~/.config/rentman/
|
|
24
|
+
# Set these ONLY for CI/CD environments or automation
|
|
25
|
+
|
|
26
|
+
# RENTMAN_AGENT_ID=your_agent_id
|
|
27
|
+
# RENTMAN_SECRET_KEY=your_secret_key_base64
|
|
28
|
+
|
|
29
|
+
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
30
|
+
# Optional: API Key Authentication (Alternative to NACL)
|
|
31
|
+
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
32
|
+
# Use API keys for bots/automation that don't need cryptographic signing
|
|
33
|
+
# RENTMAN_API_KEY=sk_live_your_api_key_here
|
|
34
|
+
|
|
35
|
+
# Logging
|
|
36
|
+
LOG_LEVEL=info
|
|
37
|
+
|
|
38
|
+
# Environment
|
|
39
|
+
NODE_ENV=production
|