@inkeep/agents-cli 0.0.0-dev-20251113211352 → 0.0.0-dev-20251114044436
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/index.js +22 -5
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -234174,6 +234174,7 @@ var init_dataComponents = __esm({
|
|
|
234174
234174
|
"use strict";
|
|
234175
234175
|
init_esm_shims();
|
|
234176
234176
|
init_schema();
|
|
234177
|
+
init_utils();
|
|
234177
234178
|
init_conversations();
|
|
234178
234179
|
init_props_validation();
|
|
234179
234180
|
init_render_validation();
|
|
@@ -240489,15 +240490,26 @@ async function validateTempDirectory(originalProjectRoot, tempDirName, remotePro
|
|
|
240489
240490
|
console.log(chalk11.green(` [Y] Yes - Replace files and clean up temp directory`));
|
|
240490
240491
|
console.log(chalk11.red(` [N] No - Keep temp directory for manual review`));
|
|
240491
240492
|
return new Promise((resolve6) => {
|
|
240493
|
+
if (isWaitingForInput && currentKeypressHandler) {
|
|
240494
|
+
process.stdin.removeListener("data", currentKeypressHandler);
|
|
240495
|
+
}
|
|
240492
240496
|
process.stdin.removeAllListeners("data");
|
|
240493
|
-
process.stdin.
|
|
240494
|
-
|
|
240495
|
-
|
|
240497
|
+
if (!process.stdin.isRaw) {
|
|
240498
|
+
process.stdin.setRawMode(true);
|
|
240499
|
+
}
|
|
240500
|
+
if (process.stdin.isPaused()) {
|
|
240501
|
+
process.stdin.resume();
|
|
240502
|
+
}
|
|
240496
240503
|
process.stdin.setEncoding("utf8");
|
|
240497
240504
|
const onKeypress = (key) => {
|
|
240505
|
+
if (!isWaitingForInput) {
|
|
240506
|
+
return;
|
|
240507
|
+
}
|
|
240508
|
+
isWaitingForInput = false;
|
|
240509
|
+
currentKeypressHandler = null;
|
|
240510
|
+
process.stdin.removeAllListeners("data");
|
|
240498
240511
|
process.stdin.setRawMode(false);
|
|
240499
240512
|
process.stdin.pause();
|
|
240500
|
-
process.stdin.removeAllListeners("data");
|
|
240501
240513
|
const normalizedKey = key.toLowerCase();
|
|
240502
240514
|
if (normalizedKey === "y") {
|
|
240503
240515
|
console.log(chalk11.green(`
|
|
@@ -240527,7 +240539,9 @@ async function validateTempDirectory(originalProjectRoot, tempDirName, remotePro
|
|
|
240527
240539
|
process.exit(0);
|
|
240528
240540
|
}
|
|
240529
240541
|
};
|
|
240530
|
-
|
|
240542
|
+
currentKeypressHandler = onKeypress;
|
|
240543
|
+
isWaitingForInput = true;
|
|
240544
|
+
process.stdin.once("data", onKeypress);
|
|
240531
240545
|
process.stdout.write(chalk11.cyan("\nPress [Y] for Yes or [N] for No: "));
|
|
240532
240546
|
});
|
|
240533
240547
|
} else {
|
|
@@ -240595,6 +240609,7 @@ function overwriteProjectFiles(originalProjectRoot, tempDirName, tempDir) {
|
|
|
240595
240609
|
console.log(chalk11.yellow(` Generated files remain in: ${tempDirName} for manual review`));
|
|
240596
240610
|
}
|
|
240597
240611
|
}
|
|
240612
|
+
var isWaitingForInput, currentKeypressHandler;
|
|
240598
240613
|
var init_project_validator = __esm({
|
|
240599
240614
|
"src/commands/pull-v3/project-validator.ts"() {
|
|
240600
240615
|
"use strict";
|
|
@@ -240602,6 +240617,8 @@ var init_project_validator = __esm({
|
|
|
240602
240617
|
init_pull_v3();
|
|
240603
240618
|
init_project_comparator();
|
|
240604
240619
|
init_component_registry();
|
|
240620
|
+
isWaitingForInput = false;
|
|
240621
|
+
currentKeypressHandler = null;
|
|
240605
240622
|
}
|
|
240606
240623
|
});
|
|
240607
240624
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251114044436",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"ts-morph": "^26.0.0",
|
|
50
50
|
"tsx": "^4.20.5",
|
|
51
51
|
"open": "^10.2.0",
|
|
52
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
53
|
-
"@inkeep/agents-sdk": "^0.0.0-dev-
|
|
52
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251114044436",
|
|
53
|
+
"@inkeep/agents-sdk": "^0.0.0-dev-20251114044436"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/degit": "^2.8.6",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"vitest": "^3.2.4"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@inkeep/agents-manage-ui": "0.0.0-dev-
|
|
66
|
+
"@inkeep/agents-manage-ui": "0.0.0-dev-20251114044436",
|
|
67
67
|
"zod": "^4.1.11"
|
|
68
68
|
},
|
|
69
69
|
"engines": {
|