humanish 0.56.0 → 0.57.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/dist/agent-session.d.ts +11 -0
- package/dist/agent-session.js +43 -0
- package/dist/agent-session.js.map +1 -0
- package/dist/cua-actor-lab.d.ts +10 -0
- package/dist/cua-actor-lab.js +145 -21
- package/dist/cua-actor-lab.js.map +1 -1
- package/dist/e2b-terminal-lab.js +36 -1
- package/dist/e2b-terminal-lab.js.map +1 -1
- package/dist/lab-config.d.ts +23 -1
- package/dist/lab-config.js +47 -8
- package/dist/lab-config.js.map +1 -1
- package/dist/lab-engine.js +6 -0
- package/dist/lab-engine.js.map +1 -1
- package/dist/program.d.ts +2 -0
- package/dist/program.js +36 -3
- package/dist/program.js.map +1 -1
- package/dist/run.d.ts +9 -0
- package/dist/run.js +7 -7
- package/dist/run.js.map +1 -1
- package/dist/terminal-encoding.d.ts +17 -0
- package/dist/terminal-encoding.js +80 -0
- package/dist/terminal-encoding.js.map +1 -0
- package/dist/tui-app.js +80 -80
- package/docs/contracts/schemas.md +9 -2
- package/docs/goals/current.md +1 -1
- package/docs/ramp/README.md +1 -1
- package/package.json +1 -1
package/dist/run.d.ts
CHANGED
|
@@ -1045,6 +1045,15 @@ export interface DoctorResult {
|
|
|
1045
1045
|
name: string;
|
|
1046
1046
|
ok: boolean;
|
|
1047
1047
|
message: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* ADDITIVE + OPTIONAL. `false` means the check never ran — the directory could not be read, so
|
|
1050
|
+
* there is nothing to report about it either way. Absent means it ran and `ok` is its verdict.
|
|
1051
|
+
*
|
|
1052
|
+
* It exists because a failed check and an unrun one used to render identically, and the unrun
|
|
1053
|
+
* rows carried the SUCCESS text: a participant read `missing package.json: package.json is
|
|
1054
|
+
* present and safe to read` off a real screen (labs/tui-self-study.yaml).
|
|
1055
|
+
*/
|
|
1056
|
+
checked?: boolean;
|
|
1048
1057
|
}>;
|
|
1049
1058
|
}
|
|
1050
1059
|
/**
|
package/dist/run.js
CHANGED
|
@@ -2960,10 +2960,10 @@ export async function doctor(cwdInput) {
|
|
|
2960
2960
|
const cwdOk = await validateCwd(cwd).then((error) => error === null).catch(() => false);
|
|
2961
2961
|
if (!cwdOk) {
|
|
2962
2962
|
const checks = [
|
|
2963
|
-
{ name: "target cwd", ok: false, message: "
|
|
2964
|
-
{ name: "package.json", ok: false, message: "
|
|
2965
|
-
{ name: "humanish source", ok: false, message: "
|
|
2966
|
-
{ name: "runtime ignore", ok: false, message: "
|
|
2963
|
+
{ name: "target cwd", ok: false, message: "this directory does not exist, or humanish cannot read it" },
|
|
2964
|
+
{ name: "package.json", ok: false, checked: false, message: "not checked — the target directory could not be read" },
|
|
2965
|
+
{ name: "humanish source", ok: false, checked: false, message: "not checked — the target directory could not be read" },
|
|
2966
|
+
{ name: "runtime ignore", ok: false, checked: false, message: "not checked — the target directory could not be read" }
|
|
2967
2967
|
];
|
|
2968
2968
|
return { schema: DOCTOR_SCHEMA, ok: false, cwd, checks };
|
|
2969
2969
|
}
|
|
@@ -2974,9 +2974,9 @@ export async function doctor(cwdInput) {
|
|
|
2974
2974
|
catch {
|
|
2975
2975
|
const checks = [
|
|
2976
2976
|
{ name: "target cwd", ok: false, message: "target directory failed containment validation" },
|
|
2977
|
-
{ name: "package.json", ok: false, message: "
|
|
2978
|
-
{ name: "humanish source", ok: false, message: "
|
|
2979
|
-
{ name: "runtime ignore", ok: false, message: "
|
|
2977
|
+
{ name: "package.json", ok: false, checked: false, message: "not checked — containment validation failed first" },
|
|
2978
|
+
{ name: "humanish source", ok: false, checked: false, message: "not checked — containment validation failed first" },
|
|
2979
|
+
{ name: "runtime ignore", ok: false, checked: false, message: "not checked — containment validation failed first" }
|
|
2980
2980
|
];
|
|
2981
2981
|
return { schema: DOCTOR_SCHEMA, ok: false, cwd, checks };
|
|
2982
2982
|
}
|