@inkeep/agents-cli 0.14.6 → 0.14.8

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.
Files changed (3) hide show
  1. package/README.md +23 -13
  2. package/dist/index.js +32 -6
  3. 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. **Configure your project**
61
+ 3. **Install the dashboard package (for visual agents orchestration)**
61
62
 
62
- ```bash
63
- # Create an inkeep.config.ts file with your tenant ID
64
- inkeep init
65
-
66
- # Or manually create inkeep.config.ts:
67
- # export default defineConfig({
68
- # tenantId: "your-tenant-id",
69
- # projectId: "your-project-id",
70
- # agentsManageApiUrl: "http://localhost:3002",
71
- # agentsRunApiUrl: "http://localhost:3003"
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
@@ -4594,13 +4594,25 @@ var init_contextCache = __esm({
4594
4594
  }
4595
4595
  });
4596
4596
 
4597
+ // ../packages/agents-core/src/utils/conversations.ts
4598
+ var generateId;
4599
+ var init_conversations = __esm({
4600
+ "../packages/agents-core/src/utils/conversations.ts"() {
4601
+ "use strict";
4602
+ init_esm_shims();
4603
+ init_nanoid();
4604
+ generateId = customAlphabet("abcdefghijklmnopqrstuvwxyz0123456789", 21);
4605
+ }
4606
+ });
4607
+
4597
4608
  // ../packages/agents-core/src/data-access/conversations.ts
4598
4609
  import { and as and9, count as count8, desc as desc8, eq as eq9 } from "drizzle-orm";
4599
- var init_conversations = __esm({
4610
+ var init_conversations2 = __esm({
4600
4611
  "../packages/agents-core/src/data-access/conversations.ts"() {
4601
4612
  "use strict";
4602
4613
  init_esm_shims();
4603
4614
  init_schema();
4615
+ init_conversations();
4604
4616
  }
4605
4617
  });
4606
4618
 
@@ -13529,6 +13541,7 @@ var init_utils = __esm({
13529
13541
  init_esm_shims();
13530
13542
  init_apiKeys();
13531
13543
  init_auth_detection();
13544
+ init_conversations();
13532
13545
  init_credential_store_utils();
13533
13546
  init_error();
13534
13547
  init_execution();
@@ -13658,7 +13671,7 @@ var init_data_access = __esm({
13658
13671
  init_artifactComponents();
13659
13672
  init_contextCache();
13660
13673
  init_contextConfigs();
13661
- init_conversations();
13674
+ init_conversations2();
13662
13675
  init_credentialReferences();
13663
13676
  init_dataComponents();
13664
13677
  init_externalAgents();
@@ -21517,7 +21530,15 @@ function resolveWebRuntime(isRoot = false) {
21517
21530
  }
21518
21531
  return join2(root, ".next/standalone/agents-manage-ui");
21519
21532
  } catch (err) {
21520
- throw new Error(`Could not find @inkeep/agents-manage-ui package. ${err}`);
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
+ );
21521
21542
  }
21522
21543
  }
21523
21544
  function startWebApp({ port, host }) {
@@ -21574,6 +21595,9 @@ async function buildNextApp({ outputDir }) {
21574
21595
  if (!existsSync2(standalonePath)) {
21575
21596
  spinner.fail("Standalone build not found");
21576
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"));
21577
21601
  process.exit(1);
21578
21602
  }
21579
21603
  if (existsSync2(outputDir)) {
@@ -21590,9 +21614,7 @@ async function buildNextApp({ outputDir }) {
21590
21614
  scripts: {
21591
21615
  start: "node server.js"
21592
21616
  },
21593
- dependencies: {
21594
- "@inkeep/agents-manage-ui": "latest"
21595
- }
21617
+ dependencies: {}
21596
21618
  };
21597
21619
  await fs4.writeJson(join2(outputDir, "package.json"), packageJson2, { spaces: 2 });
21598
21620
  const instructions = `
@@ -21633,6 +21655,10 @@ async function exportNextApp({ outputDir }) {
21633
21655
  if (!existsSync2(root)) {
21634
21656
  spinner.fail("Source project not found");
21635
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"));
21636
21662
  process.exit(1);
21637
21663
  }
21638
21664
  if (existsSync2(outputDir)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-cli",
3
- "version": "0.14.6",
3
+ "version": "0.14.8",
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.6",
49
- "@inkeep/agents-manage-ui": "^0.14.6"
48
+ "@inkeep/agents-core": "^0.14.8"
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"