harness-alchemist 0.1.3 → 0.1.4

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.
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
3
3
  "name": "harness-alchemist",
4
4
  "displayName": "Harness Alchemist",
5
- "version": "0.1.3",
5
+ "version": "0.1.4",
6
6
  "description": "Scaffold, validate, and publish portable coding-agent plugins across Claude Code, Codex, OpenCode, Antigravity, and DeepSeek Harness.",
7
7
  "author": {
8
8
  "name": "Haochuan Zhang"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harness-alchemist",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Scaffold, validate, and publish portable coding-agent plugins across Claude Code, Codex, OpenCode, Antigravity, and DeepSeek Harness.",
5
5
  "author": {
6
6
  "name": "Haochuan Zhang",
package/lib/create.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { randomUUID } from "node:crypto"
4
4
  import { existsSync } from "node:fs"
5
- import { cp, mkdir, readdir, readFile, rename, rm, rmdir, stat, writeFile } from "node:fs/promises"
5
+ import { chmod, cp, mkdir, readdir, readFile, rename, rm, rmdir, stat, writeFile } from "node:fs/promises"
6
6
  import { basename, dirname, join, resolve } from "node:path"
7
7
  import { fileURLToPath } from "node:url"
8
8
  import { spawnSync } from "node:child_process"
@@ -291,6 +291,12 @@ export async function runCreate(argv) {
291
291
  const localScripts = join(staging, ".agents/skills", `develop-${options.name}`, "scripts")
292
292
  await mkdir(localScripts, { recursive: true })
293
293
  await cp(join(projectRoot, "lib/validate.mjs"), join(localScripts, "validate.mjs"))
294
+ const skillScripts = join(staging, "skills", options.name, "scripts")
295
+ if (existsSync(skillScripts)) {
296
+ for (const entry of await readdir(skillScripts)) {
297
+ await chmod(join(skillScripts, entry), 0o755)
298
+ }
299
+ }
294
300
  await writeFile(join(staging, "LICENSE"), await licenseText(canonicalRoot, options))
295
301
 
296
302
  const validation = spawnSync(process.execPath, [join(projectRoot, "lib/validate.mjs"), staging], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harness-alchemist",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Scaffold, validate, and publish portable coding-agent plugins across Claude Code, Codex, OpenCode, Antigravity, and DeepSeek Harness.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,10 +16,11 @@ Apply the {{DISPLAY_NAME}} workflow to the user's request.
16
16
  2. Run the skill entrypoint to perform the smallest complete change:
17
17
 
18
18
  ```
19
- echo '{"request": "..."}' | scripts/main.mjs
19
+ echo '{"request": "..."}' | node scripts/main.mjs
20
20
  ```
21
21
 
22
- When Python 3.10+ is available, `scripts/main.py` behaves identically.
22
+ When Python 3.10+ is available, `echo '{"request": "..."}' | python3 scripts/main.py`
23
+ behaves identically.
23
24
  3. Interpret the JSON result; both entrypoints return `{"ok": true, ...}` on
24
25
  success and exit non-zero with a stderr diagnostic on failure.
25
26
  4. Use harness-provided tools only when they are needed for the workflow.