@temps-sdk/cli 0.1.36 → 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.
Files changed (127) hide show
  1. package/README.md +193 -0
  2. package/dist/index.js +89808 -89620
  3. package/dist/skills/temps/SKILL.md +140 -0
  4. package/dist/skills/temps/agents/openai.yaml +7 -0
  5. package/dist/skills/temps/evals/evals.json +95 -0
  6. package/dist/skills/temps/howtos/backup-recovery.md +41 -0
  7. package/dist/skills/temps/howtos/ci-automation.md +18 -0
  8. package/dist/skills/temps/howtos/deploy-application.md +29 -0
  9. package/dist/skills/temps/howtos/diagnose-deployment.md +17 -0
  10. package/dist/skills/temps/howtos/framework-routing.md +28 -0
  11. package/dist/skills/temps/howtos/javascript-typescript.md +57 -0
  12. package/dist/skills/temps/howtos/managed-services.md +83 -0
  13. package/dist/skills/temps/howtos/observability-onboarding.md +52 -0
  14. package/dist/skills/temps/howtos/projects-and-monorepos.md +49 -0
  15. package/dist/skills/temps/howtos/python.md +42 -0
  16. package/dist/skills/temps/howtos/rust.md +30 -0
  17. package/dist/skills/temps/references/cli-runtime.md +68 -0
  18. package/dist/skills/temps/references/commands/INDEX.md +97 -0
  19. package/dist/skills/temps/references/commands/access.md +49 -0
  20. package/dist/skills/temps/references/commands/ai.md +43 -0
  21. package/dist/skills/temps/references/commands/alarms.md +87 -0
  22. package/dist/skills/temps/references/commands/analytics.md +369 -0
  23. package/dist/skills/temps/references/commands/apikeys.md +96 -0
  24. package/dist/skills/temps/references/commands/audit.md +41 -0
  25. package/dist/skills/temps/references/commands/backups.md +263 -0
  26. package/dist/skills/temps/references/commands/cloud.md +371 -0
  27. package/dist/skills/temps/references/commands/cluster.md +31 -0
  28. package/dist/skills/temps/references/commands/configure.md +55 -0
  29. package/dist/skills/temps/references/commands/containers.md +110 -0
  30. package/dist/skills/temps/references/commands/context.md +49 -0
  31. package/dist/skills/temps/references/commands/custom-domains.md +98 -0
  32. package/dist/skills/temps/references/commands/data.md +90 -0
  33. package/dist/skills/temps/references/commands/delivery-profiles.md +69 -0
  34. package/dist/skills/temps/references/commands/delivery.md +116 -0
  35. package/dist/skills/temps/references/commands/deploy-image.md +23 -0
  36. package/dist/skills/temps/references/commands/deploy-local-image.md +28 -0
  37. package/dist/skills/temps/references/commands/deploy-static.md +23 -0
  38. package/dist/skills/temps/references/commands/deploy.md +21 -0
  39. package/dist/skills/temps/references/commands/deployments.md +172 -0
  40. package/dist/skills/temps/references/commands/dns-provider.md +196 -0
  41. package/dist/skills/temps/references/commands/dns.md +181 -0
  42. package/dist/skills/temps/references/commands/domains.md +187 -0
  43. package/dist/skills/temps/references/commands/drop.md +21 -0
  44. package/dist/skills/temps/references/commands/dsn.md +84 -0
  45. package/dist/skills/temps/references/commands/email-domains.md +160 -0
  46. package/dist/skills/temps/references/commands/email-providers.md +91 -0
  47. package/dist/skills/temps/references/commands/emails.md +79 -0
  48. package/dist/skills/temps/references/commands/env-pull.md +16 -0
  49. package/dist/skills/temps/references/commands/env-push.md +17 -0
  50. package/dist/skills/temps/references/commands/environments.md +252 -0
  51. package/dist/skills/temps/references/commands/errors.md +250 -0
  52. package/dist/skills/temps/references/commands/facets.md +57 -0
  53. package/dist/skills/temps/references/commands/flags.md +143 -0
  54. package/dist/skills/temps/references/commands/funnels.md +92 -0
  55. package/dist/skills/temps/references/commands/incidents.md +111 -0
  56. package/dist/skills/temps/references/commands/init.md +16 -0
  57. package/dist/skills/temps/references/commands/instances.md +56 -0
  58. package/dist/skills/temps/references/commands/instantiations.md +53 -0
  59. package/dist/skills/temps/references/commands/ip-access.md +153 -0
  60. package/dist/skills/temps/references/commands/link.md +15 -0
  61. package/dist/skills/temps/references/commands/load-balancer.md +73 -0
  62. package/dist/skills/temps/references/commands/login.md +17 -0
  63. package/dist/skills/temps/references/commands/logout.md +16 -0
  64. package/dist/skills/temps/references/commands/logs.md +167 -0
  65. package/dist/skills/temps/references/commands/mcp-servers.md +70 -0
  66. package/dist/skills/temps/references/commands/mcp.md +65 -0
  67. package/dist/skills/temps/references/commands/metrics.md +79 -0
  68. package/dist/skills/temps/references/commands/migrate.md +109 -0
  69. package/dist/skills/temps/references/commands/monitors.md +92 -0
  70. package/dist/skills/temps/references/commands/nodes.md +200 -0
  71. package/dist/skills/temps/references/commands/notification-preferences.md +47 -0
  72. package/dist/skills/temps/references/commands/notifications.md +211 -0
  73. package/dist/skills/temps/references/commands/open.md +17 -0
  74. package/dist/skills/temps/references/commands/otel-forward.md +210 -0
  75. package/dist/skills/temps/references/commands/otel.md +38 -0
  76. package/dist/skills/temps/references/commands/platform.md +147 -0
  77. package/dist/skills/temps/references/commands/plugin.md +193 -0
  78. package/dist/skills/temps/references/commands/presets.md +35 -0
  79. package/dist/skills/temps/references/commands/project-groups.md +255 -0
  80. package/dist/skills/temps/references/commands/projects.md +270 -0
  81. package/dist/skills/temps/references/commands/providers.md +277 -0
  82. package/dist/skills/temps/references/commands/proxy-logs.md +85 -0
  83. package/dist/skills/temps/references/commands/revenue.md +48 -0
  84. package/dist/skills/temps/references/commands/rollback.md +18 -0
  85. package/dist/skills/temps/references/commands/runtime-logs.md +21 -0
  86. package/dist/skills/temps/references/commands/sandbox.md +428 -0
  87. package/dist/skills/temps/references/commands/scans.md +113 -0
  88. package/dist/skills/temps/references/commands/secrets.md +65 -0
  89. package/dist/skills/temps/references/commands/server.md +50 -0
  90. package/dist/skills/temps/references/commands/services.md +636 -0
  91. package/dist/skills/temps/references/commands/session-replay.md +76 -0
  92. package/dist/skills/temps/references/commands/settings.md +84 -0
  93. package/dist/skills/temps/references/commands/setup.md +25 -0
  94. package/dist/skills/temps/references/commands/skills.md +87 -0
  95. package/dist/skills/temps/references/commands/start.md +20 -0
  96. package/dist/skills/temps/references/commands/status-pages.md +188 -0
  97. package/dist/skills/temps/references/commands/status.md +17 -0
  98. package/dist/skills/temps/references/commands/stop.md +16 -0
  99. package/dist/skills/temps/references/commands/teams.md +129 -0
  100. package/dist/skills/temps/references/commands/templates.md +61 -0
  101. package/dist/skills/temps/references/commands/tokens.md +77 -0
  102. package/dist/skills/temps/references/commands/traces.md +42 -0
  103. package/dist/skills/temps/references/commands/traefik-discovery.md +113 -0
  104. package/dist/skills/temps/references/commands/up.md +25 -0
  105. package/dist/skills/temps/references/commands/users.md +99 -0
  106. package/dist/skills/temps/references/commands/webhooks.md +165 -0
  107. package/dist/skills/temps/references/commands/whoami.md +15 -0
  108. package/dist/skills/temps/references/commands/workflow.md +42 -0
  109. package/dist/skills/temps/references/observability/analytics.md +146 -0
  110. package/dist/skills/temps/references/observability/error-tracking.md +73 -0
  111. package/dist/skills/temps/references/observability/hygiene.md +112 -0
  112. package/dist/skills/temps/references/observability/logs.md +43 -0
  113. package/dist/skills/temps/references/observability/metrics.md +41 -0
  114. package/dist/skills/temps/references/observability/tracing.md +392 -0
  115. package/dist/skills/temps/references/runtime-contract.md +115 -0
  116. package/dist/skills/temps/references/workflows/platform-operations.md +154 -0
  117. package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
  118. package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
  119. package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
  120. package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
  121. package/dist/skills/temps/scripts/detect_project_capabilities.py +239 -0
  122. package/dist/skills/temps/scripts/generate_command_references.py +144 -0
  123. package/dist/skills/temps/scripts/test_detect_project_capabilities.py +124 -0
  124. package/dist/skills/temps/scripts/test_generate_command_references.py +128 -0
  125. package/dist/skills/temps/scripts/test_validate_skill.py +84 -0
  126. package/dist/skills/temps/scripts/validate_skill.py +111 -0
  127. package/package.json +2 -2
@@ -0,0 +1,167 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `logs` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `logs` (alias: `glogs`)
8
+
9
+ Search collected logs across every project and database you can access
10
+
11
+ **Subcommands:**
12
+
13
+ - `search` - Search log lines across projects (newest first)
14
+ - `facets` - Distinct values and counts per field for the same filter scope
15
+ - `attributes` - Attribute keys observed in the window, most common first (requires the ClickHouse line index)
16
+ - `histogram` - Line counts bucketed over time, optionally split by a label or attribute (requires the ClickHouse line index)
17
+ - `aggregate` - Group-by aggregation over lines (requires the ClickHouse line index)
18
+ - `capabilities` - Whether container logs are being collected, and whether attribute facets, histograms and aggregates are available
19
+
20
+ ### `logs search`
21
+
22
+ Search log lines across projects (newest first)
23
+
24
+ **Options:**
25
+
26
+ | Flag | Description | Default | Required |
27
+ |------|-------------|---------|----------|
28
+ | `--limit <n>` | Lines per request (default: 200, max: 1000) | - | No |
29
+ | `--cursor <token>` | Resume from a previous next_cursor | - | No |
30
+ | `--all` | Follow next_cursor automatically until the results run out (or --max-pages is reached, default 20 pages) | - | No |
31
+ | `--max-pages <n>` | Page ceiling for --all (default: 20) | - | No |
32
+ | `--since <duration>` | Relative window ending now, e.g. 30m, 6h, 7d (default: 1h) | - | No |
33
+ | `--start-time <iso>` | Window start (ISO 8601); overrides --since | - | No |
34
+ | `--end-time <iso>` | Window end (ISO 8601); defaults to now | - | No |
35
+ | `--source <kind>` | collected (default), application, or service | - | No |
36
+ | `--project <id|slug|name>` | Restrict to a project, repeatable | `` | No |
37
+ | `--external-service <id|name>` | Restrict to a managed database/service, repeatable | `` | No |
38
+ | `--scope <kind:id>` | Explicit resource identity, e.g. application:12, repeatable | `` | No |
39
+ | `--level <level>` | TRACE\|DEBUG\|INFO\|WARN\|ERROR, repeatable | `` | No |
40
+ | `--env <name>` | Environment, repeatable | `` | No |
41
+ | `--service <name>` | Container service label (web, worker, …), repeatable | `` | No |
42
+ | `--container <id>` | Container ID, repeatable | `` | No |
43
+ | `--node <id>` | Worker node ID, repeatable | `` | No |
44
+ | `--deploy <id>` | Deployment ID | - | No |
45
+ | `--text <substring>` | Case-insensitive message substring match | - | No |
46
+ | `--attr <pred>` | Attribute predicate, repeatable: <key>=<value>, <key>!=<value>, <key>^=<prefix>, <key>><value>, <key><<value>, or <key>? for "exists" (requires the ClickHouse line index) | `` | No |
47
+ | `--json` | Output in JSON format | - | No |
48
+
49
+ ### `logs facets`
50
+
51
+ Distinct values and counts per field for the same filter scope
52
+
53
+ **Options:**
54
+
55
+ | Flag | Description | Default | Required |
56
+ |------|-------------|---------|----------|
57
+ | `--field <name>` | Facet field, repeatable: env, service, level, stream, project, external_service, node, deploy, container (default: env, service, level, node, deploy) | `` | No |
58
+ | `--attr-keys <keys>` | Comma-separated label names and/or attr:<name> (e.g. worker,attr:cache) — routes to the attribute-aware endpoint, which requires the ClickHouse line index | - | No |
59
+ | `--limit <n>` | Max values per key when using --attr-keys or --attr (default 50, cap 1000) | - | No |
60
+ | `--since <duration>` | Relative window ending now, e.g. 30m, 6h, 7d (default: 1h) | - | No |
61
+ | `--start-time <iso>` | Window start (ISO 8601); overrides --since | - | No |
62
+ | `--end-time <iso>` | Window end (ISO 8601); defaults to now | - | No |
63
+ | `--source <kind>` | collected (default), application, or service | - | No |
64
+ | `--project <id|slug|name>` | Restrict to a project, repeatable | `` | No |
65
+ | `--external-service <id|name>` | Restrict to a managed database/service, repeatable | `` | No |
66
+ | `--scope <kind:id>` | Explicit resource identity, e.g. application:12, repeatable | `` | No |
67
+ | `--level <level>` | TRACE\|DEBUG\|INFO\|WARN\|ERROR, repeatable | `` | No |
68
+ | `--env <name>` | Environment, repeatable | `` | No |
69
+ | `--service <name>` | Container service label (web, worker, …), repeatable | `` | No |
70
+ | `--container <id>` | Container ID, repeatable | `` | No |
71
+ | `--node <id>` | Worker node ID, repeatable | `` | No |
72
+ | `--deploy <id>` | Deployment ID | - | No |
73
+ | `--text <substring>` | Case-insensitive message substring match | - | No |
74
+ | `--attr <pred>` | Attribute predicate, repeatable: <key>=<value>, <key>!=<value>, <key>^=<prefix>, <key>><value>, <key><<value>, or <key>? for "exists" (requires the ClickHouse line index) | `` | No |
75
+ | `--json` | Output in JSON format | - | No |
76
+
77
+ ### `logs attributes`
78
+
79
+ Attribute keys observed in the window, most common first (requires the ClickHouse line index)
80
+
81
+ **Options:**
82
+
83
+ | Flag | Description | Default | Required |
84
+ |------|-------------|---------|----------|
85
+ | `--limit <n>` | Max keys returned (default 100, cap 1000) | - | No |
86
+ | `--since <duration>` | Relative window ending now, e.g. 30m, 6h, 7d (default: 1h) | - | No |
87
+ | `--start-time <iso>` | Window start (ISO 8601); overrides --since | - | No |
88
+ | `--end-time <iso>` | Window end (ISO 8601); defaults to now | - | No |
89
+ | `--source <kind>` | collected (default), application, or service | - | No |
90
+ | `--project <id|slug|name>` | Restrict to a project, repeatable | `` | No |
91
+ | `--external-service <id|name>` | Restrict to a managed database/service, repeatable | `` | No |
92
+ | `--scope <kind:id>` | Explicit resource identity, e.g. application:12, repeatable | `` | No |
93
+ | `--level <level>` | TRACE\|DEBUG\|INFO\|WARN\|ERROR, repeatable | `` | No |
94
+ | `--env <name>` | Environment, repeatable | `` | No |
95
+ | `--service <name>` | Container service label (web, worker, …), repeatable | `` | No |
96
+ | `--container <id>` | Container ID, repeatable | `` | No |
97
+ | `--node <id>` | Worker node ID, repeatable | `` | No |
98
+ | `--deploy <id>` | Deployment ID | - | No |
99
+ | `--text <substring>` | Case-insensitive message substring match | - | No |
100
+ | `--attr <pred>` | Attribute predicate, repeatable: <key>=<value>, <key>!=<value>, <key>^=<prefix>, <key>><value>, <key><<value>, or <key>? for "exists" (requires the ClickHouse line index) | `` | No |
101
+ | `--json` | Output in JSON format | - | No |
102
+
103
+ ### `logs histogram`
104
+
105
+ Line counts bucketed over time, optionally split by a label or attribute (requires the ClickHouse line index)
106
+
107
+ **Options:**
108
+
109
+ | Flag | Description | Default | Required |
110
+ |------|-------------|---------|----------|
111
+ | `--bucket-secs <n>` | Bucket width in seconds (default 60) | - | No |
112
+ | `--group-by <key>` | One label name or attr:<name> to split series by | - | No |
113
+ | `--max-groups <n>` | Max series before folding the rest into "other" (default 8) | - | No |
114
+ | `--since <duration>` | Relative window ending now, e.g. 30m, 6h, 7d (default: 1h) | - | No |
115
+ | `--start-time <iso>` | Window start (ISO 8601); overrides --since | - | No |
116
+ | `--end-time <iso>` | Window end (ISO 8601); defaults to now | - | No |
117
+ | `--source <kind>` | collected (default), application, or service | - | No |
118
+ | `--project <id|slug|name>` | Restrict to a project, repeatable | `` | No |
119
+ | `--external-service <id|name>` | Restrict to a managed database/service, repeatable | `` | No |
120
+ | `--scope <kind:id>` | Explicit resource identity, e.g. application:12, repeatable | `` | No |
121
+ | `--level <level>` | TRACE\|DEBUG\|INFO\|WARN\|ERROR, repeatable | `` | No |
122
+ | `--env <name>` | Environment, repeatable | `` | No |
123
+ | `--service <name>` | Container service label (web, worker, …), repeatable | `` | No |
124
+ | `--container <id>` | Container ID, repeatable | `` | No |
125
+ | `--node <id>` | Worker node ID, repeatable | `` | No |
126
+ | `--deploy <id>` | Deployment ID | - | No |
127
+ | `--text <substring>` | Case-insensitive message substring match | - | No |
128
+ | `--attr <pred>` | Attribute predicate, repeatable: <key>=<value>, <key>!=<value>, <key>^=<prefix>, <key>><value>, <key><<value>, or <key>? for "exists" (requires the ClickHouse line index) | `` | No |
129
+ | `--json` | Output in JSON format | - | No |
130
+
131
+ ### `logs aggregate`
132
+
133
+ Group-by aggregation over lines (requires the ClickHouse line index)
134
+
135
+ **Options:**
136
+
137
+ | Flag | Description | Default | Required |
138
+ |------|-------------|---------|----------|
139
+ | `--group-by <keys>` | Comma-separated label names and/or attr:<name> | - | Yes |
140
+ | `--metric <spec>` | count \| count_distinct:<k> \| avg:<k> \| p50:<k> \| p95:<k> \| p99:<k> \| max:<k> \| sum:<k> | - | Yes |
141
+ | `--limit <n>` | Max rows returned (default 50, cap 1000) | - | No |
142
+ | `--since <duration>` | Relative window ending now, e.g. 30m, 6h, 7d (default: 1h) | - | No |
143
+ | `--start-time <iso>` | Window start (ISO 8601); overrides --since | - | No |
144
+ | `--end-time <iso>` | Window end (ISO 8601); defaults to now | - | No |
145
+ | `--source <kind>` | collected (default), application, or service | - | No |
146
+ | `--project <id|slug|name>` | Restrict to a project, repeatable | `` | No |
147
+ | `--external-service <id|name>` | Restrict to a managed database/service, repeatable | `` | No |
148
+ | `--scope <kind:id>` | Explicit resource identity, e.g. application:12, repeatable | `` | No |
149
+ | `--level <level>` | TRACE\|DEBUG\|INFO\|WARN\|ERROR, repeatable | `` | No |
150
+ | `--env <name>` | Environment, repeatable | `` | No |
151
+ | `--service <name>` | Container service label (web, worker, …), repeatable | `` | No |
152
+ | `--container <id>` | Container ID, repeatable | `` | No |
153
+ | `--node <id>` | Worker node ID, repeatable | `` | No |
154
+ | `--deploy <id>` | Deployment ID | - | No |
155
+ | `--text <substring>` | Case-insensitive message substring match | - | No |
156
+ | `--attr <pred>` | Attribute predicate, repeatable: <key>=<value>, <key>!=<value>, <key>^=<prefix>, <key>><value>, <key><<value>, or <key>? for "exists" (requires the ClickHouse line index) | `` | No |
157
+ | `--json` | Output in JSON format | - | No |
158
+
159
+ ### `logs capabilities`
160
+
161
+ Whether container logs are being collected, and whether attribute facets, histograms and aggregates are available
162
+
163
+ **Options:**
164
+
165
+ | Flag | Description | Default | Required |
166
+ |------|-------------|---------|----------|
167
+ | `--json` | Output in JSON format | - | No |
@@ -0,0 +1,70 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `mcp-servers` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `mcp-servers`
8
+
9
+ Manage MCP server definitions (global or project-scoped)
10
+
11
+ **Subcommands:**
12
+
13
+ - `list` (`ls`) - List MCP server definitions
14
+ - `create` (`add`) - Create a new MCP server definition
15
+ - `update` - Update an existing MCP server definition
16
+ - `delete` (`rm`) - Delete an MCP server definition
17
+
18
+ ### `mcp-servers list` (alias: `ls`)
19
+
20
+ List MCP server definitions
21
+
22
+ **Options:**
23
+
24
+ | Flag | Description | Default | Required |
25
+ |------|-------------|---------|----------|
26
+ | `--global` | List global (platform-wide) MCP servers | - | No |
27
+ | `--project <slug>` | List MCP servers for a specific project | - | No |
28
+ | `--json` | Output in JSON format | - | No |
29
+
30
+ ### `mcp-servers create` (alias: `add`)
31
+
32
+ Create a new MCP server definition
33
+
34
+ **Options:**
35
+
36
+ | Flag | Description | Default | Required |
37
+ |------|-------------|---------|----------|
38
+ | `-n, --name <name>` | MCP server name | - | Yes |
39
+ | `-s, --slug <slug>` | MCP server slug (URL-safe identifier) | - | Yes |
40
+ | `-c, --config <config>` | MCP server config (JSON). Prefix with @ to read from file (e.g. @./mcp.json) | - | Yes |
41
+ | `-d, --description <description>` | MCP server description | - | No |
42
+ | `--global` | Create as global (platform-wide) MCP server | - | No |
43
+ | `--project <slug>` | Create MCP server for a specific project | - | No |
44
+
45
+ ### `mcp-servers update`
46
+
47
+ Update an existing MCP server definition
48
+
49
+ **Options:**
50
+
51
+ | Flag | Description | Default | Required |
52
+ |------|-------------|---------|----------|
53
+ | `-n, --name <name>` | New name | - | No |
54
+ | `-c, --config <config>` | New config (JSON). Prefix with @ to read from file | - | No |
55
+ | `-d, --description <description>` | New description | - | No |
56
+ | `--global` | Update a global MCP server | - | No |
57
+ | `--project <slug>` | Update a project-scoped MCP server | - | No |
58
+
59
+ ### `mcp-servers delete` (alias: `rm`)
60
+
61
+ Delete an MCP server definition
62
+
63
+ **Options:**
64
+
65
+ | Flag | Description | Default | Required |
66
+ |------|-------------|---------|----------|
67
+ | `--global` | Delete a global MCP server | - | No |
68
+ | `--project <slug>` | Delete a project-scoped MCP server | - | No |
69
+ | `-f, --force` | Skip confirmation | - | No |
70
+ | `-y, --yes` | Skip confirmation (alias for --force) | - | No |
@@ -0,0 +1,65 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `mcp` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `mcp`
8
+
9
+ Configure this Temps instance as an MCP server for AI clients (Claude Code, Claude Desktop, Codex, Cursor, VS Code, Windsurf, Zed)
10
+
11
+ **Subcommands:**
12
+
13
+ - `enable` - Enable the Temps MCP server on this instance (admin, one-time per instance)
14
+ - `disable` - Disable the Temps MCP server on this instance (admin)
15
+ - `add` - Configure an AI client to connect to this Temps instance over MCP. Clients: claude-code, claude-desktop, codex, cursor, vscode, windsurf, zed
16
+ - `remove` - Remove the Temps MCP server from an AI client
17
+ - `status` - Show whether this instance has MCP enabled and which AI clients are configured
18
+
19
+ ### `mcp enable`
20
+
21
+ Enable the Temps MCP server on this instance (admin, one-time per instance)
22
+
23
+ **Options:**
24
+
25
+ | Flag | Description | Default | Required |
26
+ |------|-------------|---------|----------|
27
+ | `-u, --url <url>` | Target this Temps instance directly (e.g. copied from the Settings UI), without needing a saved CLI context or changing the active one. Defaults to the current context/login when omitted. | - | No |
28
+
29
+ ### `mcp disable`
30
+
31
+ Disable the Temps MCP server on this instance (admin)
32
+
33
+ **Options:**
34
+
35
+ | Flag | Description | Default | Required |
36
+ |------|-------------|---------|----------|
37
+ | `-u, --url <url>` | Target this Temps instance directly (e.g. copied from the Settings UI), without needing a saved CLI context or changing the active one. Defaults to the current context/login when omitted. | - | No |
38
+
39
+ ### `mcp add`
40
+
41
+ Configure an AI client to connect to this Temps instance over MCP. Clients: claude-code, claude-desktop, codex, cursor, vscode, windsurf, zed
42
+
43
+ **Options:**
44
+
45
+ | Flag | Description | Default | Required |
46
+ |------|-------------|---------|----------|
47
+ | `-g, --groups <groups>` | Comma-separated tool groups to enable (default: all) | - | No |
48
+ | `-w, --write` | Enable write tools (deploy, delete, restart, etc). Default: read-only | - | No |
49
+ | `-k, --api-key <key>` | Use this API key instead of creating or prompting for one | - | No |
50
+ | `-u, --url <url>` | Target this Temps instance directly (e.g. copied from the Settings UI), without needing a saved CLI context or changing the active one. Defaults to the current context/login when omitted. | - | No |
51
+ | `-y, --yes` | Skip prompts and confirmation (uses defaults; requires --api-key or an existing login) | - | No |
52
+
53
+ ### `mcp remove`
54
+
55
+ Remove the Temps MCP server from an AI client
56
+
57
+ ### `mcp status`
58
+
59
+ Show whether this instance has MCP enabled and which AI clients are configured
60
+
61
+ **Options:**
62
+
63
+ | Flag | Description | Default | Required |
64
+ |------|-------------|---------|----------|
65
+ | `-u, --url <url>` | Target this Temps instance directly (e.g. copied from the Settings UI), without needing a saved CLI context or changing the active one. Defaults to the current context/login when omitted. | - | No |
@@ -0,0 +1,79 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `metrics` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `metrics` (alias: `metric`)
8
+
9
+ Query OTel application metrics for debugging (not container/docker stats — see "temps containers metrics" for those)
10
+
11
+ **Subcommands:**
12
+
13
+ - `names` - List distinct metric names ingested for a project — start here if you don't know what to query
14
+ - `query` - Query a metric with time bucketing and aggregation
15
+ - `label-keys` - List the label keys observed on a metric — powers filter/group-by discovery
16
+ - `label-values` - List the distinct values seen for a label key on a metric
17
+
18
+ ### `metrics names`
19
+
20
+ List distinct metric names ingested for a project — start here if you don't know what to query
21
+
22
+ **Options:**
23
+
24
+ | Flag | Description | Default | Required |
25
+ |------|-------------|---------|----------|
26
+ | `-p, --project <project>` | Project slug or ID | - | No |
27
+ | `--json` | Output in JSON format | - | No |
28
+
29
+ ### `metrics query`
30
+
31
+ Query a metric with time bucketing and aggregation
32
+
33
+ **Options:**
34
+
35
+ | Flag | Description | Default | Required |
36
+ |------|-------------|---------|----------|
37
+ | `-p, --project <project>` | Project slug or ID | - | No |
38
+ | `--metric-name <name>` | Metric to query (see "temps metrics names") | - | No |
39
+ | `--service-name <name>` | Filter by service name | - | No |
40
+ | `--environment <name>` | Filter by deployment environment name | - | No |
41
+ | `--period <period>` | Time period: today, <n>h, <n>d, <n>m (e.g. 1h, 24h, 7d) | `24h` | No |
42
+ | `--start-time <iso>` | Explicit window start (RFC 3339) — overrides --period | - | No |
43
+ | `--end-time <iso>` | Explicit window end (RFC 3339) — overrides --period | - | No |
44
+ | `--bucket-interval <interval>` | Bucket size, e.g. "5 minutes", "1 hour" | - | No |
45
+ | `--aggregation <mode>` | Per-bucket aggregation: avg (default), sum, min, max, count, rate, p50/p95/p99, quantile:0.95 | - | No |
46
+ | `--metric-type <type>` | Filter by metric type: gauge, sum, histogram, exponential_histogram, summary | - | No |
47
+ | `--label-filters <pairs>` | Comma-separated key=value data-point label filters, e.g. http.method=GET,http.status_code=200 | - | No |
48
+ | `--group-by <keys>` | Comma-separated label keys to group series by, e.g. http.method,http.route | - | No |
49
+ | `--limit <n>` | Max buckets to return (default: 500, server cap: 1000) | - | No |
50
+ | `--json` | Output in JSON format | - | No |
51
+
52
+ ### `metrics label-keys`
53
+
54
+ List the label keys observed on a metric — powers filter/group-by discovery
55
+
56
+ **Options:**
57
+
58
+ | Flag | Description | Default | Required |
59
+ |------|-------------|---------|----------|
60
+ | `-p, --project <project>` | Project slug or ID | - | No |
61
+ | `--metric-name <name>` | Metric to inspect | - | Yes |
62
+ | `--start-time <iso>` | Window start (RFC 3339); defaults to 24h before end | - | No |
63
+ | `--end-time <iso>` | Window end (RFC 3339); defaults to now | - | No |
64
+ | `--json` | Output in JSON format | - | No |
65
+
66
+ ### `metrics label-values`
67
+
68
+ List the distinct values seen for a label key on a metric
69
+
70
+ **Options:**
71
+
72
+ | Flag | Description | Default | Required |
73
+ |------|-------------|---------|----------|
74
+ | `-p, --project <project>` | Project slug or ID | - | No |
75
+ | `--metric-name <name>` | Metric to inspect | - | Yes |
76
+ | `--label-key <key>` | Label key whose values to list | - | Yes |
77
+ | `--start-time <iso>` | Window start (RFC 3339); defaults to 24h before end | - | No |
78
+ | `--end-time <iso>` | Window end (RFC 3339); defaults to now | - | No |
79
+ | `--json` | Output in JSON format | - | No |
@@ -0,0 +1,109 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `migrate` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `migrate` (alias: `imports`, `import`)
8
+
9
+ Migrate a project from another platform (Vercel, Coolify, Dokploy, CapRover, Portainer, Kubernetes, Docker) into temps
10
+
11
+ **Subcommands:**
12
+
13
+ - `sources` (`ls`) - List available import sources
14
+ - `discover` - Discover workloads from a source
15
+ - `plan` - Discover a source, pick a workload, and show the import plan
16
+ - `run` - Guided end-to-end migration: discover, plan, review, and execute
17
+ - `execute` - Execute a previously created import plan by session ID
18
+ - `status` - Show a stored import session (the plan it was created with)
19
+
20
+ ### `migrate sources` (alias: `ls`)
21
+
22
+ List available import sources
23
+
24
+ **Options:**
25
+
26
+ | Flag | Description | Default | Required |
27
+ |------|-------------|---------|----------|
28
+ | `--json` | Output in JSON format | - | No |
29
+
30
+ ### `migrate discover`
31
+
32
+ Discover workloads from a source
33
+
34
+ **Options:**
35
+
36
+ | Flag | Description | Default | Required |
37
+ |------|-------------|---------|----------|
38
+ | `-s, --source <source>` | Import source (coolify, dokploy, caprover, portainer, kubernetes, kamal, docker) | - | No |
39
+ | `--token <token>` | API token / admin password for the source instance | - | No |
40
+ | `--base-url <url>` | Base URL of the source instance | - | No |
41
+ | `--username <name>` | Admin username (portainer source, defaults to "admin") | - | No |
42
+ | `--kubeconfig <path>` | Path to a kubeconfig file (kubernetes source) | - | No |
43
+ | `--deploy-yml <path>` | Path to config/deploy.yml (kamal source) | - | No |
44
+ | `--json` | Output in JSON format | - | No |
45
+
46
+ ### `migrate plan`
47
+
48
+ Discover a source, pick a workload, and show the import plan
49
+
50
+ **Options:**
51
+
52
+ | Flag | Description | Default | Required |
53
+ |------|-------------|---------|----------|
54
+ | `-s, --source <source>` | Import source | - | No |
55
+ | `-w, --workload <workload>` | Workload ID to import (skips the picker) | - | No |
56
+ | `--token <token>` | API token / admin password for the source instance | - | No |
57
+ | `--base-url <url>` | Base URL of the source instance | - | No |
58
+ | `--username <name>` | Admin username (portainer source, defaults to "admin") | - | No |
59
+ | `--kubeconfig <path>` | Path to a kubeconfig file (kubernetes source) | - | No |
60
+ | `--deploy-yml <path>` | Path to config/deploy.yml (kamal source) | - | No |
61
+
62
+ ### `migrate run`
63
+
64
+ Guided end-to-end migration: discover, plan, review, and execute
65
+
66
+ **Options:**
67
+
68
+ | Flag | Description | Default | Required |
69
+ |------|-------------|---------|----------|
70
+ | `-s, --source <source>` | Import source (vercel, coolify, dokploy, caprover, portainer, kubernetes, kamal, docker) | - | No |
71
+ | `-w, --workload <workload>` | Workload ID to import (skips the picker) | - | No |
72
+ | `--token <token>` | API token / admin password for the source instance | - | No |
73
+ | `--base-url <url>` | Base URL of the source instance | - | No |
74
+ | `--username <name>` | Admin username (portainer source, defaults to "admin") | - | No |
75
+ | `--kubeconfig <path>` | Path to a kubeconfig file (kubernetes source) | - | No |
76
+ | `--deploy-yml <path>` | Path to config/deploy.yml (kamal source) | - | No |
77
+ | `--project-name <name>` | Name for the new temps project (defaults to the source project name) | - | No |
78
+ | `--preset <preset>` | Build preset (defaults to "nixpacks" for git sources, "dockerfile" otherwise) | - | No |
79
+ | `--directory <dir>` | Project subdirectory | `.` | No |
80
+ | `--branch <branch>` | Branch to deploy | `main` | No |
81
+ | `--dry-run` | Plan only — do not create or deploy anything | - | No |
82
+ | `-y, --yes` | Skip the confirmation prompt (for automation) | - | No |
83
+
84
+ ### `migrate execute`
85
+
86
+ Execute a previously created import plan by session ID
87
+
88
+ **Options:**
89
+
90
+ | Flag | Description | Default | Required |
91
+ |------|-------------|---------|----------|
92
+ | `--session-id <id>` | Import session ID (from `imports plan`) | - | Yes |
93
+ | `--project-name <name>` | Name for the new temps project | - | No |
94
+ | `--preset <preset>` | Build preset | `nixpacks` | No |
95
+ | `--directory <dir>` | Project subdirectory | `.` | No |
96
+ | `--branch <branch>` | Branch to deploy | `main` | No |
97
+ | `--dry-run` | Plan only — do not create or deploy anything | - | No |
98
+ | `-y, --yes` | Skip the confirmation prompt (for automation) | - | No |
99
+
100
+ ### `migrate status`
101
+
102
+ Show a stored import session (the plan it was created with)
103
+
104
+ **Options:**
105
+
106
+ | Flag | Description | Default | Required |
107
+ |------|-------------|---------|----------|
108
+ | `--session-id <id>` | Import session ID | - | Yes |
109
+ | `--json` | Output in JSON format | - | No |
@@ -0,0 +1,92 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `monitors` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `monitors` (alias: `monitoring`)
8
+
9
+ Manage uptime monitors for status pages
10
+
11
+ **Subcommands:**
12
+
13
+ - `list` (`ls`) - List all monitors for a project
14
+ - `create` (`add`) - Create a new monitor for a project
15
+ - `show` - Show monitor details and current status
16
+ - `remove` (`rm`) - Delete a monitor
17
+ - `status` - Get current status — all monitors for a project, or a single monitor by ID
18
+ - `history` - Get monitor uptime history
19
+
20
+ ### `monitors list` (alias: `ls`)
21
+
22
+ List all monitors for a project
23
+
24
+ **Options:**
25
+
26
+ | Flag | Description | Default | Required |
27
+ |------|-------------|---------|----------|
28
+ | `--project-id <id>` | Project ID | - | Yes |
29
+ | `--json` | Output in JSON format | - | No |
30
+
31
+ ### `monitors create` (alias: `add`)
32
+
33
+ Create a new monitor for a project
34
+
35
+ **Options:**
36
+
37
+ | Flag | Description | Default | Required |
38
+ |------|-------------|---------|----------|
39
+ | `--project-id <id>` | Project ID | - | Yes |
40
+ | `-n, --name <name>` | Monitor name | - | No |
41
+ | `-t, --type <type>` | Monitor type (http, tcp, ping) | - | No |
42
+ | `-i, --interval <seconds>` | Check interval in seconds (60, 300, 600, 900, 1800) | - | No |
43
+ | `--check-path <path>` | HTTP health-check path (must start with "/", e.g. /api/healthz). Defaults to "/" for HTTP monitors. | - | No |
44
+ | `--environment-id <id>` | Environment ID (default: 0 for production) | - | No |
45
+ | `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
46
+
47
+ ### `monitors show`
48
+
49
+ Show monitor details and current status
50
+
51
+ **Options:**
52
+
53
+ | Flag | Description | Default | Required |
54
+ |------|-------------|---------|----------|
55
+ | `--id <id>` | Monitor ID | - | Yes |
56
+ | `--json` | Output in JSON format | - | No |
57
+
58
+ ### `monitors remove` (alias: `rm`)
59
+
60
+ Delete a monitor
61
+
62
+ **Options:**
63
+
64
+ | Flag | Description | Default | Required |
65
+ |------|-------------|---------|----------|
66
+ | `--id <id>` | Monitor ID | - | Yes |
67
+ | `-f, --force` | Skip confirmation | - | No |
68
+ | `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
69
+
70
+ ### `monitors status`
71
+
72
+ Get current status — all monitors for a project, or a single monitor by ID
73
+
74
+ **Options:**
75
+
76
+ | Flag | Description | Default | Required |
77
+ |------|-------------|---------|----------|
78
+ | `--id <id>` | Monitor ID (omit to show all monitors for the project) | - | No |
79
+ | `-p, --project <slug>` | Project slug (auto-detected from .temps/config.json or TEMPS_PROJECT) | - | No |
80
+ | `--json` | Output in JSON format | - | No |
81
+
82
+ ### `monitors history`
83
+
84
+ Get monitor uptime history
85
+
86
+ **Options:**
87
+
88
+ | Flag | Description | Default | Required |
89
+ |------|-------------|---------|----------|
90
+ | `--id <id>` | Monitor ID | - | Yes |
91
+ | `--json` | Output in JSON format | - | No |
92
+ | `--days <days>` | Number of days to show | `7` | No |