@respan/cli 0.5.3 → 0.6.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/auth/login.js +2 -2
- package/dist/commands/integrate/claude-code.js +9 -28
- package/dist/commands/integrate/codex-cli.js +7 -27
- package/dist/commands/integrate/gemini-cli.js +99 -53
- package/dist/hooks/claude-code.cjs +951 -0
- package/dist/hooks/claude-code.d.ts +1 -0
- package/dist/hooks/claude-code.js +641 -0
- package/dist/hooks/codex-cli.cjs +782 -0
- package/dist/hooks/codex-cli.d.ts +1 -0
- package/dist/hooks/codex-cli.js +457 -0
- package/dist/hooks/gemini-cli.cjs +825 -0
- package/dist/hooks/gemini-cli.d.ts +1 -0
- package/dist/hooks/gemini-cli.js +561 -0
- package/dist/hooks/shared.d.ts +82 -0
- package/dist/hooks/shared.js +461 -0
- package/dist/lib/integrate.d.ts +3 -3
- package/dist/lib/integrate.js +4 -8
- package/oclif.manifest.json +553 -553
- package/package.json +6 -3
- package/dist/assets/codex_hook.py +0 -897
- package/dist/assets/hook.py +0 -1052
package/oclif.manifest.json
CHANGED
|
@@ -1944,17 +1944,16 @@
|
|
|
1944
1944
|
"summary.js"
|
|
1945
1945
|
]
|
|
1946
1946
|
},
|
|
1947
|
-
"
|
|
1947
|
+
"prompts:create-version": {
|
|
1948
1948
|
"aliases": [],
|
|
1949
|
-
"args": {
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
],
|
|
1949
|
+
"args": {
|
|
1950
|
+
"prompt-id": {
|
|
1951
|
+
"description": "Prompt ID",
|
|
1952
|
+
"name": "prompt-id",
|
|
1953
|
+
"required": true
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1956
|
+
"description": "Create a new version of a prompt",
|
|
1958
1957
|
"flags": {
|
|
1959
1958
|
"api-key": {
|
|
1960
1959
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1990,80 +1989,39 @@
|
|
|
1990
1989
|
"allowNo": false,
|
|
1991
1990
|
"type": "boolean"
|
|
1992
1991
|
},
|
|
1993
|
-
"
|
|
1994
|
-
"description": "
|
|
1995
|
-
"
|
|
1996
|
-
|
|
1997
|
-
],
|
|
1998
|
-
"name": "local",
|
|
1999
|
-
"allowNo": false,
|
|
2000
|
-
"type": "boolean"
|
|
2001
|
-
},
|
|
2002
|
-
"global": {
|
|
2003
|
-
"description": "Write user-level global config",
|
|
2004
|
-
"exclusive": [
|
|
2005
|
-
"local"
|
|
2006
|
-
],
|
|
2007
|
-
"name": "global",
|
|
2008
|
-
"allowNo": false,
|
|
2009
|
-
"type": "boolean"
|
|
2010
|
-
},
|
|
2011
|
-
"project-id": {
|
|
2012
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2013
|
-
"env": "RESPAN_PROJECT_ID",
|
|
2014
|
-
"name": "project-id",
|
|
2015
|
-
"hasDynamicHelp": false,
|
|
2016
|
-
"multiple": false,
|
|
2017
|
-
"type": "option"
|
|
2018
|
-
},
|
|
2019
|
-
"base-url": {
|
|
2020
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
2021
|
-
"name": "base-url",
|
|
2022
|
-
"default": "https://api.respan.ai/api",
|
|
2023
|
-
"hasDynamicHelp": false,
|
|
2024
|
-
"multiple": false,
|
|
2025
|
-
"type": "option"
|
|
2026
|
-
},
|
|
2027
|
-
"attrs": {
|
|
2028
|
-
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
2029
|
-
"name": "attrs",
|
|
2030
|
-
"default": "{}",
|
|
1992
|
+
"messages": {
|
|
1993
|
+
"description": "Messages as JSON array string",
|
|
1994
|
+
"name": "messages",
|
|
1995
|
+
"required": true,
|
|
2031
1996
|
"hasDynamicHelp": false,
|
|
2032
1997
|
"multiple": false,
|
|
2033
1998
|
"type": "option"
|
|
2034
1999
|
},
|
|
2035
|
-
"
|
|
2036
|
-
"description": "
|
|
2037
|
-
"
|
|
2038
|
-
"name": "customer-id",
|
|
2000
|
+
"model": {
|
|
2001
|
+
"description": "Model name",
|
|
2002
|
+
"name": "model",
|
|
2039
2003
|
"hasDynamicHelp": false,
|
|
2040
2004
|
"multiple": false,
|
|
2041
2005
|
"type": "option"
|
|
2042
2006
|
},
|
|
2043
|
-
"
|
|
2044
|
-
"description": "
|
|
2045
|
-
"name": "
|
|
2007
|
+
"temperature": {
|
|
2008
|
+
"description": "Temperature value",
|
|
2009
|
+
"name": "temperature",
|
|
2046
2010
|
"hasDynamicHelp": false,
|
|
2047
2011
|
"multiple": false,
|
|
2048
2012
|
"type": "option"
|
|
2049
2013
|
},
|
|
2050
|
-
"
|
|
2051
|
-
"description": "
|
|
2052
|
-
"name": "
|
|
2014
|
+
"max-tokens": {
|
|
2015
|
+
"description": "Max tokens",
|
|
2016
|
+
"name": "max-tokens",
|
|
2053
2017
|
"hasDynamicHelp": false,
|
|
2054
2018
|
"multiple": false,
|
|
2055
2019
|
"type": "option"
|
|
2056
|
-
},
|
|
2057
|
-
"dry-run": {
|
|
2058
|
-
"description": "Preview changes without writing files",
|
|
2059
|
-
"name": "dry-run",
|
|
2060
|
-
"allowNo": false,
|
|
2061
|
-
"type": "boolean"
|
|
2062
2020
|
}
|
|
2063
2021
|
},
|
|
2064
2022
|
"hasDynamicHelp": false,
|
|
2065
2023
|
"hiddenAliases": [],
|
|
2066
|
-
"id": "
|
|
2024
|
+
"id": "prompts:create-version",
|
|
2067
2025
|
"pluginAlias": "@respan/cli",
|
|
2068
2026
|
"pluginName": "@respan/cli",
|
|
2069
2027
|
"pluginType": "core",
|
|
@@ -2073,21 +2031,14 @@
|
|
|
2073
2031
|
"relativePath": [
|
|
2074
2032
|
"dist",
|
|
2075
2033
|
"commands",
|
|
2076
|
-
"
|
|
2077
|
-
"
|
|
2034
|
+
"prompts",
|
|
2035
|
+
"create-version.js"
|
|
2078
2036
|
]
|
|
2079
2037
|
},
|
|
2080
|
-
"
|
|
2038
|
+
"prompts:create": {
|
|
2081
2039
|
"aliases": [],
|
|
2082
2040
|
"args": {},
|
|
2083
|
-
"description": "
|
|
2084
|
-
"examples": [
|
|
2085
|
-
"respan integrate codex-cli",
|
|
2086
|
-
"respan integrate codex-cli --global",
|
|
2087
|
-
"respan integrate codex-cli --local --customer-id frank",
|
|
2088
|
-
"respan integrate codex-cli --attrs '{\"env\":\"prod\"}'",
|
|
2089
|
-
"respan integrate codex-cli --dry-run"
|
|
2090
|
-
],
|
|
2041
|
+
"description": "Create a new prompt",
|
|
2091
2042
|
"flags": {
|
|
2092
2043
|
"api-key": {
|
|
2093
2044
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2123,80 +2074,87 @@
|
|
|
2123
2074
|
"allowNo": false,
|
|
2124
2075
|
"type": "boolean"
|
|
2125
2076
|
},
|
|
2126
|
-
"
|
|
2127
|
-
"description": "
|
|
2128
|
-
"
|
|
2129
|
-
|
|
2130
|
-
],
|
|
2131
|
-
"name": "local",
|
|
2132
|
-
"allowNo": false,
|
|
2133
|
-
"type": "boolean"
|
|
2134
|
-
},
|
|
2135
|
-
"global": {
|
|
2136
|
-
"description": "Write user-level global config",
|
|
2137
|
-
"exclusive": [
|
|
2138
|
-
"local"
|
|
2139
|
-
],
|
|
2140
|
-
"name": "global",
|
|
2141
|
-
"allowNo": false,
|
|
2142
|
-
"type": "boolean"
|
|
2143
|
-
},
|
|
2144
|
-
"project-id": {
|
|
2145
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2146
|
-
"env": "RESPAN_PROJECT_ID",
|
|
2147
|
-
"name": "project-id",
|
|
2077
|
+
"name": {
|
|
2078
|
+
"description": "Prompt name",
|
|
2079
|
+
"name": "name",
|
|
2080
|
+
"required": true,
|
|
2148
2081
|
"hasDynamicHelp": false,
|
|
2149
2082
|
"multiple": false,
|
|
2150
2083
|
"type": "option"
|
|
2151
2084
|
},
|
|
2152
|
-
"
|
|
2153
|
-
"description": "
|
|
2154
|
-
"name": "
|
|
2155
|
-
"default": "https://api.respan.ai/api",
|
|
2085
|
+
"description": {
|
|
2086
|
+
"description": "Prompt description",
|
|
2087
|
+
"name": "description",
|
|
2156
2088
|
"hasDynamicHelp": false,
|
|
2157
2089
|
"multiple": false,
|
|
2158
2090
|
"type": "option"
|
|
2159
|
-
}
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
"hasDynamicHelp": false,
|
|
2094
|
+
"hiddenAliases": [],
|
|
2095
|
+
"id": "prompts:create",
|
|
2096
|
+
"pluginAlias": "@respan/cli",
|
|
2097
|
+
"pluginName": "@respan/cli",
|
|
2098
|
+
"pluginType": "core",
|
|
2099
|
+
"strict": true,
|
|
2100
|
+
"enableJsonFlag": false,
|
|
2101
|
+
"isESM": true,
|
|
2102
|
+
"relativePath": [
|
|
2103
|
+
"dist",
|
|
2104
|
+
"commands",
|
|
2105
|
+
"prompts",
|
|
2106
|
+
"create.js"
|
|
2107
|
+
]
|
|
2108
|
+
},
|
|
2109
|
+
"prompts:get": {
|
|
2110
|
+
"aliases": [],
|
|
2111
|
+
"args": {
|
|
2112
|
+
"id": {
|
|
2113
|
+
"description": "Prompt ID",
|
|
2114
|
+
"name": "id",
|
|
2115
|
+
"required": true
|
|
2116
|
+
}
|
|
2117
|
+
},
|
|
2118
|
+
"description": "Get a specific prompt",
|
|
2119
|
+
"flags": {
|
|
2120
|
+
"api-key": {
|
|
2121
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
2122
|
+
"env": "RESPAN_API_KEY",
|
|
2123
|
+
"name": "api-key",
|
|
2164
2124
|
"hasDynamicHelp": false,
|
|
2165
2125
|
"multiple": false,
|
|
2166
2126
|
"type": "option"
|
|
2167
2127
|
},
|
|
2168
|
-
"
|
|
2169
|
-
"description": "
|
|
2170
|
-
"
|
|
2171
|
-
"name": "customer-id",
|
|
2128
|
+
"profile": {
|
|
2129
|
+
"description": "Named profile to use",
|
|
2130
|
+
"name": "profile",
|
|
2172
2131
|
"hasDynamicHelp": false,
|
|
2173
2132
|
"multiple": false,
|
|
2174
2133
|
"type": "option"
|
|
2175
2134
|
},
|
|
2176
|
-
"
|
|
2177
|
-
"description": "
|
|
2178
|
-
"name": "
|
|
2179
|
-
"
|
|
2180
|
-
"
|
|
2181
|
-
"type": "option"
|
|
2135
|
+
"json": {
|
|
2136
|
+
"description": "Output as JSON",
|
|
2137
|
+
"name": "json",
|
|
2138
|
+
"allowNo": false,
|
|
2139
|
+
"type": "boolean"
|
|
2182
2140
|
},
|
|
2183
|
-
"
|
|
2184
|
-
"description": "
|
|
2185
|
-
"name": "
|
|
2186
|
-
"
|
|
2187
|
-
"
|
|
2188
|
-
"type": "option"
|
|
2141
|
+
"csv": {
|
|
2142
|
+
"description": "Output as CSV",
|
|
2143
|
+
"name": "csv",
|
|
2144
|
+
"allowNo": false,
|
|
2145
|
+
"type": "boolean"
|
|
2189
2146
|
},
|
|
2190
|
-
"
|
|
2191
|
-
"
|
|
2192
|
-
"
|
|
2147
|
+
"verbose": {
|
|
2148
|
+
"char": "v",
|
|
2149
|
+
"description": "Show verbose output",
|
|
2150
|
+
"name": "verbose",
|
|
2193
2151
|
"allowNo": false,
|
|
2194
2152
|
"type": "boolean"
|
|
2195
2153
|
}
|
|
2196
2154
|
},
|
|
2197
2155
|
"hasDynamicHelp": false,
|
|
2198
2156
|
"hiddenAliases": [],
|
|
2199
|
-
"id": "
|
|
2157
|
+
"id": "prompts:get",
|
|
2200
2158
|
"pluginAlias": "@respan/cli",
|
|
2201
2159
|
"pluginName": "@respan/cli",
|
|
2202
2160
|
"pluginType": "core",
|
|
@@ -2206,20 +2164,14 @@
|
|
|
2206
2164
|
"relativePath": [
|
|
2207
2165
|
"dist",
|
|
2208
2166
|
"commands",
|
|
2209
|
-
"
|
|
2210
|
-
"
|
|
2167
|
+
"prompts",
|
|
2168
|
+
"get.js"
|
|
2211
2169
|
]
|
|
2212
2170
|
},
|
|
2213
|
-
"
|
|
2171
|
+
"prompts:list": {
|
|
2214
2172
|
"aliases": [],
|
|
2215
2173
|
"args": {},
|
|
2216
|
-
"description": "
|
|
2217
|
-
"examples": [
|
|
2218
|
-
"respan integrate gemini-cli",
|
|
2219
|
-
"respan integrate gemini-cli --global",
|
|
2220
|
-
"respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
2221
|
-
"respan integrate gemini-cli --dry-run"
|
|
2222
|
-
],
|
|
2174
|
+
"description": "List prompts",
|
|
2223
2175
|
"flags": {
|
|
2224
2176
|
"api-key": {
|
|
2225
2177
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2255,80 +2207,18 @@
|
|
|
2255
2207
|
"allowNo": false,
|
|
2256
2208
|
"type": "boolean"
|
|
2257
2209
|
},
|
|
2258
|
-
"
|
|
2259
|
-
"description": "
|
|
2260
|
-
"
|
|
2261
|
-
|
|
2262
|
-
],
|
|
2263
|
-
"name": "local",
|
|
2264
|
-
"allowNo": false,
|
|
2265
|
-
"type": "boolean"
|
|
2266
|
-
},
|
|
2267
|
-
"global": {
|
|
2268
|
-
"description": "Write user-level global config",
|
|
2269
|
-
"exclusive": [
|
|
2270
|
-
"local"
|
|
2271
|
-
],
|
|
2272
|
-
"name": "global",
|
|
2273
|
-
"allowNo": false,
|
|
2274
|
-
"type": "boolean"
|
|
2275
|
-
},
|
|
2276
|
-
"project-id": {
|
|
2277
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2278
|
-
"env": "RESPAN_PROJECT_ID",
|
|
2279
|
-
"name": "project-id",
|
|
2210
|
+
"limit": {
|
|
2211
|
+
"description": "Number of results per page",
|
|
2212
|
+
"name": "limit",
|
|
2213
|
+
"default": 50,
|
|
2280
2214
|
"hasDynamicHelp": false,
|
|
2281
2215
|
"multiple": false,
|
|
2282
2216
|
"type": "option"
|
|
2283
|
-
},
|
|
2284
|
-
"base-url": {
|
|
2285
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
2286
|
-
"name": "base-url",
|
|
2287
|
-
"default": "https://api.respan.ai/api",
|
|
2288
|
-
"hasDynamicHelp": false,
|
|
2289
|
-
"multiple": false,
|
|
2290
|
-
"type": "option"
|
|
2291
|
-
},
|
|
2292
|
-
"attrs": {
|
|
2293
|
-
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
2294
|
-
"name": "attrs",
|
|
2295
|
-
"default": "{}",
|
|
2296
|
-
"hasDynamicHelp": false,
|
|
2297
|
-
"multiple": false,
|
|
2298
|
-
"type": "option"
|
|
2299
|
-
},
|
|
2300
|
-
"customer-id": {
|
|
2301
|
-
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
2302
|
-
"env": "RESPAN_CUSTOMER_ID",
|
|
2303
|
-
"name": "customer-id",
|
|
2304
|
-
"hasDynamicHelp": false,
|
|
2305
|
-
"multiple": false,
|
|
2306
|
-
"type": "option"
|
|
2307
|
-
},
|
|
2308
|
-
"span-name": {
|
|
2309
|
-
"description": "Root span name for traces (default: claude-code)",
|
|
2310
|
-
"name": "span-name",
|
|
2311
|
-
"hasDynamicHelp": false,
|
|
2312
|
-
"multiple": false,
|
|
2313
|
-
"type": "option"
|
|
2314
|
-
},
|
|
2315
|
-
"workflow-name": {
|
|
2316
|
-
"description": "Workflow name for traces (default: claude-code)",
|
|
2317
|
-
"name": "workflow-name",
|
|
2318
|
-
"hasDynamicHelp": false,
|
|
2319
|
-
"multiple": false,
|
|
2320
|
-
"type": "option"
|
|
2321
|
-
},
|
|
2322
|
-
"dry-run": {
|
|
2323
|
-
"description": "Preview changes without writing files",
|
|
2324
|
-
"name": "dry-run",
|
|
2325
|
-
"allowNo": false,
|
|
2326
|
-
"type": "boolean"
|
|
2327
2217
|
}
|
|
2328
2218
|
},
|
|
2329
2219
|
"hasDynamicHelp": false,
|
|
2330
2220
|
"hiddenAliases": [],
|
|
2331
|
-
"id": "
|
|
2221
|
+
"id": "prompts:list",
|
|
2332
2222
|
"pluginAlias": "@respan/cli",
|
|
2333
2223
|
"pluginName": "@respan/cli",
|
|
2334
2224
|
"pluginType": "core",
|
|
@@ -2338,20 +2228,20 @@
|
|
|
2338
2228
|
"relativePath": [
|
|
2339
2229
|
"dist",
|
|
2340
2230
|
"commands",
|
|
2341
|
-
"
|
|
2342
|
-
"
|
|
2231
|
+
"prompts",
|
|
2232
|
+
"list.js"
|
|
2343
2233
|
]
|
|
2344
2234
|
},
|
|
2345
|
-
"
|
|
2235
|
+
"prompts:update": {
|
|
2346
2236
|
"aliases": [],
|
|
2347
|
-
"args": {
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2237
|
+
"args": {
|
|
2238
|
+
"id": {
|
|
2239
|
+
"description": "Prompt ID",
|
|
2240
|
+
"name": "id",
|
|
2241
|
+
"required": true
|
|
2242
|
+
}
|
|
2243
|
+
},
|
|
2244
|
+
"description": "Update a prompt",
|
|
2355
2245
|
"flags": {
|
|
2356
2246
|
"api-key": {
|
|
2357
2247
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2387,80 +2277,24 @@
|
|
|
2387
2277
|
"allowNo": false,
|
|
2388
2278
|
"type": "boolean"
|
|
2389
2279
|
},
|
|
2390
|
-
"
|
|
2391
|
-
"description": "
|
|
2392
|
-
"
|
|
2393
|
-
"global"
|
|
2394
|
-
],
|
|
2395
|
-
"name": "local",
|
|
2396
|
-
"allowNo": false,
|
|
2397
|
-
"type": "boolean"
|
|
2398
|
-
},
|
|
2399
|
-
"global": {
|
|
2400
|
-
"description": "Write user-level global config",
|
|
2401
|
-
"exclusive": [
|
|
2402
|
-
"local"
|
|
2403
|
-
],
|
|
2404
|
-
"name": "global",
|
|
2405
|
-
"allowNo": false,
|
|
2406
|
-
"type": "boolean"
|
|
2407
|
-
},
|
|
2408
|
-
"project-id": {
|
|
2409
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2410
|
-
"env": "RESPAN_PROJECT_ID",
|
|
2411
|
-
"name": "project-id",
|
|
2412
|
-
"hasDynamicHelp": false,
|
|
2413
|
-
"multiple": false,
|
|
2414
|
-
"type": "option"
|
|
2415
|
-
},
|
|
2416
|
-
"base-url": {
|
|
2417
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
2418
|
-
"name": "base-url",
|
|
2419
|
-
"default": "https://api.respan.ai/api",
|
|
2420
|
-
"hasDynamicHelp": false,
|
|
2421
|
-
"multiple": false,
|
|
2422
|
-
"type": "option"
|
|
2423
|
-
},
|
|
2424
|
-
"attrs": {
|
|
2425
|
-
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
2426
|
-
"name": "attrs",
|
|
2427
|
-
"default": "{}",
|
|
2428
|
-
"hasDynamicHelp": false,
|
|
2429
|
-
"multiple": false,
|
|
2430
|
-
"type": "option"
|
|
2431
|
-
},
|
|
2432
|
-
"customer-id": {
|
|
2433
|
-
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
2434
|
-
"env": "RESPAN_CUSTOMER_ID",
|
|
2435
|
-
"name": "customer-id",
|
|
2436
|
-
"hasDynamicHelp": false,
|
|
2437
|
-
"multiple": false,
|
|
2438
|
-
"type": "option"
|
|
2439
|
-
},
|
|
2440
|
-
"span-name": {
|
|
2441
|
-
"description": "Root span name for traces (default: claude-code)",
|
|
2442
|
-
"name": "span-name",
|
|
2280
|
+
"name": {
|
|
2281
|
+
"description": "Prompt name",
|
|
2282
|
+
"name": "name",
|
|
2443
2283
|
"hasDynamicHelp": false,
|
|
2444
2284
|
"multiple": false,
|
|
2445
2285
|
"type": "option"
|
|
2446
2286
|
},
|
|
2447
|
-
"
|
|
2448
|
-
"description": "
|
|
2449
|
-
"name": "
|
|
2287
|
+
"description": {
|
|
2288
|
+
"description": "Prompt description",
|
|
2289
|
+
"name": "description",
|
|
2450
2290
|
"hasDynamicHelp": false,
|
|
2451
2291
|
"multiple": false,
|
|
2452
2292
|
"type": "option"
|
|
2453
|
-
},
|
|
2454
|
-
"dry-run": {
|
|
2455
|
-
"description": "Preview changes without writing files",
|
|
2456
|
-
"name": "dry-run",
|
|
2457
|
-
"allowNo": false,
|
|
2458
|
-
"type": "boolean"
|
|
2459
2293
|
}
|
|
2460
2294
|
},
|
|
2461
2295
|
"hasDynamicHelp": false,
|
|
2462
2296
|
"hiddenAliases": [],
|
|
2463
|
-
"id": "
|
|
2297
|
+
"id": "prompts:update",
|
|
2464
2298
|
"pluginAlias": "@respan/cli",
|
|
2465
2299
|
"pluginName": "@respan/cli",
|
|
2466
2300
|
"pluginType": "core",
|
|
@@ -2470,11 +2304,11 @@
|
|
|
2470
2304
|
"relativePath": [
|
|
2471
2305
|
"dist",
|
|
2472
2306
|
"commands",
|
|
2473
|
-
"
|
|
2474
|
-
"
|
|
2307
|
+
"prompts",
|
|
2308
|
+
"update.js"
|
|
2475
2309
|
]
|
|
2476
2310
|
},
|
|
2477
|
-
"prompts:
|
|
2311
|
+
"prompts:versions": {
|
|
2478
2312
|
"aliases": [],
|
|
2479
2313
|
"args": {
|
|
2480
2314
|
"prompt-id": {
|
|
@@ -2483,7 +2317,7 @@
|
|
|
2483
2317
|
"required": true
|
|
2484
2318
|
}
|
|
2485
2319
|
},
|
|
2486
|
-
"description": "
|
|
2320
|
+
"description": "List versions of a prompt",
|
|
2487
2321
|
"flags": {
|
|
2488
2322
|
"api-key": {
|
|
2489
2323
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2518,40 +2352,11 @@
|
|
|
2518
2352
|
"name": "verbose",
|
|
2519
2353
|
"allowNo": false,
|
|
2520
2354
|
"type": "boolean"
|
|
2521
|
-
},
|
|
2522
|
-
"messages": {
|
|
2523
|
-
"description": "Messages as JSON array string",
|
|
2524
|
-
"name": "messages",
|
|
2525
|
-
"required": true,
|
|
2526
|
-
"hasDynamicHelp": false,
|
|
2527
|
-
"multiple": false,
|
|
2528
|
-
"type": "option"
|
|
2529
|
-
},
|
|
2530
|
-
"model": {
|
|
2531
|
-
"description": "Model name",
|
|
2532
|
-
"name": "model",
|
|
2533
|
-
"hasDynamicHelp": false,
|
|
2534
|
-
"multiple": false,
|
|
2535
|
-
"type": "option"
|
|
2536
|
-
},
|
|
2537
|
-
"temperature": {
|
|
2538
|
-
"description": "Temperature value",
|
|
2539
|
-
"name": "temperature",
|
|
2540
|
-
"hasDynamicHelp": false,
|
|
2541
|
-
"multiple": false,
|
|
2542
|
-
"type": "option"
|
|
2543
|
-
},
|
|
2544
|
-
"max-tokens": {
|
|
2545
|
-
"description": "Max tokens",
|
|
2546
|
-
"name": "max-tokens",
|
|
2547
|
-
"hasDynamicHelp": false,
|
|
2548
|
-
"multiple": false,
|
|
2549
|
-
"type": "option"
|
|
2550
2355
|
}
|
|
2551
2356
|
},
|
|
2552
2357
|
"hasDynamicHelp": false,
|
|
2553
2358
|
"hiddenAliases": [],
|
|
2554
|
-
"id": "prompts:
|
|
2359
|
+
"id": "prompts:versions",
|
|
2555
2360
|
"pluginAlias": "@respan/cli",
|
|
2556
2361
|
"pluginName": "@respan/cli",
|
|
2557
2362
|
"pluginType": "core",
|
|
@@ -2562,13 +2367,19 @@
|
|
|
2562
2367
|
"dist",
|
|
2563
2368
|
"commands",
|
|
2564
2369
|
"prompts",
|
|
2565
|
-
"
|
|
2370
|
+
"versions.js"
|
|
2566
2371
|
]
|
|
2567
2372
|
},
|
|
2568
|
-
"
|
|
2373
|
+
"traces:get": {
|
|
2569
2374
|
"aliases": [],
|
|
2570
|
-
"args": {
|
|
2571
|
-
|
|
2375
|
+
"args": {
|
|
2376
|
+
"id": {
|
|
2377
|
+
"description": "Trace ID",
|
|
2378
|
+
"name": "id",
|
|
2379
|
+
"required": true
|
|
2380
|
+
}
|
|
2381
|
+
},
|
|
2382
|
+
"description": "Get a specific trace",
|
|
2572
2383
|
"flags": {
|
|
2573
2384
|
"api-key": {
|
|
2574
2385
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2603,26 +2414,11 @@
|
|
|
2603
2414
|
"name": "verbose",
|
|
2604
2415
|
"allowNo": false,
|
|
2605
2416
|
"type": "boolean"
|
|
2606
|
-
},
|
|
2607
|
-
"name": {
|
|
2608
|
-
"description": "Prompt name",
|
|
2609
|
-
"name": "name",
|
|
2610
|
-
"required": true,
|
|
2611
|
-
"hasDynamicHelp": false,
|
|
2612
|
-
"multiple": false,
|
|
2613
|
-
"type": "option"
|
|
2614
|
-
},
|
|
2615
|
-
"description": {
|
|
2616
|
-
"description": "Prompt description",
|
|
2617
|
-
"name": "description",
|
|
2618
|
-
"hasDynamicHelp": false,
|
|
2619
|
-
"multiple": false,
|
|
2620
|
-
"type": "option"
|
|
2621
2417
|
}
|
|
2622
2418
|
},
|
|
2623
2419
|
"hasDynamicHelp": false,
|
|
2624
2420
|
"hiddenAliases": [],
|
|
2625
|
-
"id": "
|
|
2421
|
+
"id": "traces:get",
|
|
2626
2422
|
"pluginAlias": "@respan/cli",
|
|
2627
2423
|
"pluginName": "@respan/cli",
|
|
2628
2424
|
"pluginType": "core",
|
|
@@ -2632,20 +2428,14 @@
|
|
|
2632
2428
|
"relativePath": [
|
|
2633
2429
|
"dist",
|
|
2634
2430
|
"commands",
|
|
2635
|
-
"
|
|
2636
|
-
"
|
|
2431
|
+
"traces",
|
|
2432
|
+
"get.js"
|
|
2637
2433
|
]
|
|
2638
2434
|
},
|
|
2639
|
-
"
|
|
2435
|
+
"traces:list": {
|
|
2640
2436
|
"aliases": [],
|
|
2641
|
-
"args": {
|
|
2642
|
-
|
|
2643
|
-
"description": "Prompt ID",
|
|
2644
|
-
"name": "id",
|
|
2645
|
-
"required": true
|
|
2646
|
-
}
|
|
2647
|
-
},
|
|
2648
|
-
"description": "Get a specific prompt",
|
|
2437
|
+
"args": {},
|
|
2438
|
+
"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",
|
|
2649
2439
|
"flags": {
|
|
2650
2440
|
"api-key": {
|
|
2651
2441
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2680,75 +2470,63 @@
|
|
|
2680
2470
|
"name": "verbose",
|
|
2681
2471
|
"allowNo": false,
|
|
2682
2472
|
"type": "boolean"
|
|
2683
|
-
}
|
|
2684
|
-
},
|
|
2685
|
-
"hasDynamicHelp": false,
|
|
2686
|
-
"hiddenAliases": [],
|
|
2687
|
-
"id": "prompts:get",
|
|
2688
|
-
"pluginAlias": "@respan/cli",
|
|
2689
|
-
"pluginName": "@respan/cli",
|
|
2690
|
-
"pluginType": "core",
|
|
2691
|
-
"strict": true,
|
|
2692
|
-
"enableJsonFlag": false,
|
|
2693
|
-
"isESM": true,
|
|
2694
|
-
"relativePath": [
|
|
2695
|
-
"dist",
|
|
2696
|
-
"commands",
|
|
2697
|
-
"prompts",
|
|
2698
|
-
"get.js"
|
|
2699
|
-
]
|
|
2700
|
-
},
|
|
2701
|
-
"prompts:list": {
|
|
2702
|
-
"aliases": [],
|
|
2703
|
-
"args": {},
|
|
2704
|
-
"description": "List prompts",
|
|
2705
|
-
"flags": {
|
|
2706
|
-
"api-key": {
|
|
2707
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2708
|
-
"env": "RESPAN_API_KEY",
|
|
2709
|
-
"name": "api-key",
|
|
2710
|
-
"hasDynamicHelp": false,
|
|
2711
|
-
"multiple": false,
|
|
2712
|
-
"type": "option"
|
|
2713
2473
|
},
|
|
2714
|
-
"
|
|
2715
|
-
"description": "
|
|
2716
|
-
"name": "
|
|
2474
|
+
"limit": {
|
|
2475
|
+
"description": "Number of results per page",
|
|
2476
|
+
"name": "limit",
|
|
2477
|
+
"default": 10,
|
|
2717
2478
|
"hasDynamicHelp": false,
|
|
2718
2479
|
"multiple": false,
|
|
2719
2480
|
"type": "option"
|
|
2720
2481
|
},
|
|
2721
|
-
"
|
|
2722
|
-
"description": "
|
|
2723
|
-
"name": "
|
|
2724
|
-
"
|
|
2725
|
-
"
|
|
2482
|
+
"page": {
|
|
2483
|
+
"description": "Page number",
|
|
2484
|
+
"name": "page",
|
|
2485
|
+
"default": 1,
|
|
2486
|
+
"hasDynamicHelp": false,
|
|
2487
|
+
"multiple": false,
|
|
2488
|
+
"type": "option"
|
|
2726
2489
|
},
|
|
2727
|
-
"
|
|
2728
|
-
"description": "
|
|
2729
|
-
"name": "
|
|
2730
|
-
"
|
|
2731
|
-
"
|
|
2490
|
+
"sort-by": {
|
|
2491
|
+
"description": "Sort field (prefix with - for descending)",
|
|
2492
|
+
"name": "sort-by",
|
|
2493
|
+
"default": "-timestamp",
|
|
2494
|
+
"hasDynamicHelp": false,
|
|
2495
|
+
"multiple": false,
|
|
2496
|
+
"type": "option"
|
|
2732
2497
|
},
|
|
2733
|
-
"
|
|
2734
|
-
"
|
|
2735
|
-
"
|
|
2736
|
-
"
|
|
2737
|
-
"
|
|
2738
|
-
"type": "
|
|
2498
|
+
"start-time": {
|
|
2499
|
+
"description": "Start time filter (ISO 8601)",
|
|
2500
|
+
"name": "start-time",
|
|
2501
|
+
"hasDynamicHelp": false,
|
|
2502
|
+
"multiple": false,
|
|
2503
|
+
"type": "option"
|
|
2739
2504
|
},
|
|
2740
|
-
"
|
|
2741
|
-
"description": "
|
|
2742
|
-
"name": "
|
|
2743
|
-
"
|
|
2505
|
+
"end-time": {
|
|
2506
|
+
"description": "End time filter (ISO 8601)",
|
|
2507
|
+
"name": "end-time",
|
|
2508
|
+
"hasDynamicHelp": false,
|
|
2509
|
+
"multiple": false,
|
|
2510
|
+
"type": "option"
|
|
2511
|
+
},
|
|
2512
|
+
"environment": {
|
|
2513
|
+
"description": "Environment filter",
|
|
2514
|
+
"name": "environment",
|
|
2744
2515
|
"hasDynamicHelp": false,
|
|
2745
2516
|
"multiple": false,
|
|
2746
2517
|
"type": "option"
|
|
2518
|
+
},
|
|
2519
|
+
"filter": {
|
|
2520
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
2521
|
+
"name": "filter",
|
|
2522
|
+
"hasDynamicHelp": false,
|
|
2523
|
+
"multiple": true,
|
|
2524
|
+
"type": "option"
|
|
2747
2525
|
}
|
|
2748
2526
|
},
|
|
2749
2527
|
"hasDynamicHelp": false,
|
|
2750
2528
|
"hiddenAliases": [],
|
|
2751
|
-
"id": "
|
|
2529
|
+
"id": "traces:list",
|
|
2752
2530
|
"pluginAlias": "@respan/cli",
|
|
2753
2531
|
"pluginName": "@respan/cli",
|
|
2754
2532
|
"pluginType": "core",
|
|
@@ -2758,20 +2536,14 @@
|
|
|
2758
2536
|
"relativePath": [
|
|
2759
2537
|
"dist",
|
|
2760
2538
|
"commands",
|
|
2761
|
-
"
|
|
2539
|
+
"traces",
|
|
2762
2540
|
"list.js"
|
|
2763
2541
|
]
|
|
2764
2542
|
},
|
|
2765
|
-
"
|
|
2543
|
+
"traces:summary": {
|
|
2766
2544
|
"aliases": [],
|
|
2767
|
-
"args": {
|
|
2768
|
-
|
|
2769
|
-
"description": "Prompt ID",
|
|
2770
|
-
"name": "id",
|
|
2771
|
-
"required": true
|
|
2772
|
-
}
|
|
2773
|
-
},
|
|
2774
|
-
"description": "Update a prompt",
|
|
2545
|
+
"args": {},
|
|
2546
|
+
"description": "Get a summary of traces for a time range",
|
|
2775
2547
|
"flags": {
|
|
2776
2548
|
"api-key": {
|
|
2777
2549
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2807,16 +2579,18 @@
|
|
|
2807
2579
|
"allowNo": false,
|
|
2808
2580
|
"type": "boolean"
|
|
2809
2581
|
},
|
|
2810
|
-
"
|
|
2811
|
-
"description": "
|
|
2812
|
-
"name": "
|
|
2582
|
+
"start-time": {
|
|
2583
|
+
"description": "Start time (ISO 8601)",
|
|
2584
|
+
"name": "start-time",
|
|
2585
|
+
"required": true,
|
|
2813
2586
|
"hasDynamicHelp": false,
|
|
2814
2587
|
"multiple": false,
|
|
2815
2588
|
"type": "option"
|
|
2816
2589
|
},
|
|
2817
|
-
"
|
|
2818
|
-
"description": "
|
|
2819
|
-
"name": "
|
|
2590
|
+
"end-time": {
|
|
2591
|
+
"description": "End time (ISO 8601)",
|
|
2592
|
+
"name": "end-time",
|
|
2593
|
+
"required": true,
|
|
2820
2594
|
"hasDynamicHelp": false,
|
|
2821
2595
|
"multiple": false,
|
|
2822
2596
|
"type": "option"
|
|
@@ -2824,7 +2598,7 @@
|
|
|
2824
2598
|
},
|
|
2825
2599
|
"hasDynamicHelp": false,
|
|
2826
2600
|
"hiddenAliases": [],
|
|
2827
|
-
"id": "
|
|
2601
|
+
"id": "traces:summary",
|
|
2828
2602
|
"pluginAlias": "@respan/cli",
|
|
2829
2603
|
"pluginName": "@respan/cli",
|
|
2830
2604
|
"pluginType": "core",
|
|
@@ -2834,20 +2608,14 @@
|
|
|
2834
2608
|
"relativePath": [
|
|
2835
2609
|
"dist",
|
|
2836
2610
|
"commands",
|
|
2837
|
-
"
|
|
2838
|
-
"
|
|
2611
|
+
"traces",
|
|
2612
|
+
"summary.js"
|
|
2839
2613
|
]
|
|
2840
2614
|
},
|
|
2841
|
-
"
|
|
2615
|
+
"users:create": {
|
|
2842
2616
|
"aliases": [],
|
|
2843
|
-
"args": {
|
|
2844
|
-
|
|
2845
|
-
"description": "Prompt ID",
|
|
2846
|
-
"name": "prompt-id",
|
|
2847
|
-
"required": true
|
|
2848
|
-
}
|
|
2849
|
-
},
|
|
2850
|
-
"description": "List versions of a prompt",
|
|
2617
|
+
"args": {},
|
|
2618
|
+
"description": "Create a new user (customer)",
|
|
2851
2619
|
"flags": {
|
|
2852
2620
|
"api-key": {
|
|
2853
2621
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2882,11 +2650,40 @@
|
|
|
2882
2650
|
"name": "verbose",
|
|
2883
2651
|
"allowNo": false,
|
|
2884
2652
|
"type": "boolean"
|
|
2653
|
+
},
|
|
2654
|
+
"identifier": {
|
|
2655
|
+
"description": "Customer identifier",
|
|
2656
|
+
"name": "identifier",
|
|
2657
|
+
"required": true,
|
|
2658
|
+
"hasDynamicHelp": false,
|
|
2659
|
+
"multiple": false,
|
|
2660
|
+
"type": "option"
|
|
2661
|
+
},
|
|
2662
|
+
"name": {
|
|
2663
|
+
"description": "Customer name",
|
|
2664
|
+
"name": "name",
|
|
2665
|
+
"hasDynamicHelp": false,
|
|
2666
|
+
"multiple": false,
|
|
2667
|
+
"type": "option"
|
|
2668
|
+
},
|
|
2669
|
+
"email": {
|
|
2670
|
+
"description": "Customer email",
|
|
2671
|
+
"name": "email",
|
|
2672
|
+
"hasDynamicHelp": false,
|
|
2673
|
+
"multiple": false,
|
|
2674
|
+
"type": "option"
|
|
2675
|
+
},
|
|
2676
|
+
"metadata": {
|
|
2677
|
+
"description": "Metadata as JSON string",
|
|
2678
|
+
"name": "metadata",
|
|
2679
|
+
"hasDynamicHelp": false,
|
|
2680
|
+
"multiple": false,
|
|
2681
|
+
"type": "option"
|
|
2885
2682
|
}
|
|
2886
2683
|
},
|
|
2887
2684
|
"hasDynamicHelp": false,
|
|
2888
2685
|
"hiddenAliases": [],
|
|
2889
|
-
"id": "
|
|
2686
|
+
"id": "users:create",
|
|
2890
2687
|
"pluginAlias": "@respan/cli",
|
|
2891
2688
|
"pluginName": "@respan/cli",
|
|
2892
2689
|
"pluginType": "core",
|
|
@@ -2896,20 +2693,20 @@
|
|
|
2896
2693
|
"relativePath": [
|
|
2897
2694
|
"dist",
|
|
2898
2695
|
"commands",
|
|
2899
|
-
"
|
|
2900
|
-
"
|
|
2696
|
+
"users",
|
|
2697
|
+
"create.js"
|
|
2901
2698
|
]
|
|
2902
2699
|
},
|
|
2903
|
-
"
|
|
2700
|
+
"users:get": {
|
|
2904
2701
|
"aliases": [],
|
|
2905
2702
|
"args": {
|
|
2906
2703
|
"id": {
|
|
2907
|
-
"description": "
|
|
2704
|
+
"description": "Customer identifier",
|
|
2908
2705
|
"name": "id",
|
|
2909
2706
|
"required": true
|
|
2910
2707
|
}
|
|
2911
2708
|
},
|
|
2912
|
-
"description": "Get a specific
|
|
2709
|
+
"description": "Get a specific user (customer)",
|
|
2913
2710
|
"flags": {
|
|
2914
2711
|
"api-key": {
|
|
2915
2712
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2948,7 +2745,7 @@
|
|
|
2948
2745
|
},
|
|
2949
2746
|
"hasDynamicHelp": false,
|
|
2950
2747
|
"hiddenAliases": [],
|
|
2951
|
-
"id": "
|
|
2748
|
+
"id": "users:get",
|
|
2952
2749
|
"pluginAlias": "@respan/cli",
|
|
2953
2750
|
"pluginName": "@respan/cli",
|
|
2954
2751
|
"pluginType": "core",
|
|
@@ -2958,14 +2755,14 @@
|
|
|
2958
2755
|
"relativePath": [
|
|
2959
2756
|
"dist",
|
|
2960
2757
|
"commands",
|
|
2961
|
-
"
|
|
2758
|
+
"users",
|
|
2962
2759
|
"get.js"
|
|
2963
2760
|
]
|
|
2964
2761
|
},
|
|
2965
|
-
"
|
|
2762
|
+
"users:list": {
|
|
2966
2763
|
"aliases": [],
|
|
2967
2764
|
"args": {},
|
|
2968
|
-
"description": "List
|
|
2765
|
+
"description": "List users (customers)",
|
|
2969
2766
|
"flags": {
|
|
2970
2767
|
"api-key": {
|
|
2971
2768
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3004,7 +2801,7 @@
|
|
|
3004
2801
|
"limit": {
|
|
3005
2802
|
"description": "Number of results per page",
|
|
3006
2803
|
"name": "limit",
|
|
3007
|
-
"default":
|
|
2804
|
+
"default": 20,
|
|
3008
2805
|
"hasDynamicHelp": false,
|
|
3009
2806
|
"multiple": false,
|
|
3010
2807
|
"type": "option"
|
|
@@ -3018,23 +2815,8 @@
|
|
|
3018
2815
|
"type": "option"
|
|
3019
2816
|
},
|
|
3020
2817
|
"sort-by": {
|
|
3021
|
-
"description": "Sort field
|
|
2818
|
+
"description": "Sort field",
|
|
3022
2819
|
"name": "sort-by",
|
|
3023
|
-
"default": "-timestamp",
|
|
3024
|
-
"hasDynamicHelp": false,
|
|
3025
|
-
"multiple": false,
|
|
3026
|
-
"type": "option"
|
|
3027
|
-
},
|
|
3028
|
-
"start-time": {
|
|
3029
|
-
"description": "Start time filter (ISO 8601)",
|
|
3030
|
-
"name": "start-time",
|
|
3031
|
-
"hasDynamicHelp": false,
|
|
3032
|
-
"multiple": false,
|
|
3033
|
-
"type": "option"
|
|
3034
|
-
},
|
|
3035
|
-
"end-time": {
|
|
3036
|
-
"description": "End time filter (ISO 8601)",
|
|
3037
|
-
"name": "end-time",
|
|
3038
2820
|
"hasDynamicHelp": false,
|
|
3039
2821
|
"multiple": false,
|
|
3040
2822
|
"type": "option"
|
|
@@ -3045,18 +2827,11 @@
|
|
|
3045
2827
|
"hasDynamicHelp": false,
|
|
3046
2828
|
"multiple": false,
|
|
3047
2829
|
"type": "option"
|
|
3048
|
-
},
|
|
3049
|
-
"filter": {
|
|
3050
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
3051
|
-
"name": "filter",
|
|
3052
|
-
"hasDynamicHelp": false,
|
|
3053
|
-
"multiple": true,
|
|
3054
|
-
"type": "option"
|
|
3055
2830
|
}
|
|
3056
2831
|
},
|
|
3057
2832
|
"hasDynamicHelp": false,
|
|
3058
2833
|
"hiddenAliases": [],
|
|
3059
|
-
"id": "
|
|
2834
|
+
"id": "users:list",
|
|
3060
2835
|
"pluginAlias": "@respan/cli",
|
|
3061
2836
|
"pluginName": "@respan/cli",
|
|
3062
2837
|
"pluginType": "core",
|
|
@@ -3066,14 +2841,20 @@
|
|
|
3066
2841
|
"relativePath": [
|
|
3067
2842
|
"dist",
|
|
3068
2843
|
"commands",
|
|
3069
|
-
"
|
|
2844
|
+
"users",
|
|
3070
2845
|
"list.js"
|
|
3071
2846
|
]
|
|
3072
2847
|
},
|
|
3073
|
-
"
|
|
2848
|
+
"users:update": {
|
|
3074
2849
|
"aliases": [],
|
|
3075
|
-
"args": {
|
|
3076
|
-
|
|
2850
|
+
"args": {
|
|
2851
|
+
"id": {
|
|
2852
|
+
"description": "Customer identifier",
|
|
2853
|
+
"name": "id",
|
|
2854
|
+
"required": true
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
"description": "Update a user (customer)",
|
|
3077
2858
|
"flags": {
|
|
3078
2859
|
"api-key": {
|
|
3079
2860
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3109,18 +2890,23 @@
|
|
|
3109
2890
|
"allowNo": false,
|
|
3110
2891
|
"type": "boolean"
|
|
3111
2892
|
},
|
|
3112
|
-
"
|
|
3113
|
-
"description": "
|
|
3114
|
-
"name": "
|
|
3115
|
-
"required": true,
|
|
2893
|
+
"name": {
|
|
2894
|
+
"description": "Customer name",
|
|
2895
|
+
"name": "name",
|
|
3116
2896
|
"hasDynamicHelp": false,
|
|
3117
2897
|
"multiple": false,
|
|
3118
2898
|
"type": "option"
|
|
3119
2899
|
},
|
|
3120
|
-
"
|
|
3121
|
-
"description": "
|
|
3122
|
-
"name": "
|
|
3123
|
-
"
|
|
2900
|
+
"email": {
|
|
2901
|
+
"description": "Customer email",
|
|
2902
|
+
"name": "email",
|
|
2903
|
+
"hasDynamicHelp": false,
|
|
2904
|
+
"multiple": false,
|
|
2905
|
+
"type": "option"
|
|
2906
|
+
},
|
|
2907
|
+
"metadata": {
|
|
2908
|
+
"description": "Metadata as JSON string",
|
|
2909
|
+
"name": "metadata",
|
|
3124
2910
|
"hasDynamicHelp": false,
|
|
3125
2911
|
"multiple": false,
|
|
3126
2912
|
"type": "option"
|
|
@@ -3128,7 +2914,7 @@
|
|
|
3128
2914
|
},
|
|
3129
2915
|
"hasDynamicHelp": false,
|
|
3130
2916
|
"hiddenAliases": [],
|
|
3131
|
-
"id": "
|
|
2917
|
+
"id": "users:update",
|
|
3132
2918
|
"pluginAlias": "@respan/cli",
|
|
3133
2919
|
"pluginName": "@respan/cli",
|
|
3134
2920
|
"pluginType": "core",
|
|
@@ -3138,14 +2924,21 @@
|
|
|
3138
2924
|
"relativePath": [
|
|
3139
2925
|
"dist",
|
|
3140
2926
|
"commands",
|
|
3141
|
-
"
|
|
3142
|
-
"
|
|
2927
|
+
"users",
|
|
2928
|
+
"update.js"
|
|
3143
2929
|
]
|
|
3144
2930
|
},
|
|
3145
|
-
"
|
|
2931
|
+
"integrate:claude-code": {
|
|
3146
2932
|
"aliases": [],
|
|
3147
2933
|
"args": {},
|
|
3148
|
-
"description": "
|
|
2934
|
+
"description": "Integrate Respan with Claude Code.\n\nInstalls a Stop hook that reads conversation transcripts and sends\nthem to Respan as structured spans (chat, tool, thinking).\n\nScope:\n --global Install hook script + register in ~/.claude/settings.json\n --local Write credentials + enable flag to .claude/settings.local.json\n (default) Both: install hook globally + enable for current project",
|
|
2935
|
+
"examples": [
|
|
2936
|
+
"respan integrate claude-code",
|
|
2937
|
+
"respan integrate claude-code --global",
|
|
2938
|
+
"respan integrate claude-code --local --project-id my-project",
|
|
2939
|
+
"respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
|
|
2940
|
+
"respan integrate claude-code --dry-run"
|
|
2941
|
+
],
|
|
3149
2942
|
"flags": {
|
|
3150
2943
|
"api-key": {
|
|
3151
2944
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3181,39 +2974,80 @@
|
|
|
3181
2974
|
"allowNo": false,
|
|
3182
2975
|
"type": "boolean"
|
|
3183
2976
|
},
|
|
3184
|
-
"
|
|
3185
|
-
"description": "
|
|
3186
|
-
"
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
"
|
|
3190
|
-
"
|
|
3191
|
-
|
|
3192
|
-
"name": {
|
|
3193
|
-
"description": "Customer name",
|
|
3194
|
-
"name": "name",
|
|
3195
|
-
"hasDynamicHelp": false,
|
|
3196
|
-
"multiple": false,
|
|
3197
|
-
"type": "option"
|
|
2977
|
+
"local": {
|
|
2978
|
+
"description": "Write per-project config (default)",
|
|
2979
|
+
"exclusive": [
|
|
2980
|
+
"global"
|
|
2981
|
+
],
|
|
2982
|
+
"name": "local",
|
|
2983
|
+
"allowNo": false,
|
|
2984
|
+
"type": "boolean"
|
|
3198
2985
|
},
|
|
3199
|
-
"
|
|
3200
|
-
"description": "
|
|
3201
|
-
"
|
|
2986
|
+
"global": {
|
|
2987
|
+
"description": "Write user-level global config",
|
|
2988
|
+
"exclusive": [
|
|
2989
|
+
"local"
|
|
2990
|
+
],
|
|
2991
|
+
"name": "global",
|
|
2992
|
+
"allowNo": false,
|
|
2993
|
+
"type": "boolean"
|
|
2994
|
+
},
|
|
2995
|
+
"project-id": {
|
|
2996
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2997
|
+
"env": "RESPAN_PROJECT_ID",
|
|
2998
|
+
"name": "project-id",
|
|
3202
2999
|
"hasDynamicHelp": false,
|
|
3203
3000
|
"multiple": false,
|
|
3204
3001
|
"type": "option"
|
|
3205
3002
|
},
|
|
3206
|
-
"
|
|
3207
|
-
"description": "
|
|
3208
|
-
"name": "
|
|
3003
|
+
"base-url": {
|
|
3004
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
3005
|
+
"name": "base-url",
|
|
3006
|
+
"default": "https://api.respan.ai/api",
|
|
3209
3007
|
"hasDynamicHelp": false,
|
|
3210
3008
|
"multiple": false,
|
|
3211
3009
|
"type": "option"
|
|
3010
|
+
},
|
|
3011
|
+
"attrs": {
|
|
3012
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3013
|
+
"name": "attrs",
|
|
3014
|
+
"default": "{}",
|
|
3015
|
+
"hasDynamicHelp": false,
|
|
3016
|
+
"multiple": false,
|
|
3017
|
+
"type": "option"
|
|
3018
|
+
},
|
|
3019
|
+
"customer-id": {
|
|
3020
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
3021
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
3022
|
+
"name": "customer-id",
|
|
3023
|
+
"hasDynamicHelp": false,
|
|
3024
|
+
"multiple": false,
|
|
3025
|
+
"type": "option"
|
|
3026
|
+
},
|
|
3027
|
+
"span-name": {
|
|
3028
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
3029
|
+
"name": "span-name",
|
|
3030
|
+
"hasDynamicHelp": false,
|
|
3031
|
+
"multiple": false,
|
|
3032
|
+
"type": "option"
|
|
3033
|
+
},
|
|
3034
|
+
"workflow-name": {
|
|
3035
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
3036
|
+
"name": "workflow-name",
|
|
3037
|
+
"hasDynamicHelp": false,
|
|
3038
|
+
"multiple": false,
|
|
3039
|
+
"type": "option"
|
|
3040
|
+
},
|
|
3041
|
+
"dry-run": {
|
|
3042
|
+
"description": "Preview changes without writing files",
|
|
3043
|
+
"name": "dry-run",
|
|
3044
|
+
"allowNo": false,
|
|
3045
|
+
"type": "boolean"
|
|
3212
3046
|
}
|
|
3213
3047
|
},
|
|
3214
3048
|
"hasDynamicHelp": false,
|
|
3215
3049
|
"hiddenAliases": [],
|
|
3216
|
-
"id": "
|
|
3050
|
+
"id": "integrate:claude-code",
|
|
3217
3051
|
"pluginAlias": "@respan/cli",
|
|
3218
3052
|
"pluginName": "@respan/cli",
|
|
3219
3053
|
"pluginType": "core",
|
|
@@ -3223,20 +3057,21 @@
|
|
|
3223
3057
|
"relativePath": [
|
|
3224
3058
|
"dist",
|
|
3225
3059
|
"commands",
|
|
3226
|
-
"
|
|
3227
|
-
"
|
|
3060
|
+
"integrate",
|
|
3061
|
+
"claude-code.js"
|
|
3228
3062
|
]
|
|
3229
3063
|
},
|
|
3230
|
-
"
|
|
3064
|
+
"integrate:codex-cli": {
|
|
3231
3065
|
"aliases": [],
|
|
3232
|
-
"args": {
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3066
|
+
"args": {},
|
|
3067
|
+
"description": "Integrate Respan with Codex CLI.\n\nInstalls a notify hook that reads session JSONL files and sends\nthem to Respan as structured spans (chat, tool, reasoning).\n\nScope:\n --global Install hook script + register notify in ~/.codex/config.toml\n --local Write .codex/respan.json with customer_id, span_name, etc.\n (default) Both: install hook globally + config for current project",
|
|
3068
|
+
"examples": [
|
|
3069
|
+
"respan integrate codex-cli",
|
|
3070
|
+
"respan integrate codex-cli --global",
|
|
3071
|
+
"respan integrate codex-cli --local --customer-id frank",
|
|
3072
|
+
"respan integrate codex-cli --attrs '{\"env\":\"prod\"}'",
|
|
3073
|
+
"respan integrate codex-cli --dry-run"
|
|
3074
|
+
],
|
|
3240
3075
|
"flags": {
|
|
3241
3076
|
"api-key": {
|
|
3242
3077
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3271,11 +3106,81 @@
|
|
|
3271
3106
|
"name": "verbose",
|
|
3272
3107
|
"allowNo": false,
|
|
3273
3108
|
"type": "boolean"
|
|
3109
|
+
},
|
|
3110
|
+
"local": {
|
|
3111
|
+
"description": "Write per-project config (default)",
|
|
3112
|
+
"exclusive": [
|
|
3113
|
+
"global"
|
|
3114
|
+
],
|
|
3115
|
+
"name": "local",
|
|
3116
|
+
"allowNo": false,
|
|
3117
|
+
"type": "boolean"
|
|
3118
|
+
},
|
|
3119
|
+
"global": {
|
|
3120
|
+
"description": "Write user-level global config",
|
|
3121
|
+
"exclusive": [
|
|
3122
|
+
"local"
|
|
3123
|
+
],
|
|
3124
|
+
"name": "global",
|
|
3125
|
+
"allowNo": false,
|
|
3126
|
+
"type": "boolean"
|
|
3127
|
+
},
|
|
3128
|
+
"project-id": {
|
|
3129
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
3130
|
+
"env": "RESPAN_PROJECT_ID",
|
|
3131
|
+
"name": "project-id",
|
|
3132
|
+
"hasDynamicHelp": false,
|
|
3133
|
+
"multiple": false,
|
|
3134
|
+
"type": "option"
|
|
3135
|
+
},
|
|
3136
|
+
"base-url": {
|
|
3137
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
3138
|
+
"name": "base-url",
|
|
3139
|
+
"default": "https://api.respan.ai/api",
|
|
3140
|
+
"hasDynamicHelp": false,
|
|
3141
|
+
"multiple": false,
|
|
3142
|
+
"type": "option"
|
|
3143
|
+
},
|
|
3144
|
+
"attrs": {
|
|
3145
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3146
|
+
"name": "attrs",
|
|
3147
|
+
"default": "{}",
|
|
3148
|
+
"hasDynamicHelp": false,
|
|
3149
|
+
"multiple": false,
|
|
3150
|
+
"type": "option"
|
|
3151
|
+
},
|
|
3152
|
+
"customer-id": {
|
|
3153
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
3154
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
3155
|
+
"name": "customer-id",
|
|
3156
|
+
"hasDynamicHelp": false,
|
|
3157
|
+
"multiple": false,
|
|
3158
|
+
"type": "option"
|
|
3159
|
+
},
|
|
3160
|
+
"span-name": {
|
|
3161
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
3162
|
+
"name": "span-name",
|
|
3163
|
+
"hasDynamicHelp": false,
|
|
3164
|
+
"multiple": false,
|
|
3165
|
+
"type": "option"
|
|
3166
|
+
},
|
|
3167
|
+
"workflow-name": {
|
|
3168
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
3169
|
+
"name": "workflow-name",
|
|
3170
|
+
"hasDynamicHelp": false,
|
|
3171
|
+
"multiple": false,
|
|
3172
|
+
"type": "option"
|
|
3173
|
+
},
|
|
3174
|
+
"dry-run": {
|
|
3175
|
+
"description": "Preview changes without writing files",
|
|
3176
|
+
"name": "dry-run",
|
|
3177
|
+
"allowNo": false,
|
|
3178
|
+
"type": "boolean"
|
|
3274
3179
|
}
|
|
3275
3180
|
},
|
|
3276
3181
|
"hasDynamicHelp": false,
|
|
3277
3182
|
"hiddenAliases": [],
|
|
3278
|
-
"id": "
|
|
3183
|
+
"id": "integrate:codex-cli",
|
|
3279
3184
|
"pluginAlias": "@respan/cli",
|
|
3280
3185
|
"pluginName": "@respan/cli",
|
|
3281
3186
|
"pluginType": "core",
|
|
@@ -3285,14 +3190,20 @@
|
|
|
3285
3190
|
"relativePath": [
|
|
3286
3191
|
"dist",
|
|
3287
3192
|
"commands",
|
|
3288
|
-
"
|
|
3289
|
-
"
|
|
3193
|
+
"integrate",
|
|
3194
|
+
"codex-cli.js"
|
|
3290
3195
|
]
|
|
3291
3196
|
},
|
|
3292
|
-
"
|
|
3197
|
+
"integrate:gemini-cli": {
|
|
3293
3198
|
"aliases": [],
|
|
3294
3199
|
"args": {},
|
|
3295
|
-
"description": "
|
|
3200
|
+
"description": "Integrate Respan with Gemini CLI.\n\nInstalls an AfterModel hook that captures LLM request/response data\nand sends it to Respan as structured spans with model, token counts,\nand input/output.\n\nScope:\n --global Write to ~/.gemini/settings.json (default)\n --local Write to .gemini/settings.json in project root\n\nNote: Gemini CLI ignores workspace-level telemetry settings, so\n--global is the default.",
|
|
3201
|
+
"examples": [
|
|
3202
|
+
"respan integrate gemini-cli",
|
|
3203
|
+
"respan integrate gemini-cli --local",
|
|
3204
|
+
"respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
3205
|
+
"respan integrate gemini-cli --dry-run"
|
|
3206
|
+
],
|
|
3296
3207
|
"flags": {
|
|
3297
3208
|
"api-key": {
|
|
3298
3209
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3328,40 +3239,80 @@
|
|
|
3328
3239
|
"allowNo": false,
|
|
3329
3240
|
"type": "boolean"
|
|
3330
3241
|
},
|
|
3331
|
-
"
|
|
3332
|
-
"description": "
|
|
3333
|
-
"
|
|
3334
|
-
|
|
3242
|
+
"local": {
|
|
3243
|
+
"description": "Write per-project config (default)",
|
|
3244
|
+
"exclusive": [
|
|
3245
|
+
"global"
|
|
3246
|
+
],
|
|
3247
|
+
"name": "local",
|
|
3248
|
+
"allowNo": false,
|
|
3249
|
+
"type": "boolean"
|
|
3250
|
+
},
|
|
3251
|
+
"global": {
|
|
3252
|
+
"description": "Write user-level global config",
|
|
3253
|
+
"exclusive": [
|
|
3254
|
+
"local"
|
|
3255
|
+
],
|
|
3256
|
+
"name": "global",
|
|
3257
|
+
"allowNo": false,
|
|
3258
|
+
"type": "boolean"
|
|
3259
|
+
},
|
|
3260
|
+
"project-id": {
|
|
3261
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
3262
|
+
"env": "RESPAN_PROJECT_ID",
|
|
3263
|
+
"name": "project-id",
|
|
3335
3264
|
"hasDynamicHelp": false,
|
|
3336
3265
|
"multiple": false,
|
|
3337
3266
|
"type": "option"
|
|
3338
3267
|
},
|
|
3339
|
-
"
|
|
3340
|
-
"description": "
|
|
3341
|
-
"name": "
|
|
3342
|
-
"default":
|
|
3268
|
+
"base-url": {
|
|
3269
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
3270
|
+
"name": "base-url",
|
|
3271
|
+
"default": "https://api.respan.ai/api",
|
|
3343
3272
|
"hasDynamicHelp": false,
|
|
3344
3273
|
"multiple": false,
|
|
3345
3274
|
"type": "option"
|
|
3346
3275
|
},
|
|
3347
|
-
"
|
|
3348
|
-
"description": "
|
|
3349
|
-
"name": "
|
|
3276
|
+
"attrs": {
|
|
3277
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3278
|
+
"name": "attrs",
|
|
3279
|
+
"default": "{}",
|
|
3350
3280
|
"hasDynamicHelp": false,
|
|
3351
3281
|
"multiple": false,
|
|
3352
3282
|
"type": "option"
|
|
3353
3283
|
},
|
|
3354
|
-
"
|
|
3355
|
-
"description": "
|
|
3356
|
-
"
|
|
3284
|
+
"customer-id": {
|
|
3285
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
3286
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
3287
|
+
"name": "customer-id",
|
|
3288
|
+
"hasDynamicHelp": false,
|
|
3289
|
+
"multiple": false,
|
|
3290
|
+
"type": "option"
|
|
3291
|
+
},
|
|
3292
|
+
"span-name": {
|
|
3293
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
3294
|
+
"name": "span-name",
|
|
3295
|
+
"hasDynamicHelp": false,
|
|
3296
|
+
"multiple": false,
|
|
3297
|
+
"type": "option"
|
|
3298
|
+
},
|
|
3299
|
+
"workflow-name": {
|
|
3300
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
3301
|
+
"name": "workflow-name",
|
|
3357
3302
|
"hasDynamicHelp": false,
|
|
3358
3303
|
"multiple": false,
|
|
3359
3304
|
"type": "option"
|
|
3305
|
+
},
|
|
3306
|
+
"dry-run": {
|
|
3307
|
+
"description": "Preview changes without writing files",
|
|
3308
|
+
"name": "dry-run",
|
|
3309
|
+
"allowNo": false,
|
|
3310
|
+
"type": "boolean"
|
|
3360
3311
|
}
|
|
3361
3312
|
},
|
|
3362
3313
|
"hasDynamicHelp": false,
|
|
3363
3314
|
"hiddenAliases": [],
|
|
3364
|
-
"id": "
|
|
3315
|
+
"id": "integrate:gemini-cli",
|
|
3365
3316
|
"pluginAlias": "@respan/cli",
|
|
3366
3317
|
"pluginName": "@respan/cli",
|
|
3367
3318
|
"pluginType": "core",
|
|
@@ -3371,20 +3322,20 @@
|
|
|
3371
3322
|
"relativePath": [
|
|
3372
3323
|
"dist",
|
|
3373
3324
|
"commands",
|
|
3374
|
-
"
|
|
3375
|
-
"
|
|
3325
|
+
"integrate",
|
|
3326
|
+
"gemini-cli.js"
|
|
3376
3327
|
]
|
|
3377
3328
|
},
|
|
3378
|
-
"
|
|
3329
|
+
"integrate:opencode": {
|
|
3379
3330
|
"aliases": [],
|
|
3380
|
-
"args": {
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
}
|
|
3386
|
-
|
|
3387
|
-
|
|
3331
|
+
"args": {},
|
|
3332
|
+
"description": "Integrate Respan with OpenCode.\n\nOpenCode's built-in OTel does not work reliably, so this uses the\ncommunity opencode-otel plugin instead.\n\nScope:\n --local Write plugin config to project root (default)\n --global Write to ~/.config/opencode/plugins/otel.json\n The opencode-otel package is always installed globally.",
|
|
3333
|
+
"examples": [
|
|
3334
|
+
"respan integrate opencode",
|
|
3335
|
+
"respan integrate opencode --global",
|
|
3336
|
+
"respan integrate opencode --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
3337
|
+
"respan integrate opencode --dry-run"
|
|
3338
|
+
],
|
|
3388
3339
|
"flags": {
|
|
3389
3340
|
"api-key": {
|
|
3390
3341
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3420,31 +3371,80 @@
|
|
|
3420
3371
|
"allowNo": false,
|
|
3421
3372
|
"type": "boolean"
|
|
3422
3373
|
},
|
|
3423
|
-
"
|
|
3424
|
-
"description": "
|
|
3425
|
-
"
|
|
3374
|
+
"local": {
|
|
3375
|
+
"description": "Write per-project config (default)",
|
|
3376
|
+
"exclusive": [
|
|
3377
|
+
"global"
|
|
3378
|
+
],
|
|
3379
|
+
"name": "local",
|
|
3380
|
+
"allowNo": false,
|
|
3381
|
+
"type": "boolean"
|
|
3382
|
+
},
|
|
3383
|
+
"global": {
|
|
3384
|
+
"description": "Write user-level global config",
|
|
3385
|
+
"exclusive": [
|
|
3386
|
+
"local"
|
|
3387
|
+
],
|
|
3388
|
+
"name": "global",
|
|
3389
|
+
"allowNo": false,
|
|
3390
|
+
"type": "boolean"
|
|
3391
|
+
},
|
|
3392
|
+
"project-id": {
|
|
3393
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
3394
|
+
"env": "RESPAN_PROJECT_ID",
|
|
3395
|
+
"name": "project-id",
|
|
3426
3396
|
"hasDynamicHelp": false,
|
|
3427
3397
|
"multiple": false,
|
|
3428
3398
|
"type": "option"
|
|
3429
3399
|
},
|
|
3430
|
-
"
|
|
3431
|
-
"description": "
|
|
3432
|
-
"name": "
|
|
3400
|
+
"base-url": {
|
|
3401
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
3402
|
+
"name": "base-url",
|
|
3403
|
+
"default": "https://api.respan.ai/api",
|
|
3433
3404
|
"hasDynamicHelp": false,
|
|
3434
3405
|
"multiple": false,
|
|
3435
3406
|
"type": "option"
|
|
3436
3407
|
},
|
|
3437
|
-
"
|
|
3438
|
-
"description": "
|
|
3439
|
-
"name": "
|
|
3408
|
+
"attrs": {
|
|
3409
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3410
|
+
"name": "attrs",
|
|
3411
|
+
"default": "{}",
|
|
3440
3412
|
"hasDynamicHelp": false,
|
|
3441
3413
|
"multiple": false,
|
|
3442
3414
|
"type": "option"
|
|
3415
|
+
},
|
|
3416
|
+
"customer-id": {
|
|
3417
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
3418
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
3419
|
+
"name": "customer-id",
|
|
3420
|
+
"hasDynamicHelp": false,
|
|
3421
|
+
"multiple": false,
|
|
3422
|
+
"type": "option"
|
|
3423
|
+
},
|
|
3424
|
+
"span-name": {
|
|
3425
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
3426
|
+
"name": "span-name",
|
|
3427
|
+
"hasDynamicHelp": false,
|
|
3428
|
+
"multiple": false,
|
|
3429
|
+
"type": "option"
|
|
3430
|
+
},
|
|
3431
|
+
"workflow-name": {
|
|
3432
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
3433
|
+
"name": "workflow-name",
|
|
3434
|
+
"hasDynamicHelp": false,
|
|
3435
|
+
"multiple": false,
|
|
3436
|
+
"type": "option"
|
|
3437
|
+
},
|
|
3438
|
+
"dry-run": {
|
|
3439
|
+
"description": "Preview changes without writing files",
|
|
3440
|
+
"name": "dry-run",
|
|
3441
|
+
"allowNo": false,
|
|
3442
|
+
"type": "boolean"
|
|
3443
3443
|
}
|
|
3444
3444
|
},
|
|
3445
3445
|
"hasDynamicHelp": false,
|
|
3446
3446
|
"hiddenAliases": [],
|
|
3447
|
-
"id": "
|
|
3447
|
+
"id": "integrate:opencode",
|
|
3448
3448
|
"pluginAlias": "@respan/cli",
|
|
3449
3449
|
"pluginName": "@respan/cli",
|
|
3450
3450
|
"pluginType": "core",
|
|
@@ -3454,10 +3454,10 @@
|
|
|
3454
3454
|
"relativePath": [
|
|
3455
3455
|
"dist",
|
|
3456
3456
|
"commands",
|
|
3457
|
-
"
|
|
3458
|
-
"
|
|
3457
|
+
"integrate",
|
|
3458
|
+
"opencode.js"
|
|
3459
3459
|
]
|
|
3460
3460
|
}
|
|
3461
3461
|
},
|
|
3462
|
-
"version": "0.
|
|
3462
|
+
"version": "0.6.0"
|
|
3463
3463
|
}
|