@agentworkforce/workload-router 0.14.0 → 0.15.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/CHANGELOG.md CHANGED
@@ -7,11 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.15.1] - 2026-05-08
11
+
10
12
  ### Added
11
13
 
12
14
  - Personas can declare prompt-visible runtime `inputs`, which are parsed,
13
15
  validated, and propagated through resolved selections.
14
16
 
17
+ ## [0.15.0] - 2026-05-08
18
+
19
+ ### Released
20
+
21
+ - v0.15.0
22
+
15
23
  ## [0.14.0] - 2026-05-08
16
24
 
17
25
  ### Released
package/README.md CHANGED
@@ -18,6 +18,12 @@ resolved persona and grouped install metadata. Nothing is installed,
18
18
  spawned, or written to disk — run `install.commandString` yourself when
19
19
  you are ready to materialize the persona's skills.
20
20
 
21
+ `usePersona` resolves only the internal built-in catalog (`persona-maker` /
22
+ `persona-authoring`). Optional personas such as `code-reviewer` and
23
+ `frontend-implementer` are distributed through installable persona packs and
24
+ should be loaded through the CLI/source cascade, then passed to `useSelection`
25
+ or `materializeSkillsFor`.
26
+
21
27
  ```ts
22
28
  import { usePersona } from '@agentworkforce/workload-router';
23
29
  ```
@@ -25,7 +31,7 @@ import { usePersona } from '@agentworkforce/workload-router';
25
31
  #### Return shape
26
32
 
27
33
  ```ts
28
- const { selection, install } = usePersona('npm-provenance');
34
+ const { selection, install } = usePersona('persona-authoring');
29
35
  ```
30
36
 
31
37
  - `selection`: the resolved persona choice for the given intent/profile. Includes `personaId`, `tier`, `runtime`, `skills`, `inputs`, `mount`, and `rationale`.
@@ -41,7 +47,7 @@ const { selection, install } = usePersona('npm-provenance');
41
47
  import { spawnSync } from 'node:child_process';
42
48
  import { usePersona } from '@agentworkforce/workload-router';
43
49
 
44
- const { selection, install } = usePersona('npm-provenance');
50
+ const { selection, install } = usePersona('persona-authoring');
45
51
 
46
52
  spawnSync(install.commandString, { shell: true, stdio: 'inherit' });
47
53
  // hand `selection` to your harness launcher of choice.
@@ -74,7 +80,12 @@ Personas may declare prompt-visible runtime inputs:
74
80
  "harness": "codex",
75
81
  "model": "openai-codex/gpt-5.3-codex",
76
82
  "systemPrompt": "Check $PACKAGE_NAME and write ${REPORT_PATH}.",
77
- "harnessSettings": { "reasoning": "high", "timeoutSeconds": 1200 }
83
+ "harnessSettings": {
84
+ "reasoning": "high",
85
+ "timeoutSeconds": 1200,
86
+ "sandboxMode": "workspace-write",
87
+ "workspaceWriteNetworkAccess": true
88
+ }
78
89
  }
79
90
  // best-value and minimum omitted in this fragment
80
91
  }
@@ -86,6 +97,11 @@ the declarations through `PersonaSpec` and `PersonaSelection`; launchers decide
86
97
  how to resolve and render them. The standard harness-kit policy is explicit
87
98
  value, env var, default, then fail.
88
99
 
100
+ Codex runtimes may also set `harnessSettings.sandboxMode`,
101
+ `harnessSettings.approvalPolicy`,
102
+ `harnessSettings.workspaceWriteNetworkAccess`, and
103
+ `harnessSettings.webSearch`; harness-kit maps those to Codex launch flags.
104
+
89
105
  ## Development
90
106
 
91
107
  ```bash