bdy 1.25.43-dev-pr → 1.25.44-dev

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.
Files changed (103) hide show
  1. package/distTs/package.json +6 -5
  2. package/distTs/src/api/client.js +1 -191
  3. package/distTs/src/cliError.js +0 -5
  4. package/distTs/src/cliIndex.js +0 -3
  5. package/distTs/src/command/login.js +1 -1
  6. package/distTs/src/output/pipeline.js +56 -54
  7. package/distTs/src/output.js +22 -85
  8. package/distTs/src/texts.js +1 -510
  9. package/distTs/src/tunnel/output/interactive/tunnel.js +10 -14
  10. package/distTs/src/tunnel/output/noninteractive/tunnel.js +1 -3
  11. package/distTs/src/utils.js +6 -142
  12. package/package.json +6 -5
  13. package/distTs/src/autocomplete.js +0 -90
  14. package/distTs/src/command/artifact/downloadDir.js +0 -110
  15. package/distTs/src/command/autocomplete/install.js +0 -16
  16. package/distTs/src/command/autocomplete/uninstall.js +0 -16
  17. package/distTs/src/command/autocomplete.js +0 -14
  18. package/distTs/src/command/environment/resolve.js +0 -39
  19. package/distTs/src/command/package/create.js +0 -64
  20. package/distTs/src/command/package/delete.js +0 -38
  21. package/distTs/src/command/package/docker/login.js +0 -26
  22. package/distTs/src/command/package/docker.js +0 -11
  23. package/distTs/src/command/package/download.js +0 -138
  24. package/distTs/src/command/package/get.js +0 -36
  25. package/distTs/src/command/package/list.js +0 -31
  26. package/distTs/src/command/package/publish.js +0 -241
  27. package/distTs/src/command/package/version/delete.js +0 -39
  28. package/distTs/src/command/package/version/get.js +0 -45
  29. package/distTs/src/command/package/version/list.js +0 -47
  30. package/distTs/src/command/package/version.js +0 -16
  31. package/distTs/src/command/package.js +0 -26
  32. package/distTs/src/command/pipeline/run/apply.js +0 -62
  33. package/distTs/src/command/pr/comment/add.js +0 -66
  34. package/distTs/src/command/pr/comment/list.js +0 -167
  35. package/distTs/src/command/pr/comment/status.js +0 -50
  36. package/distTs/src/command/pr/comment.js +0 -19
  37. package/distTs/src/command/pr/create.js +0 -44
  38. package/distTs/src/command/pr/diff.js +0 -337
  39. package/distTs/src/command/pr/file/list.js +0 -139
  40. package/distTs/src/command/pr/file/mark.js +0 -45
  41. package/distTs/src/command/pr/file.js +0 -16
  42. package/distTs/src/command/pr/get.js +0 -29
  43. package/distTs/src/command/pr/list.js +0 -79
  44. package/distTs/src/command/pr/merge.js +0 -67
  45. package/distTs/src/command/pr/review/request.js +0 -30
  46. package/distTs/src/command/pr/review/start.js +0 -29
  47. package/distTs/src/command/pr/review/verdict.js +0 -81
  48. package/distTs/src/command/pr/review.js +0 -18
  49. package/distTs/src/command/pr/shared.js +0 -704
  50. package/distTs/src/command/pr/state.js +0 -38
  51. package/distTs/src/command/pr/summary.js +0 -341
  52. package/distTs/src/command/pr/update.js +0 -56
  53. package/distTs/src/command/pr/updateBranch.js +0 -22
  54. package/distTs/src/command/pr/versions.js +0 -42
  55. package/distTs/src/command/pr.js +0 -39
  56. package/distTs/src/command/scrape/validation.js +0 -154
  57. package/distTs/src/command/scrape.js +0 -144
  58. package/distTs/src/command/suiteLink.js +0 -14
  59. package/distTs/src/command/tests/visual/result/download.js +0 -31
  60. package/distTs/src/command/tests/visual/result/get.js +0 -68
  61. package/distTs/src/command/tests/visual/result/list.js +0 -49
  62. package/distTs/src/command/tests/visual/result.js +0 -23
  63. package/distTs/src/command/tests/visual/session/get.js +0 -70
  64. package/distTs/src/command/tests/visual/session/list.js +0 -69
  65. package/distTs/src/command/tests/visual/session/open.js +0 -22
  66. package/distTs/src/command/tests/visual/session/reviewUrl.js +0 -37
  67. package/distTs/src/command/tests/visual/session/update.js +0 -26
  68. package/distTs/src/command/tests/visual/shared/context.js +0 -144
  69. package/distTs/src/command/tests/visual/shared/diffRegions.js +0 -172
  70. package/distTs/src/command/tests/visual/shared/format.js +0 -21
  71. package/distTs/src/command/tests/visual/shared/lookup.js +0 -107
  72. package/distTs/src/command/tests/visual/shared/options.js +0 -90
  73. package/distTs/src/command/tests/visual/shared/review.js +0 -146
  74. package/distTs/src/command/tests/visual/shared/reviewUrl.js +0 -62
  75. package/distTs/src/command/tests/visual/shared/session.js +0 -217
  76. package/distTs/src/command/tests/visual/snapshot/get.js +0 -46
  77. package/distTs/src/command/tests/visual/snapshot/list.js +0 -68
  78. package/distTs/src/command/tests/visual/snapshot/open.js +0 -26
  79. package/distTs/src/command/tests/visual/snapshot/reviewUrl.js +0 -48
  80. package/distTs/src/command/tests/visual/snapshot.js +0 -28
  81. package/distTs/src/command/tests/visual/suite/create.js +0 -38
  82. package/distTs/src/command/tests/visual/suite/delete.js +0 -29
  83. package/distTs/src/command/tests/visual/suite/get.js +0 -43
  84. package/distTs/src/command/tests/visual/suite/list.js +0 -35
  85. package/distTs/src/command/tests/visual/suite/open.js +0 -20
  86. package/distTs/src/command/tests/visual/suite/update.js +0 -47
  87. package/distTs/src/command/tests/visual/suite.js +0 -30
  88. package/distTs/src/command/ut/upload.js +0 -86
  89. package/distTs/src/command/ut.js +0 -12
  90. package/distTs/src/command/vt/close.js +0 -27
  91. package/distTs/src/command/vt/compare/validation.js +0 -46
  92. package/distTs/src/command/vt/compare.js +0 -100
  93. package/distTs/src/command/vt/exec.js +0 -82
  94. package/distTs/src/command/vt/installBrowser.js +0 -20
  95. package/distTs/src/command/vt/shared/validation.js +0 -145
  96. package/distTs/src/command/vt/storybook.js +0 -138
  97. package/distTs/src/command/vt.js +0 -20
  98. package/distTs/src/command/yaml/agents.js +0 -88
  99. package/distTs/src/command/yaml/init.js +0 -110
  100. package/distTs/src/main.js +0 -190
  101. package/distTs/src/types/options.js +0 -2
  102. package/distTs/src/types/scrape.js +0 -2
  103. package/distTs/src/types/visualTests.js +0 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.25.43-dev-pr",
4
+ "version": "1.25.44-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "homepage": "https://buddy.works/docs/cli",
@@ -9,6 +9,7 @@
9
9
  "url": "https://github.com/buddy/cli/issues"
10
10
  },
11
11
  "scripts": {
12
+ "audit": "audit-ci --config audit-ci.jsonc",
12
13
  "lint": "eslint \"*/**\"",
13
14
  "lint:types": "tsc --skipLibCheck --noEmit --project tsconfig.json && tsc --skipLibCheck --project test/tsconfig.json && tsc --skipLibCheck --project e2e/tsconfig.json",
14
15
  "watch": "tsc --watch --project tsconfig.json & tsc --watch --project src/visualTest/utils/tsconfig.json",
@@ -32,7 +33,6 @@
32
33
  "e2e:target": "vitest run --config e2e/vitest.config.mts e2e/modules/target/",
33
34
  "e2e:environment": "vitest run --config e2e/vitest.config.mts e2e/modules/environment/",
34
35
  "e2e:yaml": "vitest run --config e2e/vitest.config.mts e2e/modules/yaml/",
35
- "e2e:pr": "vitest run --config e2e/vitest.config.mts e2e/modules/pr/",
36
36
  "unit": "vitest run --config vitest.config.mts"
37
37
  },
38
38
  "files": [
@@ -82,7 +82,7 @@
82
82
  "netmask": "2.1.1",
83
83
  "open": "11.0.0",
84
84
  "path-is-inside": "1.0.2",
85
- "picomatch": "4.0.4",
85
+ "picomatch": "4.0.7",
86
86
  "pino": "10.3.1",
87
87
  "punycode": "2.3.1",
88
88
  "puppeteer-core": "25.16.0",
@@ -124,7 +124,8 @@
124
124
  "@types/unzipper": "0.10.11",
125
125
  "@types/which": "3.0.4",
126
126
  "@types/ws": "8.18.1",
127
- "eslint": "10.4.1",
127
+ "audit-ci": "7.1.0",
128
+ "eslint": "10.15.0",
128
129
  "eslint-config-prettier": "10.1.8",
129
130
  "globals": "17.6.0",
130
131
  "postject": "1.0.0-alpha.6",
@@ -133,7 +134,7 @@
133
134
  "rollup": "4.61.1",
134
135
  "rollup-plugin-natives": "0.7.8",
135
136
  "typescript": "6.0.3",
136
- "typescript-eslint": "8.61.0",
137
+ "typescript-eslint": "8.73.0",
137
138
  "vitest": "4.1.12"
138
139
  },
139
140
  "allowScripts": {
@@ -254,7 +254,6 @@ class ApiClient {
254
254
  else {
255
255
  let message;
256
256
  let nonJsonBody = false;
257
- let errorBody;
258
257
  try {
259
258
  const json = await responseBody.json();
260
259
  logger_1.default.debug('API CLIENT PARSED RESPONSE:');
@@ -263,7 +262,6 @@ class ApiClient {
263
262
  const value = json?.errors?.[0]?.message ?? json?.error_description ?? json?.error;
264
263
  if (typeof value === 'string')
265
264
  message = value;
266
- errorBody = json;
267
265
  }
268
266
  catch (err) {
269
267
  nonJsonBody = true;
@@ -272,10 +270,7 @@ class ApiClient {
272
270
  // Edge/WAF throttling uses 403 with an HTML body. Preserve the legacy
273
271
  // rate-limit classification; JSON 403 responses still report API errors.
274
272
  const error = (0, texts_1.ERR_API_DETAILS)(status === 403 && nonJsonBody ? 429 : status, message, path, this.baseUrl, rateLimitReset);
275
- const cliError = new cliError_1.default(error.code, error.message, error.hint);
276
- cliError.status = status;
277
- cliError.body = errorBody;
278
- throw cliError;
273
+ throw new cliError_1.default(error.code, error.message, error.hint);
279
274
  }
280
275
  }
281
276
  // Set by the CLI bootstrap (Input.restApiTokenClient); the transport layer
@@ -886,191 +881,6 @@ class ApiClient {
886
881
  parseResponseBody: false,
887
882
  });
888
883
  }
889
- // Pull request methods (Buddy-hosted repositories)
890
- pullsPath(workspace, project, number) {
891
- const base = `/workspaces/${encodeURIComponent(workspace)}/projects/${encodeURIComponent(project)}/repository/pulls`;
892
- return number === undefined ? base : `${base}/${encodeURIComponent(number)}`;
893
- }
894
- static compactQuery(query) {
895
- const result = {};
896
- for (const [key, value] of Object.entries(query)) {
897
- if (value !== undefined && value !== null && value !== '') {
898
- result[key] = String(value);
899
- }
900
- }
901
- return result;
902
- }
903
- async getPullRequests(workspace, project, query = {}) {
904
- return await this.request({
905
- method: 'GET',
906
- path: this.pullsPath(workspace, project),
907
- query: ApiClient.compactQuery(query),
908
- parseResponseBody: true,
909
- });
910
- }
911
- async getPullRequest(workspace, project, number) {
912
- return await this.request({
913
- method: 'GET',
914
- path: this.pullsPath(workspace, project, number),
915
- parseResponseBody: true,
916
- });
917
- }
918
- async createPullRequest(workspace, project, body) {
919
- return await this.request({
920
- method: 'POST',
921
- path: this.pullsPath(workspace, project),
922
- body,
923
- parseResponseBody: true,
924
- });
925
- }
926
- async updatePullRequest(workspace, project, number, body) {
927
- return await this.request({
928
- method: 'PATCH',
929
- path: this.pullsPath(workspace, project, number),
930
- body,
931
- parseResponseBody: true,
932
- });
933
- }
934
- async mergePullRequest(workspace, project, number, body) {
935
- return await this.request({
936
- method: 'PUT',
937
- path: `${this.pullsPath(workspace, project, number)}/merge`,
938
- body,
939
- parseResponseBody: true,
940
- });
941
- }
942
- async updatePullRequestBranch(workspace, project, number) {
943
- return await this.request({
944
- method: 'PUT',
945
- path: `${this.pullsPath(workspace, project, number)}/update-branch`,
946
- parseResponseBody: true,
947
- });
948
- }
949
- async getPullRequestVersions(workspace, project, number) {
950
- return await this.request({
951
- method: 'GET',
952
- path: `${this.pullsPath(workspace, project, number)}/versions`,
953
- parseResponseBody: true,
954
- });
955
- }
956
- async getPullRequestFiles(workspace, project, number, query = {}) {
957
- return await this.request({
958
- method: 'GET',
959
- path: `${this.pullsPath(workspace, project, number)}/files`,
960
- query: ApiClient.compactQuery(query),
961
- parseResponseBody: true,
962
- });
963
- }
964
- async markPullRequestFilesViewed(workspace, project, number, body) {
965
- return await this.request({
966
- method: 'POST',
967
- path: `${this.pullsPath(workspace, project, number)}/files/viewed`,
968
- body,
969
- parseResponseBody: true,
970
- });
971
- }
972
- async getPullRequestDiff(workspace, project, number, query) {
973
- return await this.request({
974
- method: 'GET',
975
- path: `${this.pullsPath(workspace, project, number)}/diff`,
976
- query: ApiClient.compactQuery(query),
977
- parseResponseBody: true,
978
- });
979
- }
980
- async getPullRequestReview(workspace, project, number) {
981
- return await this.request({
982
- method: 'GET',
983
- path: `${this.pullsPath(workspace, project, number)}/review`,
984
- parseResponseBody: true,
985
- });
986
- }
987
- async startPullRequestReview(workspace, project, number, version) {
988
- return await this.request({
989
- method: 'POST',
990
- path: `${this.pullsPath(workspace, project, number)}/review`,
991
- body: { version },
992
- parseResponseBody: true,
993
- });
994
- }
995
- async submitPullRequestVerdict(workspace, project, number, body) {
996
- return await this.request({
997
- method: 'PUT',
998
- path: `${this.pullsPath(workspace, project, number)}/review`,
999
- body,
1000
- parseResponseBody: true,
1001
- });
1002
- }
1003
- async getPullRequestReviews(workspace, project, number) {
1004
- return await this.request({
1005
- method: 'GET',
1006
- path: `${this.pullsPath(workspace, project, number)}/reviews`,
1007
- parseResponseBody: true,
1008
- });
1009
- }
1010
- async requestPullRequestReview(workspace, project, number, reviewers) {
1011
- return await this.request({
1012
- method: 'POST',
1013
- path: `${this.pullsPath(workspace, project, number)}/reviewers`,
1014
- body: { reviewers },
1015
- parseResponseBody: true,
1016
- });
1017
- }
1018
- async getPullRequestActivity(workspace, project, number, since) {
1019
- return await this.request({
1020
- method: 'GET',
1021
- path: `${this.pullsPath(workspace, project, number)}/activity`,
1022
- query: ApiClient.compactQuery({ since }),
1023
- parseResponseBody: true,
1024
- });
1025
- }
1026
- async addPullRequestComment(workspace, project, number, comment) {
1027
- return await this.request({
1028
- method: 'POST',
1029
- path: `${this.pullsPath(workspace, project, number)}/comments`,
1030
- body: { comment },
1031
- parseResponseBody: true,
1032
- });
1033
- }
1034
- async getPullRequestThreads(workspace, project, number, query = {}) {
1035
- return await this.request({
1036
- method: 'GET',
1037
- path: `${this.pullsPath(workspace, project, number)}/threads`,
1038
- query: ApiClient.compactQuery(query),
1039
- parseResponseBody: true,
1040
- });
1041
- }
1042
- async getPullRequestThread(workspace, project, number, threadId, version) {
1043
- return await this.request({
1044
- method: 'GET',
1045
- path: `${this.pullsPath(workspace, project, number)}/threads/${encodeURIComponent(threadId)}`,
1046
- query: ApiClient.compactQuery({ version }),
1047
- parseResponseBody: true,
1048
- });
1049
- }
1050
- async addPullRequestThread(workspace, project, number, body) {
1051
- return await this.request({
1052
- method: 'POST',
1053
- path: `${this.pullsPath(workspace, project, number)}/threads`,
1054
- body,
1055
- parseResponseBody: true,
1056
- });
1057
- }
1058
- async addPullRequestThreadComment(workspace, project, number, threadId, comment) {
1059
- return await this.request({
1060
- method: 'POST',
1061
- path: `${this.pullsPath(workspace, project, number)}/threads/${encodeURIComponent(threadId)}/comments`,
1062
- body: { comment },
1063
- parseResponseBody: true,
1064
- });
1065
- }
1066
- async updatePullRequestThread(workspace, project, number, threadId, body) {
1067
- return await this.request({
1068
- method: 'PATCH',
1069
- path: `${this.pullsPath(workspace, project, number)}/threads/${encodeURIComponent(threadId)}`,
1070
- body,
1071
- parseResponseBody: true,
1072
- });
1073
- }
1074
884
  // Environment methods
1075
885
  async getEnvironments(workspace, project) {
1076
886
  const query = {};
@@ -13,11 +13,6 @@ var SemanticExitCode;
13
13
  class CliError extends Error {
14
14
  code;
15
15
  hint;
16
- // Set by ApiClient for API errors: the HTTP status and the parsed JSON body,
17
- // so a command can read fields the API sends next to `errors` (e.g. the
18
- // current version in a 409 of a pull request verdict).
19
- status;
20
- body;
21
16
  constructor(code, message, hint = null, options) {
22
17
  super(message, options);
23
18
  this.code = code;
@@ -33,7 +33,6 @@ const register_1 = __importDefault(require("./command/register"));
33
33
  const mcp_1 = __importDefault(require("./command/mcp"));
34
34
  const discover_1 = __importDefault(require("./command/discover"));
35
35
  const context_1 = __importDefault(require("./command/context"));
36
- const pr_1 = __importDefault(require("./command/pr"));
37
36
  const input_1 = __importDefault(require("./input"));
38
37
  const cliCommand_1 = __importDefault(require("./cliCommand"));
39
38
  const client_1 = __importDefault(require("./api/client"));
@@ -51,7 +50,6 @@ function cliIndex() {
51
50
  program.hook('preAction', pre_1.default);
52
51
  program.configureHelp({
53
52
  formatHelp: utils_1.formatHelp,
54
- subcommandTerm: utils_1.subcommandTerm,
55
53
  });
56
54
  // root options must come before the subcommand, so -v here can't
57
55
  // shadow subcommand flags like `sandbox create -v <variable>`
@@ -78,7 +76,6 @@ function cliIndex() {
78
76
  program.addCommand(logout_1.default);
79
77
  program.addCommand(workspace_1.default);
80
78
  program.addCommand(project_1.default);
81
- program.addCommand(pr_1.default);
82
79
  program.addCommand(yaml_1.default);
83
80
  program.addCommand(api_1.default);
84
81
  program.addCommand(mcp_1.default);
@@ -172,7 +172,7 @@ async function oauthServer(api, clientId, clientSecret, forceRegisterEmail, forc
172
172
  else {
173
173
  output_1.default.dim(isRegister ? texts_1.TXT_REGISTER_OPEN_URL : texts_1.TXT_LOGIN_OPEN_URL);
174
174
  output_1.default.normal('');
175
- output_1.default.dim(url);
175
+ output_1.default.dim(url.replace(/%/g, '%%'));
176
176
  output_1.default.normal('');
177
177
  }
178
178
  for (;;) {
@@ -579,7 +579,7 @@ class OutputPipeline {
579
579
  return;
580
580
  }
581
581
  commands.forEach((command) => {
582
- output_1.default.markup(`${output_1.default.getTermKitDimColor(` ${texts_1.TXT_PIPELINE_RUN_NEXT}`)}${output_1.default.getTermKitMutedColor(command)}`);
582
+ output_1.default.normal(`${output_1.default.getTermKitDimColor(` ${texts_1.TXT_PIPELINE_RUN_NEXT}`)}${output_1.default.getTermKitMutedColor(command)}`);
583
583
  });
584
584
  }
585
585
  static _jsonActionsLogsHelp(identifier, runId, flags, actionRunId) {
@@ -1295,28 +1295,28 @@ class OutputPipeline {
1295
1295
  this.jsonAction(identifier, runId, action, flags);
1296
1296
  }
1297
1297
  else {
1298
- output_1.default.markup(this._runDetailsHeader());
1299
- output_1.default.markup(this._runDetailsId(action.runId, tabs));
1300
- output_1.default.markup(this._runHtmlUrl(action.url, tabs));
1301
- output_1.default.markup(this._runDetailsStatus(action.status, action.started, action.finished, tabs));
1298
+ output_1.default.normal(this._runDetailsHeader());
1299
+ output_1.default.normal(this._runDetailsId(action.runId, tabs));
1300
+ output_1.default.normal(this._runHtmlUrl(action.url, tabs));
1301
+ output_1.default.normal(this._runDetailsStatus(action.status, action.started, action.finished, tabs));
1302
1302
  const target = this._runActionTarget(action, tabs);
1303
1303
  if (target) {
1304
- output_1.default.markup(target);
1304
+ output_1.default.normal(target);
1305
1305
  }
1306
1306
  const loop = this._runLoopVariables(action.loop, action.loopValues, tabs);
1307
1307
  if (loop) {
1308
- output_1.default.markup(loop);
1308
+ output_1.default.normal(loop);
1309
1309
  }
1310
1310
  const started = this._runDetailsStarted(action.status, action.started, null, tabs);
1311
1311
  if (started) {
1312
- output_1.default.markup(started);
1312
+ output_1.default.normal(started);
1313
1313
  }
1314
1314
  const finished = this._runDetailsFinished(action.status, action.finished, tabs);
1315
1315
  if (finished) {
1316
- output_1.default.markup(finished);
1316
+ output_1.default.normal(finished);
1317
1317
  }
1318
- output_1.default.markup('');
1319
- output_1.default.markup(this._runLogsHeader());
1318
+ output_1.default.normal('');
1319
+ output_1.default.normal(this._runLogsHeader());
1320
1320
  }
1321
1321
  drawnStart = true;
1322
1322
  }
@@ -1326,7 +1326,9 @@ class OutputPipeline {
1326
1326
  this.jsonLog(logs[actionLogsStart]);
1327
1327
  }
1328
1328
  else {
1329
- output_1.default.markup(output_1.default.getTermKitDimColor(` ${logs[actionLogsStart]}`));
1329
+ // log lines are payload inside markup - escape so % and ^
1330
+ // sequences in build output render verbatim
1331
+ output_1.default.normal(output_1.default.getTermKitDimColor(` ${output_1.default.escapeTermKit(logs[actionLogsStart])}`));
1330
1332
  }
1331
1333
  }
1332
1334
  if (action &&
@@ -1349,39 +1351,39 @@ class OutputPipeline {
1349
1351
  }
1350
1352
  else {
1351
1353
  if (logsEnd && action?.outputtedVariables.length) {
1352
- output_1.default.markup('');
1353
- output_1.default.markup(this._runOutputHeader());
1354
- output_1.default.markup(output_1.default.getTermKitDimColor(' Variables '), false);
1354
+ output_1.default.normal('');
1355
+ output_1.default.normal(this._runOutputHeader());
1356
+ output_1.default.normal(output_1.default.getTermKitDimColor(' Variables '), false);
1355
1357
  action.outputtedVariables.forEach((v, i) => {
1356
1358
  let line = '';
1357
1359
  if (i > 0)
1358
1360
  line += ' ';
1359
- line += output_1.default.getTermKitMutedColor(v.key);
1361
+ line += output_1.default.getTermKitMutedColor(output_1.default.escapeTermKit(v.key));
1360
1362
  line += output_1.default.getTermKitDimColor(` = "`);
1361
- line += output_1.default.getTermKitBlueColor(v.value);
1363
+ line += output_1.default.getTermKitBlueColor(output_1.default.escapeTermKit(v.value));
1362
1364
  line += output_1.default.getTermKitDimColor('"');
1363
- output_1.default.markup(line);
1365
+ output_1.default.normal(line);
1364
1366
  });
1365
1367
  }
1366
1368
  if (logsEnd && action && totalFetchesCount > 1) {
1367
- output_1.default.markup('');
1368
- output_1.default.markup(this._runDetailsHeader());
1369
- output_1.default.markup(this._runDetailsStatus(action.status, action.started, action.finished, tabs));
1369
+ output_1.default.normal('');
1370
+ output_1.default.normal(this._runDetailsHeader());
1371
+ output_1.default.normal(this._runDetailsStatus(action.status, action.started, action.finished, tabs));
1370
1372
  const target = this._runActionTarget(action, tabs);
1371
1373
  if (target) {
1372
- output_1.default.markup(target);
1374
+ output_1.default.normal(target);
1373
1375
  }
1374
1376
  const loop = this._runLoopVariables(action.loop, action.loopValues, tabs);
1375
1377
  if (loop) {
1376
- output_1.default.markup(loop);
1378
+ output_1.default.normal(loop);
1377
1379
  }
1378
1380
  const started = this._runDetailsStarted(action.status, action.started, null, tabs);
1379
1381
  if (started) {
1380
- output_1.default.markup(started);
1382
+ output_1.default.normal(started);
1381
1383
  }
1382
1384
  const finished = this._runDetailsFinished(action.status, action.finished, tabs);
1383
1385
  if (finished) {
1384
- output_1.default.markup(finished);
1386
+ output_1.default.normal(finished);
1385
1387
  }
1386
1388
  }
1387
1389
  }
@@ -1447,32 +1449,32 @@ class OutputPipeline {
1447
1449
  }
1448
1450
  const draw = (r) => {
1449
1451
  if (!run) {
1450
- output_1.default.markup(this._runDetailsHeader());
1451
- output_1.default.markup(this._runDetailsId(r.runId, tabs));
1452
- output_1.default.markup(this._runHtmlUrl(r.url, tabs));
1453
- output_1.default.markup(this._runDetailsStatus(r.status, r.started, r.finished, tabs));
1454
- output_1.default.markup(this._runDetailsTriggerer(r, tabs));
1452
+ output_1.default.normal(this._runDetailsHeader());
1453
+ output_1.default.normal(this._runDetailsId(r.runId, tabs));
1454
+ output_1.default.normal(this._runHtmlUrl(r.url, tabs));
1455
+ output_1.default.normal(this._runDetailsStatus(r.status, r.started, r.finished, tabs));
1456
+ output_1.default.normal(this._runDetailsTriggerer(r, tabs));
1455
1457
  if (r?.description)
1456
- output_1.default.markup(this._runDetailsDescription(r, tabs));
1458
+ output_1.default.normal(this._runDetailsDescription(r, tabs));
1457
1459
  const started = this._runDetailsStarted(r.status, r.started, r.delayed, tabs);
1458
1460
  if (started)
1459
- output_1.default.markup(started);
1461
+ output_1.default.normal(started);
1460
1462
  const finished = this._runDetailsFinished(r.status, r.finished, tabs);
1461
1463
  if (finished)
1462
- output_1.default.markup(finished);
1464
+ output_1.default.normal(finished);
1463
1465
  const context = this._runContext(r, tabs);
1464
1466
  if (context.length > 0) {
1465
- output_1.default.markup('');
1467
+ output_1.default.normal('');
1466
1468
  context.forEach((str) => {
1467
- output_1.default.markup(str);
1469
+ output_1.default.normal(str);
1468
1470
  });
1469
1471
  }
1470
- output_1.default.markup('');
1471
- output_1.default.markup(this._runActionsHeader(tabs));
1472
+ output_1.default.normal('');
1473
+ output_1.default.normal(this._runActionsHeader(tabs));
1472
1474
  }
1473
1475
  const actions = this._runActions(r, true, 0, -1, tabs);
1474
1476
  actions.forEach((str) => {
1475
- output_1.default.markup(str);
1477
+ output_1.default.normal(str);
1476
1478
  });
1477
1479
  run = r;
1478
1480
  };
@@ -1513,42 +1515,42 @@ class OutputPipeline {
1513
1515
  else {
1514
1516
  if (totalFetchesCount > 1 || noFollow) {
1515
1517
  if (!noFollow)
1516
- output_1.default.markup('');
1517
- output_1.default.markup(this._runDetailsHeader());
1518
+ output_1.default.normal('');
1519
+ output_1.default.normal(this._runDetailsHeader());
1518
1520
  if (noFollow) {
1519
- output_1.default.markup(this._runDetailsId(run.runId, tabs));
1520
- output_1.default.markup(this._runHtmlUrl(run.url, tabs));
1521
+ output_1.default.normal(this._runDetailsId(run.runId, tabs));
1522
+ output_1.default.normal(this._runHtmlUrl(run.url, tabs));
1521
1523
  }
1522
- output_1.default.markup(this._runDetailsStatus(run.status, run.started, run.finished, tabs));
1524
+ output_1.default.normal(this._runDetailsStatus(run.status, run.started, run.finished, tabs));
1523
1525
  if (noFollow) {
1524
- output_1.default.markup(this._runDetailsTriggerer(run, tabs));
1526
+ output_1.default.normal(this._runDetailsTriggerer(run, tabs));
1525
1527
  if (run?.description)
1526
- output_1.default.markup(this._runDetailsDescription(run, tabs));
1528
+ output_1.default.normal(this._runDetailsDescription(run, tabs));
1527
1529
  }
1528
1530
  const started = this._runDetailsStarted(run.status, run.started, run.delayed, tabs);
1529
1531
  if (started)
1530
- output_1.default.markup(started);
1532
+ output_1.default.normal(started);
1531
1533
  const finished = this._runDetailsFinished(run.status, run.finished, tabs);
1532
1534
  if (finished)
1533
- output_1.default.markup(finished);
1535
+ output_1.default.normal(finished);
1534
1536
  if (noFollow) {
1535
1537
  const context = this._runContext(run, tabs);
1536
1538
  if (context.length > 0) {
1537
- output_1.default.markup('');
1539
+ output_1.default.normal('');
1538
1540
  context.forEach((str) => {
1539
- output_1.default.markup(str);
1541
+ output_1.default.normal(str);
1540
1542
  });
1541
1543
  }
1542
- output_1.default.markup('');
1543
- output_1.default.markup(this._runActionsHeader(tabs));
1544
+ output_1.default.normal('');
1545
+ output_1.default.normal(this._runActionsHeader(tabs));
1544
1546
  const actions = this._runActions(run, true, 0, -1, tabs);
1545
1547
  actions.forEach((str) => {
1546
- output_1.default.markup(str);
1548
+ output_1.default.normal(str);
1547
1549
  });
1548
1550
  }
1549
1551
  }
1550
- output_1.default.markup(this._dimLine());
1551
- output_1.default.markup(this._runActionsLogsHelp(identifier, runId, flags));
1552
+ output_1.default.normal(this._dimLine());
1553
+ output_1.default.normal(this._runActionsLogsHelp(identifier, runId, flags));
1552
1554
  }
1553
1555
  await finishRun(run);
1554
1556
  }