umadev 1.0.1 → 1.0.3

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 (2) hide show
  1. package/bin/cli.js +7 -0
  2. package/package.json +8 -8
package/bin/cli.js CHANGED
@@ -104,6 +104,13 @@ function findKnowledgeDir() {
104
104
  }
105
105
 
106
106
  const binary = findBinary();
107
+ // npm artifact round-trips (upload/download-artifact in CI) can strip the
108
+ // executable bit off the prebuilt binary; restore it defensively before exec.
109
+ try {
110
+ fs.chmodSync(binary, 0o755);
111
+ } catch (_) {
112
+ // read-only install dir or already +x — spawnSync below reports real errors
113
+ }
107
114
  const extraEnv = {};
108
115
  const modelDir = findModelDir();
109
116
  if (modelDir && !process.env.UMADEV_EMBED_MODEL_DIR) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umadev",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "A project-director Agent for AI coding hosts — drives your logged-in Claude Code / Codex through a 9-phase commercial delivery pipeline with governance. No API key needed.",
5
5
  "keywords": [
6
6
  "ai",
@@ -34,12 +34,12 @@
34
34
  "node": ">=18"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@umacloud/cli-darwin-arm64": "1.0.1",
38
- "@umacloud/cli-darwin-x64": "1.0.1",
39
- "@umacloud/cli-linux-x64": "1.0.1",
40
- "@umacloud/cli-linux-arm64": "1.0.1",
41
- "@umacloud/cli-win32-x64": "1.0.1",
42
- "@umacloud/model-e5-small": "1.0.1",
43
- "@umacloud/knowledge": "1.0.1"
37
+ "@umacloud/cli-darwin-arm64": "1.0.3",
38
+ "@umacloud/cli-darwin-x64": "1.0.3",
39
+ "@umacloud/cli-linux-x64": "1.0.3",
40
+ "@umacloud/cli-linux-arm64": "1.0.3",
41
+ "@umacloud/cli-win32-x64": "1.0.3",
42
+ "@umacloud/model-e5-small": "1.0.3",
43
+ "@umacloud/knowledge": "1.0.3"
44
44
  }
45
45
  }