direxio-deployer 0.1.6 → 0.1.7

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
@@ -58,10 +58,10 @@ Use the matching agent name for your runtime: `codex`, `claudecode`, `gemini`, `
58
58
  direxio-deployer skill install --agent codex --scope project --project .
59
59
  ```
60
60
 
61
- The installer writes `.direxio-skill-install.json` into the target directory and refuses to overwrite unmanaged existing content unless `--force` is provided. To pin a version, install that package version first:
61
+ The installer writes `.direxio-skill-install.json` into the target directory and refuses to overwrite unmanaged existing content unless `--force` is provided. Use `@latest` for normal installs and updates:
62
62
 
63
63
  ```bash
64
- npm install -g direxio-deployer@0.1.4
64
+ npm install -g direxio-deployer@latest
65
65
  direxio-deployer skill update --agent codex
66
66
  ```
67
67
 
package/README_zh.md CHANGED
@@ -56,10 +56,10 @@ direxio-deployer skill update --agent codex
56
56
  direxio-deployer skill install --agent codex --scope project --project .
57
57
  ```
58
58
 
59
- 安装器会在目标目录写入 `.direxio-skill-install.json`,并拒绝覆盖没有该 manifest 的既有目录,除非显式传入 `--force`。如需固定版本,先安装指定 npm 版本:
59
+ 安装器会在目标目录写入 `.direxio-skill-install.json`,并拒绝覆盖没有该 manifest 的既有目录,除非显式传入 `--force`。普通安装和更新使用 `@latest`:
60
60
 
61
61
  ```bash
62
- npm install -g direxio-deployer@0.1.4
62
+ npm install -g direxio-deployer@latest
63
63
  direxio-deployer skill update --agent codex
64
64
  ```
65
65
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "direxio-deployer",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Versioned Direxio deployer agent skill and portable deployment orchestration tools.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -139,7 +139,6 @@ ops_stop_scoped_daemon() {
139
139
 
140
140
  ops_update_remote_command() {
141
141
  local image=${1:-} image_q remote_script
142
- image_q=$(ops_sh_quote "$image")
143
142
  remote_script=$(cat <<'EOF'
144
143
  set -eu
145
144
  cd /opt/p2p
@@ -179,7 +178,12 @@ else
179
178
  fi
180
179
  EOF
181
180
  )
182
- printf 'sudo MESSAGE_SERVER_IMAGE=%s sh -lc %s\n' "$image_q" "$(ops_sh_quote "$remote_script")"
181
+ if [ -n "$image" ]; then
182
+ image_q=$(ops_sh_quote "$image")
183
+ printf 'sudo MESSAGE_SERVER_IMAGE=%s sh -lc %s\n' "$image_q" "$(ops_sh_quote "$remote_script")"
184
+ else
185
+ printf 'sudo sh -lc %s\n' "$(ops_sh_quote "$remote_script")"
186
+ fi
183
187
  }
184
188
 
185
189
  ops_reset_remote_command() {