siluzan-cso-cli 1.1.43-beta.1 → 1.1.43-beta.2

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 CHANGED
@@ -54,7 +54,7 @@ siluzan-cso init -d /path/to/skills # 写入自定义目录
54
54
  siluzan-cso init --force # 强制覆盖已存在文件
55
55
  ```
56
56
 
57
- > **注意**:当前为测试版(1.1.43-beta.1),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-cso-cli`。
57
+ > **注意**:当前为测试版(1.1.43-beta.2),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-cso-cli`。
58
58
 
59
59
  | 助手 | 建议 `--ai` |
60
60
  | ----------------------- | ------------------------------------ |
package/dist/index.js CHANGED
@@ -2791,6 +2791,10 @@ function createVersionNotifier(opts) {
2791
2791
  }
2792
2792
  return { notifyIfOutdated: notifyIfOutdated2, fetchLatestVersion: fetchLatestVersion2 };
2793
2793
  }
2794
+ var TABLE_CELL_PIPE = "\uFF5C";
2795
+ function sanitizeTableCell(value) {
2796
+ return String(value ?? "").replace(/\r\n|\r|\n/g, " ").replace(/\|/g, TABLE_CELL_PIPE);
2797
+ }
2794
2798
  var ASCII_TABLE_CHARS = {
2795
2799
  top: "-",
2796
2800
  "top-mid": "+",
@@ -2821,7 +2825,7 @@ function printCliTable(rows, columns, options) {
2821
2825
  style: plain ? { head: [], border: [] } : void 0
2822
2826
  });
2823
2827
  for (const r of rows) {
2824
- table.push(columns.map((c) => String(r[c.key] ?? "")));
2828
+ table.push(columns.map((c) => sanitizeTableCell(r[c.key])));
2825
2829
  }
2826
2830
  for (const line of table.toString().split("\n")) {
2827
2831
  printLine(indent + line);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "slug": "siluzan-cso",
3
- "version": "1.1.43-beta.1",
4
- "publishedAt": 1787296865806,
3
+ "version": "1.1.43-beta.2",
4
+ "publishedAt": 1787567434685,
5
5
  "homepage": "https://www.siluzan.com",
6
6
  "source": "https://dev.azure.com/jack4it/Sammamish/_git/siluzan-skill",
7
7
  "requiredBinaries": [
@@ -9,7 +9,7 @@ $ErrorActionPreference = 'Stop'
9
9
  # -- Package info (injected at build time) ------------------------------------
10
10
  $PKG_NAME = 'siluzan-cso-cli'
11
11
  # PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
12
- $PKG_VERSION = '1.1.43-beta.1'
12
+ $PKG_VERSION = '1.1.43-beta.2'
13
13
  $CLI_BIN = 'siluzan-cso'
14
14
  $SKILL_LABEL = 'Siluzan CSO'
15
15
  $INSTALL_CMD = 'npm install -g siluzan-cso-cli@beta'
@@ -9,7 +9,7 @@ set -euo pipefail
9
9
  # -- Package info (injected at build time) ------------------------------------
10
10
  readonly PKG_NAME="siluzan-cso-cli"
11
11
  # PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
12
- readonly PKG_VERSION="1.1.43-beta.1"
12
+ readonly PKG_VERSION="1.1.43-beta.2"
13
13
  readonly CLI_BIN="siluzan-cso"
14
14
  readonly SKILL_LABEL="Siluzan CSO"
15
15
  readonly INSTALL_CMD="npm install -g siluzan-cso-cli@beta"
@@ -70,3 +70,5 @@ siluzan-cso workflow load-libraries --platform <平台> --video-script --out <fi
70
70
  - 复用宿主已确认的方案,不新增方案或提纲确认。
71
71
  - 用户明确要求占位稿时,只能使用中性的独立占位符,不得写成“我们在[待补]接到……”“前段时间我们到现场……”等第一人称、过去时的伪案例陈述。
72
72
  - 成稿文件只保留可发布内容,不附“创作说明”“事实来源说明”或内部验收过程。交付摘要只说明“目标类型 + 正文主类型”(如“转化型公司实力视频”)和仍待补事实。
73
+ - 每个待交付的最终成稿文件都必须写入 `/mnt/user-data/outputs/`;`/mnt/user-data/workspace/` 只存放草稿、中间结果或内部记录,不得作为最终交付路径。首次落盘使用 `write_file`,后续修订可使用 `str_replace` 或 `patch_file`;不得用 Bash、`cp` 等未受宿主写入追踪的方式生成最终交付文件。
74
+ - 对 `/mnt/user-data/outputs/` 中的最终文件完成 `siluzan-cso workflow validate`,通过后使用与写入时完全相同的 outputs 路径调用 `present_files(is_copy=true)`;所有待交付文件均成功呈现后才算本阶段完成。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siluzan-cso-cli",
3
- "version": "1.1.43-beta.1",
3
+ "version": "1.1.43-beta.2",
4
4
  "description": "Siluzan platform AI Skill CLI — multi-platform content publishing (video/image-text) for Cursor, Claude Code, and OpenClaw.",
5
5
  "keywords": [
6
6
  "ai-skill",