@inkeep/agents-cli 0.14.7 → 0.14.9
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 +23 -13
- package/dist/index.js +17 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ A command-line interface for managing and interacting with Inkeep Agent Framewor
|
|
|
9
9
|
- Node.js >= 20.x
|
|
10
10
|
- pnpm package manager
|
|
11
11
|
- Inkeep Agent Framework backend running (default: http://localhost:3002)
|
|
12
|
+
- `@inkeep/agents-manage-ui` package installed (for visual agents orchestration)
|
|
12
13
|
|
|
13
14
|
### Quick Start
|
|
14
15
|
|
|
@@ -57,20 +58,29 @@ A command-line interface for managing and interacting with Inkeep Agent Framewor
|
|
|
57
58
|
- The command is still `inkeep` even though the package name is `@inkeep/agents-cli`
|
|
58
59
|
- If linking fails, try unlinking first: `npm unlink -g @inkeep/agents-cli`
|
|
59
60
|
|
|
60
|
-
3. **
|
|
61
|
+
3. **Install the dashboard package (for visual agents orchestration)**
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
63
|
+
```bash
|
|
64
|
+
# Install the dashboard UI package for visual agents orchestration
|
|
65
|
+
npm install @inkeep/agents-manage-ui
|
|
66
|
+
# or
|
|
67
|
+
pnpm add @inkeep/agents-manage-ui
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
4. **Configure your project**
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
# Create an inkeep.config.ts file with your tenant ID
|
|
74
|
+
inkeep init
|
|
75
|
+
|
|
76
|
+
# Or manually create inkeep.config.ts:
|
|
77
|
+
# export default defineConfig({
|
|
78
|
+
# tenantId: "your-tenant-id",
|
|
79
|
+
# projectId: "your-project-id",
|
|
80
|
+
# agentsManageApiUrl: "http://localhost:3002",
|
|
81
|
+
# agentsRunApiUrl: "http://localhost:3003"
|
|
82
|
+
# });
|
|
83
|
+
```
|
|
74
84
|
|
|
75
85
|
## Configuration
|
|
76
86
|
|
package/dist/index.js
CHANGED
|
@@ -21530,7 +21530,15 @@ function resolveWebRuntime(isRoot = false) {
|
|
|
21530
21530
|
}
|
|
21531
21531
|
return join2(root, ".next/standalone/agents-manage-ui");
|
|
21532
21532
|
} catch (err) {
|
|
21533
|
-
throw new Error(
|
|
21533
|
+
throw new Error(
|
|
21534
|
+
`Could not find @inkeep/agents-manage-ui package. Please install it first:
|
|
21535
|
+
|
|
21536
|
+
npm install @inkeep/agents-manage-ui
|
|
21537
|
+
# or
|
|
21538
|
+
pnpm add @inkeep/agents-manage-ui
|
|
21539
|
+
|
|
21540
|
+
Error: ${err instanceof Error ? err.message : "Unknown error"}`
|
|
21541
|
+
);
|
|
21534
21542
|
}
|
|
21535
21543
|
}
|
|
21536
21544
|
function startWebApp({ port, host }) {
|
|
@@ -21587,6 +21595,9 @@ async function buildNextApp({ outputDir }) {
|
|
|
21587
21595
|
if (!existsSync2(standalonePath)) {
|
|
21588
21596
|
spinner.fail("Standalone build not found");
|
|
21589
21597
|
console.error(chalk3.red("The standalone build has not been created yet."));
|
|
21598
|
+
console.error(chalk3.yellow("Please build the dashboard first:"));
|
|
21599
|
+
console.error(chalk3.gray(" cd node_modules/@inkeep/agents-manage-ui"));
|
|
21600
|
+
console.error(chalk3.gray(" npm run build"));
|
|
21590
21601
|
process.exit(1);
|
|
21591
21602
|
}
|
|
21592
21603
|
if (existsSync2(outputDir)) {
|
|
@@ -21603,9 +21614,7 @@ async function buildNextApp({ outputDir }) {
|
|
|
21603
21614
|
scripts: {
|
|
21604
21615
|
start: "node server.js"
|
|
21605
21616
|
},
|
|
21606
|
-
dependencies: {
|
|
21607
|
-
"@inkeep/agents-manage-ui": "latest"
|
|
21608
|
-
}
|
|
21617
|
+
dependencies: {}
|
|
21609
21618
|
};
|
|
21610
21619
|
await fs4.writeJson(join2(outputDir, "package.json"), packageJson2, { spaces: 2 });
|
|
21611
21620
|
const instructions = `
|
|
@@ -21646,6 +21655,10 @@ async function exportNextApp({ outputDir }) {
|
|
|
21646
21655
|
if (!existsSync2(root)) {
|
|
21647
21656
|
spinner.fail("Source project not found");
|
|
21648
21657
|
console.error(chalk3.red("The @inkeep/agents-manage-ui package was not found."));
|
|
21658
|
+
console.error(chalk3.yellow("Please install it first:"));
|
|
21659
|
+
console.error(chalk3.gray(" npm install @inkeep/agents-manage-ui"));
|
|
21660
|
+
console.error(chalk3.gray(" # or"));
|
|
21661
|
+
console.error(chalk3.gray(" pnpm add @inkeep/agents-manage-ui"));
|
|
21649
21662
|
process.exit(1);
|
|
21650
21663
|
}
|
|
21651
21664
|
if (existsSync2(outputDir)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.9",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -45,8 +45,7 @@
|
|
|
45
45
|
"recast": "^0.23.0",
|
|
46
46
|
"ts-morph": "^26.0.0",
|
|
47
47
|
"tsx": "^4.20.5",
|
|
48
|
-
"@inkeep/agents-core": "^0.14.
|
|
49
|
-
"@inkeep/agents-manage-ui": "^0.14.7"
|
|
48
|
+
"@inkeep/agents-core": "^0.14.9"
|
|
50
49
|
},
|
|
51
50
|
"devDependencies": {
|
|
52
51
|
"@types/degit": "^2.8.6",
|
|
@@ -61,7 +60,8 @@
|
|
|
61
60
|
"pino-pretty": "^13.1.1"
|
|
62
61
|
},
|
|
63
62
|
"peerDependencies": {
|
|
64
|
-
"zod": "^4.1.11"
|
|
63
|
+
"zod": "^4.1.11",
|
|
64
|
+
"@inkeep/agents-manage-ui": "*"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=22.0.0"
|