gh-axi 0.1.32 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/src/commands/api.d.ts +2 -2
- package/dist/src/commands/api.js +124 -61
- package/dist/src/commands/api.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -151,8 +151,10 @@ Gist visibility is fixed at creation; a secret gist is unlisted (anyone with the
|
|
|
151
151
|
Two file-on-disk input forms are available: positional paths (`gist create a.py b.py`) or repeatable `--file` flags (`gist create --file a.py --file b.py`); mixing the two is an error.
|
|
152
152
|
To create a gist from piped content, use `--filename <name>` together with a pipe (`echo "..." | gh-axi gist create --filename foo.txt --public`).
|
|
153
153
|
|
|
154
|
-
`gh-axi api` accepts `-X <method>` and `-X=<method>` as alternatives to the positional HTTP method, plus `--field`, `--header`, `--paginate`, `--jq <expression>`, `--template <format>`, and `--full`.
|
|
155
|
-
|
|
154
|
+
`gh-axi api` accepts `-X <method>` and `-X=<method>` as alternatives to the positional HTTP method, plus `--field`, `--header`, `--input <file>`, `--paginate`, `--jq <expression>`, `--template <format>`, and `--full`.
|
|
155
|
+
Use `--input <file>` to send a raw JSON request body, or `--input -` to relay piped stdin byte for byte.
|
|
156
|
+
`--input -` rejects an interactive terminal instead of waiting for input.
|
|
157
|
+
Giving `-X` more than once or together with a positional method is rejected, as is any other unsupported flag, extra positional argument, or repeated `--input`/`--jq`/`--template`.
|
|
156
158
|
JSON responses are normally stripped of noisy fields before TOON encoding, but a response you shaped yourself with `--jq` or `--template` keeps every key and value verbatim — only over-long strings are still truncated so one field cannot flood an agent's context.
|
|
157
159
|
`--full` is an explicit opt-in escape hatch: it keeps every field and every complete value, and it also returns non-JSON response bodies without the length cap. `--full` is a gh-axi flag only, and gh-axi does not send it to `gh`. Compact output stays the default without `--full`.
|
|
158
160
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { RepoContext } from
|
|
2
|
-
export declare const API_HELP = "usage: gh-axi api [<method>] <path>\ndescription: Make an authenticated GitHub API request. Defaults to GET if no method specified.\nmethods[6]:\n GET, POST, PUT, PATCH, DELETE, HEAD\nflags[
|
|
1
|
+
import type { RepoContext } from "../context.js";
|
|
2
|
+
export declare const API_HELP = "usage: gh-axi api [<method>] <path>\ndescription: Make an authenticated GitHub API request. Defaults to GET if no method specified.\nmethods[6]:\n GET, POST, PUT, PATCH, DELETE, HEAD\nflags[8]:\n -X <method> or -X=<method> (alias for the positional method; give once and do not combine with a positional method), --field <key=value> (repeatable), --header <key:value> (repeatable), --input <file> (raw JSON request body; use \"-\" for stdin), --paginate, --jq <expression>, --template <format>, --full (preserve complete field values and response bodies without truncation)\nexamples:\n gh-axi api /repos/{owner}/{repo}\n gh-axi api POST /repos/{owner}/{repo}/issues --field title=\"Bug report\"\n gh-axi api -X POST /repos/{owner}/{repo}/issues --field title=\"Bug report\"\n gh-axi api /repos/{owner}/{repo}/pulls --paginate\n gh-axi api /repos/{owner}/{repo}/issues/1 --jq '[.labels[].name]'\n gh-axi api PUT /repos/{owner}/{repo}/branches/main/protection --input body.json\n cat body.json | gh-axi api PUT /repos/{owner}/{repo}/branches/main/protection --input -";
|
|
3
3
|
export declare function apiCommand(args: string[], ctx?: RepoContext): Promise<string>;
|
package/dist/src/commands/api.js
CHANGED
|
@@ -1,30 +1,39 @@
|
|
|
1
|
-
import { encode } from
|
|
2
|
-
import { ghExec } from
|
|
3
|
-
import { AxiError } from
|
|
4
|
-
import { cleanBody } from
|
|
1
|
+
import { encode } from "@toon-format/toon";
|
|
2
|
+
import { ghExec, ghExecWithStdin } from "../gh.js";
|
|
3
|
+
import { AxiError } from "../errors.js";
|
|
4
|
+
import { cleanBody } from "../body.js";
|
|
5
|
+
import { readStdin, isStdinTTY } from "../stdin.js";
|
|
5
6
|
export const API_HELP = `usage: gh-axi api [<method>] <path>
|
|
6
7
|
description: Make an authenticated GitHub API request. Defaults to GET if no method specified.
|
|
7
8
|
methods[6]:
|
|
8
9
|
GET, POST, PUT, PATCH, DELETE, HEAD
|
|
9
|
-
flags[
|
|
10
|
-
-X <method> or -X=<method> (alias for the positional method; give once and do not combine with a positional method), --field <key=value> (repeatable), --header <key:value> (repeatable), --paginate, --jq <expression>, --template <format>, --full (preserve complete field values and response bodies without truncation)
|
|
10
|
+
flags[8]:
|
|
11
|
+
-X <method> or -X=<method> (alias for the positional method; give once and do not combine with a positional method), --field <key=value> (repeatable), --header <key:value> (repeatable), --input <file> (raw JSON request body; use "-" for stdin), --paginate, --jq <expression>, --template <format>, --full (preserve complete field values and response bodies without truncation)
|
|
11
12
|
examples:
|
|
12
13
|
gh-axi api /repos/{owner}/{repo}
|
|
13
14
|
gh-axi api POST /repos/{owner}/{repo}/issues --field title="Bug report"
|
|
14
15
|
gh-axi api -X POST /repos/{owner}/{repo}/issues --field title="Bug report"
|
|
15
16
|
gh-axi api /repos/{owner}/{repo}/pulls --paginate
|
|
16
|
-
gh-axi api /repos/{owner}/{repo}/issues/1 --jq '[.labels[].name]'
|
|
17
|
-
|
|
17
|
+
gh-axi api /repos/{owner}/{repo}/issues/1 --jq '[.labels[].name]'
|
|
18
|
+
gh-axi api PUT /repos/{owner}/{repo}/branches/main/protection --input body.json
|
|
19
|
+
cat body.json | gh-axi api PUT /repos/{owner}/{repo}/branches/main/protection --input -`;
|
|
20
|
+
const HTTP_METHODS = new Set(["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD"]);
|
|
18
21
|
/** The `gh api` short flag for HTTP method, equivalent to the positional method. */
|
|
19
|
-
const METHOD_FLAG =
|
|
22
|
+
const METHOD_FLAG = "-X";
|
|
20
23
|
/** Value flags that may be given more than once, each occurrence forwarded to gh. */
|
|
21
|
-
const REPEATABLE_VALUE_FLAGS = new Set([
|
|
24
|
+
const REPEATABLE_VALUE_FLAGS = new Set(["--field", "--header"]);
|
|
22
25
|
/** Value flags that gh accepts only one of, so a repeat is a caller mistake. */
|
|
23
|
-
const SINGLE_VALUE_FLAGS = new Set([
|
|
26
|
+
const SINGLE_VALUE_FLAGS = new Set(["--jq", "--template", "--input"]);
|
|
27
|
+
/** Maps a single-value flag's name to its key on `ParsedApiArgs`. */
|
|
28
|
+
const SINGLE_VALUE_FLAG_KEYS = {
|
|
29
|
+
"--jq": "jq",
|
|
30
|
+
"--template": "template",
|
|
31
|
+
"--input": "input",
|
|
32
|
+
};
|
|
24
33
|
/** Flags that stand alone and must not consume the following argument, and are forwarded to gh. */
|
|
25
|
-
const BOOL_FLAGS = new Set([
|
|
34
|
+
const BOOL_FLAGS = new Set(["--paginate"]);
|
|
26
35
|
/** Flags that stand alone, are gh-axi-only, and must not be forwarded to gh. */
|
|
27
|
-
const LOCAL_BOOL_FLAGS = new Set([
|
|
36
|
+
const LOCAL_BOOL_FLAGS = new Set(["--full"]);
|
|
28
37
|
const SUPPORTED_FLAGS = [
|
|
29
38
|
METHOD_FLAG,
|
|
30
39
|
...REPEATABLE_VALUE_FLAGS,
|
|
@@ -34,7 +43,7 @@ const SUPPORTED_FLAGS = [
|
|
|
34
43
|
];
|
|
35
44
|
/** The flag's name without any `=value` suffix, so errors never echo a value. */
|
|
36
45
|
function flagName(arg) {
|
|
37
|
-
const equals = arg.indexOf(
|
|
46
|
+
const equals = arg.indexOf("=");
|
|
38
47
|
return equals === -1 ? arg : arg.slice(0, equals);
|
|
39
48
|
}
|
|
40
49
|
/**
|
|
@@ -62,63 +71,66 @@ function parseArgs(args) {
|
|
|
62
71
|
};
|
|
63
72
|
for (let i = 0; i < args.length; i++) {
|
|
64
73
|
const arg = args[i];
|
|
65
|
-
if (!arg.startsWith(
|
|
74
|
+
if (!arg.startsWith("-")) {
|
|
66
75
|
parsed.positionals.push(arg);
|
|
67
76
|
continue;
|
|
68
77
|
}
|
|
69
78
|
const name = flagName(arg);
|
|
70
79
|
if (BOOL_FLAGS.has(name)) {
|
|
71
80
|
if (name !== arg)
|
|
72
|
-
throw new AxiError(`${name} does not take a value`,
|
|
81
|
+
throw new AxiError(`${name} does not take a value`, "VALIDATION_ERROR");
|
|
73
82
|
parsed.paginate = true;
|
|
74
83
|
continue;
|
|
75
84
|
}
|
|
76
85
|
if (LOCAL_BOOL_FLAGS.has(name)) {
|
|
77
86
|
if (name !== arg)
|
|
78
|
-
throw new AxiError(`${name} does not take a value`,
|
|
87
|
+
throw new AxiError(`${name} does not take a value`, "VALIDATION_ERROR");
|
|
79
88
|
parsed.full = true;
|
|
80
89
|
continue;
|
|
81
90
|
}
|
|
82
91
|
if (name !== METHOD_FLAG &&
|
|
83
92
|
!REPEATABLE_VALUE_FLAGS.has(name) &&
|
|
84
93
|
!SINGLE_VALUE_FLAGS.has(name)) {
|
|
85
|
-
throw new AxiError(`unknown flag ${name} for gh-axi api. Supported flags: ${SUPPORTED_FLAGS.join(
|
|
94
|
+
throw new AxiError(`unknown flag ${name} for gh-axi api. Supported flags: ${SUPPORTED_FLAGS.join(", ")}`, "VALIDATION_ERROR");
|
|
86
95
|
}
|
|
87
96
|
// `--flag=value` carries its own value; `--flag value` consumes the next arg.
|
|
88
97
|
let value;
|
|
89
98
|
if (name === arg) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
99
|
+
const next = args[i + 1];
|
|
100
|
+
if (next === undefined ||
|
|
101
|
+
(name === "--input" && SUPPORTED_FLAGS.includes(flagName(next))))
|
|
102
|
+
throw new AxiError(`${name} requires a value`, "VALIDATION_ERROR");
|
|
103
|
+
value = next;
|
|
104
|
+
i++;
|
|
93
105
|
}
|
|
94
106
|
else {
|
|
95
107
|
value = arg.slice(name.length + 1);
|
|
96
108
|
}
|
|
97
109
|
if (name === METHOD_FLAG) {
|
|
98
110
|
if (parsed.method !== undefined)
|
|
99
|
-
throw new AxiError(`${name} may only be given once`,
|
|
111
|
+
throw new AxiError(`${name} may only be given once`, "VALIDATION_ERROR");
|
|
100
112
|
const upper = value.toUpperCase();
|
|
101
113
|
if (!HTTP_METHODS.has(upper)) {
|
|
102
|
-
throw new AxiError(`${name} ${value} is not a supported HTTP method. Supported: ${[...HTTP_METHODS].join(
|
|
114
|
+
throw new AxiError(`${name} ${value} is not a supported HTTP method. Supported: ${[...HTTP_METHODS].join(", ")}`, "VALIDATION_ERROR");
|
|
103
115
|
}
|
|
104
116
|
parsed.method = upper;
|
|
105
117
|
}
|
|
106
|
-
else if (name ===
|
|
118
|
+
else if (name === "--field") {
|
|
107
119
|
parsed.fields.push(value);
|
|
108
120
|
}
|
|
109
|
-
else if (name ===
|
|
121
|
+
else if (name === "--header") {
|
|
110
122
|
parsed.headers.push(value);
|
|
111
123
|
}
|
|
112
124
|
else {
|
|
113
125
|
// gh takes the last occurrence; discarding the earlier expression silently
|
|
114
126
|
// is the same failure this parser exists to prevent, so reject instead.
|
|
115
|
-
const key = name
|
|
127
|
+
const key = SINGLE_VALUE_FLAG_KEYS[name];
|
|
116
128
|
if (parsed[key] !== undefined)
|
|
117
|
-
throw new AxiError(`${name} may only be given once`,
|
|
129
|
+
throw new AxiError(`${name} may only be given once`, "VALIDATION_ERROR");
|
|
118
130
|
// An empty value (an unset shell variable) is a no-op filter for gh that
|
|
119
131
|
// would still suppress the default field stripping here.
|
|
120
|
-
if (value.trim() ===
|
|
121
|
-
throw new AxiError(`${name} requires a value`,
|
|
132
|
+
if (value.trim() === "")
|
|
133
|
+
throw new AxiError(`${name} requires a value`, "VALIDATION_ERROR");
|
|
122
134
|
parsed[key] = value;
|
|
123
135
|
}
|
|
124
136
|
}
|
|
@@ -131,38 +143,52 @@ const LONG_STRING_CLEANUP_THRESHOLD = 200;
|
|
|
131
143
|
/** Maximum length for cleaned string values before truncation. */
|
|
132
144
|
const STRING_VALUE_TRUNCATION_LIMIT = 2000;
|
|
133
145
|
export async function apiCommand(args, ctx) {
|
|
134
|
-
if (args[0] ===
|
|
146
|
+
if (args[0] === "--help" || args.length === 0)
|
|
135
147
|
return API_HELP;
|
|
136
|
-
const { positionals, fields, headers, jq, template, method: methodFlag, paginate, full } = parseArgs(args);
|
|
137
|
-
const pathRequired = new AxiError(
|
|
148
|
+
const { positionals, fields, headers, jq, template, method: methodFlag, input, paginate, full, } = parseArgs(args);
|
|
149
|
+
const pathRequired = new AxiError("API path is required: gh-axi api [<method>] <path>", "VALIDATION_ERROR");
|
|
138
150
|
if (positionals.length === 0)
|
|
139
151
|
throw pathRequired;
|
|
140
152
|
// A positional the command cannot place is a caller typo, and dropping it
|
|
141
153
|
// silently requests a different endpoint than the one that was asked for.
|
|
142
154
|
const methodGiven = HTTP_METHODS.has(positionals[0].toUpperCase());
|
|
143
155
|
if (methodFlag !== undefined && methodGiven) {
|
|
144
|
-
throw new AxiError(
|
|
156
|
+
throw new AxiError("method given twice: use either -X <method> or the positional method, not both", "VALIDATION_ERROR");
|
|
145
157
|
}
|
|
146
158
|
if (positionals.length > (methodGiven ? 2 : 1)) {
|
|
147
|
-
throw new AxiError(
|
|
159
|
+
throw new AxiError("too many arguments for gh-axi api: expected [<method>] <path>", "VALIDATION_ERROR");
|
|
148
160
|
}
|
|
149
161
|
if (methodGiven && positionals.length < 2)
|
|
150
162
|
throw pathRequired;
|
|
151
|
-
const method = methodFlag ?? (methodGiven ? positionals[0].toUpperCase() :
|
|
163
|
+
const method = methodFlag ?? (methodGiven ? positionals[0].toUpperCase() : "GET");
|
|
152
164
|
const path = methodGiven ? positionals[1] : positionals[0];
|
|
153
|
-
const ghArgs = [
|
|
165
|
+
const ghArgs = ["api", path, "--method", method];
|
|
154
166
|
for (const f of fields) {
|
|
155
|
-
ghArgs.push(
|
|
167
|
+
ghArgs.push("--field", f);
|
|
156
168
|
}
|
|
157
169
|
for (const h of headers) {
|
|
158
|
-
ghArgs.push(
|
|
170
|
+
ghArgs.push("--header", h);
|
|
171
|
+
}
|
|
172
|
+
// `--input -` cannot be forwarded to the child `gh` process as-is: execFile
|
|
173
|
+
// gives the child its own unconnected stdin pipe, so `gh` would block
|
|
174
|
+
// forever waiting for bytes nothing writes. Read our own stdin instead and
|
|
175
|
+
// relay it to gh's stdin (still via `--input -`) through ghExecWithStdin.
|
|
176
|
+
let stdinBody;
|
|
177
|
+
if (input === "-") {
|
|
178
|
+
if (isStdinTTY())
|
|
179
|
+
throw new AxiError("--input - requires piped stdin (no request body to read)", "VALIDATION_ERROR");
|
|
180
|
+
stdinBody = await readStdin();
|
|
181
|
+
ghArgs.push("--input", "-");
|
|
182
|
+
}
|
|
183
|
+
else if (input !== undefined) {
|
|
184
|
+
ghArgs.push("--input", input);
|
|
159
185
|
}
|
|
160
186
|
if (paginate)
|
|
161
|
-
ghArgs.push(
|
|
187
|
+
ghArgs.push("--paginate");
|
|
162
188
|
if (jq !== undefined)
|
|
163
|
-
ghArgs.push(
|
|
189
|
+
ghArgs.push("--jq", jq);
|
|
164
190
|
if (template !== undefined)
|
|
165
|
-
ghArgs.push(
|
|
191
|
+
ghArgs.push("--template", template);
|
|
166
192
|
// A caller who wrote a jq expression or template already chose the exact shape
|
|
167
193
|
// they want, so noisy-field stripping would silently delete fields they asked
|
|
168
194
|
// for by name (`url`, `node_id`, ...). The length clamp still applies, so a
|
|
@@ -174,7 +200,9 @@ export async function apiCommand(args, ctx) {
|
|
|
174
200
|
const stripNoisyKeys = !callerShapedOutput && !full;
|
|
175
201
|
const truncateValues = !full;
|
|
176
202
|
// Try to parse as JSON, strip noisy fields, encode to TOON; fall back to raw output
|
|
177
|
-
const raw =
|
|
203
|
+
const raw = stdinBody !== undefined
|
|
204
|
+
? await ghExecWithStdin(ghArgs, stdinBody, ctx)
|
|
205
|
+
: await ghExec(ghArgs, ctx);
|
|
178
206
|
try {
|
|
179
207
|
const data = JSON.parse(raw);
|
|
180
208
|
return encode(shapeOutput(data, stripNoisyKeys, truncateValues));
|
|
@@ -185,41 +213,71 @@ export async function apiCommand(args, ctx) {
|
|
|
185
213
|
const truncated = !full && trimmed.length > RAW_OUTPUT_TRUNCATION_LIMIT;
|
|
186
214
|
const result = {
|
|
187
215
|
api_response: {
|
|
188
|
-
body: truncated
|
|
216
|
+
body: truncated
|
|
217
|
+
? trimmed.slice(0, RAW_OUTPUT_TRUNCATION_LIMIT)
|
|
218
|
+
: trimmed,
|
|
189
219
|
truncated,
|
|
190
220
|
},
|
|
191
221
|
};
|
|
192
222
|
if (truncated) {
|
|
193
|
-
result.api_response.original_length =
|
|
223
|
+
result.api_response.original_length =
|
|
224
|
+
trimmed.length;
|
|
194
225
|
}
|
|
195
226
|
return encode(result);
|
|
196
227
|
}
|
|
197
228
|
}
|
|
198
229
|
/** Fields from raw GitHub API responses that are noisy/useless for agents */
|
|
199
230
|
const NOISY_KEYS = new Set([
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
231
|
+
"avatar_url",
|
|
232
|
+
"gravatar_id",
|
|
233
|
+
"followers_url",
|
|
234
|
+
"following_url",
|
|
235
|
+
"gists_url",
|
|
236
|
+
"starred_url",
|
|
237
|
+
"subscriptions_url",
|
|
238
|
+
"organizations_url",
|
|
239
|
+
"repos_url",
|
|
240
|
+
"events_url",
|
|
241
|
+
"received_events_url",
|
|
242
|
+
"labels_url",
|
|
243
|
+
"comments_url",
|
|
244
|
+
"events_url",
|
|
245
|
+
"timeline_url",
|
|
246
|
+
"performed_via_github_app",
|
|
247
|
+
"node_id",
|
|
248
|
+
"url",
|
|
249
|
+
"repository_url",
|
|
250
|
+
"html_url",
|
|
251
|
+
"reactions",
|
|
252
|
+
"user_view_type",
|
|
253
|
+
"site_admin",
|
|
254
|
+
"issue_dependencies_summary",
|
|
255
|
+
"sub_issues_summary",
|
|
256
|
+
"pinned_comment",
|
|
257
|
+
"score",
|
|
258
|
+
"permissions",
|
|
259
|
+
"verification",
|
|
260
|
+
"_links",
|
|
208
261
|
]);
|
|
209
262
|
/** Keys ending in _url that are template URLs agents never use */
|
|
210
263
|
function isTemplateUrlKey(key) {
|
|
211
|
-
if (!key.endsWith(
|
|
264
|
+
if (!key.endsWith("_url"))
|
|
212
265
|
return false;
|
|
213
266
|
// Keep a few meaningful URL keys
|
|
214
267
|
const KEEP_URL_KEYS = new Set([
|
|
215
|
-
|
|
216
|
-
|
|
268
|
+
"diff_url",
|
|
269
|
+
"patch_url",
|
|
270
|
+
"clone_url",
|
|
271
|
+
"ssh_url",
|
|
272
|
+
"git_url",
|
|
273
|
+
"svn_url",
|
|
274
|
+
"commit_url", // useful for linking to specific commits
|
|
217
275
|
]);
|
|
218
276
|
return !KEEP_URL_KEYS.has(key);
|
|
219
277
|
}
|
|
220
278
|
/** Collapse repo/repository objects to essential fields only */
|
|
221
279
|
function collapseRepo(obj) {
|
|
222
|
-
if (
|
|
280
|
+
if ("full_name" in obj) {
|
|
223
281
|
const collapsed = { full_name: obj.full_name };
|
|
224
282
|
if (obj.default_branch)
|
|
225
283
|
collapsed.default_branch = obj.default_branch;
|
|
@@ -233,7 +291,7 @@ function collapseRepo(obj) {
|
|
|
233
291
|
function truncateString(value) {
|
|
234
292
|
if (value.length <= STRING_VALUE_TRUNCATION_LIMIT)
|
|
235
293
|
return value;
|
|
236
|
-
return value.slice(0, STRING_VALUE_TRUNCATION_LIMIT) +
|
|
294
|
+
return value.slice(0, STRING_VALUE_TRUNCATION_LIMIT) + "... (truncated)";
|
|
237
295
|
}
|
|
238
296
|
/** Clean and truncate a long string value (e.g. bodies, comments, blobs). */
|
|
239
297
|
function clampString(value) {
|
|
@@ -256,7 +314,7 @@ function shapeOutput(obj, stripNoisyKeys, truncateValues, depth = 0) {
|
|
|
256
314
|
if (Array.isArray(obj)) {
|
|
257
315
|
return obj.map((item) => shapeOutput(item, stripNoisyKeys, truncateValues, depth + 1));
|
|
258
316
|
}
|
|
259
|
-
if (obj !== null && typeof obj ===
|
|
317
|
+
if (obj !== null && typeof obj === "object") {
|
|
260
318
|
const record = obj;
|
|
261
319
|
const result = {};
|
|
262
320
|
for (const [key, value] of Object.entries(record)) {
|
|
@@ -269,12 +327,17 @@ function shapeOutput(obj, stripNoisyKeys, truncateValues, depth = 0) {
|
|
|
269
327
|
if (isTemplateUrlKey(key))
|
|
270
328
|
continue;
|
|
271
329
|
// Strip nested user objects down to just login
|
|
272
|
-
if (key ===
|
|
330
|
+
if (key === "user" &&
|
|
331
|
+
value &&
|
|
332
|
+
typeof value === "object" &&
|
|
333
|
+
"login" in value) {
|
|
273
334
|
result[key] = value.login;
|
|
274
335
|
continue;
|
|
275
336
|
}
|
|
276
337
|
// Collapse repo/repository objects to essential fields
|
|
277
|
-
if ((key ===
|
|
338
|
+
if ((key === "repo" || key === "repository") &&
|
|
339
|
+
value &&
|
|
340
|
+
typeof value === "object") {
|
|
278
341
|
result[key] = collapseRepo(value);
|
|
279
342
|
continue;
|
|
280
343
|
}
|
|
@@ -282,7 +345,7 @@ function shapeOutput(obj, stripNoisyKeys, truncateValues, depth = 0) {
|
|
|
282
345
|
}
|
|
283
346
|
return result;
|
|
284
347
|
}
|
|
285
|
-
if (typeof obj ===
|
|
348
|
+
if (typeof obj === "string") {
|
|
286
349
|
if (!truncateValues)
|
|
287
350
|
return obj;
|
|
288
351
|
return stripNoisyKeys ? clampString(obj) : truncateString(obj);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/commands/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/commands/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,CAAC,MAAM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