@inkeep/agents-sdk 0.0.0-dev-20251001161304 → 0.0.0-dev-20251001202049
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.cjs +0 -52
- package/dist/index.js +0 -52
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2621,58 +2621,6 @@ var Project = class {
|
|
|
2621
2621
|
"Initializing project using full project endpoint"
|
|
2622
2622
|
);
|
|
2623
2623
|
try {
|
|
2624
|
-
const projectMetadata = {
|
|
2625
|
-
id: this.projectId,
|
|
2626
|
-
name: this.projectName,
|
|
2627
|
-
description: this.projectDescription || "",
|
|
2628
|
-
models: this.models,
|
|
2629
|
-
stopWhen: this.stopWhen,
|
|
2630
|
-
graphs: {},
|
|
2631
|
-
// Empty graphs object for now
|
|
2632
|
-
tools: {},
|
|
2633
|
-
// Empty tools object
|
|
2634
|
-
credentialReferences: void 0,
|
|
2635
|
-
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2636
|
-
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
2637
|
-
};
|
|
2638
|
-
logger8.info(
|
|
2639
|
-
{
|
|
2640
|
-
projectId: this.projectId,
|
|
2641
|
-
mode: "api-client",
|
|
2642
|
-
apiUrl: this.baseURL
|
|
2643
|
-
},
|
|
2644
|
-
"Creating project metadata first"
|
|
2645
|
-
);
|
|
2646
|
-
await updateFullProjectViaAPI(this.tenantId, this.baseURL, this.projectId, projectMetadata);
|
|
2647
|
-
logger8.info(
|
|
2648
|
-
{
|
|
2649
|
-
projectId: this.projectId
|
|
2650
|
-
},
|
|
2651
|
-
"Project metadata created successfully"
|
|
2652
|
-
);
|
|
2653
|
-
const initPromises = this.graphs.map(async (graph) => {
|
|
2654
|
-
try {
|
|
2655
|
-
await graph.init();
|
|
2656
|
-
logger8.debug(
|
|
2657
|
-
{
|
|
2658
|
-
projectId: this.projectId,
|
|
2659
|
-
graphId: graph.getId()
|
|
2660
|
-
},
|
|
2661
|
-
"Graph initialized in project"
|
|
2662
|
-
);
|
|
2663
|
-
} catch (error) {
|
|
2664
|
-
logger8.error(
|
|
2665
|
-
{
|
|
2666
|
-
projectId: this.projectId,
|
|
2667
|
-
graphId: graph.getId(),
|
|
2668
|
-
error: error instanceof Error ? error.message : "Unknown error"
|
|
2669
|
-
},
|
|
2670
|
-
"Failed to initialize graph in project"
|
|
2671
|
-
);
|
|
2672
|
-
throw error;
|
|
2673
|
-
}
|
|
2674
|
-
});
|
|
2675
|
-
await Promise.all(initPromises);
|
|
2676
2624
|
const projectDefinition = await this.toFullProjectDefinition();
|
|
2677
2625
|
logger8.info(
|
|
2678
2626
|
{
|
package/dist/index.js
CHANGED
|
@@ -2619,58 +2619,6 @@ var Project = class {
|
|
|
2619
2619
|
"Initializing project using full project endpoint"
|
|
2620
2620
|
);
|
|
2621
2621
|
try {
|
|
2622
|
-
const projectMetadata = {
|
|
2623
|
-
id: this.projectId,
|
|
2624
|
-
name: this.projectName,
|
|
2625
|
-
description: this.projectDescription || "",
|
|
2626
|
-
models: this.models,
|
|
2627
|
-
stopWhen: this.stopWhen,
|
|
2628
|
-
graphs: {},
|
|
2629
|
-
// Empty graphs object for now
|
|
2630
|
-
tools: {},
|
|
2631
|
-
// Empty tools object
|
|
2632
|
-
credentialReferences: void 0,
|
|
2633
|
-
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2634
|
-
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
2635
|
-
};
|
|
2636
|
-
logger8.info(
|
|
2637
|
-
{
|
|
2638
|
-
projectId: this.projectId,
|
|
2639
|
-
mode: "api-client",
|
|
2640
|
-
apiUrl: this.baseURL
|
|
2641
|
-
},
|
|
2642
|
-
"Creating project metadata first"
|
|
2643
|
-
);
|
|
2644
|
-
await updateFullProjectViaAPI(this.tenantId, this.baseURL, this.projectId, projectMetadata);
|
|
2645
|
-
logger8.info(
|
|
2646
|
-
{
|
|
2647
|
-
projectId: this.projectId
|
|
2648
|
-
},
|
|
2649
|
-
"Project metadata created successfully"
|
|
2650
|
-
);
|
|
2651
|
-
const initPromises = this.graphs.map(async (graph) => {
|
|
2652
|
-
try {
|
|
2653
|
-
await graph.init();
|
|
2654
|
-
logger8.debug(
|
|
2655
|
-
{
|
|
2656
|
-
projectId: this.projectId,
|
|
2657
|
-
graphId: graph.getId()
|
|
2658
|
-
},
|
|
2659
|
-
"Graph initialized in project"
|
|
2660
|
-
);
|
|
2661
|
-
} catch (error) {
|
|
2662
|
-
logger8.error(
|
|
2663
|
-
{
|
|
2664
|
-
projectId: this.projectId,
|
|
2665
|
-
graphId: graph.getId(),
|
|
2666
|
-
error: error instanceof Error ? error.message : "Unknown error"
|
|
2667
|
-
},
|
|
2668
|
-
"Failed to initialize graph in project"
|
|
2669
|
-
);
|
|
2670
|
-
throw error;
|
|
2671
|
-
}
|
|
2672
|
-
});
|
|
2673
|
-
await Promise.all(initPromises);
|
|
2674
2622
|
const projectDefinition = await this.toFullProjectDefinition();
|
|
2675
2623
|
logger8.info(
|
|
2676
2624
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-sdk",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251001202049",
|
|
4
4
|
"description": "Agents SDK for building and managing agents in the Inkeep Agent Framework",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"nanoid": "^5.1.5",
|
|
10
10
|
"zod": "^4.1.5",
|
|
11
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
11
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251001202049"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@types/node": "^20.11.24",
|