humanish 0.38.0 → 0.40.0
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 +5 -2
- package/dist/actor-contract.d.ts +24 -1
- package/dist/actor-contract.js +4 -0
- package/dist/actor-contract.js.map +1 -1
- package/dist/claude-agent-sdk.js +4 -0
- package/dist/claude-agent-sdk.js.map +1 -1
- package/dist/comms-catch-host.d.ts +31 -0
- package/dist/comms-catch-host.js +82 -4
- package/dist/comms-catch-host.js.map +1 -1
- package/dist/comms-sandbox-catch.d.ts +32 -1
- package/dist/comms-sandbox-catch.js +226 -19
- package/dist/comms-sandbox-catch.js.map +1 -1
- package/dist/computer-use-actor.d.ts +1 -1
- package/dist/computer-use.d.ts +13 -1
- package/dist/computer-use.js +100 -14
- package/dist/computer-use.js.map +1 -1
- package/dist/concurrent-shared-world-lab.js +7 -2
- package/dist/concurrent-shared-world-lab.js.map +1 -1
- package/dist/cua-actor-lab.d.ts +8 -0
- package/dist/cua-actor-lab.js +110 -9
- package/dist/cua-actor-lab.js.map +1 -1
- package/dist/e2b-desktop-executor.d.ts +21 -6
- package/dist/e2b-desktop-executor.js +65 -21
- package/dist/e2b-desktop-executor.js.map +1 -1
- package/dist/lab-config.d.ts +36 -0
- package/dist/lab-config.js +87 -2
- package/dist/lab-config.js.map +1 -1
- package/dist/observer-data.js +5 -0
- package/dist/observer-data.js.map +1 -1
- package/dist/openai-responses-cu.js +10 -1
- package/dist/openai-responses-cu.js.map +1 -1
- package/dist/orientation.d.ts +29 -0
- package/dist/orientation.js +95 -0
- package/dist/orientation.js.map +1 -0
- package/dist/persona-resolve.d.ts +44 -0
- package/dist/persona-resolve.js +109 -0
- package/dist/persona-resolve.js.map +1 -0
- package/dist/pi-agent-core.js +4 -0
- package/dist/pi-agent-core.js.map +1 -1
- package/dist/pricing.d.ts +8 -0
- package/dist/pricing.js +22 -6
- package/dist/pricing.js.map +1 -1
- package/dist/program.js +36 -1
- package/dist/program.js.map +1 -1
- package/dist/run.d.ts +1 -1
- package/dist/run.js +27 -1
- package/dist/run.js.map +1 -1
- package/dist/shared-world-lab.js +7 -2
- package/dist/shared-world-lab.js.map +1 -1
- package/dist/subject-runtime.d.ts +23 -0
- package/dist/subject-runtime.js +70 -0
- package/dist/subject-runtime.js.map +1 -0
- package/docs/contracts/schemas.md +1 -1
- package/docs/goals/current.md +2 -2
- package/docs/principles/three-roles.md +68 -0
- package/docs/ramp/README.md +1 -1
- package/package.json +1 -1
package/dist/run.js
CHANGED
|
@@ -2869,7 +2869,29 @@ export async function doctor(cwdInput) {
|
|
|
2869
2869
|
name: "runtime ignore",
|
|
2870
2870
|
ok: await safeCheck(async () => (await readImplicitProjectFile(projectRoot, ".gitignore"))?.includes(".humanish/") ?? false),
|
|
2871
2871
|
message: ".gitignore safely contains .humanish/"
|
|
2872
|
-
}
|
|
2872
|
+
},
|
|
2873
|
+
// The optional peer dep every live browser and terminal lane needs (#346). `npx -y humanish`
|
|
2874
|
+
// does not pull optional peers, so an adopter's FIRST live run used to fail on it — safely and
|
|
2875
|
+
// at $0, but as a burned first impression on the flagship path. Answering it here means the
|
|
2876
|
+
// readiness command actually answers readiness.
|
|
2877
|
+
await (async () => {
|
|
2878
|
+
const present = await safeCheck(async () => {
|
|
2879
|
+
try {
|
|
2880
|
+
await import("@e2b/desktop");
|
|
2881
|
+
return true;
|
|
2882
|
+
}
|
|
2883
|
+
catch {
|
|
2884
|
+
return false;
|
|
2885
|
+
}
|
|
2886
|
+
});
|
|
2887
|
+
return {
|
|
2888
|
+
name: "e2b desktop sdk",
|
|
2889
|
+
ok: present,
|
|
2890
|
+
message: present
|
|
2891
|
+
? "optional peer @e2b/desktop is installed; live desktop lanes can launch"
|
|
2892
|
+
: "optional peer @e2b/desktop is NOT installed — dry runs work, but any live desktop lane will fail closed. Install it with `npm i -D @e2b/desktop`."
|
|
2893
|
+
};
|
|
2894
|
+
})()
|
|
2873
2895
|
];
|
|
2874
2896
|
return {
|
|
2875
2897
|
schema: DOCTOR_SCHEMA,
|
|
@@ -5175,6 +5197,10 @@ function isRunSimulationStatus(value) {
|
|
|
5175
5197
|
|| value === "preparing"
|
|
5176
5198
|
|| value === "running"
|
|
5177
5199
|
|| value === "passed"
|
|
5200
|
+
// Participant outcomes (docs/principles/three-roles.md). This runtime allowlist is the actual
|
|
5201
|
+
// gate — the TS union alone does not validate a bundle read back from disk.
|
|
5202
|
+
|| value === "abandoned"
|
|
5203
|
+
|| value === "incomplete"
|
|
5178
5204
|
|| value === "complete"
|
|
5179
5205
|
|| value === "blocked"
|
|
5180
5206
|
|| value === "timed_out"
|