@temps-sdk/cli 0.1.37 → 0.1.38
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/dist/index.js +14295 -25419
- package/dist/skills/temps/SKILL.md +140 -0
- package/dist/skills/temps/agents/openai.yaml +7 -0
- package/dist/skills/temps/evals/evals.json +95 -0
- package/dist/skills/temps/howtos/backup-recovery.md +41 -0
- package/dist/skills/temps/howtos/ci-automation.md +18 -0
- package/dist/skills/temps/howtos/deploy-application.md +29 -0
- package/dist/skills/temps/howtos/diagnose-deployment.md +17 -0
- package/dist/skills/temps/howtos/framework-routing.md +28 -0
- package/dist/skills/temps/howtos/javascript-typescript.md +57 -0
- package/dist/skills/temps/howtos/managed-services.md +83 -0
- package/dist/skills/temps/howtos/observability-onboarding.md +52 -0
- package/dist/skills/temps/howtos/projects-and-monorepos.md +49 -0
- package/dist/skills/temps/howtos/python.md +42 -0
- package/dist/skills/temps/howtos/rust.md +30 -0
- package/dist/skills/temps/references/cli-runtime.md +68 -0
- package/dist/skills/temps/references/commands/INDEX.md +97 -0
- package/dist/skills/temps/references/commands/access.md +49 -0
- package/dist/skills/temps/references/commands/ai.md +43 -0
- package/dist/skills/temps/references/commands/alarms.md +87 -0
- package/dist/skills/temps/references/commands/analytics.md +369 -0
- package/dist/skills/temps/references/commands/apikeys.md +96 -0
- package/dist/skills/temps/references/commands/audit.md +41 -0
- package/dist/skills/temps/references/commands/backups.md +263 -0
- package/dist/skills/temps/references/commands/cloud.md +371 -0
- package/dist/skills/temps/references/commands/cluster.md +31 -0
- package/dist/skills/temps/references/commands/configure.md +55 -0
- package/dist/skills/temps/references/commands/containers.md +110 -0
- package/dist/skills/temps/references/commands/context.md +49 -0
- package/dist/skills/temps/references/commands/custom-domains.md +98 -0
- package/dist/skills/temps/references/commands/data.md +90 -0
- package/dist/skills/temps/references/commands/delivery-profiles.md +69 -0
- package/dist/skills/temps/references/commands/delivery.md +116 -0
- package/dist/skills/temps/references/commands/deploy-image.md +23 -0
- package/dist/skills/temps/references/commands/deploy-local-image.md +28 -0
- package/dist/skills/temps/references/commands/deploy-static.md +23 -0
- package/dist/skills/temps/references/commands/deploy.md +21 -0
- package/dist/skills/temps/references/commands/deployments.md +172 -0
- package/dist/skills/temps/references/commands/dns-provider.md +196 -0
- package/dist/skills/temps/references/commands/dns.md +181 -0
- package/dist/skills/temps/references/commands/domains.md +187 -0
- package/dist/skills/temps/references/commands/drop.md +21 -0
- package/dist/skills/temps/references/commands/dsn.md +84 -0
- package/dist/skills/temps/references/commands/email-domains.md +160 -0
- package/dist/skills/temps/references/commands/email-providers.md +91 -0
- package/dist/skills/temps/references/commands/emails.md +79 -0
- package/dist/skills/temps/references/commands/env-pull.md +16 -0
- package/dist/skills/temps/references/commands/env-push.md +17 -0
- package/dist/skills/temps/references/commands/environments.md +252 -0
- package/dist/skills/temps/references/commands/errors.md +250 -0
- package/dist/skills/temps/references/commands/facets.md +57 -0
- package/dist/skills/temps/references/commands/flags.md +143 -0
- package/dist/skills/temps/references/commands/funnels.md +92 -0
- package/dist/skills/temps/references/commands/incidents.md +111 -0
- package/dist/skills/temps/references/commands/init.md +16 -0
- package/dist/skills/temps/references/commands/instances.md +56 -0
- package/dist/skills/temps/references/commands/instantiations.md +53 -0
- package/dist/skills/temps/references/commands/ip-access.md +153 -0
- package/dist/skills/temps/references/commands/link.md +15 -0
- package/dist/skills/temps/references/commands/load-balancer.md +73 -0
- package/dist/skills/temps/references/commands/login.md +17 -0
- package/dist/skills/temps/references/commands/logout.md +16 -0
- package/dist/skills/temps/references/commands/logs.md +167 -0
- package/dist/skills/temps/references/commands/mcp-servers.md +70 -0
- package/dist/skills/temps/references/commands/mcp.md +65 -0
- package/dist/skills/temps/references/commands/metrics.md +79 -0
- package/dist/skills/temps/references/commands/migrate.md +109 -0
- package/dist/skills/temps/references/commands/monitors.md +92 -0
- package/dist/skills/temps/references/commands/nodes.md +200 -0
- package/dist/skills/temps/references/commands/notification-preferences.md +47 -0
- package/dist/skills/temps/references/commands/notifications.md +211 -0
- package/dist/skills/temps/references/commands/open.md +17 -0
- package/dist/skills/temps/references/commands/otel-forward.md +210 -0
- package/dist/skills/temps/references/commands/otel.md +38 -0
- package/dist/skills/temps/references/commands/platform.md +147 -0
- package/dist/skills/temps/references/commands/plugin.md +193 -0
- package/dist/skills/temps/references/commands/presets.md +35 -0
- package/dist/skills/temps/references/commands/project-groups.md +255 -0
- package/dist/skills/temps/references/commands/projects.md +270 -0
- package/dist/skills/temps/references/commands/providers.md +277 -0
- package/dist/skills/temps/references/commands/proxy-logs.md +85 -0
- package/dist/skills/temps/references/commands/revenue.md +48 -0
- package/dist/skills/temps/references/commands/rollback.md +18 -0
- package/dist/skills/temps/references/commands/runtime-logs.md +21 -0
- package/dist/skills/temps/references/commands/sandbox.md +428 -0
- package/dist/skills/temps/references/commands/scans.md +113 -0
- package/dist/skills/temps/references/commands/secrets.md +65 -0
- package/dist/skills/temps/references/commands/server.md +50 -0
- package/dist/skills/temps/references/commands/services.md +636 -0
- package/dist/skills/temps/references/commands/session-replay.md +76 -0
- package/dist/skills/temps/references/commands/settings.md +84 -0
- package/dist/skills/temps/references/commands/setup.md +25 -0
- package/dist/skills/temps/references/commands/skills.md +87 -0
- package/dist/skills/temps/references/commands/start.md +20 -0
- package/dist/skills/temps/references/commands/status-pages.md +188 -0
- package/dist/skills/temps/references/commands/status.md +17 -0
- package/dist/skills/temps/references/commands/stop.md +16 -0
- package/dist/skills/temps/references/commands/teams.md +129 -0
- package/dist/skills/temps/references/commands/templates.md +61 -0
- package/dist/skills/temps/references/commands/tokens.md +77 -0
- package/dist/skills/temps/references/commands/traces.md +42 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +113 -0
- package/dist/skills/temps/references/commands/up.md +25 -0
- package/dist/skills/temps/references/commands/users.md +99 -0
- package/dist/skills/temps/references/commands/webhooks.md +165 -0
- package/dist/skills/temps/references/commands/whoami.md +15 -0
- package/dist/skills/temps/references/commands/workflow.md +42 -0
- package/dist/skills/temps/references/observability/analytics.md +146 -0
- package/dist/skills/temps/references/observability/error-tracking.md +73 -0
- package/dist/skills/temps/references/observability/hygiene.md +112 -0
- package/dist/skills/temps/references/observability/logs.md +43 -0
- package/dist/skills/temps/references/observability/metrics.md +41 -0
- package/dist/skills/temps/references/observability/tracing.md +392 -0
- package/dist/skills/temps/references/runtime-contract.md +115 -0
- package/dist/skills/temps/references/workflows/platform-operations.md +154 -0
- package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/detect_project_capabilities.py +239 -0
- package/dist/skills/temps/scripts/generate_command_references.py +144 -0
- package/dist/skills/temps/scripts/test_detect_project_capabilities.py +124 -0
- package/dist/skills/temps/scripts/test_generate_command_references.py +128 -0
- package/dist/skills/temps/scripts/test_validate_skill.py +84 -0
- package/dist/skills/temps/scripts/validate_skill.py +111 -0
- package/package.json +2 -2
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `otel` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `otel`
|
|
8
|
+
|
|
9
|
+
Inspect the OTLP ingest pipeline itself — throughput, drops and failure reasons (server-wide, not project-scoped; see "temps metrics" to query ingested application metrics)
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `ingest-errors` - Show why ingest batches were dropped, grouped by signal and failure reason
|
|
14
|
+
- `pipeline-history` - Show pipeline counter trends over time (received/stored/dropped per signal)
|
|
15
|
+
|
|
16
|
+
### `otel ingest-errors`
|
|
17
|
+
|
|
18
|
+
Show why ingest batches were dropped, grouped by signal and failure reason
|
|
19
|
+
|
|
20
|
+
**Options:**
|
|
21
|
+
|
|
22
|
+
| Flag | Description | Default | Required |
|
|
23
|
+
|------|-------------|---------|----------|
|
|
24
|
+
| `--limit <n>` | Max failure groups to return (default: 20, server cap: 100) | - | No |
|
|
25
|
+
| `--json` | Output in JSON format | - | No |
|
|
26
|
+
|
|
27
|
+
### `otel pipeline-history`
|
|
28
|
+
|
|
29
|
+
Show pipeline counter trends over time (received/stored/dropped per signal)
|
|
30
|
+
|
|
31
|
+
**Options:**
|
|
32
|
+
|
|
33
|
+
| Flag | Description | Default | Required |
|
|
34
|
+
|------|-------------|---------|----------|
|
|
35
|
+
| `--period <period>` | Time period: 1h, 6h, 24h, 7d (server presets), or today/<n>h/<n>d resolved locally | `24h` | No |
|
|
36
|
+
| `--start-time <iso>` | Explicit window start (RFC 3339) — overrides --period | - | No |
|
|
37
|
+
| `--end-time <iso>` | Explicit window end (RFC 3339) — overrides --period | - | No |
|
|
38
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `platform` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `platform` (alias: `plat`)
|
|
8
|
+
|
|
9
|
+
View platform and server information
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `info` - Get platform information
|
|
14
|
+
- `features` - Show which capabilities the server process actually provides
|
|
15
|
+
- `access` - Get access and networking information
|
|
16
|
+
- `private-ip` - Get the server private IP address
|
|
17
|
+
- `public-ip` - Get the server public IP address
|
|
18
|
+
- `update` - Check for and apply temps releases on the server
|
|
19
|
+
- `alert-rules` - Inspect and retune the control-plane's own monitoring alert rules
|
|
20
|
+
|
|
21
|
+
### `platform info`
|
|
22
|
+
|
|
23
|
+
Get platform information
|
|
24
|
+
|
|
25
|
+
**Options:**
|
|
26
|
+
|
|
27
|
+
| Flag | Description | Default | Required |
|
|
28
|
+
|------|-------------|---------|----------|
|
|
29
|
+
| `--json` | Output in JSON format | - | No |
|
|
30
|
+
|
|
31
|
+
### `platform features`
|
|
32
|
+
|
|
33
|
+
Show which capabilities the server process actually provides
|
|
34
|
+
|
|
35
|
+
**Options:**
|
|
36
|
+
|
|
37
|
+
| Flag | Description | Default | Required |
|
|
38
|
+
|------|-------------|---------|----------|
|
|
39
|
+
| `--json` | Output in JSON format | - | No |
|
|
40
|
+
|
|
41
|
+
### `platform access`
|
|
42
|
+
|
|
43
|
+
Get access and networking information
|
|
44
|
+
|
|
45
|
+
**Options:**
|
|
46
|
+
|
|
47
|
+
| Flag | Description | Default | Required |
|
|
48
|
+
|------|-------------|---------|----------|
|
|
49
|
+
| `--json` | Output in JSON format | - | No |
|
|
50
|
+
|
|
51
|
+
### `platform private-ip`
|
|
52
|
+
|
|
53
|
+
Get the server private IP address
|
|
54
|
+
|
|
55
|
+
### `platform public-ip`
|
|
56
|
+
|
|
57
|
+
Get the server public IP address
|
|
58
|
+
|
|
59
|
+
### `platform update`
|
|
60
|
+
|
|
61
|
+
Check for and apply temps releases on the server
|
|
62
|
+
|
|
63
|
+
**Subcommands:**
|
|
64
|
+
|
|
65
|
+
- `status` - Show the available release and whether it can be applied from here
|
|
66
|
+
- `check` - Ask the release API for the newest version on this channel now
|
|
67
|
+
- `channel` - Show or set the release channel: stable, beta, nightly, or "auto" to follow the installed version
|
|
68
|
+
- `apply` - Install a release on the server and restart it
|
|
69
|
+
|
|
70
|
+
#### `platform update status`
|
|
71
|
+
|
|
72
|
+
Show the available release and whether it can be applied from here
|
|
73
|
+
|
|
74
|
+
**Options:**
|
|
75
|
+
|
|
76
|
+
| Flag | Description | Default | Required |
|
|
77
|
+
|------|-------------|---------|----------|
|
|
78
|
+
| `--json` | Output in JSON format | - | No |
|
|
79
|
+
|
|
80
|
+
#### `platform update check`
|
|
81
|
+
|
|
82
|
+
Ask the release API for the newest version on this channel now
|
|
83
|
+
|
|
84
|
+
**Options:**
|
|
85
|
+
|
|
86
|
+
| Flag | Description | Default | Required |
|
|
87
|
+
|------|-------------|---------|----------|
|
|
88
|
+
| `--json` | Output in JSON format | - | No |
|
|
89
|
+
|
|
90
|
+
#### `platform update channel`
|
|
91
|
+
|
|
92
|
+
Show or set the release channel: stable, beta, nightly, or "auto" to follow the installed version
|
|
93
|
+
|
|
94
|
+
**Options:**
|
|
95
|
+
|
|
96
|
+
| Flag | Description | Default | Required |
|
|
97
|
+
|------|-------------|---------|----------|
|
|
98
|
+
| `--json` | Output in JSON format | - | No |
|
|
99
|
+
|
|
100
|
+
#### `platform update apply`
|
|
101
|
+
|
|
102
|
+
Install a release on the server and restart it
|
|
103
|
+
|
|
104
|
+
**Options:**
|
|
105
|
+
|
|
106
|
+
| Flag | Description | Default | Required |
|
|
107
|
+
|------|-------------|---------|----------|
|
|
108
|
+
| `--version <version>` | Release tag to install (default: newest on this channel) | - | No |
|
|
109
|
+
| `-y, --yes` | Skip the confirmation prompt | - | No |
|
|
110
|
+
| `--json` | Output in JSON format | - | No |
|
|
111
|
+
|
|
112
|
+
### `platform alert-rules`
|
|
113
|
+
|
|
114
|
+
Inspect and retune the control-plane's own monitoring alert rules
|
|
115
|
+
|
|
116
|
+
**Subcommands:**
|
|
117
|
+
|
|
118
|
+
- `list` - List the alert rules watching this node (proxy health, socket exhaustion)
|
|
119
|
+
- `set` - Retune, enable, or disable an alert rule on this node
|
|
120
|
+
|
|
121
|
+
#### `platform alert-rules list`
|
|
122
|
+
|
|
123
|
+
List the alert rules watching this node (proxy health, socket exhaustion)
|
|
124
|
+
|
|
125
|
+
**Options:**
|
|
126
|
+
|
|
127
|
+
| Flag | Description | Default | Required |
|
|
128
|
+
|------|-------------|---------|----------|
|
|
129
|
+
| `--node <id>` | Node ID (default: 0, the control plane) | - | No |
|
|
130
|
+
| `--json` | Output in JSON format | - | No |
|
|
131
|
+
|
|
132
|
+
#### `platform alert-rules set`
|
|
133
|
+
|
|
134
|
+
Retune, enable, or disable an alert rule on this node
|
|
135
|
+
|
|
136
|
+
**Options:**
|
|
137
|
+
|
|
138
|
+
| Flag | Description | Default | Required |
|
|
139
|
+
|------|-------------|---------|----------|
|
|
140
|
+
| `--node <id>` | Node ID (default: 0, the control plane) | - | No |
|
|
141
|
+
| `--threshold <n>` | Value the metric must cross to fire | - | No |
|
|
142
|
+
| `--comparator <op>` | Comparison operator: >, >=, <, <= | - | No |
|
|
143
|
+
| `--severity <level>` | Alert severity: warning or critical | - | No |
|
|
144
|
+
| `--for-duration <secs>` | Seconds the condition must hold before firing | - | No |
|
|
145
|
+
| `--enable` | Enable the rule | - | No |
|
|
146
|
+
| `--disable` | Disable the rule (survives the startup re-seed; deleting does not) | - | No |
|
|
147
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `plugin` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `plugin`
|
|
8
|
+
|
|
9
|
+
Create, install, update and build TypeScript plugins
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `install` - Install a GitHub TypeScript plugin on the configured Temps server; the server uses its host Git credentials and Docker
|
|
14
|
+
- `update` - Rebuild an installed GitHub plugin from its stored source; keep the current plugin if the update fails
|
|
15
|
+
- `grants` - Inspect or replace a plugin's host API permissions and AI limits
|
|
16
|
+
- `dev` - Run a plugin with a local simulated host, UI preview, and events (no Temps server)
|
|
17
|
+
- `init` - Create a TypeScript plugin project
|
|
18
|
+
- `build` - Build every platform selected in package.json; --all selects all six supported targets
|
|
19
|
+
- `publish` - Build, publish native npm packages, verify ownership and submit for review; resumes interrupted releases
|
|
20
|
+
|
|
21
|
+
### `plugin install`
|
|
22
|
+
|
|
23
|
+
Install a GitHub TypeScript plugin on the configured Temps server; the server uses its host Git credentials and Docker
|
|
24
|
+
|
|
25
|
+
**Options:**
|
|
26
|
+
|
|
27
|
+
| Flag | Description | Default | Required |
|
|
28
|
+
|------|-------------|---------|----------|
|
|
29
|
+
| `--path <path>` | Plugin subdirectory containing package.json and bun.lock (default: repository root) | - | No |
|
|
30
|
+
| `--name <name>` | Advanced: require this plugin name (otherwise auto-detected) | - | No |
|
|
31
|
+
| `--ref <ref>` | Advanced: branch, tag, or commit (otherwise repository default branch) | - | No |
|
|
32
|
+
| `-y, --yes` | Trust the repository and allow installation without prompting | - | No |
|
|
33
|
+
| `--grant <permissions...>` | Explicitly approve declared host permissions (default: none); e.g. ai_generate projects_read | - | No |
|
|
34
|
+
| `--ai-daily-calls <count>` | Maximum AI attempts per day (0 pauses usage; default: 100) | - | No |
|
|
35
|
+
| `--ai-max-tokens <count>` | Maximum output tokens per AI call (1–4096; default: 1024) | - | No |
|
|
36
|
+
|
|
37
|
+
### `plugin update`
|
|
38
|
+
|
|
39
|
+
Rebuild an installed GitHub plugin from its stored source; keep the current plugin if the update fails
|
|
40
|
+
|
|
41
|
+
**Options:**
|
|
42
|
+
|
|
43
|
+
| Flag | Description | Default | Required |
|
|
44
|
+
|------|-------------|---------|----------|
|
|
45
|
+
| `--ref <ref>` | Use a different branch, tag, or commit | - | No |
|
|
46
|
+
| `-y, --yes` | Trust the update without prompting | - | No |
|
|
47
|
+
|
|
48
|
+
### `plugin grants`
|
|
49
|
+
|
|
50
|
+
Inspect or replace a plugin's host API permissions and AI limits
|
|
51
|
+
|
|
52
|
+
**Subcommands:**
|
|
53
|
+
|
|
54
|
+
- `get` - Show current grants, actor identity, and AI availability
|
|
55
|
+
- `set` - Replace all host grants; --clear revokes all permissions immediately
|
|
56
|
+
|
|
57
|
+
#### `plugin grants get`
|
|
58
|
+
|
|
59
|
+
Show current grants, actor identity, and AI availability
|
|
60
|
+
|
|
61
|
+
#### `plugin grants set`
|
|
62
|
+
|
|
63
|
+
Replace all host grants; --clear revokes all permissions immediately
|
|
64
|
+
|
|
65
|
+
**Options:**
|
|
66
|
+
|
|
67
|
+
| Flag | Description | Default | Required |
|
|
68
|
+
|------|-------------|---------|----------|
|
|
69
|
+
| `--grant <permissions...>` | Complete list of permissions to grant | - | No |
|
|
70
|
+
| `--ai-daily-calls <count>` | Daily AI call limit (0–10000) | - | No |
|
|
71
|
+
| `--ai-max-tokens <count>` | Maximum AI output tokens per call (1–4096) | - | No |
|
|
72
|
+
| `--clear` | Revoke all host permissions | - | No |
|
|
73
|
+
|
|
74
|
+
### `plugin dev`
|
|
75
|
+
|
|
76
|
+
Run a plugin with a local simulated host, UI preview, and events (no Temps server)
|
|
77
|
+
|
|
78
|
+
**Options:**
|
|
79
|
+
|
|
80
|
+
| Flag | Description | Default | Required |
|
|
81
|
+
|------|-------------|---------|----------|
|
|
82
|
+
| `--session <name>` | Local session name | `default` | No |
|
|
83
|
+
| `--exec <command>` | Run a command with arguments after -- | - | No |
|
|
84
|
+
| `--port <port>` | Loopback port (0 selects a free port) | `0` | No |
|
|
85
|
+
| `--data-dir <path>` | Persistent plugin data directory | - | No |
|
|
86
|
+
| `--grant <permission...>` | Explicit host grants; defaults to none or saved session grants | - | No |
|
|
87
|
+
| `--fixtures <file>` | Version-1 JSON host fixtures and mock AI settings | - | No |
|
|
88
|
+
| `--role <role>` | Synthetic preview role: admin or reader | `admin` | No |
|
|
89
|
+
| `--startup-timeout <ms>` | Handshake deadline | `10000` | No |
|
|
90
|
+
|
|
91
|
+
**Subcommands:**
|
|
92
|
+
|
|
93
|
+
- `events` - List host event fixtures and example payloads
|
|
94
|
+
- `status` - Show local plugin state
|
|
95
|
+
- `logs` - Show the last 200 redacted simulator records
|
|
96
|
+
- `emit` - Deliver an event; sent does not mean handler completed
|
|
97
|
+
- `grants` - Change simulated host permissions immediately
|
|
98
|
+
|
|
99
|
+
#### `plugin dev events`
|
|
100
|
+
|
|
101
|
+
List host event fixtures and example payloads
|
|
102
|
+
|
|
103
|
+
#### `plugin dev status`
|
|
104
|
+
|
|
105
|
+
Show local plugin state
|
|
106
|
+
|
|
107
|
+
**Options:**
|
|
108
|
+
|
|
109
|
+
| Flag | Description | Default | Required |
|
|
110
|
+
|------|-------------|---------|----------|
|
|
111
|
+
| `--session <name>` | Running session | - | No |
|
|
112
|
+
| `--json` | Machine-readable output | - | No |
|
|
113
|
+
|
|
114
|
+
#### `plugin dev logs`
|
|
115
|
+
|
|
116
|
+
Show the last 200 redacted simulator records
|
|
117
|
+
|
|
118
|
+
**Options:**
|
|
119
|
+
|
|
120
|
+
| Flag | Description | Default | Required |
|
|
121
|
+
|------|-------------|---------|----------|
|
|
122
|
+
| `--session <name>` | Running session | - | No |
|
|
123
|
+
| `--json` | Machine-readable output | - | No |
|
|
124
|
+
|
|
125
|
+
#### `plugin dev emit`
|
|
126
|
+
|
|
127
|
+
Deliver an event; sent does not mean handler completed
|
|
128
|
+
|
|
129
|
+
**Options:**
|
|
130
|
+
|
|
131
|
+
| Flag | Description | Default | Required |
|
|
132
|
+
|------|-------------|---------|----------|
|
|
133
|
+
| `--session <name>` | Running session | - | No |
|
|
134
|
+
| `--file <path>` | Full JSON event envelope with a stable ID | - | No |
|
|
135
|
+
| `--project-id <id>` | Project ID | `1` | No |
|
|
136
|
+
| `--environment-id <id>` | Environment ID | `1` | No |
|
|
137
|
+
| `--deployment-id <id>` | Deployment ID | `42` | No |
|
|
138
|
+
| `--environment <name>` | Environment | `production` | No |
|
|
139
|
+
| `--url <url>` | Deployment URL | - | No |
|
|
140
|
+
| `--repeat <n>` | Repeat the same event ID, up to 1000 | - | No |
|
|
141
|
+
| `--count <n>` | Deliver distinct IDs, up to 1000 | - | No |
|
|
142
|
+
| `--transport <transport>` | auto or http | `auto` | No |
|
|
143
|
+
| `--json` | Machine-readable receipts and envelope | - | No |
|
|
144
|
+
|
|
145
|
+
#### `plugin dev grants`
|
|
146
|
+
|
|
147
|
+
Change simulated host permissions immediately
|
|
148
|
+
|
|
149
|
+
**Subcommands:**
|
|
150
|
+
|
|
151
|
+
- `set` - Replace all grants or revoke all with --clear
|
|
152
|
+
|
|
153
|
+
##### `plugin dev grants set`
|
|
154
|
+
|
|
155
|
+
Replace all grants or revoke all with --clear
|
|
156
|
+
|
|
157
|
+
**Options:**
|
|
158
|
+
|
|
159
|
+
| Flag | Description | Default | Required |
|
|
160
|
+
|------|-------------|---------|----------|
|
|
161
|
+
| `--session <name>` | Running session | - | No |
|
|
162
|
+
| `--grant <permission...>` | Complete replacement grant set | - | No |
|
|
163
|
+
| `--clear` | Revoke every grant | - | No |
|
|
164
|
+
|
|
165
|
+
### `plugin init`
|
|
166
|
+
|
|
167
|
+
Create a TypeScript plugin project
|
|
168
|
+
|
|
169
|
+
**Options:**
|
|
170
|
+
|
|
171
|
+
| Flag | Description | Default | Required |
|
|
172
|
+
|------|-------------|---------|----------|
|
|
173
|
+
| `--name <name>` | Scoped npm name, e.g. @your-scope/my-plugin | - | Yes |
|
|
174
|
+
|
|
175
|
+
### `plugin build`
|
|
176
|
+
|
|
177
|
+
Build every platform selected in package.json; --all selects all six supported targets
|
|
178
|
+
|
|
179
|
+
**Options:**
|
|
180
|
+
|
|
181
|
+
| Flag | Description | Default | Required |
|
|
182
|
+
|------|-------------|---------|----------|
|
|
183
|
+
| `--all` | Build all supported targets | - | No |
|
|
184
|
+
|
|
185
|
+
### `plugin publish`
|
|
186
|
+
|
|
187
|
+
Build, publish native npm packages, verify ownership and submit for review; resumes interrupted releases
|
|
188
|
+
|
|
189
|
+
**Options:**
|
|
190
|
+
|
|
191
|
+
| Flag | Description | Default | Required |
|
|
192
|
+
|------|-------------|---------|----------|
|
|
193
|
+
| `-y, --yes` | Confirm public npm publication non-interactively | - | No |
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `presets` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `presets` (alias: `preset`)
|
|
8
|
+
|
|
9
|
+
Browse available build presets
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List available presets
|
|
14
|
+
- `show` (`get`) - Show details for a specific preset
|
|
15
|
+
|
|
16
|
+
### `presets list` (alias: `ls`)
|
|
17
|
+
|
|
18
|
+
List available presets
|
|
19
|
+
|
|
20
|
+
**Options:**
|
|
21
|
+
|
|
22
|
+
| Flag | Description | Default | Required |
|
|
23
|
+
|------|-------------|---------|----------|
|
|
24
|
+
| `--json` | Output in JSON format | - | No |
|
|
25
|
+
| `--type <type>` | Filter by project type (server, static) | - | No |
|
|
26
|
+
|
|
27
|
+
### `presets show` (alias: `get`)
|
|
28
|
+
|
|
29
|
+
Show details for a specific preset
|
|
30
|
+
|
|
31
|
+
**Options:**
|
|
32
|
+
|
|
33
|
+
| Flag | Description | Default | Required |
|
|
34
|
+
|------|-------------|---------|----------|
|
|
35
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `project-groups` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `project-groups` (alias: `pg`)
|
|
8
|
+
|
|
9
|
+
Manage Projects (what the console calls a Project): groups of services that ship together and share a repository, variables and path routes. A service is what the `projects` command manages; the `services` command manages databases and caches, not these.
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List projects (groups) and their services
|
|
14
|
+
- `show` (`get`) - Show a project (group), by slug or id
|
|
15
|
+
- `create` (`new`) - Create a project (group), optionally with services
|
|
16
|
+
- `update` (`edit`) - Rename a project (group) or change its description
|
|
17
|
+
- `delete` (`rm`) - Delete a project (group); its services keep running as standalone services
|
|
18
|
+
- `add` - Add services to a project (group), by slug or id as listed by `projects list`; moves them out of any other project
|
|
19
|
+
- `remove` - Remove a service (slug or id) from a project (group); it becomes a standalone service
|
|
20
|
+
- `repo` - The repository a project deploys its services from (monorepos)
|
|
21
|
+
- `import` - Scan the project's repository and add its apps as services that follow it
|
|
22
|
+
- `follow` - Make a service follow the project's repository and branch (keeps its directory)
|
|
23
|
+
- `unfollow` - Stop a service following the project's repository; it keeps its current settings
|
|
24
|
+
- `routes` - Serve a path of one service's domains from another service (e.g. /api → backend)
|
|
25
|
+
- `vars` - Variables shared by every service in a project (group)
|
|
26
|
+
|
|
27
|
+
### `project-groups list` (alias: `ls`)
|
|
28
|
+
|
|
29
|
+
List projects (groups) and their services
|
|
30
|
+
|
|
31
|
+
**Options:**
|
|
32
|
+
|
|
33
|
+
| Flag | Description | Default | Required |
|
|
34
|
+
|------|-------------|---------|----------|
|
|
35
|
+
| `--page <n>` | Page number (default 1) | - | No |
|
|
36
|
+
| `--per-page <n>` | How many per page (default 100, at most 100) | - | No |
|
|
37
|
+
| `--json` | Output in JSON format | - | No |
|
|
38
|
+
|
|
39
|
+
### `project-groups show` (alias: `get`)
|
|
40
|
+
|
|
41
|
+
Show a project (group), by slug or id
|
|
42
|
+
|
|
43
|
+
**Options:**
|
|
44
|
+
|
|
45
|
+
| Flag | Description | Default | Required |
|
|
46
|
+
|------|-------------|---------|----------|
|
|
47
|
+
| `--json` | Output in JSON format | - | No |
|
|
48
|
+
|
|
49
|
+
### `project-groups create` (alias: `new`)
|
|
50
|
+
|
|
51
|
+
Create a project (group), optionally with services
|
|
52
|
+
|
|
53
|
+
**Options:**
|
|
54
|
+
|
|
55
|
+
| Flag | Description | Default | Required |
|
|
56
|
+
|------|-------------|---------|----------|
|
|
57
|
+
| `-n, --name <name>` | Project name | - | No |
|
|
58
|
+
| `-s, --slug <slug>` | URL slug (derived from the name when omitted) | - | No |
|
|
59
|
+
| `-d, --description <text>` | What the services do together | - | No |
|
|
60
|
+
| `--service <service...>` | Services to put in the project, by slug or id as listed by `projects list` (apps, not the databases of the `services` command) | - | No |
|
|
61
|
+
| `--json` | Output in JSON format | - | No |
|
|
62
|
+
|
|
63
|
+
### `project-groups update` (alias: `edit`)
|
|
64
|
+
|
|
65
|
+
Rename a project (group) or change its description
|
|
66
|
+
|
|
67
|
+
**Options:**
|
|
68
|
+
|
|
69
|
+
| Flag | Description | Default | Required |
|
|
70
|
+
|------|-------------|---------|----------|
|
|
71
|
+
| `-n, --name <name>` | New name | - | No |
|
|
72
|
+
| `-s, --slug <slug>` | New slug | - | No |
|
|
73
|
+
| `-d, --description <text>` | New description ("" clears it) | - | No |
|
|
74
|
+
| `--json` | Output in JSON format | - | No |
|
|
75
|
+
|
|
76
|
+
### `project-groups delete` (alias: `rm`)
|
|
77
|
+
|
|
78
|
+
Delete a project (group); its services keep running as standalone services
|
|
79
|
+
|
|
80
|
+
**Options:**
|
|
81
|
+
|
|
82
|
+
| Flag | Description | Default | Required |
|
|
83
|
+
|------|-------------|---------|----------|
|
|
84
|
+
| `-y, --yes` | Skip confirmation | - | No |
|
|
85
|
+
|
|
86
|
+
### `project-groups add`
|
|
87
|
+
|
|
88
|
+
Add services to a project (group), by slug or id as listed by `projects list`; moves them out of any other project
|
|
89
|
+
|
|
90
|
+
### `project-groups remove`
|
|
91
|
+
|
|
92
|
+
Remove a service (slug or id) from a project (group); it becomes a standalone service
|
|
93
|
+
|
|
94
|
+
### `project-groups repo`
|
|
95
|
+
|
|
96
|
+
The repository a project deploys its services from (monorepos)
|
|
97
|
+
|
|
98
|
+
**Subcommands:**
|
|
99
|
+
|
|
100
|
+
- `show` - Show the project's repository and which services follow it
|
|
101
|
+
- `set` - Point the project at a repository and branch; services that follow it are updated to match
|
|
102
|
+
- `unset` - Remove the repository; services keep their current settings and stop following
|
|
103
|
+
|
|
104
|
+
#### `project-groups repo show`
|
|
105
|
+
|
|
106
|
+
Show the project's repository and which services follow it
|
|
107
|
+
|
|
108
|
+
**Options:**
|
|
109
|
+
|
|
110
|
+
| Flag | Description | Default | Required |
|
|
111
|
+
|------|-------------|---------|----------|
|
|
112
|
+
| `--json` | Output in JSON format | - | No |
|
|
113
|
+
|
|
114
|
+
#### `project-groups repo set`
|
|
115
|
+
|
|
116
|
+
Point the project at a repository and branch; services that follow it are updated to match
|
|
117
|
+
|
|
118
|
+
**Options:**
|
|
119
|
+
|
|
120
|
+
| Flag | Description | Default | Required |
|
|
121
|
+
|------|-------------|---------|----------|
|
|
122
|
+
| `-c, --connection <id>` | Git connection id (see: git-providers / connections) | - | No |
|
|
123
|
+
| `--public <provider>` | Use a public repository without a connection: github or gitlab | - | No |
|
|
124
|
+
| `-r, --repo <owner/name|url>` | Repository, e.g. acme/shop; a github.com/gitlab.com URL implies --public | - | Yes |
|
|
125
|
+
| `-b, --branch <branch>` | Branch to deploy from, e.g. main | - | Yes |
|
|
126
|
+
| `--json` | Output in JSON format | - | No |
|
|
127
|
+
|
|
128
|
+
#### `project-groups repo unset`
|
|
129
|
+
|
|
130
|
+
Remove the repository; services keep their current settings and stop following
|
|
131
|
+
|
|
132
|
+
**Options:**
|
|
133
|
+
|
|
134
|
+
| Flag | Description | Default | Required |
|
|
135
|
+
|------|-------------|---------|----------|
|
|
136
|
+
| `-y, --yes` | Skip confirmation | - | No |
|
|
137
|
+
|
|
138
|
+
### `project-groups import`
|
|
139
|
+
|
|
140
|
+
Scan the project's repository and add its apps as services that follow it
|
|
141
|
+
|
|
142
|
+
**Options:**
|
|
143
|
+
|
|
144
|
+
| Flag | Description | Default | Required |
|
|
145
|
+
|------|-------------|---------|----------|
|
|
146
|
+
| `-p, --path <dir...>` | Only these app directories (default: every app without a service) | - | No |
|
|
147
|
+
| `--dry-run` | List what would be created without creating anything | - | No |
|
|
148
|
+
| `--timeout <minutes>` | Stop waiting after this long (default 30); the import keeps running on the server | - | No |
|
|
149
|
+
| `--json` | Output in JSON format | - | No |
|
|
150
|
+
|
|
151
|
+
### `project-groups follow`
|
|
152
|
+
|
|
153
|
+
Make a service follow the project's repository and branch (keeps its directory)
|
|
154
|
+
|
|
155
|
+
### `project-groups unfollow`
|
|
156
|
+
|
|
157
|
+
Stop a service following the project's repository; it keeps its current settings
|
|
158
|
+
|
|
159
|
+
### `project-groups routes`
|
|
160
|
+
|
|
161
|
+
Serve a path of one service's domains from another service (e.g. /api → backend)
|
|
162
|
+
|
|
163
|
+
**Subcommands:**
|
|
164
|
+
|
|
165
|
+
- `list` (`ls`) - List path routes and how each applies per environment
|
|
166
|
+
- `add` - Send requests under <prefix> on <source>'s domains to <target>, e.g. `routes add shop web /api api`
|
|
167
|
+
- `remove` (`rm`) - Stop routing <prefix>; <source> serves it itself again
|
|
168
|
+
|
|
169
|
+
#### `project-groups routes list` (alias: `ls`)
|
|
170
|
+
|
|
171
|
+
List path routes and how each applies per environment
|
|
172
|
+
|
|
173
|
+
**Options:**
|
|
174
|
+
|
|
175
|
+
| Flag | Description | Default | Required |
|
|
176
|
+
|------|-------------|---------|----------|
|
|
177
|
+
| `--json` | Output in JSON format | - | No |
|
|
178
|
+
|
|
179
|
+
#### `project-groups routes add`
|
|
180
|
+
|
|
181
|
+
Send requests under <prefix> on <source>'s domains to <target>, e.g. `routes add shop web /api api`
|
|
182
|
+
|
|
183
|
+
**Options:**
|
|
184
|
+
|
|
185
|
+
| Flag | Description | Default | Required |
|
|
186
|
+
|------|-------------|---------|----------|
|
|
187
|
+
| `--strip-prefix` | Forward /api/users as /users (default: keep the full path) | - | No |
|
|
188
|
+
| `--json` | Output in JSON format | - | No |
|
|
189
|
+
|
|
190
|
+
#### `project-groups routes remove` (alias: `rm`)
|
|
191
|
+
|
|
192
|
+
Stop routing <prefix>; <source> serves it itself again
|
|
193
|
+
|
|
194
|
+
**Options:**
|
|
195
|
+
|
|
196
|
+
| Flag | Description | Default | Required |
|
|
197
|
+
|------|-------------|---------|----------|
|
|
198
|
+
| `-y, --yes` | Skip confirmation | - | No |
|
|
199
|
+
|
|
200
|
+
### `project-groups vars`
|
|
201
|
+
|
|
202
|
+
Variables shared by every service in a project (group)
|
|
203
|
+
|
|
204
|
+
**Subcommands:**
|
|
205
|
+
|
|
206
|
+
- `list` (`ls`) - List shared variables (secret values are never shown)
|
|
207
|
+
- `set` - Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or pass --value-stdin to pipe it (keeps secrets out of shell history)
|
|
208
|
+
- `inherited` - Show the shared variables a service (slug or id) receives from its project, and which of them the service's own variables override
|
|
209
|
+
- `unset` - Remove a shared variable
|
|
210
|
+
|
|
211
|
+
#### `project-groups vars list` (alias: `ls`)
|
|
212
|
+
|
|
213
|
+
List shared variables (secret values are never shown)
|
|
214
|
+
|
|
215
|
+
**Options:**
|
|
216
|
+
|
|
217
|
+
| Flag | Description | Default | Required |
|
|
218
|
+
|------|-------------|---------|----------|
|
|
219
|
+
| `--json` | Output in JSON format | - | No |
|
|
220
|
+
|
|
221
|
+
#### `project-groups vars set`
|
|
222
|
+
|
|
223
|
+
Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or pass --value-stdin to pipe it (keeps secrets out of shell history)
|
|
224
|
+
|
|
225
|
+
**Options:**
|
|
226
|
+
|
|
227
|
+
| Flag | Description | Default | Required |
|
|
228
|
+
|------|-------------|---------|----------|
|
|
229
|
+
| `-e, --environment <slug>` | Only this environment (e.g. production); default: all | - | No |
|
|
230
|
+
| `--secret` | Write-only: the value can never be read back | - | No |
|
|
231
|
+
| `--value-stdin` | Read the value from stdin, e.g. `cat key.pem \| ... vars set shop TLS_KEY --secret --value-stdin` | - | No |
|
|
232
|
+
| `--preview` | Also send an all-environments variable to preview deployments (off by default) | - | No |
|
|
233
|
+
| `--no-preview` | Do not send it to preview deployments | - | No |
|
|
234
|
+
| `--json` | Output in JSON format | - | No |
|
|
235
|
+
|
|
236
|
+
#### `project-groups vars inherited`
|
|
237
|
+
|
|
238
|
+
Show the shared variables a service (slug or id) receives from its project, and which of them the service's own variables override
|
|
239
|
+
|
|
240
|
+
**Options:**
|
|
241
|
+
|
|
242
|
+
| Flag | Description | Default | Required |
|
|
243
|
+
|------|-------------|---------|----------|
|
|
244
|
+
| `--json` | Output in JSON format | - | No |
|
|
245
|
+
|
|
246
|
+
#### `project-groups vars unset`
|
|
247
|
+
|
|
248
|
+
Remove a shared variable
|
|
249
|
+
|
|
250
|
+
**Options:**
|
|
251
|
+
|
|
252
|
+
| Flag | Description | Default | Required |
|
|
253
|
+
|------|-------------|---------|----------|
|
|
254
|
+
| `-e, --environment <slug>` | The environment it was scoped to; default: all | - | No |
|
|
255
|
+
| `-y, --yes` | Skip confirmation | - | No |
|