@observeone/cli 1.9.0 → 1.9.1

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/README.md CHANGED
@@ -219,12 +219,49 @@ obs suite status <id>
219
219
  # Wait on a specific execution
220
220
  obs suite wait <id> <executionId>
221
221
 
222
+ # Update schedule without regenerating (v1.8.0)
223
+ obs suite schedule <id> --enable
224
+ obs suite schedule <id> --disable
225
+ obs suite schedule <id> --cron "*/30 * * * *"
226
+
227
+ # Update credentials/variables without regenerating (v1.8.0)
228
+ obs suite secrets <id> --var USERNAME=admin --var PASSWORD=secret
229
+ obs suite secrets <id> --var-file .env.test
230
+
222
231
  # Delete a suite
223
232
  obs suite delete <id>
224
233
  ```
225
234
 
226
235
  ---
227
236
 
237
+ ## Resource Discovery (v1.9.0)
238
+
239
+ Enumerate resource templates and fetch their JSON schemas. All commands work offline against bundled schemas, no login required.
240
+
241
+ ```bash
242
+ # List every resource type with required fields
243
+ obs templates list
244
+ obs templates list --json
245
+
246
+ # Print the JSON Schema (Draft-07) for any resource
247
+ obs schema monitor
248
+ obs schema ai-check
249
+ obs schema alert-channel --out ./schemas/alert-channel.schema.json
250
+
251
+ # Validate a JSON file against the bundled schema (offline)
252
+ obs validate --resource monitor --file ./my-monitor.json
253
+
254
+ # Scaffold a ready-to-edit template
255
+ obs init monitor
256
+ obs init ai-check --out ./tests/ai-check.json
257
+ ```
258
+
259
+ Aliases: `api-check` → `check`, `url-monitor` → `monitor`, `browser-check` → `ai-check`.
260
+
261
+ The full chain for agents: `obs templates list` → `obs schema <name>` → generate payload → `obs validate` → `obs <resource> create --file <path>`. All steps except the final create are fully offline.
262
+
263
+ ---
264
+
228
265
  ## AI Agent Integration (Headless Mode)
229
266
 
230
267
  The `obs` CLI is explicitly designed to be used by AI coding agents.
package/dist/README.md CHANGED
@@ -219,12 +219,49 @@ obs suite status <id>
219
219
  # Wait on a specific execution
220
220
  obs suite wait <id> <executionId>
221
221
 
222
+ # Update schedule without regenerating (v1.8.0)
223
+ obs suite schedule <id> --enable
224
+ obs suite schedule <id> --disable
225
+ obs suite schedule <id> --cron "*/30 * * * *"
226
+
227
+ # Update credentials/variables without regenerating (v1.8.0)
228
+ obs suite secrets <id> --var USERNAME=admin --var PASSWORD=secret
229
+ obs suite secrets <id> --var-file .env.test
230
+
222
231
  # Delete a suite
223
232
  obs suite delete <id>
224
233
  ```
225
234
 
226
235
  ---
227
236
 
237
+ ## Resource Discovery (v1.9.0)
238
+
239
+ Enumerate resource templates and fetch their JSON schemas. All commands work offline against bundled schemas, no login required.
240
+
241
+ ```bash
242
+ # List every resource type with required fields
243
+ obs templates list
244
+ obs templates list --json
245
+
246
+ # Print the JSON Schema (Draft-07) for any resource
247
+ obs schema monitor
248
+ obs schema ai-check
249
+ obs schema alert-channel --out ./schemas/alert-channel.schema.json
250
+
251
+ # Validate a JSON file against the bundled schema (offline)
252
+ obs validate --resource monitor --file ./my-monitor.json
253
+
254
+ # Scaffold a ready-to-edit template
255
+ obs init monitor
256
+ obs init ai-check --out ./tests/ai-check.json
257
+ ```
258
+
259
+ Aliases: `api-check` → `check`, `url-monitor` → `monitor`, `browser-check` → `ai-check`.
260
+
261
+ The full chain for agents: `obs templates list` → `obs schema <name>` → generate payload → `obs validate` → `obs <resource> create --file <path>`. All steps except the final create are fully offline.
262
+
263
+ ---
264
+
228
265
  ## AI Agent Integration (Headless Mode)
229
266
 
230
267
  The `obs` CLI is explicitly designed to be used by AI coding agents.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@observeone/cli",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "type": "module",
5
5
  "description": "ObserveOne CLI - AI-powered website monitoring and testing from the command line",
6
6
  "main": "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@observeone/cli",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "type": "module",
5
5
  "description": "ObserveOne CLI - AI-powered website monitoring and testing from the command line",
6
6
  "main": "dist/index.js",