@respan/cli 0.14.1 → 0.15.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/dist/commands/setup/gateway.d.ts +2 -2
- package/dist/commands/setup/gateway.js +3 -7
- package/dist/commands/setup/index.d.ts +2 -2
- package/dist/commands/setup/index.js +4 -10
- package/dist/commands/setup/tracing.d.ts +2 -2
- package/dist/commands/setup/tracing.js +3 -7
- package/dist/lib/demo/seed-prompts.js +7 -7
- package/dist/lib/demo/trace-fixtures.d.ts +14 -5
- package/dist/lib/demo/trace-fixtures.js +26 -17
- package/dist/lib/setup-base-command.d.ts +2 -108
- package/dist/lib/setup-base-command.js +8 -754
- package/oclif.manifest.json +531 -534
- package/package.json +2 -3
- package/dist/lib/skill-content.d.ts +0 -1
- package/dist/lib/skill-content.js +0 -16
- package/dist/lib/skill-refs.generated.d.ts +0 -6
- package/dist/lib/skill-refs.generated.js +0 -1585
package/oclif.manifest.json
CHANGED
|
@@ -1583,6 +1583,75 @@
|
|
|
1583
1583
|
"index.js"
|
|
1584
1584
|
]
|
|
1585
1585
|
},
|
|
1586
|
+
"eval": {
|
|
1587
|
+
"aliases": [],
|
|
1588
|
+
"args": {
|
|
1589
|
+
"file": {
|
|
1590
|
+
"description": "Path to eval JSON file",
|
|
1591
|
+
"name": "file",
|
|
1592
|
+
"required": true
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1595
|
+
"description": "Run an eval defined in a JSON file (creates prompt + dataset on the platform)",
|
|
1596
|
+
"flags": {
|
|
1597
|
+
"api-key": {
|
|
1598
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
1599
|
+
"env": "RESPAN_API_KEY",
|
|
1600
|
+
"name": "api-key",
|
|
1601
|
+
"hasDynamicHelp": false,
|
|
1602
|
+
"multiple": false,
|
|
1603
|
+
"type": "option"
|
|
1604
|
+
},
|
|
1605
|
+
"base-url": {
|
|
1606
|
+
"description": "Temporary API base URL override for this command",
|
|
1607
|
+
"name": "base-url",
|
|
1608
|
+
"hasDynamicHelp": false,
|
|
1609
|
+
"multiple": false,
|
|
1610
|
+
"type": "option"
|
|
1611
|
+
},
|
|
1612
|
+
"profile": {
|
|
1613
|
+
"description": "Named profile to use",
|
|
1614
|
+
"name": "profile",
|
|
1615
|
+
"hasDynamicHelp": false,
|
|
1616
|
+
"multiple": false,
|
|
1617
|
+
"type": "option"
|
|
1618
|
+
},
|
|
1619
|
+
"json": {
|
|
1620
|
+
"description": "Output as JSON",
|
|
1621
|
+
"name": "json",
|
|
1622
|
+
"allowNo": false,
|
|
1623
|
+
"type": "boolean"
|
|
1624
|
+
},
|
|
1625
|
+
"csv": {
|
|
1626
|
+
"description": "Output as CSV",
|
|
1627
|
+
"name": "csv",
|
|
1628
|
+
"allowNo": false,
|
|
1629
|
+
"type": "boolean"
|
|
1630
|
+
},
|
|
1631
|
+
"verbose": {
|
|
1632
|
+
"char": "v",
|
|
1633
|
+
"description": "Show verbose output",
|
|
1634
|
+
"name": "verbose",
|
|
1635
|
+
"allowNo": false,
|
|
1636
|
+
"type": "boolean"
|
|
1637
|
+
}
|
|
1638
|
+
},
|
|
1639
|
+
"hasDynamicHelp": false,
|
|
1640
|
+
"hiddenAliases": [],
|
|
1641
|
+
"id": "eval",
|
|
1642
|
+
"pluginAlias": "@respan/cli",
|
|
1643
|
+
"pluginName": "@respan/cli",
|
|
1644
|
+
"pluginType": "core",
|
|
1645
|
+
"strict": true,
|
|
1646
|
+
"enableJsonFlag": false,
|
|
1647
|
+
"isESM": true,
|
|
1648
|
+
"relativePath": [
|
|
1649
|
+
"dist",
|
|
1650
|
+
"commands",
|
|
1651
|
+
"eval",
|
|
1652
|
+
"index.js"
|
|
1653
|
+
]
|
|
1654
|
+
},
|
|
1586
1655
|
"evaluators:create": {
|
|
1587
1656
|
"aliases": [],
|
|
1588
1657
|
"args": {},
|
|
@@ -2244,75 +2313,6 @@
|
|
|
2244
2313
|
"list.js"
|
|
2245
2314
|
]
|
|
2246
2315
|
},
|
|
2247
|
-
"eval": {
|
|
2248
|
-
"aliases": [],
|
|
2249
|
-
"args": {
|
|
2250
|
-
"file": {
|
|
2251
|
-
"description": "Path to eval JSON file",
|
|
2252
|
-
"name": "file",
|
|
2253
|
-
"required": true
|
|
2254
|
-
}
|
|
2255
|
-
},
|
|
2256
|
-
"description": "Run an eval defined in a JSON file (creates prompt + dataset on the platform)",
|
|
2257
|
-
"flags": {
|
|
2258
|
-
"api-key": {
|
|
2259
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2260
|
-
"env": "RESPAN_API_KEY",
|
|
2261
|
-
"name": "api-key",
|
|
2262
|
-
"hasDynamicHelp": false,
|
|
2263
|
-
"multiple": false,
|
|
2264
|
-
"type": "option"
|
|
2265
|
-
},
|
|
2266
|
-
"base-url": {
|
|
2267
|
-
"description": "Temporary API base URL override for this command",
|
|
2268
|
-
"name": "base-url",
|
|
2269
|
-
"hasDynamicHelp": false,
|
|
2270
|
-
"multiple": false,
|
|
2271
|
-
"type": "option"
|
|
2272
|
-
},
|
|
2273
|
-
"profile": {
|
|
2274
|
-
"description": "Named profile to use",
|
|
2275
|
-
"name": "profile",
|
|
2276
|
-
"hasDynamicHelp": false,
|
|
2277
|
-
"multiple": false,
|
|
2278
|
-
"type": "option"
|
|
2279
|
-
},
|
|
2280
|
-
"json": {
|
|
2281
|
-
"description": "Output as JSON",
|
|
2282
|
-
"name": "json",
|
|
2283
|
-
"allowNo": false,
|
|
2284
|
-
"type": "boolean"
|
|
2285
|
-
},
|
|
2286
|
-
"csv": {
|
|
2287
|
-
"description": "Output as CSV",
|
|
2288
|
-
"name": "csv",
|
|
2289
|
-
"allowNo": false,
|
|
2290
|
-
"type": "boolean"
|
|
2291
|
-
},
|
|
2292
|
-
"verbose": {
|
|
2293
|
-
"char": "v",
|
|
2294
|
-
"description": "Show verbose output",
|
|
2295
|
-
"name": "verbose",
|
|
2296
|
-
"allowNo": false,
|
|
2297
|
-
"type": "boolean"
|
|
2298
|
-
}
|
|
2299
|
-
},
|
|
2300
|
-
"hasDynamicHelp": false,
|
|
2301
|
-
"hiddenAliases": [],
|
|
2302
|
-
"id": "eval",
|
|
2303
|
-
"pluginAlias": "@respan/cli",
|
|
2304
|
-
"pluginName": "@respan/cli",
|
|
2305
|
-
"pluginType": "core",
|
|
2306
|
-
"strict": true,
|
|
2307
|
-
"enableJsonFlag": false,
|
|
2308
|
-
"isESM": true,
|
|
2309
|
-
"relativePath": [
|
|
2310
|
-
"dist",
|
|
2311
|
-
"commands",
|
|
2312
|
-
"eval",
|
|
2313
|
-
"index.js"
|
|
2314
|
-
]
|
|
2315
|
-
},
|
|
2316
2316
|
"integrate:claude-code": {
|
|
2317
2317
|
"aliases": [],
|
|
2318
2318
|
"args": {},
|
|
@@ -3097,16 +3097,10 @@
|
|
|
3097
3097
|
"pi.js"
|
|
3098
3098
|
]
|
|
3099
3099
|
},
|
|
3100
|
-
"
|
|
3100
|
+
"logs:create": {
|
|
3101
3101
|
"aliases": [],
|
|
3102
|
-
"args": {
|
|
3103
|
-
|
|
3104
|
-
"description": "Prompt ID",
|
|
3105
|
-
"name": "prompt-id",
|
|
3106
|
-
"required": true
|
|
3107
|
-
}
|
|
3108
|
-
},
|
|
3109
|
-
"description": "Create a new version of a prompt",
|
|
3102
|
+
"args": {},
|
|
3103
|
+
"description": "Create a log span",
|
|
3110
3104
|
"flags": {
|
|
3111
3105
|
"api-key": {
|
|
3112
3106
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3149,31 +3143,31 @@
|
|
|
3149
3143
|
"allowNo": false,
|
|
3150
3144
|
"type": "boolean"
|
|
3151
3145
|
},
|
|
3152
|
-
"
|
|
3153
|
-
"description": "
|
|
3154
|
-
"name": "
|
|
3146
|
+
"input": {
|
|
3147
|
+
"description": "Input text or JSON",
|
|
3148
|
+
"name": "input",
|
|
3155
3149
|
"required": true,
|
|
3156
3150
|
"hasDynamicHelp": false,
|
|
3157
3151
|
"multiple": false,
|
|
3158
3152
|
"type": "option"
|
|
3159
3153
|
},
|
|
3160
|
-
"
|
|
3161
|
-
"description": "
|
|
3162
|
-
"name": "
|
|
3154
|
+
"output": {
|
|
3155
|
+
"description": "Output text or JSON",
|
|
3156
|
+
"name": "output",
|
|
3163
3157
|
"hasDynamicHelp": false,
|
|
3164
3158
|
"multiple": false,
|
|
3165
3159
|
"type": "option"
|
|
3166
3160
|
},
|
|
3167
|
-
"
|
|
3168
|
-
"description": "
|
|
3169
|
-
"name": "
|
|
3161
|
+
"model": {
|
|
3162
|
+
"description": "Model name",
|
|
3163
|
+
"name": "model",
|
|
3170
3164
|
"hasDynamicHelp": false,
|
|
3171
3165
|
"multiple": false,
|
|
3172
3166
|
"type": "option"
|
|
3173
3167
|
},
|
|
3174
|
-
"
|
|
3175
|
-
"description": "
|
|
3176
|
-
"name": "
|
|
3168
|
+
"metadata": {
|
|
3169
|
+
"description": "Metadata as JSON string",
|
|
3170
|
+
"name": "metadata",
|
|
3177
3171
|
"hasDynamicHelp": false,
|
|
3178
3172
|
"multiple": false,
|
|
3179
3173
|
"type": "option"
|
|
@@ -3181,7 +3175,7 @@
|
|
|
3181
3175
|
},
|
|
3182
3176
|
"hasDynamicHelp": false,
|
|
3183
3177
|
"hiddenAliases": [],
|
|
3184
|
-
"id": "
|
|
3178
|
+
"id": "logs:create",
|
|
3185
3179
|
"pluginAlias": "@respan/cli",
|
|
3186
3180
|
"pluginName": "@respan/cli",
|
|
3187
3181
|
"pluginType": "core",
|
|
@@ -3191,14 +3185,20 @@
|
|
|
3191
3185
|
"relativePath": [
|
|
3192
3186
|
"dist",
|
|
3193
3187
|
"commands",
|
|
3194
|
-
"
|
|
3195
|
-
"create
|
|
3188
|
+
"logs",
|
|
3189
|
+
"create.js"
|
|
3196
3190
|
]
|
|
3197
3191
|
},
|
|
3198
|
-
"
|
|
3192
|
+
"logs:get": {
|
|
3199
3193
|
"aliases": [],
|
|
3200
|
-
"args": {
|
|
3201
|
-
|
|
3194
|
+
"args": {
|
|
3195
|
+
"id": {
|
|
3196
|
+
"description": "Span ID",
|
|
3197
|
+
"name": "id",
|
|
3198
|
+
"required": true
|
|
3199
|
+
}
|
|
3200
|
+
},
|
|
3201
|
+
"description": "Get a specific log span",
|
|
3202
3202
|
"flags": {
|
|
3203
3203
|
"api-key": {
|
|
3204
3204
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3240,26 +3240,11 @@
|
|
|
3240
3240
|
"name": "verbose",
|
|
3241
3241
|
"allowNo": false,
|
|
3242
3242
|
"type": "boolean"
|
|
3243
|
-
},
|
|
3244
|
-
"name": {
|
|
3245
|
-
"description": "Prompt name",
|
|
3246
|
-
"name": "name",
|
|
3247
|
-
"required": true,
|
|
3248
|
-
"hasDynamicHelp": false,
|
|
3249
|
-
"multiple": false,
|
|
3250
|
-
"type": "option"
|
|
3251
|
-
},
|
|
3252
|
-
"description": {
|
|
3253
|
-
"description": "Prompt description",
|
|
3254
|
-
"name": "description",
|
|
3255
|
-
"hasDynamicHelp": false,
|
|
3256
|
-
"multiple": false,
|
|
3257
|
-
"type": "option"
|
|
3258
3243
|
}
|
|
3259
3244
|
},
|
|
3260
3245
|
"hasDynamicHelp": false,
|
|
3261
3246
|
"hiddenAliases": [],
|
|
3262
|
-
"id": "
|
|
3247
|
+
"id": "logs:get",
|
|
3263
3248
|
"pluginAlias": "@respan/cli",
|
|
3264
3249
|
"pluginName": "@respan/cli",
|
|
3265
3250
|
"pluginType": "core",
|
|
@@ -3269,20 +3254,14 @@
|
|
|
3269
3254
|
"relativePath": [
|
|
3270
3255
|
"dist",
|
|
3271
3256
|
"commands",
|
|
3272
|
-
"
|
|
3273
|
-
"
|
|
3257
|
+
"logs",
|
|
3258
|
+
"get.js"
|
|
3274
3259
|
]
|
|
3275
3260
|
},
|
|
3276
|
-
"
|
|
3261
|
+
"logs:list": {
|
|
3277
3262
|
"aliases": [],
|
|
3278
|
-
"args": {
|
|
3279
|
-
|
|
3280
|
-
"description": "Prompt ID",
|
|
3281
|
-
"name": "id",
|
|
3282
|
-
"required": true
|
|
3283
|
-
}
|
|
3284
|
-
},
|
|
3285
|
-
"description": "Get a specific prompt",
|
|
3263
|
+
"args": {},
|
|
3264
|
+
"description": "List and filter LLM request logs (spans).\n\nSupports pagination, sorting, time range, and server-side filtering.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (logs):\n model, status_code, status, cost, latency, prompt_tokens,\n completion_tokens, customer_identifier, custom_identifier,\n thread_identifier, trace_unique_id, span_name, span_workflow_name,\n environment, log_type, error_message, failed, provider_id,\n deployment_name, prompt_name, prompt_id, unique_id, stream,\n temperature, max_tokens, tokens_per_second, time_to_first_token,\n total_request_tokens, metadata__<key>, scores__<evaluator_id>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
|
|
3286
3265
|
"flags": {
|
|
3287
3266
|
"api-key": {
|
|
3288
3267
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3324,38 +3303,103 @@
|
|
|
3324
3303
|
"name": "verbose",
|
|
3325
3304
|
"allowNo": false,
|
|
3326
3305
|
"type": "boolean"
|
|
3327
|
-
}
|
|
3328
|
-
},
|
|
3329
|
-
"hasDynamicHelp": false,
|
|
3330
|
-
"hiddenAliases": [],
|
|
3331
|
-
"id": "prompts:get",
|
|
3332
|
-
"pluginAlias": "@respan/cli",
|
|
3333
|
-
"pluginName": "@respan/cli",
|
|
3334
|
-
"pluginType": "core",
|
|
3335
|
-
"strict": true,
|
|
3336
|
-
"enableJsonFlag": false,
|
|
3337
|
-
"isESM": true,
|
|
3338
|
-
"relativePath": [
|
|
3339
|
-
"dist",
|
|
3340
|
-
"commands",
|
|
3341
|
-
"prompts",
|
|
3342
|
-
"get.js"
|
|
3343
|
-
]
|
|
3344
|
-
},
|
|
3345
|
-
"prompts:list": {
|
|
3346
|
-
"aliases": [],
|
|
3347
|
-
"args": {},
|
|
3348
|
-
"description": "List prompts",
|
|
3349
|
-
"flags": {
|
|
3350
|
-
"api-key": {
|
|
3351
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
3352
|
-
"env": "RESPAN_API_KEY",
|
|
3353
|
-
"name": "api-key",
|
|
3354
|
-
"hasDynamicHelp": false,
|
|
3355
|
-
"multiple": false,
|
|
3356
|
-
"type": "option"
|
|
3357
3306
|
},
|
|
3358
|
-
"
|
|
3307
|
+
"limit": {
|
|
3308
|
+
"description": "Number of results per page (max 1000)",
|
|
3309
|
+
"name": "limit",
|
|
3310
|
+
"default": 50,
|
|
3311
|
+
"hasDynamicHelp": false,
|
|
3312
|
+
"multiple": false,
|
|
3313
|
+
"type": "option"
|
|
3314
|
+
},
|
|
3315
|
+
"page": {
|
|
3316
|
+
"description": "Page number",
|
|
3317
|
+
"name": "page",
|
|
3318
|
+
"default": 1,
|
|
3319
|
+
"hasDynamicHelp": false,
|
|
3320
|
+
"multiple": false,
|
|
3321
|
+
"type": "option"
|
|
3322
|
+
},
|
|
3323
|
+
"sort-by": {
|
|
3324
|
+
"description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
|
|
3325
|
+
"name": "sort-by",
|
|
3326
|
+
"hasDynamicHelp": false,
|
|
3327
|
+
"multiple": false,
|
|
3328
|
+
"type": "option"
|
|
3329
|
+
},
|
|
3330
|
+
"start-time": {
|
|
3331
|
+
"description": "Start time filter (ISO 8601)",
|
|
3332
|
+
"name": "start-time",
|
|
3333
|
+
"hasDynamicHelp": false,
|
|
3334
|
+
"multiple": false,
|
|
3335
|
+
"type": "option"
|
|
3336
|
+
},
|
|
3337
|
+
"end-time": {
|
|
3338
|
+
"description": "End time filter (ISO 8601)",
|
|
3339
|
+
"name": "end-time",
|
|
3340
|
+
"hasDynamicHelp": false,
|
|
3341
|
+
"multiple": false,
|
|
3342
|
+
"type": "option"
|
|
3343
|
+
},
|
|
3344
|
+
"filter": {
|
|
3345
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
3346
|
+
"name": "filter",
|
|
3347
|
+
"hasDynamicHelp": false,
|
|
3348
|
+
"multiple": true,
|
|
3349
|
+
"type": "option"
|
|
3350
|
+
},
|
|
3351
|
+
"all-envs": {
|
|
3352
|
+
"description": "Include all environments (true/false)",
|
|
3353
|
+
"name": "all-envs",
|
|
3354
|
+
"hasDynamicHelp": false,
|
|
3355
|
+
"multiple": false,
|
|
3356
|
+
"type": "option"
|
|
3357
|
+
},
|
|
3358
|
+
"is-test": {
|
|
3359
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
3360
|
+
"name": "is-test",
|
|
3361
|
+
"hasDynamicHelp": false,
|
|
3362
|
+
"multiple": false,
|
|
3363
|
+
"type": "option"
|
|
3364
|
+
},
|
|
3365
|
+
"include-fields": {
|
|
3366
|
+
"description": "Comma-separated fields to include in response",
|
|
3367
|
+
"name": "include-fields",
|
|
3368
|
+
"hasDynamicHelp": false,
|
|
3369
|
+
"multiple": false,
|
|
3370
|
+
"type": "option"
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
"hasDynamicHelp": false,
|
|
3374
|
+
"hiddenAliases": [],
|
|
3375
|
+
"id": "logs:list",
|
|
3376
|
+
"pluginAlias": "@respan/cli",
|
|
3377
|
+
"pluginName": "@respan/cli",
|
|
3378
|
+
"pluginType": "core",
|
|
3379
|
+
"strict": true,
|
|
3380
|
+
"enableJsonFlag": false,
|
|
3381
|
+
"isESM": true,
|
|
3382
|
+
"relativePath": [
|
|
3383
|
+
"dist",
|
|
3384
|
+
"commands",
|
|
3385
|
+
"logs",
|
|
3386
|
+
"list.js"
|
|
3387
|
+
]
|
|
3388
|
+
},
|
|
3389
|
+
"logs:summary": {
|
|
3390
|
+
"aliases": [],
|
|
3391
|
+
"args": {},
|
|
3392
|
+
"description": "Get aggregated summary statistics for log spans in a time range.\n\nReturns total cost, total tokens, request count, and score summaries.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (logs):\n model, status_code, status, cost, latency, prompt_tokens,\n completion_tokens, customer_identifier, custom_identifier,\n thread_identifier, trace_unique_id, span_name, span_workflow_name,\n environment, log_type, error_message, failed, provider_id,\n deployment_name, prompt_name, prompt_id, unique_id, stream,\n temperature, max_tokens, tokens_per_second, time_to_first_token,\n total_request_tokens, metadata__<key>, scores__<evaluator_id>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
|
|
3393
|
+
"flags": {
|
|
3394
|
+
"api-key": {
|
|
3395
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
3396
|
+
"env": "RESPAN_API_KEY",
|
|
3397
|
+
"name": "api-key",
|
|
3398
|
+
"hasDynamicHelp": false,
|
|
3399
|
+
"multiple": false,
|
|
3400
|
+
"type": "option"
|
|
3401
|
+
},
|
|
3402
|
+
"base-url": {
|
|
3359
3403
|
"description": "Temporary API base URL override for this command",
|
|
3360
3404
|
"name": "base-url",
|
|
3361
3405
|
"hasDynamicHelp": false,
|
|
@@ -3388,10 +3432,39 @@
|
|
|
3388
3432
|
"allowNo": false,
|
|
3389
3433
|
"type": "boolean"
|
|
3390
3434
|
},
|
|
3391
|
-
"
|
|
3392
|
-
"description": "
|
|
3393
|
-
"name": "
|
|
3394
|
-
"
|
|
3435
|
+
"start-time": {
|
|
3436
|
+
"description": "Start time (ISO 8601)",
|
|
3437
|
+
"name": "start-time",
|
|
3438
|
+
"required": true,
|
|
3439
|
+
"hasDynamicHelp": false,
|
|
3440
|
+
"multiple": false,
|
|
3441
|
+
"type": "option"
|
|
3442
|
+
},
|
|
3443
|
+
"end-time": {
|
|
3444
|
+
"description": "End time (ISO 8601)",
|
|
3445
|
+
"name": "end-time",
|
|
3446
|
+
"required": true,
|
|
3447
|
+
"hasDynamicHelp": false,
|
|
3448
|
+
"multiple": false,
|
|
3449
|
+
"type": "option"
|
|
3450
|
+
},
|
|
3451
|
+
"filter": {
|
|
3452
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
3453
|
+
"name": "filter",
|
|
3454
|
+
"hasDynamicHelp": false,
|
|
3455
|
+
"multiple": true,
|
|
3456
|
+
"type": "option"
|
|
3457
|
+
},
|
|
3458
|
+
"all-envs": {
|
|
3459
|
+
"description": "Include all environments (true/false)",
|
|
3460
|
+
"name": "all-envs",
|
|
3461
|
+
"hasDynamicHelp": false,
|
|
3462
|
+
"multiple": false,
|
|
3463
|
+
"type": "option"
|
|
3464
|
+
},
|
|
3465
|
+
"is-test": {
|
|
3466
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
3467
|
+
"name": "is-test",
|
|
3395
3468
|
"hasDynamicHelp": false,
|
|
3396
3469
|
"multiple": false,
|
|
3397
3470
|
"type": "option"
|
|
@@ -3399,7 +3472,7 @@
|
|
|
3399
3472
|
},
|
|
3400
3473
|
"hasDynamicHelp": false,
|
|
3401
3474
|
"hiddenAliases": [],
|
|
3402
|
-
"id": "
|
|
3475
|
+
"id": "logs:summary",
|
|
3403
3476
|
"pluginAlias": "@respan/cli",
|
|
3404
3477
|
"pluginName": "@respan/cli",
|
|
3405
3478
|
"pluginType": "core",
|
|
@@ -3409,20 +3482,20 @@
|
|
|
3409
3482
|
"relativePath": [
|
|
3410
3483
|
"dist",
|
|
3411
3484
|
"commands",
|
|
3412
|
-
"
|
|
3413
|
-
"
|
|
3485
|
+
"logs",
|
|
3486
|
+
"summary.js"
|
|
3414
3487
|
]
|
|
3415
3488
|
},
|
|
3416
|
-
"prompts:
|
|
3489
|
+
"prompts:create-version": {
|
|
3417
3490
|
"aliases": [],
|
|
3418
3491
|
"args": {
|
|
3419
|
-
"id": {
|
|
3492
|
+
"prompt-id": {
|
|
3420
3493
|
"description": "Prompt ID",
|
|
3421
|
-
"name": "id",
|
|
3494
|
+
"name": "prompt-id",
|
|
3422
3495
|
"required": true
|
|
3423
3496
|
}
|
|
3424
3497
|
},
|
|
3425
|
-
"description": "
|
|
3498
|
+
"description": "Create a new version of a prompt",
|
|
3426
3499
|
"flags": {
|
|
3427
3500
|
"api-key": {
|
|
3428
3501
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3465,16 +3538,31 @@
|
|
|
3465
3538
|
"allowNo": false,
|
|
3466
3539
|
"type": "boolean"
|
|
3467
3540
|
},
|
|
3468
|
-
"
|
|
3469
|
-
"description": "
|
|
3470
|
-
"name": "
|
|
3541
|
+
"messages": {
|
|
3542
|
+
"description": "Messages as JSON array string",
|
|
3543
|
+
"name": "messages",
|
|
3544
|
+
"required": true,
|
|
3471
3545
|
"hasDynamicHelp": false,
|
|
3472
3546
|
"multiple": false,
|
|
3473
3547
|
"type": "option"
|
|
3474
3548
|
},
|
|
3475
|
-
"
|
|
3476
|
-
"description": "
|
|
3477
|
-
"name": "
|
|
3549
|
+
"model": {
|
|
3550
|
+
"description": "Model name",
|
|
3551
|
+
"name": "model",
|
|
3552
|
+
"hasDynamicHelp": false,
|
|
3553
|
+
"multiple": false,
|
|
3554
|
+
"type": "option"
|
|
3555
|
+
},
|
|
3556
|
+
"temperature": {
|
|
3557
|
+
"description": "Temperature value",
|
|
3558
|
+
"name": "temperature",
|
|
3559
|
+
"hasDynamicHelp": false,
|
|
3560
|
+
"multiple": false,
|
|
3561
|
+
"type": "option"
|
|
3562
|
+
},
|
|
3563
|
+
"max-tokens": {
|
|
3564
|
+
"description": "Max tokens",
|
|
3565
|
+
"name": "max-tokens",
|
|
3478
3566
|
"hasDynamicHelp": false,
|
|
3479
3567
|
"multiple": false,
|
|
3480
3568
|
"type": "option"
|
|
@@ -3482,7 +3570,7 @@
|
|
|
3482
3570
|
},
|
|
3483
3571
|
"hasDynamicHelp": false,
|
|
3484
3572
|
"hiddenAliases": [],
|
|
3485
|
-
"id": "prompts:
|
|
3573
|
+
"id": "prompts:create-version",
|
|
3486
3574
|
"pluginAlias": "@respan/cli",
|
|
3487
3575
|
"pluginName": "@respan/cli",
|
|
3488
3576
|
"pluginType": "core",
|
|
@@ -3493,19 +3581,13 @@
|
|
|
3493
3581
|
"dist",
|
|
3494
3582
|
"commands",
|
|
3495
3583
|
"prompts",
|
|
3496
|
-
"
|
|
3584
|
+
"create-version.js"
|
|
3497
3585
|
]
|
|
3498
3586
|
},
|
|
3499
|
-
"prompts:
|
|
3587
|
+
"prompts:create": {
|
|
3500
3588
|
"aliases": [],
|
|
3501
|
-
"args": {
|
|
3502
|
-
|
|
3503
|
-
"description": "Prompt ID",
|
|
3504
|
-
"name": "prompt-id",
|
|
3505
|
-
"required": true
|
|
3506
|
-
}
|
|
3507
|
-
},
|
|
3508
|
-
"description": "List versions of a prompt",
|
|
3589
|
+
"args": {},
|
|
3590
|
+
"description": "Create a new prompt",
|
|
3509
3591
|
"flags": {
|
|
3510
3592
|
"api-key": {
|
|
3511
3593
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3547,11 +3629,26 @@
|
|
|
3547
3629
|
"name": "verbose",
|
|
3548
3630
|
"allowNo": false,
|
|
3549
3631
|
"type": "boolean"
|
|
3632
|
+
},
|
|
3633
|
+
"name": {
|
|
3634
|
+
"description": "Prompt name",
|
|
3635
|
+
"name": "name",
|
|
3636
|
+
"required": true,
|
|
3637
|
+
"hasDynamicHelp": false,
|
|
3638
|
+
"multiple": false,
|
|
3639
|
+
"type": "option"
|
|
3640
|
+
},
|
|
3641
|
+
"description": {
|
|
3642
|
+
"description": "Prompt description",
|
|
3643
|
+
"name": "description",
|
|
3644
|
+
"hasDynamicHelp": false,
|
|
3645
|
+
"multiple": false,
|
|
3646
|
+
"type": "option"
|
|
3550
3647
|
}
|
|
3551
3648
|
},
|
|
3552
3649
|
"hasDynamicHelp": false,
|
|
3553
3650
|
"hiddenAliases": [],
|
|
3554
|
-
"id": "prompts:
|
|
3651
|
+
"id": "prompts:create",
|
|
3555
3652
|
"pluginAlias": "@respan/cli",
|
|
3556
3653
|
"pluginName": "@respan/cli",
|
|
3557
3654
|
"pluginType": "core",
|
|
@@ -3562,17 +3659,19 @@
|
|
|
3562
3659
|
"dist",
|
|
3563
3660
|
"commands",
|
|
3564
3661
|
"prompts",
|
|
3565
|
-
"
|
|
3662
|
+
"create.js"
|
|
3566
3663
|
]
|
|
3567
3664
|
},
|
|
3568
|
-
"
|
|
3665
|
+
"prompts:get": {
|
|
3569
3666
|
"aliases": [],
|
|
3570
|
-
"args": {
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3667
|
+
"args": {
|
|
3668
|
+
"id": {
|
|
3669
|
+
"description": "Prompt ID",
|
|
3670
|
+
"name": "id",
|
|
3671
|
+
"required": true
|
|
3672
|
+
}
|
|
3673
|
+
},
|
|
3674
|
+
"description": "Get a specific prompt",
|
|
3576
3675
|
"flags": {
|
|
3577
3676
|
"api-key": {
|
|
3578
3677
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3614,29 +3713,11 @@
|
|
|
3614
3713
|
"name": "verbose",
|
|
3615
3714
|
"allowNo": false,
|
|
3616
3715
|
"type": "boolean"
|
|
3617
|
-
},
|
|
3618
|
-
"local": {
|
|
3619
|
-
"description": "Check local project setup",
|
|
3620
|
-
"exclusive": [
|
|
3621
|
-
"global"
|
|
3622
|
-
],
|
|
3623
|
-
"name": "local",
|
|
3624
|
-
"allowNo": false,
|
|
3625
|
-
"type": "boolean"
|
|
3626
|
-
},
|
|
3627
|
-
"global": {
|
|
3628
|
-
"description": "Check global setup",
|
|
3629
|
-
"exclusive": [
|
|
3630
|
-
"local"
|
|
3631
|
-
],
|
|
3632
|
-
"name": "global",
|
|
3633
|
-
"allowNo": false,
|
|
3634
|
-
"type": "boolean"
|
|
3635
3716
|
}
|
|
3636
3717
|
},
|
|
3637
3718
|
"hasDynamicHelp": false,
|
|
3638
3719
|
"hiddenAliases": [],
|
|
3639
|
-
"id": "
|
|
3720
|
+
"id": "prompts:get",
|
|
3640
3721
|
"pluginAlias": "@respan/cli",
|
|
3641
3722
|
"pluginName": "@respan/cli",
|
|
3642
3723
|
"pluginType": "core",
|
|
@@ -3646,19 +3727,14 @@
|
|
|
3646
3727
|
"relativePath": [
|
|
3647
3728
|
"dist",
|
|
3648
3729
|
"commands",
|
|
3649
|
-
"
|
|
3650
|
-
"
|
|
3730
|
+
"prompts",
|
|
3731
|
+
"get.js"
|
|
3651
3732
|
]
|
|
3652
3733
|
},
|
|
3653
|
-
"
|
|
3734
|
+
"prompts:list": {
|
|
3654
3735
|
"aliases": [],
|
|
3655
3736
|
"args": {},
|
|
3656
|
-
"description": "
|
|
3657
|
-
"examples": [
|
|
3658
|
-
"respan setup gateway",
|
|
3659
|
-
"respan setup gateway --agent claude-code",
|
|
3660
|
-
"respan setup gateway --no-instrument"
|
|
3661
|
-
],
|
|
3737
|
+
"description": "List prompts",
|
|
3662
3738
|
"flags": {
|
|
3663
3739
|
"api-key": {
|
|
3664
3740
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3683,13 +3759,13 @@
|
|
|
3683
3759
|
"type": "option"
|
|
3684
3760
|
},
|
|
3685
3761
|
"json": {
|
|
3686
|
-
"
|
|
3762
|
+
"description": "Output as JSON",
|
|
3687
3763
|
"name": "json",
|
|
3688
3764
|
"allowNo": false,
|
|
3689
3765
|
"type": "boolean"
|
|
3690
3766
|
},
|
|
3691
3767
|
"csv": {
|
|
3692
|
-
"
|
|
3768
|
+
"description": "Output as CSV",
|
|
3693
3769
|
"name": "csv",
|
|
3694
3770
|
"allowNo": false,
|
|
3695
3771
|
"type": "boolean"
|
|
@@ -3701,23 +3777,18 @@
|
|
|
3701
3777
|
"allowNo": false,
|
|
3702
3778
|
"type": "boolean"
|
|
3703
3779
|
},
|
|
3704
|
-
"
|
|
3705
|
-
"description": "
|
|
3706
|
-
"name": "
|
|
3780
|
+
"limit": {
|
|
3781
|
+
"description": "Number of results per page",
|
|
3782
|
+
"name": "limit",
|
|
3783
|
+
"default": 50,
|
|
3707
3784
|
"hasDynamicHelp": false,
|
|
3708
3785
|
"multiple": false,
|
|
3709
3786
|
"type": "option"
|
|
3710
|
-
},
|
|
3711
|
-
"no-instrument": {
|
|
3712
|
-
"description": "Skip agent selection and opening after setup",
|
|
3713
|
-
"name": "no-instrument",
|
|
3714
|
-
"allowNo": false,
|
|
3715
|
-
"type": "boolean"
|
|
3716
3787
|
}
|
|
3717
3788
|
},
|
|
3718
3789
|
"hasDynamicHelp": false,
|
|
3719
3790
|
"hiddenAliases": [],
|
|
3720
|
-
"id": "
|
|
3791
|
+
"id": "prompts:list",
|
|
3721
3792
|
"pluginAlias": "@respan/cli",
|
|
3722
3793
|
"pluginName": "@respan/cli",
|
|
3723
3794
|
"pluginType": "core",
|
|
@@ -3727,22 +3798,20 @@
|
|
|
3727
3798
|
"relativePath": [
|
|
3728
3799
|
"dist",
|
|
3729
3800
|
"commands",
|
|
3730
|
-
"
|
|
3731
|
-
"
|
|
3801
|
+
"prompts",
|
|
3802
|
+
"list.js"
|
|
3732
3803
|
]
|
|
3733
3804
|
},
|
|
3734
|
-
"
|
|
3805
|
+
"prompts:update": {
|
|
3735
3806
|
"aliases": [],
|
|
3736
|
-
"args": {
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
"respan setup --no-instrument"
|
|
3745
|
-
],
|
|
3807
|
+
"args": {
|
|
3808
|
+
"id": {
|
|
3809
|
+
"description": "Prompt ID",
|
|
3810
|
+
"name": "id",
|
|
3811
|
+
"required": true
|
|
3812
|
+
}
|
|
3813
|
+
},
|
|
3814
|
+
"description": "Update a prompt",
|
|
3746
3815
|
"flags": {
|
|
3747
3816
|
"api-key": {
|
|
3748
3817
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3767,13 +3836,13 @@
|
|
|
3767
3836
|
"type": "option"
|
|
3768
3837
|
},
|
|
3769
3838
|
"json": {
|
|
3770
|
-
"
|
|
3839
|
+
"description": "Output as JSON",
|
|
3771
3840
|
"name": "json",
|
|
3772
3841
|
"allowNo": false,
|
|
3773
3842
|
"type": "boolean"
|
|
3774
3843
|
},
|
|
3775
3844
|
"csv": {
|
|
3776
|
-
"
|
|
3845
|
+
"description": "Output as CSV",
|
|
3777
3846
|
"name": "csv",
|
|
3778
3847
|
"allowNo": false,
|
|
3779
3848
|
"type": "boolean"
|
|
@@ -3785,23 +3854,24 @@
|
|
|
3785
3854
|
"allowNo": false,
|
|
3786
3855
|
"type": "boolean"
|
|
3787
3856
|
},
|
|
3788
|
-
"
|
|
3789
|
-
"description": "
|
|
3790
|
-
"name": "
|
|
3857
|
+
"name": {
|
|
3858
|
+
"description": "Prompt name",
|
|
3859
|
+
"name": "name",
|
|
3791
3860
|
"hasDynamicHelp": false,
|
|
3792
3861
|
"multiple": false,
|
|
3793
3862
|
"type": "option"
|
|
3794
3863
|
},
|
|
3795
|
-
"
|
|
3796
|
-
"description": "
|
|
3797
|
-
"name": "
|
|
3798
|
-
"
|
|
3799
|
-
"
|
|
3864
|
+
"description": {
|
|
3865
|
+
"description": "Prompt description",
|
|
3866
|
+
"name": "description",
|
|
3867
|
+
"hasDynamicHelp": false,
|
|
3868
|
+
"multiple": false,
|
|
3869
|
+
"type": "option"
|
|
3800
3870
|
}
|
|
3801
3871
|
},
|
|
3802
3872
|
"hasDynamicHelp": false,
|
|
3803
3873
|
"hiddenAliases": [],
|
|
3804
|
-
"id": "
|
|
3874
|
+
"id": "prompts:update",
|
|
3805
3875
|
"pluginAlias": "@respan/cli",
|
|
3806
3876
|
"pluginName": "@respan/cli",
|
|
3807
3877
|
"pluginType": "core",
|
|
@@ -3811,19 +3881,20 @@
|
|
|
3811
3881
|
"relativePath": [
|
|
3812
3882
|
"dist",
|
|
3813
3883
|
"commands",
|
|
3814
|
-
"
|
|
3815
|
-
"
|
|
3884
|
+
"prompts",
|
|
3885
|
+
"update.js"
|
|
3816
3886
|
]
|
|
3817
3887
|
},
|
|
3818
|
-
"
|
|
3888
|
+
"prompts:versions": {
|
|
3819
3889
|
"aliases": [],
|
|
3820
|
-
"args": {
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3890
|
+
"args": {
|
|
3891
|
+
"prompt-id": {
|
|
3892
|
+
"description": "Prompt ID",
|
|
3893
|
+
"name": "prompt-id",
|
|
3894
|
+
"required": true
|
|
3895
|
+
}
|
|
3896
|
+
},
|
|
3897
|
+
"description": "List versions of a prompt",
|
|
3827
3898
|
"flags": {
|
|
3828
3899
|
"api-key": {
|
|
3829
3900
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3848,13 +3919,13 @@
|
|
|
3848
3919
|
"type": "option"
|
|
3849
3920
|
},
|
|
3850
3921
|
"json": {
|
|
3851
|
-
"
|
|
3922
|
+
"description": "Output as JSON",
|
|
3852
3923
|
"name": "json",
|
|
3853
3924
|
"allowNo": false,
|
|
3854
3925
|
"type": "boolean"
|
|
3855
3926
|
},
|
|
3856
3927
|
"csv": {
|
|
3857
|
-
"
|
|
3928
|
+
"description": "Output as CSV",
|
|
3858
3929
|
"name": "csv",
|
|
3859
3930
|
"allowNo": false,
|
|
3860
3931
|
"type": "boolean"
|
|
@@ -3865,24 +3936,11 @@
|
|
|
3865
3936
|
"name": "verbose",
|
|
3866
3937
|
"allowNo": false,
|
|
3867
3938
|
"type": "boolean"
|
|
3868
|
-
},
|
|
3869
|
-
"agent": {
|
|
3870
|
-
"description": "Agent to configure (claude-code, cursor, codex-cli, gemini-cli, opencode)",
|
|
3871
|
-
"name": "agent",
|
|
3872
|
-
"hasDynamicHelp": false,
|
|
3873
|
-
"multiple": false,
|
|
3874
|
-
"type": "option"
|
|
3875
|
-
},
|
|
3876
|
-
"no-instrument": {
|
|
3877
|
-
"description": "Skip agent selection and opening after setup",
|
|
3878
|
-
"name": "no-instrument",
|
|
3879
|
-
"allowNo": false,
|
|
3880
|
-
"type": "boolean"
|
|
3881
3939
|
}
|
|
3882
3940
|
},
|
|
3883
3941
|
"hasDynamicHelp": false,
|
|
3884
3942
|
"hiddenAliases": [],
|
|
3885
|
-
"id": "
|
|
3943
|
+
"id": "prompts:versions",
|
|
3886
3944
|
"pluginAlias": "@respan/cli",
|
|
3887
3945
|
"pluginName": "@respan/cli",
|
|
3888
3946
|
"pluginType": "core",
|
|
@@ -3892,20 +3950,18 @@
|
|
|
3892
3950
|
"relativePath": [
|
|
3893
3951
|
"dist",
|
|
3894
3952
|
"commands",
|
|
3895
|
-
"
|
|
3896
|
-
"
|
|
3953
|
+
"prompts",
|
|
3954
|
+
"versions.js"
|
|
3897
3955
|
]
|
|
3898
3956
|
},
|
|
3899
|
-
"
|
|
3957
|
+
"setup:doctor": {
|
|
3900
3958
|
"aliases": [],
|
|
3901
|
-
"args": {
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
},
|
|
3908
|
-
"description": "Get a specific trace",
|
|
3959
|
+
"args": {},
|
|
3960
|
+
"description": "Diagnose coding-agent setup for Respan",
|
|
3961
|
+
"examples": [
|
|
3962
|
+
"respan setup doctor",
|
|
3963
|
+
"respan setup doctor --global"
|
|
3964
|
+
],
|
|
3909
3965
|
"flags": {
|
|
3910
3966
|
"api-key": {
|
|
3911
3967
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3947,11 +4003,29 @@
|
|
|
3947
4003
|
"name": "verbose",
|
|
3948
4004
|
"allowNo": false,
|
|
3949
4005
|
"type": "boolean"
|
|
4006
|
+
},
|
|
4007
|
+
"local": {
|
|
4008
|
+
"description": "Check local project setup",
|
|
4009
|
+
"exclusive": [
|
|
4010
|
+
"global"
|
|
4011
|
+
],
|
|
4012
|
+
"name": "local",
|
|
4013
|
+
"allowNo": false,
|
|
4014
|
+
"type": "boolean"
|
|
4015
|
+
},
|
|
4016
|
+
"global": {
|
|
4017
|
+
"description": "Check global setup",
|
|
4018
|
+
"exclusive": [
|
|
4019
|
+
"local"
|
|
4020
|
+
],
|
|
4021
|
+
"name": "global",
|
|
4022
|
+
"allowNo": false,
|
|
4023
|
+
"type": "boolean"
|
|
3950
4024
|
}
|
|
3951
4025
|
},
|
|
3952
4026
|
"hasDynamicHelp": false,
|
|
3953
4027
|
"hiddenAliases": [],
|
|
3954
|
-
"id": "
|
|
4028
|
+
"id": "setup:doctor",
|
|
3955
4029
|
"pluginAlias": "@respan/cli",
|
|
3956
4030
|
"pluginName": "@respan/cli",
|
|
3957
4031
|
"pluginType": "core",
|
|
@@ -3961,14 +4035,19 @@
|
|
|
3961
4035
|
"relativePath": [
|
|
3962
4036
|
"dist",
|
|
3963
4037
|
"commands",
|
|
3964
|
-
"
|
|
3965
|
-
"
|
|
4038
|
+
"setup",
|
|
4039
|
+
"doctor.js"
|
|
3966
4040
|
]
|
|
3967
4041
|
},
|
|
3968
|
-
"
|
|
4042
|
+
"setup:gateway": {
|
|
3969
4043
|
"aliases": [],
|
|
3970
4044
|
"args": {},
|
|
3971
|
-
"description": "
|
|
4045
|
+
"description": "Deprecated gateway setup entry point. Prints the official gateway setup prompt.",
|
|
4046
|
+
"examples": [
|
|
4047
|
+
"respan setup gateway",
|
|
4048
|
+
"respan setup gateway --agent claude-code",
|
|
4049
|
+
"respan setup gateway --no-instrument"
|
|
4050
|
+
],
|
|
3972
4051
|
"flags": {
|
|
3973
4052
|
"api-key": {
|
|
3974
4053
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4011,79 +4090,47 @@
|
|
|
4011
4090
|
"allowNo": false,
|
|
4012
4091
|
"type": "boolean"
|
|
4013
4092
|
},
|
|
4014
|
-
"
|
|
4015
|
-
"description": "
|
|
4016
|
-
"name": "
|
|
4017
|
-
"default": 10,
|
|
4018
|
-
"hasDynamicHelp": false,
|
|
4019
|
-
"multiple": false,
|
|
4020
|
-
"type": "option"
|
|
4021
|
-
},
|
|
4022
|
-
"page": {
|
|
4023
|
-
"description": "Page number",
|
|
4024
|
-
"name": "page",
|
|
4025
|
-
"default": 1,
|
|
4026
|
-
"hasDynamicHelp": false,
|
|
4027
|
-
"multiple": false,
|
|
4028
|
-
"type": "option"
|
|
4029
|
-
},
|
|
4030
|
-
"sort-by": {
|
|
4031
|
-
"description": "Sort field (prefix with - for descending)",
|
|
4032
|
-
"name": "sort-by",
|
|
4033
|
-
"default": "-timestamp",
|
|
4034
|
-
"hasDynamicHelp": false,
|
|
4035
|
-
"multiple": false,
|
|
4036
|
-
"type": "option"
|
|
4037
|
-
},
|
|
4038
|
-
"start-time": {
|
|
4039
|
-
"description": "Start time filter (ISO 8601)",
|
|
4040
|
-
"name": "start-time",
|
|
4041
|
-
"hasDynamicHelp": false,
|
|
4042
|
-
"multiple": false,
|
|
4043
|
-
"type": "option"
|
|
4044
|
-
},
|
|
4045
|
-
"end-time": {
|
|
4046
|
-
"description": "End time filter (ISO 8601)",
|
|
4047
|
-
"name": "end-time",
|
|
4048
|
-
"hasDynamicHelp": false,
|
|
4049
|
-
"multiple": false,
|
|
4050
|
-
"type": "option"
|
|
4051
|
-
},
|
|
4052
|
-
"environment": {
|
|
4053
|
-
"description": "Environment filter",
|
|
4054
|
-
"name": "environment",
|
|
4093
|
+
"agent": {
|
|
4094
|
+
"description": "Deprecated compatibility flag; no agent is launched",
|
|
4095
|
+
"name": "agent",
|
|
4055
4096
|
"hasDynamicHelp": false,
|
|
4056
4097
|
"multiple": false,
|
|
4057
4098
|
"type": "option"
|
|
4058
4099
|
},
|
|
4059
|
-
"
|
|
4060
|
-
"description": "
|
|
4061
|
-
"name": "
|
|
4062
|
-
"
|
|
4063
|
-
"
|
|
4064
|
-
"type": "option"
|
|
4100
|
+
"no-instrument": {
|
|
4101
|
+
"description": "Deprecated compatibility flag; setup only prints a prompt",
|
|
4102
|
+
"name": "no-instrument",
|
|
4103
|
+
"allowNo": false,
|
|
4104
|
+
"type": "boolean"
|
|
4065
4105
|
}
|
|
4066
4106
|
},
|
|
4067
4107
|
"hasDynamicHelp": false,
|
|
4068
4108
|
"hiddenAliases": [],
|
|
4069
|
-
"id": "
|
|
4109
|
+
"id": "setup:gateway",
|
|
4070
4110
|
"pluginAlias": "@respan/cli",
|
|
4071
4111
|
"pluginName": "@respan/cli",
|
|
4072
4112
|
"pluginType": "core",
|
|
4073
4113
|
"strict": true,
|
|
4074
|
-
"enableJsonFlag": false,
|
|
4075
4114
|
"isESM": true,
|
|
4076
4115
|
"relativePath": [
|
|
4077
4116
|
"dist",
|
|
4078
4117
|
"commands",
|
|
4079
|
-
"
|
|
4080
|
-
"
|
|
4118
|
+
"setup",
|
|
4119
|
+
"gateway.js"
|
|
4081
4120
|
]
|
|
4082
4121
|
},
|
|
4083
|
-
"
|
|
4122
|
+
"setup": {
|
|
4084
4123
|
"aliases": [],
|
|
4085
4124
|
"args": {},
|
|
4086
|
-
"description": "
|
|
4125
|
+
"description": "Deprecated setup entry point. Prints tracing and gateway setup prompts.",
|
|
4126
|
+
"examples": [
|
|
4127
|
+
"npx @respan/cli setup",
|
|
4128
|
+
"respan setup",
|
|
4129
|
+
"respan setup tracing",
|
|
4130
|
+
"respan setup gateway",
|
|
4131
|
+
"respan setup --agent claude-code",
|
|
4132
|
+
"respan setup --no-instrument"
|
|
4133
|
+
],
|
|
4087
4134
|
"flags": {
|
|
4088
4135
|
"api-key": {
|
|
4089
4136
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4126,43 +4173,44 @@
|
|
|
4126
4173
|
"allowNo": false,
|
|
4127
4174
|
"type": "boolean"
|
|
4128
4175
|
},
|
|
4129
|
-
"
|
|
4130
|
-
"description": "
|
|
4131
|
-
"name": "
|
|
4132
|
-
"required": true,
|
|
4176
|
+
"agent": {
|
|
4177
|
+
"description": "Deprecated compatibility flag; no agent is launched",
|
|
4178
|
+
"name": "agent",
|
|
4133
4179
|
"hasDynamicHelp": false,
|
|
4134
4180
|
"multiple": false,
|
|
4135
4181
|
"type": "option"
|
|
4136
4182
|
},
|
|
4137
|
-
"
|
|
4138
|
-
"description": "
|
|
4139
|
-
"name": "
|
|
4140
|
-
"
|
|
4141
|
-
"
|
|
4142
|
-
"multiple": false,
|
|
4143
|
-
"type": "option"
|
|
4183
|
+
"no-instrument": {
|
|
4184
|
+
"description": "Deprecated compatibility flag; setup only prints a prompt",
|
|
4185
|
+
"name": "no-instrument",
|
|
4186
|
+
"allowNo": false,
|
|
4187
|
+
"type": "boolean"
|
|
4144
4188
|
}
|
|
4145
4189
|
},
|
|
4146
4190
|
"hasDynamicHelp": false,
|
|
4147
4191
|
"hiddenAliases": [],
|
|
4148
|
-
"id": "
|
|
4192
|
+
"id": "setup",
|
|
4149
4193
|
"pluginAlias": "@respan/cli",
|
|
4150
4194
|
"pluginName": "@respan/cli",
|
|
4151
4195
|
"pluginType": "core",
|
|
4152
4196
|
"strict": true,
|
|
4153
|
-
"enableJsonFlag": false,
|
|
4154
4197
|
"isESM": true,
|
|
4155
4198
|
"relativePath": [
|
|
4156
4199
|
"dist",
|
|
4157
4200
|
"commands",
|
|
4158
|
-
"
|
|
4159
|
-
"
|
|
4201
|
+
"setup",
|
|
4202
|
+
"index.js"
|
|
4160
4203
|
]
|
|
4161
4204
|
},
|
|
4162
|
-
"
|
|
4205
|
+
"setup:tracing": {
|
|
4163
4206
|
"aliases": [],
|
|
4164
4207
|
"args": {},
|
|
4165
|
-
"description": "
|
|
4208
|
+
"description": "Deprecated tracing setup entry point. Prints the official tracing setup prompt.",
|
|
4209
|
+
"examples": [
|
|
4210
|
+
"respan setup tracing",
|
|
4211
|
+
"respan setup tracing --agent claude-code",
|
|
4212
|
+
"respan setup tracing --no-instrument"
|
|
4213
|
+
],
|
|
4166
4214
|
"flags": {
|
|
4167
4215
|
"api-key": {
|
|
4168
4216
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4196,71 +4244,54 @@
|
|
|
4196
4244
|
"description": "Output as CSV",
|
|
4197
4245
|
"name": "csv",
|
|
4198
4246
|
"allowNo": false,
|
|
4199
|
-
"type": "boolean"
|
|
4200
|
-
},
|
|
4201
|
-
"verbose": {
|
|
4202
|
-
"char": "v",
|
|
4203
|
-
"description": "Show verbose output",
|
|
4204
|
-
"name": "verbose",
|
|
4205
|
-
"allowNo": false,
|
|
4206
|
-
"type": "boolean"
|
|
4207
|
-
},
|
|
4208
|
-
"identifier": {
|
|
4209
|
-
"description": "Customer identifier",
|
|
4210
|
-
"name": "identifier",
|
|
4211
|
-
"required": true,
|
|
4212
|
-
"hasDynamicHelp": false,
|
|
4213
|
-
"multiple": false,
|
|
4214
|
-
"type": "option"
|
|
4215
|
-
},
|
|
4216
|
-
"name": {
|
|
4217
|
-
"description": "Customer name",
|
|
4218
|
-
"name": "name",
|
|
4219
|
-
"hasDynamicHelp": false,
|
|
4220
|
-
"multiple": false,
|
|
4221
|
-
"type": "option"
|
|
4247
|
+
"type": "boolean"
|
|
4222
4248
|
},
|
|
4223
|
-
"
|
|
4224
|
-
"
|
|
4225
|
-
"
|
|
4226
|
-
"
|
|
4227
|
-
"
|
|
4228
|
-
"type": "
|
|
4249
|
+
"verbose": {
|
|
4250
|
+
"char": "v",
|
|
4251
|
+
"description": "Show verbose output",
|
|
4252
|
+
"name": "verbose",
|
|
4253
|
+
"allowNo": false,
|
|
4254
|
+
"type": "boolean"
|
|
4229
4255
|
},
|
|
4230
|
-
"
|
|
4231
|
-
"description": "
|
|
4232
|
-
"name": "
|
|
4256
|
+
"agent": {
|
|
4257
|
+
"description": "Deprecated compatibility flag; no agent is launched",
|
|
4258
|
+
"name": "agent",
|
|
4233
4259
|
"hasDynamicHelp": false,
|
|
4234
4260
|
"multiple": false,
|
|
4235
4261
|
"type": "option"
|
|
4262
|
+
},
|
|
4263
|
+
"no-instrument": {
|
|
4264
|
+
"description": "Deprecated compatibility flag; setup only prints a prompt",
|
|
4265
|
+
"name": "no-instrument",
|
|
4266
|
+
"allowNo": false,
|
|
4267
|
+
"type": "boolean"
|
|
4236
4268
|
}
|
|
4237
4269
|
},
|
|
4238
4270
|
"hasDynamicHelp": false,
|
|
4239
4271
|
"hiddenAliases": [],
|
|
4240
|
-
"id": "
|
|
4272
|
+
"id": "setup:tracing",
|
|
4241
4273
|
"pluginAlias": "@respan/cli",
|
|
4242
4274
|
"pluginName": "@respan/cli",
|
|
4243
4275
|
"pluginType": "core",
|
|
4244
4276
|
"strict": true,
|
|
4245
|
-
"enableJsonFlag": false,
|
|
4246
4277
|
"isESM": true,
|
|
4247
4278
|
"relativePath": [
|
|
4248
4279
|
"dist",
|
|
4249
4280
|
"commands",
|
|
4250
|
-
"
|
|
4251
|
-
"
|
|
4281
|
+
"setup",
|
|
4282
|
+
"tracing.js"
|
|
4252
4283
|
]
|
|
4253
4284
|
},
|
|
4254
|
-
"
|
|
4285
|
+
"traces:get": {
|
|
4255
4286
|
"aliases": [],
|
|
4256
4287
|
"args": {
|
|
4257
4288
|
"id": {
|
|
4258
|
-
"description": "
|
|
4289
|
+
"description": "Trace ID",
|
|
4259
4290
|
"name": "id",
|
|
4260
4291
|
"required": true
|
|
4261
4292
|
}
|
|
4262
4293
|
},
|
|
4263
|
-
"description": "Get a specific
|
|
4294
|
+
"description": "Get a specific trace",
|
|
4264
4295
|
"flags": {
|
|
4265
4296
|
"api-key": {
|
|
4266
4297
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4306,7 +4337,7 @@
|
|
|
4306
4337
|
},
|
|
4307
4338
|
"hasDynamicHelp": false,
|
|
4308
4339
|
"hiddenAliases": [],
|
|
4309
|
-
"id": "
|
|
4340
|
+
"id": "traces:get",
|
|
4310
4341
|
"pluginAlias": "@respan/cli",
|
|
4311
4342
|
"pluginName": "@respan/cli",
|
|
4312
4343
|
"pluginType": "core",
|
|
@@ -4316,14 +4347,14 @@
|
|
|
4316
4347
|
"relativePath": [
|
|
4317
4348
|
"dist",
|
|
4318
4349
|
"commands",
|
|
4319
|
-
"
|
|
4350
|
+
"traces",
|
|
4320
4351
|
"get.js"
|
|
4321
4352
|
]
|
|
4322
4353
|
},
|
|
4323
|
-
"
|
|
4354
|
+
"traces:list": {
|
|
4324
4355
|
"aliases": [],
|
|
4325
4356
|
"args": {},
|
|
4326
|
-
"description": "List
|
|
4357
|
+
"description": "List and filter traces.\n\nA trace represents a complete workflow execution containing multiple spans.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (traces):\n trace_unique_id, customer_identifier, environment, span_count,\n llm_call_count, error_count, total_cost, total_tokens,\n total_prompt_tokens, total_completion_tokens, duration,\n span_workflow_name, metadata__<key>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
|
|
4327
4358
|
"flags": {
|
|
4328
4359
|
"api-key": {
|
|
4329
4360
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4369,7 +4400,7 @@
|
|
|
4369
4400
|
"limit": {
|
|
4370
4401
|
"description": "Number of results per page",
|
|
4371
4402
|
"name": "limit",
|
|
4372
|
-
"default":
|
|
4403
|
+
"default": 10,
|
|
4373
4404
|
"hasDynamicHelp": false,
|
|
4374
4405
|
"multiple": false,
|
|
4375
4406
|
"type": "option"
|
|
@@ -4383,8 +4414,23 @@
|
|
|
4383
4414
|
"type": "option"
|
|
4384
4415
|
},
|
|
4385
4416
|
"sort-by": {
|
|
4386
|
-
"description": "Sort field",
|
|
4417
|
+
"description": "Sort field (prefix with - for descending)",
|
|
4387
4418
|
"name": "sort-by",
|
|
4419
|
+
"default": "-timestamp",
|
|
4420
|
+
"hasDynamicHelp": false,
|
|
4421
|
+
"multiple": false,
|
|
4422
|
+
"type": "option"
|
|
4423
|
+
},
|
|
4424
|
+
"start-time": {
|
|
4425
|
+
"description": "Start time filter (ISO 8601)",
|
|
4426
|
+
"name": "start-time",
|
|
4427
|
+
"hasDynamicHelp": false,
|
|
4428
|
+
"multiple": false,
|
|
4429
|
+
"type": "option"
|
|
4430
|
+
},
|
|
4431
|
+
"end-time": {
|
|
4432
|
+
"description": "End time filter (ISO 8601)",
|
|
4433
|
+
"name": "end-time",
|
|
4388
4434
|
"hasDynamicHelp": false,
|
|
4389
4435
|
"multiple": false,
|
|
4390
4436
|
"type": "option"
|
|
@@ -4395,11 +4441,18 @@
|
|
|
4395
4441
|
"hasDynamicHelp": false,
|
|
4396
4442
|
"multiple": false,
|
|
4397
4443
|
"type": "option"
|
|
4444
|
+
},
|
|
4445
|
+
"filter": {
|
|
4446
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
4447
|
+
"name": "filter",
|
|
4448
|
+
"hasDynamicHelp": false,
|
|
4449
|
+
"multiple": true,
|
|
4450
|
+
"type": "option"
|
|
4398
4451
|
}
|
|
4399
4452
|
},
|
|
4400
4453
|
"hasDynamicHelp": false,
|
|
4401
4454
|
"hiddenAliases": [],
|
|
4402
|
-
"id": "
|
|
4455
|
+
"id": "traces:list",
|
|
4403
4456
|
"pluginAlias": "@respan/cli",
|
|
4404
4457
|
"pluginName": "@respan/cli",
|
|
4405
4458
|
"pluginType": "core",
|
|
@@ -4409,20 +4462,14 @@
|
|
|
4409
4462
|
"relativePath": [
|
|
4410
4463
|
"dist",
|
|
4411
4464
|
"commands",
|
|
4412
|
-
"
|
|
4465
|
+
"traces",
|
|
4413
4466
|
"list.js"
|
|
4414
4467
|
]
|
|
4415
4468
|
},
|
|
4416
|
-
"
|
|
4469
|
+
"traces:summary": {
|
|
4417
4470
|
"aliases": [],
|
|
4418
|
-
"args": {
|
|
4419
|
-
|
|
4420
|
-
"description": "Customer identifier",
|
|
4421
|
-
"name": "id",
|
|
4422
|
-
"required": true
|
|
4423
|
-
}
|
|
4424
|
-
},
|
|
4425
|
-
"description": "Update a user (customer)",
|
|
4471
|
+
"args": {},
|
|
4472
|
+
"description": "Get a span-level summary of activity for a time range (counts, latency, cost, errors aggregated across spans)",
|
|
4426
4473
|
"flags": {
|
|
4427
4474
|
"api-key": {
|
|
4428
4475
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4465,23 +4512,18 @@
|
|
|
4465
4512
|
"allowNo": false,
|
|
4466
4513
|
"type": "boolean"
|
|
4467
4514
|
},
|
|
4468
|
-
"
|
|
4469
|
-
"description": "
|
|
4470
|
-
"name": "
|
|
4471
|
-
"
|
|
4472
|
-
"multiple": false,
|
|
4473
|
-
"type": "option"
|
|
4474
|
-
},
|
|
4475
|
-
"email": {
|
|
4476
|
-
"description": "Customer email",
|
|
4477
|
-
"name": "email",
|
|
4515
|
+
"start-time": {
|
|
4516
|
+
"description": "Start time (ISO 8601)",
|
|
4517
|
+
"name": "start-time",
|
|
4518
|
+
"required": true,
|
|
4478
4519
|
"hasDynamicHelp": false,
|
|
4479
4520
|
"multiple": false,
|
|
4480
4521
|
"type": "option"
|
|
4481
4522
|
},
|
|
4482
|
-
"
|
|
4483
|
-
"description": "
|
|
4484
|
-
"name": "
|
|
4523
|
+
"end-time": {
|
|
4524
|
+
"description": "End time (ISO 8601)",
|
|
4525
|
+
"name": "end-time",
|
|
4526
|
+
"required": true,
|
|
4485
4527
|
"hasDynamicHelp": false,
|
|
4486
4528
|
"multiple": false,
|
|
4487
4529
|
"type": "option"
|
|
@@ -4489,7 +4531,7 @@
|
|
|
4489
4531
|
},
|
|
4490
4532
|
"hasDynamicHelp": false,
|
|
4491
4533
|
"hiddenAliases": [],
|
|
4492
|
-
"id": "
|
|
4534
|
+
"id": "traces:summary",
|
|
4493
4535
|
"pluginAlias": "@respan/cli",
|
|
4494
4536
|
"pluginName": "@respan/cli",
|
|
4495
4537
|
"pluginType": "core",
|
|
@@ -4499,14 +4541,14 @@
|
|
|
4499
4541
|
"relativePath": [
|
|
4500
4542
|
"dist",
|
|
4501
4543
|
"commands",
|
|
4502
|
-
"
|
|
4503
|
-
"
|
|
4544
|
+
"traces",
|
|
4545
|
+
"summary.js"
|
|
4504
4546
|
]
|
|
4505
4547
|
},
|
|
4506
|
-
"
|
|
4548
|
+
"users:create": {
|
|
4507
4549
|
"aliases": [],
|
|
4508
4550
|
"args": {},
|
|
4509
|
-
"description": "Create a
|
|
4551
|
+
"description": "Create a new user (customer)",
|
|
4510
4552
|
"flags": {
|
|
4511
4553
|
"api-key": {
|
|
4512
4554
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4549,24 +4591,24 @@
|
|
|
4549
4591
|
"allowNo": false,
|
|
4550
4592
|
"type": "boolean"
|
|
4551
4593
|
},
|
|
4552
|
-
"
|
|
4553
|
-
"description": "
|
|
4554
|
-
"name": "
|
|
4594
|
+
"identifier": {
|
|
4595
|
+
"description": "Customer identifier",
|
|
4596
|
+
"name": "identifier",
|
|
4555
4597
|
"required": true,
|
|
4556
4598
|
"hasDynamicHelp": false,
|
|
4557
4599
|
"multiple": false,
|
|
4558
4600
|
"type": "option"
|
|
4559
4601
|
},
|
|
4560
|
-
"
|
|
4561
|
-
"description": "
|
|
4562
|
-
"name": "
|
|
4602
|
+
"name": {
|
|
4603
|
+
"description": "Customer name",
|
|
4604
|
+
"name": "name",
|
|
4563
4605
|
"hasDynamicHelp": false,
|
|
4564
4606
|
"multiple": false,
|
|
4565
4607
|
"type": "option"
|
|
4566
4608
|
},
|
|
4567
|
-
"
|
|
4568
|
-
"description": "
|
|
4569
|
-
"name": "
|
|
4609
|
+
"email": {
|
|
4610
|
+
"description": "Customer email",
|
|
4611
|
+
"name": "email",
|
|
4570
4612
|
"hasDynamicHelp": false,
|
|
4571
4613
|
"multiple": false,
|
|
4572
4614
|
"type": "option"
|
|
@@ -4581,7 +4623,7 @@
|
|
|
4581
4623
|
},
|
|
4582
4624
|
"hasDynamicHelp": false,
|
|
4583
4625
|
"hiddenAliases": [],
|
|
4584
|
-
"id": "
|
|
4626
|
+
"id": "users:create",
|
|
4585
4627
|
"pluginAlias": "@respan/cli",
|
|
4586
4628
|
"pluginName": "@respan/cli",
|
|
4587
4629
|
"pluginType": "core",
|
|
@@ -4591,20 +4633,20 @@
|
|
|
4591
4633
|
"relativePath": [
|
|
4592
4634
|
"dist",
|
|
4593
4635
|
"commands",
|
|
4594
|
-
"
|
|
4636
|
+
"users",
|
|
4595
4637
|
"create.js"
|
|
4596
4638
|
]
|
|
4597
4639
|
},
|
|
4598
|
-
"
|
|
4640
|
+
"users:get": {
|
|
4599
4641
|
"aliases": [],
|
|
4600
4642
|
"args": {
|
|
4601
4643
|
"id": {
|
|
4602
|
-
"description": "
|
|
4644
|
+
"description": "Customer identifier",
|
|
4603
4645
|
"name": "id",
|
|
4604
4646
|
"required": true
|
|
4605
4647
|
}
|
|
4606
4648
|
},
|
|
4607
|
-
"description": "Get a specific
|
|
4649
|
+
"description": "Get a specific user (customer)",
|
|
4608
4650
|
"flags": {
|
|
4609
4651
|
"api-key": {
|
|
4610
4652
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4650,7 +4692,7 @@
|
|
|
4650
4692
|
},
|
|
4651
4693
|
"hasDynamicHelp": false,
|
|
4652
4694
|
"hiddenAliases": [],
|
|
4653
|
-
"id": "
|
|
4695
|
+
"id": "users:get",
|
|
4654
4696
|
"pluginAlias": "@respan/cli",
|
|
4655
4697
|
"pluginName": "@respan/cli",
|
|
4656
4698
|
"pluginType": "core",
|
|
@@ -4660,14 +4702,14 @@
|
|
|
4660
4702
|
"relativePath": [
|
|
4661
4703
|
"dist",
|
|
4662
4704
|
"commands",
|
|
4663
|
-
"
|
|
4705
|
+
"users",
|
|
4664
4706
|
"get.js"
|
|
4665
4707
|
]
|
|
4666
4708
|
},
|
|
4667
|
-
"
|
|
4709
|
+
"users:list": {
|
|
4668
4710
|
"aliases": [],
|
|
4669
4711
|
"args": {},
|
|
4670
|
-
"description": "List
|
|
4712
|
+
"description": "List users (customers)",
|
|
4671
4713
|
"flags": {
|
|
4672
4714
|
"api-key": {
|
|
4673
4715
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4711,9 +4753,9 @@
|
|
|
4711
4753
|
"type": "boolean"
|
|
4712
4754
|
},
|
|
4713
4755
|
"limit": {
|
|
4714
|
-
"description": "Number of results per page
|
|
4756
|
+
"description": "Number of results per page",
|
|
4715
4757
|
"name": "limit",
|
|
4716
|
-
"default":
|
|
4758
|
+
"default": 20,
|
|
4717
4759
|
"hasDynamicHelp": false,
|
|
4718
4760
|
"multiple": false,
|
|
4719
4761
|
"type": "option"
|
|
@@ -4727,50 +4769,15 @@
|
|
|
4727
4769
|
"type": "option"
|
|
4728
4770
|
},
|
|
4729
4771
|
"sort-by": {
|
|
4730
|
-
"description": "Sort field
|
|
4772
|
+
"description": "Sort field",
|
|
4731
4773
|
"name": "sort-by",
|
|
4732
4774
|
"hasDynamicHelp": false,
|
|
4733
4775
|
"multiple": false,
|
|
4734
4776
|
"type": "option"
|
|
4735
4777
|
},
|
|
4736
|
-
"
|
|
4737
|
-
"description": "
|
|
4738
|
-
"name": "
|
|
4739
|
-
"hasDynamicHelp": false,
|
|
4740
|
-
"multiple": false,
|
|
4741
|
-
"type": "option"
|
|
4742
|
-
},
|
|
4743
|
-
"end-time": {
|
|
4744
|
-
"description": "End time filter (ISO 8601)",
|
|
4745
|
-
"name": "end-time",
|
|
4746
|
-
"hasDynamicHelp": false,
|
|
4747
|
-
"multiple": false,
|
|
4748
|
-
"type": "option"
|
|
4749
|
-
},
|
|
4750
|
-
"filter": {
|
|
4751
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
4752
|
-
"name": "filter",
|
|
4753
|
-
"hasDynamicHelp": false,
|
|
4754
|
-
"multiple": true,
|
|
4755
|
-
"type": "option"
|
|
4756
|
-
},
|
|
4757
|
-
"all-envs": {
|
|
4758
|
-
"description": "Include all environments (true/false)",
|
|
4759
|
-
"name": "all-envs",
|
|
4760
|
-
"hasDynamicHelp": false,
|
|
4761
|
-
"multiple": false,
|
|
4762
|
-
"type": "option"
|
|
4763
|
-
},
|
|
4764
|
-
"is-test": {
|
|
4765
|
-
"description": "Filter by test (true) or production (false) environment",
|
|
4766
|
-
"name": "is-test",
|
|
4767
|
-
"hasDynamicHelp": false,
|
|
4768
|
-
"multiple": false,
|
|
4769
|
-
"type": "option"
|
|
4770
|
-
},
|
|
4771
|
-
"include-fields": {
|
|
4772
|
-
"description": "Comma-separated fields to include in response",
|
|
4773
|
-
"name": "include-fields",
|
|
4778
|
+
"environment": {
|
|
4779
|
+
"description": "Environment filter",
|
|
4780
|
+
"name": "environment",
|
|
4774
4781
|
"hasDynamicHelp": false,
|
|
4775
4782
|
"multiple": false,
|
|
4776
4783
|
"type": "option"
|
|
@@ -4778,7 +4785,7 @@
|
|
|
4778
4785
|
},
|
|
4779
4786
|
"hasDynamicHelp": false,
|
|
4780
4787
|
"hiddenAliases": [],
|
|
4781
|
-
"id": "
|
|
4788
|
+
"id": "users:list",
|
|
4782
4789
|
"pluginAlias": "@respan/cli",
|
|
4783
4790
|
"pluginName": "@respan/cli",
|
|
4784
4791
|
"pluginType": "core",
|
|
@@ -4788,14 +4795,20 @@
|
|
|
4788
4795
|
"relativePath": [
|
|
4789
4796
|
"dist",
|
|
4790
4797
|
"commands",
|
|
4791
|
-
"
|
|
4798
|
+
"users",
|
|
4792
4799
|
"list.js"
|
|
4793
4800
|
]
|
|
4794
4801
|
},
|
|
4795
|
-
"
|
|
4802
|
+
"users:update": {
|
|
4796
4803
|
"aliases": [],
|
|
4797
|
-
"args": {
|
|
4798
|
-
|
|
4804
|
+
"args": {
|
|
4805
|
+
"id": {
|
|
4806
|
+
"description": "Customer identifier",
|
|
4807
|
+
"name": "id",
|
|
4808
|
+
"required": true
|
|
4809
|
+
}
|
|
4810
|
+
},
|
|
4811
|
+
"description": "Update a user (customer)",
|
|
4799
4812
|
"flags": {
|
|
4800
4813
|
"api-key": {
|
|
4801
4814
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4838,39 +4851,23 @@
|
|
|
4838
4851
|
"allowNo": false,
|
|
4839
4852
|
"type": "boolean"
|
|
4840
4853
|
},
|
|
4841
|
-
"
|
|
4842
|
-
"description": "
|
|
4843
|
-
"name": "
|
|
4844
|
-
"required": true,
|
|
4845
|
-
"hasDynamicHelp": false,
|
|
4846
|
-
"multiple": false,
|
|
4847
|
-
"type": "option"
|
|
4848
|
-
},
|
|
4849
|
-
"end-time": {
|
|
4850
|
-
"description": "End time (ISO 8601)",
|
|
4851
|
-
"name": "end-time",
|
|
4852
|
-
"required": true,
|
|
4854
|
+
"name": {
|
|
4855
|
+
"description": "Customer name",
|
|
4856
|
+
"name": "name",
|
|
4853
4857
|
"hasDynamicHelp": false,
|
|
4854
4858
|
"multiple": false,
|
|
4855
4859
|
"type": "option"
|
|
4856
4860
|
},
|
|
4857
|
-
"
|
|
4858
|
-
"description": "
|
|
4859
|
-
"name": "
|
|
4860
|
-
"hasDynamicHelp": false,
|
|
4861
|
-
"multiple": true,
|
|
4862
|
-
"type": "option"
|
|
4863
|
-
},
|
|
4864
|
-
"all-envs": {
|
|
4865
|
-
"description": "Include all environments (true/false)",
|
|
4866
|
-
"name": "all-envs",
|
|
4861
|
+
"email": {
|
|
4862
|
+
"description": "Customer email",
|
|
4863
|
+
"name": "email",
|
|
4867
4864
|
"hasDynamicHelp": false,
|
|
4868
4865
|
"multiple": false,
|
|
4869
4866
|
"type": "option"
|
|
4870
4867
|
},
|
|
4871
|
-
"
|
|
4872
|
-
"description": "
|
|
4873
|
-
"name": "
|
|
4868
|
+
"metadata": {
|
|
4869
|
+
"description": "Metadata as JSON string",
|
|
4870
|
+
"name": "metadata",
|
|
4874
4871
|
"hasDynamicHelp": false,
|
|
4875
4872
|
"multiple": false,
|
|
4876
4873
|
"type": "option"
|
|
@@ -4878,7 +4875,7 @@
|
|
|
4878
4875
|
},
|
|
4879
4876
|
"hasDynamicHelp": false,
|
|
4880
4877
|
"hiddenAliases": [],
|
|
4881
|
-
"id": "
|
|
4878
|
+
"id": "users:update",
|
|
4882
4879
|
"pluginAlias": "@respan/cli",
|
|
4883
4880
|
"pluginName": "@respan/cli",
|
|
4884
4881
|
"pluginType": "core",
|
|
@@ -4888,10 +4885,10 @@
|
|
|
4888
4885
|
"relativePath": [
|
|
4889
4886
|
"dist",
|
|
4890
4887
|
"commands",
|
|
4891
|
-
"
|
|
4892
|
-
"
|
|
4888
|
+
"users",
|
|
4889
|
+
"update.js"
|
|
4893
4890
|
]
|
|
4894
4891
|
}
|
|
4895
4892
|
},
|
|
4896
|
-
"version": "0.
|
|
4893
|
+
"version": "0.15.0"
|
|
4897
4894
|
}
|