taskchef 1.0.0 → 1.0.1

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
@@ -35,9 +35,9 @@ with symlinks. To install an unreleased revision, use
35
35
  ```text
36
36
  AGENTS.md
37
37
  taskchef.json
38
- .agents/skills/taskchef-bootstrap -> <source>/.agents/skills/taskchef-bootstrap
39
- .agents/skills/taskchef-delegate -> <source>/.agents/skills/taskchef-delegate
40
- .agents/skills/taskchef-reconcile -> <source>/.agents/skills/taskchef-reconcile
38
+ .agents/skills/taskchef-bootstrap -> <source>/skills/taskchef-bootstrap
39
+ .agents/skills/taskchef-delegate -> <source>/skills/taskchef-delegate
40
+ .agents/skills/taskchef-reconcile -> <source>/skills/taskchef-reconcile
41
41
  tasks/<task-id>/task.json
42
42
  ```
43
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskchef",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A non-blocking interactive dispatcher for visible Codex tasks.",
5
5
  "license": "MIT",
6
6
  "author": "Favo Yang",
@@ -24,14 +24,14 @@
24
24
  "index.js",
25
25
  "SPEC.md",
26
26
  "src",
27
- ".agents/skills/taskchef-bootstrap",
28
- ".agents/skills/taskchef-delegate",
29
- ".agents/skills/taskchef-reconcile"
27
+ "skills/taskchef-bootstrap",
28
+ "skills/taskchef-delegate",
29
+ "skills/taskchef-reconcile"
30
30
  ],
31
31
  "engines": {
32
32
  "node": ">=18"
33
33
  },
34
34
  "scripts": {
35
- "test": "node --test"
35
+ "test": "node --test tests/taskchef.test.js"
36
36
  }
37
37
  }
@@ -7,7 +7,7 @@ description: "Initialize, diagnose, or refresh TaskChef dispatcher workspaces, p
7
7
 
8
8
  Initialize or refresh a data-only TaskChef dispatcher workspace.
9
9
 
10
- Resolve this linked skill with `realpath`. The TaskChef source root is three
10
+ Resolve this linked skill with `realpath`. The TaskChef source root is two
11
11
  parents above the skill directory. Invoke `<source-root>/bin/taskchef.js` for
12
12
  all deterministic workspace operations.
13
13
 
@@ -8,7 +8,7 @@ description: "Dispatch actionable requests from an initialized TaskChef workspac
8
8
  Create real Codex tasks from a TaskChef data workspace and return immediately.
9
9
  Use `taskchef-reconcile` first when the current prompt has active recorded tasks.
10
10
 
11
- Resolve this linked skill with `realpath`. The TaskChef source root is three
11
+ Resolve this linked skill with `realpath`. The TaskChef source root is two
12
12
  parents above the skill directory. Invoke `<source-root>/bin/taskchef.js` for
13
13
  all deterministic workspace and task-record operations.
14
14
 
@@ -7,7 +7,7 @@ description: "Reconcile active TaskChef task records with their visible Codex ex
7
7
 
8
8
  Refresh TaskChef's recorded task state from native Codex threads exactly once.
9
9
 
10
- Resolve this linked skill with `realpath`. The TaskChef source root is three
10
+ Resolve this linked skill with `realpath`. The TaskChef source root is two
11
11
  parents above the skill directory. Invoke `<source-root>/bin/taskchef.js` for
12
12
  all deterministic record operations.
13
13
 
package/src/workspace.js CHANGED
@@ -20,7 +20,7 @@ import path from "node:path";
20
20
  import { promisify } from "node:util";
21
21
 
22
22
  const execFile = promisify(execFileCallback);
23
- const DISPATCHER_INSTRUCTIONS_URL = new URL("../assets/AGENTS.md", import.meta.url);
23
+ const DISPATCHER_INSTRUCTIONS_URL = new URL("../assets/AGENTS.md.template", import.meta.url);
24
24
  const DISPATCHER_INSTRUCTIONS_START = "<!-- taskchef:dispatcher-instructions:start -->";
25
25
  const DISPATCHER_INSTRUCTIONS_END = "<!-- taskchef:dispatcher-instructions:end -->";
26
26
  const TASKCHEF_SKILL_NAMES = [
@@ -28,7 +28,7 @@ const TASKCHEF_SKILL_NAMES = [
28
28
  "taskchef-delegate",
29
29
  "taskchef-reconcile",
30
30
  ];
31
- const SKILLS_SOURCE_ROOT = fileURLToPath(new URL("../.agents/skills/", import.meta.url));
31
+ const SKILLS_SOURCE_ROOT = fileURLToPath(new URL("../skills/", import.meta.url));
32
32
  const SAFE_ID = /^[a-zA-Z0-9][a-zA-Z0-9._-]*$/;
33
33
  const CONFIG_FIELDS = new Set(["schemaVersion", "projects"]);
34
34
  const PROJECT_FIELDS = new Set([
File without changes