staygreen 0.1.1 → 0.1.2
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/cli.js +8 -8
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -20135,7 +20135,7 @@ var contract_generated_default = {
|
|
|
20135
20135
|
{
|
|
20136
20136
|
name: "list_monitors",
|
|
20137
20137
|
title: "List monitors",
|
|
20138
|
-
description: "List monitors in your workspace,
|
|
20138
|
+
description: "List monitors in your workspace with their app ids, current state and last check, ordered by id. The app, type and status filters combine, each narrowing the same list; with none you get every monitor, automatic SSL checks included. last_check_precision says whether last_check is an exact outcome, the start of its latest five-minute check window, or no data. Never returns credentials or heartbeat URLs. Use get_status instead for each app's overall state and open incidents, get_uptime for history. Call again with cursor set to next_cursor until null.",
|
|
20139
20139
|
inputSchema: {
|
|
20140
20140
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
20141
20141
|
type: "object",
|
|
@@ -20274,7 +20274,7 @@ var contract_generated_default = {
|
|
|
20274
20274
|
{
|
|
20275
20275
|
name: "get_status",
|
|
20276
20276
|
title: "Get status",
|
|
20277
|
-
description: "Read the current status of one app or every app,
|
|
20277
|
+
description: "Read the current status of one app or every app: its overall state, monitors (private ones included), status page components and open incidents with their latest published note. Omit app or pass * for the whole workspace; an app id outside your workspace returns not_found. Start here: its app, monitor and incident ids feed the other tools. Use get_uptime or get_incidents for history. No draft notes are returned.",
|
|
20278
20278
|
inputSchema: {
|
|
20279
20279
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
20280
20280
|
type: "object",
|
|
@@ -20513,7 +20513,7 @@ var contract_generated_default = {
|
|
|
20513
20513
|
{
|
|
20514
20514
|
name: "get_uptime",
|
|
20515
20515
|
title: "Get uptime",
|
|
20516
|
-
description: "Read measured uptime, downtime minutes, incident counts and daily history
|
|
20516
|
+
description: "Read measured uptime, downtime minutes, incident counts and daily history. With monitor omitted or *, every monitor is returned a page at a time (follow next_cursor); a monitor id returns that monitor alone, so pass no cursor with it. window is capped at 30d unless your plan includes a year of history, and the result's window says which one applied. Unmeasured time is no data, not 100% uptime. Use get_response_times instead for latency, and get_incidents for what failed and why.",
|
|
20517
20517
|
inputSchema: {
|
|
20518
20518
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
20519
20519
|
type: "object",
|
|
@@ -20967,7 +20967,7 @@ var contract_generated_default = {
|
|
|
20967
20967
|
{
|
|
20968
20968
|
name: "get_ssl_and_domain_expiry",
|
|
20969
20969
|
title: "Get ssl and domain expiry",
|
|
20970
|
-
description: "Read certificate and domain expiry dates
|
|
20970
|
+
description: "Read certificate and domain expiry dates, with days remaining, for the hosts your SSL monitors check. Omit app for every SSL monitor in the workspace, or pass an app id for that app's hosts only. A null date means Staygreen has no date to show for that host; it never guesses one. Use this for renewal deadlines; use get_status instead for whether a site is up now. Follow next_cursor to read every host.",
|
|
20971
20971
|
inputSchema: {
|
|
20972
20972
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
20973
20973
|
type: "object",
|
|
@@ -21067,7 +21067,7 @@ var contract_generated_default = {
|
|
|
21067
21067
|
{
|
|
21068
21068
|
name: "provision_app",
|
|
21069
21069
|
title: "Provision app",
|
|
21070
|
-
description: "Set up
|
|
21070
|
+
description: "Set up a new app in one transaction: its website check, an automatic SSL/domain check when url is https on port 443 with a hostname that has no SSL monitor yet, a status page, and one heartbeat per crons_from entry. Optional checks come in pairs, supabase_url with supabase_key and stripe_key with stripe_endpoints: half a pair is reported in skipped, and a full pair that fails verification refuses the whole call. mcp_url and status_domain are reported in skipped when supplied. A new app's explicit name must be free; without one, the hostname is made unique. Every option is validated and checked first; then, if url matches an existing app, that app comes back with its monitors as they were (add checks with create_monitor), plus a status page if it had none. A plan_limit error creates nothing and lists what was not created. Heartbeat URLs are returned only to this request and its retries with the same request_id. Needs write access.",
|
|
21071
21071
|
inputSchema: {
|
|
21072
21072
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
21073
21073
|
type: "object",
|
|
@@ -21287,7 +21287,7 @@ var contract_generated_default = {
|
|
|
21287
21287
|
{
|
|
21288
21288
|
name: "create_monitor",
|
|
21289
21289
|
title: "Create monitor",
|
|
21290
|
-
description: "Create one monitor in an app
|
|
21290
|
+
description: "Create one monitor in an existing app; for a new app use provision_app instead. type decides what target is and which config keys apply: http takes a URL with method, expect, keyword, slowMs, assertions and headers; tcp a hostname or public IP with port, tls and slowMs; ssl a hostname and no config; dns a record name with record and expected; heartbeat ignores target and takes schedule, tz, graceMin, maxRunMin and assertions, so give it a name; supabase a project URL with key and databaseRead; stripe https://api.stripe.com with key, endpoints, critical, failureThreshold, windowMin and pendingMin. A key belonging to another type is refused. Validation, public-address checks and plan quotas match the dashboard, and Stripe and Supabase checks must verify before saving. Returns a first test result but never a heartbeat's URL, which the dashboard shows. Supply request_id for safe retries. Needs write access.",
|
|
21291
21291
|
inputSchema: {
|
|
21292
21292
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
21293
21293
|
type: "object",
|
|
@@ -21317,14 +21317,14 @@ var contract_generated_default = {
|
|
|
21317
21317
|
description: "Monitor type. MCP server monitors are not available yet."
|
|
21318
21318
|
},
|
|
21319
21319
|
name: {
|
|
21320
|
-
description:
|
|
21320
|
+
description: `Monitor name. Without one, Staygreen picks a default (a heartbeat's is "Scheduled job"), which this tool does not return; list_monitors shows it.`,
|
|
21321
21321
|
type: "string",
|
|
21322
21322
|
maxLength: 80
|
|
21323
21323
|
},
|
|
21324
21324
|
target: {
|
|
21325
21325
|
type: "string",
|
|
21326
21326
|
maxLength: 2048,
|
|
21327
|
-
description: "HTTP or Supabase URL, SSL
|
|
21327
|
+
description: "HTTP or Supabase URL, SSL hostname, TCP hostname or public IP, or DNS record name. HTTP(S) URL hostnames may be at most 80 characters. Stripe uses https://api.stripe.com; a heartbeat ignores it."
|
|
21328
21328
|
},
|
|
21329
21329
|
config: {
|
|
21330
21330
|
default: {},
|
package/package.json
CHANGED