@inkeep/agents-cli 0.0.0-dev-20251222214618 → 0.0.0-dev-20251222222417
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/commands/pull-v3/component-parser.js +1 -0
- package/dist/commands/pull-v3/component-updater.js +2 -1
- package/dist/commands/pull-v3/index.js +4 -2
- package/dist/commands/pull-v3/project-validator.js +1 -1
- package/dist/commands/pull-v3/utils/component-registry.js +3 -0
- package/dist/utils/json-comparison.js +2 -0
- package/dist/utils/profiles/profile-manager.js +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentRegistry } from "./utils/component-registry.js";
|
|
2
2
|
import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
3
3
|
import { extname, join, relative } from "node:path";
|
|
4
|
+
import chalk from "chalk";
|
|
4
5
|
import { Node, Project } from "ts-morph";
|
|
5
6
|
|
|
6
7
|
//#region src/commands/pull-v3/component-parser.ts
|
|
@@ -13,8 +13,9 @@ import { generateSubAgentFile } from "./components/sub-agent-generator.js";
|
|
|
13
13
|
import { getAvailableModel } from "./utils/model-provider-detector.js";
|
|
14
14
|
import { mergeComponentsWithLLM } from "./llm-content-merger.js";
|
|
15
15
|
import { findSubAgentWithParent } from "./utils/component-registry.js";
|
|
16
|
+
import "./project-validator.js";
|
|
16
17
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, readdirSync, statSync, symlinkSync, unlinkSync, writeFileSync } from "node:fs";
|
|
17
|
-
import { dirname, extname, join, relative, resolve } from "node:path";
|
|
18
|
+
import { basename, dirname, extname, join, relative, resolve } from "node:path";
|
|
18
19
|
import chalk from "chalk";
|
|
19
20
|
import { spawn } from "node:child_process";
|
|
20
21
|
import { generateText } from "ai";
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { ManagementApiClient } from "../../api.js";
|
|
2
|
+
import "../../utils/config.js";
|
|
2
3
|
import { initializeCommand } from "../../utils/cli-pipeline.js";
|
|
3
4
|
import { performBackgroundVersionCheck } from "../../utils/background-version-check.js";
|
|
5
|
+
import "../../utils/json-comparison.js";
|
|
4
6
|
import { loadProject } from "../../utils/project-loader.js";
|
|
5
7
|
import { extractSubAgents } from "./utils/component-registry.js";
|
|
8
|
+
import { compareProjects } from "./project-comparator.js";
|
|
6
9
|
import { checkAndPromptForStaleComponentCleanup, cleanupStaleComponents, copyProjectToTemp } from "./component-updater.js";
|
|
7
10
|
import { introspectGenerate } from "./introspect-generator.js";
|
|
8
|
-
import { compareProjects } from "./project-comparator.js";
|
|
9
11
|
import { existsSync, mkdirSync } from "node:fs";
|
|
10
|
-
import { join, resolve } from "node:path";
|
|
12
|
+
import { basename, dirname, join, resolve } from "node:path";
|
|
11
13
|
import * as p from "@clack/prompts";
|
|
12
14
|
import chalk from "chalk";
|
|
13
15
|
import { EventEmitter } from "node:events";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { buildComponentRegistryFromParsing } from "./component-parser.js";
|
|
1
2
|
import { compareProjects } from "./project-comparator.js";
|
|
2
3
|
import { enrichCanDelegateToWithTypes } from "./index.js";
|
|
3
|
-
import { buildComponentRegistryFromParsing } from "./component-parser.js";
|
|
4
4
|
import { copyFileSync, existsSync, mkdirSync, readdirSync, rmSync, statSync } from "node:fs";
|
|
5
5
|
import { dirname, join } from "node:path";
|
|
6
6
|
import chalk from "chalk";
|
|
@@ -2,7 +2,7 @@ import { __require } from "../../_virtual/rolldown_runtime.js";
|
|
|
2
2
|
import { CLOUD_REMOTE, DEFAULT_PROFILES_CONFIG, profileNameSchema, profilesConfigSchema } from "./types.js";
|
|
3
3
|
import { getLogger } from "@inkeep/agents-core";
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
5
|
-
import { join } from "node:path";
|
|
5
|
+
import { dirname, join } from "node:path";
|
|
6
6
|
import { homedir, tmpdir } from "node:os";
|
|
7
7
|
import * as yaml from "yaml";
|
|
8
8
|
|
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-20251222222417",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"tsx": "^4.20.5",
|
|
41
41
|
"open": "^10.2.0",
|
|
42
42
|
"yaml": "^2.7.0",
|
|
43
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
44
|
-
"@inkeep/agents-sdk": "^0.0.0-dev-
|
|
43
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251222222417",
|
|
44
|
+
"@inkeep/agents-sdk": "^0.0.0-dev-20251222222417"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/degit": "^2.8.6",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vitest": "^3.2.4"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@inkeep/agents-manage-ui": "0.0.0-dev-
|
|
56
|
+
"@inkeep/agents-manage-ui": "0.0.0-dev-20251222222417",
|
|
57
57
|
"zod": "^4.1.11"
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|