@lark-apaas/miaoda-cli 0.1.2-alpha.87ead47 → 0.1.2-alpha.96b37fa

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.
@@ -220,8 +220,8 @@ async function handleDbAuditList(tables, opts) {
220
220
  : ["event_time", "type", "event_id", "operator", "summary"];
221
221
  const rows = visible.map((it) => {
222
222
  const eventTime = (0, render_1.formatTime)(it.eventTime, tty);
223
- const eventId = truncateId(it.eventId);
224
- const cells = [eventTime, it.type, eventId, it.operator || "—", it.summary];
223
+ // event_id 完整透传——PRD 截图里的 "..." 只是文档省略写法,不是 CLI 行为
224
+ const cells = [eventTime, it.type, it.eventId, it.operator || "—", it.summary];
225
225
  return isMultiTable ? [it.targetTable, ...cells] : cells;
226
226
  });
227
227
  (0, output_1.emit)(tty ? (0, render_1.renderAlignedTable)(headers, rows) : (0, render_1.renderTsv)(headers, rows));
@@ -257,9 +257,3 @@ function safeParseJson(s) {
257
257
  function boolToYesNo(b) {
258
258
  return b ? "yes" : "no";
259
259
  }
260
- // audit list 的 event_id 在 TTY 视图里截断展示(PRD 示例 "01525416B44F...")
261
- function truncateId(id) {
262
- if (id.length <= 12)
263
- return id;
264
- return id.slice(0, 12) + "...";
265
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/miaoda-cli",
3
- "version": "0.1.2-alpha.87ead47",
3
+ "version": "0.1.2-alpha.96b37fa",
4
4
  "description": "Miaoda 平台命令行工具,面向 Agent 调用",
5
5
  "type": "commonjs",
6
6
  "bin": {