caique 0.4.2 → 0.5.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 +2 -2
- package/dist/inquirer.js +6 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<p align="center">
|
|
21
|
-
Docs: <a href="https://
|
|
21
|
+
Docs: <a href="https://caique.interlace.tools">https://caique.interlace.tools</a>
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
24
|
**Released, pre-1.0.** `decide()`, `ask()` and the `caique/inquirer` and `caique/clack`
|
|
@@ -268,7 +268,7 @@ Graded by the incumbent's own test suite:
|
|
|
268
268
|
| `clack` | 14 / 17 |
|
|
269
269
|
| `inquirer-core` | 41 / 41 |
|
|
270
270
|
|
|
271
|
-
Weight, installed and tree-inclusive: **122,
|
|
271
|
+
Weight, installed and tree-inclusive: **122,447 bytes** against **182,472** for the incumbents it replaces — a ratio of **0.6710** (@inquirer/core measured but left out of the ceiling, so it is understated).
|
|
272
272
|
## Where it sits
|
|
273
273
|
|
|
274
274
|
Plugins register under the `widgets` key, against the one schema the whole family shares.
|
package/dist/inquirer.js
CHANGED
|
@@ -109,7 +109,12 @@ function runPrompt(view, origin, config, context) {
|
|
|
109
109
|
const rl = readlineOver(input, output);
|
|
110
110
|
output.mute();
|
|
111
111
|
const screen = new ScreenManager(rl);
|
|
112
|
-
|
|
112
|
+
let resolve;
|
|
113
|
+
let reject;
|
|
114
|
+
const promise = new Promise((res, rej) => {
|
|
115
|
+
resolve = res;
|
|
116
|
+
reject = rej;
|
|
117
|
+
});
|
|
113
118
|
return withHooks(rl, (cycle) => {
|
|
114
119
|
const clearEffects = AsyncResource.bind(() => {
|
|
115
120
|
effectScheduler.clearAll();
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "caique",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "The parrot that always answers back, and the boat that goes between ship and shore. Prompts that are flags first, so agents answer before they are asked and non-TTY callers get an error naming the flag, never a hang. Drop-in path for inquirer and clack.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": ["./dist/cli.js"],
|
|
8
8
|
"engines": {
|
|
9
|
-
"node": ">=
|
|
9
|
+
"node": "^20.19.0 || >=22.13.0"
|
|
10
10
|
},
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"url": "git+https://github.com/ofri-peretz/burgee.git",
|
|
79
79
|
"directory": "packages/caique"
|
|
80
80
|
},
|
|
81
|
-
"homepage": "https://
|
|
81
|
+
"homepage": "https://caique.interlace.tools",
|
|
82
82
|
"bugs": {
|
|
83
83
|
"url": "https://github.com/ofri-peretz/burgee/issues"
|
|
84
84
|
},
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"ai-agent"
|
|
99
99
|
],
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"closeout": "^0.
|
|
102
|
-
"linegauge": "^0.
|
|
101
|
+
"closeout": "^0.5.0",
|
|
102
|
+
"linegauge": "^0.5.0"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
105
|
"vitest": "^5.0.1"
|