@inkeep/agents-core 0.0.0-dev-20251012045242 → 0.0.0-dev-20251012052609

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 CHANGED
@@ -245,10 +245,10 @@ Define any relationships with existing tables:
245
245
 
246
246
  ```typescript
247
247
  export const workflowRelations = relations(workflows, ({ one, many }) => ({
248
- // Example: A workflow belongs to an agent graph
249
- agentGraph: one(agentGraphs, {
250
- fields: [workflows.agentAgentId],
251
- references: [agentGraphs.id],
248
+ // Example: A workflow belongs to an agent
249
+ agent: one(agents, {
250
+ fields: [workflows.agentId],
251
+ references: [agents.id],
252
252
  }),
253
253
  // Example: A workflow can have many tasks
254
254
  tasks: many(tasks),
package/dist/index.cjs CHANGED
@@ -219971,7 +219971,7 @@ var createFullAgentServerSide = (db, logger14 = defaultLogger) => async (scopes,
219971
219971
  let finalAgentId;
219972
219972
  try {
219973
219973
  const agentId = typed.id || nanoid.nanoid();
219974
- logger14.info({ agentId }, "Creating agent agent metadata");
219974
+ logger14.info({ agentId }, "Creating agent metadata");
219975
219975
  const agent = await upsertAgent(db)({
219976
219976
  data: {
219977
219977
  id: agentId,
@@ -219992,7 +219992,7 @@ var createFullAgentServerSide = (db, logger14 = defaultLogger) => async (scopes,
219992
219992
  throw new Error("Failed to create agent: no ID returned");
219993
219993
  }
219994
219994
  finalAgentId = agent.id;
219995
- logger14.info({ agentId: finalAgentId }, "Agent agent metadata created successfully");
219995
+ logger14.info({ agentId: finalAgentId }, "Agent metadata created successfully");
219996
219996
  } catch (error) {
219997
219997
  logger14.error({ agentId: typed.id, error }, "Failed to create/update agent metadata");
219998
219998
  throw error;
@@ -220495,7 +220495,7 @@ var updateFullAgentServerSide = (db, logger14 = defaultLogger) => async (scopes,
220495
220495
  throw new Error("Failed to upsert agent: no ID returned");
220496
220496
  }
220497
220497
  finalAgentId = agent.id;
220498
- logger14.info({ agentId: finalAgentId }, "Agent agent metadata ready");
220498
+ logger14.info({ agentId: finalAgentId }, "Agent metadata ready");
220499
220499
  } catch (error) {
220500
220500
  logger14.error(
220501
220501
  { agentId: typedAgentDefinition.id, error },
package/dist/index.js CHANGED
@@ -217606,7 +217606,7 @@ var createFullAgentServerSide = (db, logger13 = defaultLogger) => async (scopes,
217606
217606
  let finalAgentId;
217607
217607
  try {
217608
217608
  const agentId = typed.id || nanoid();
217609
- logger13.info({ agentId }, "Creating agent agent metadata");
217609
+ logger13.info({ agentId }, "Creating agent metadata");
217610
217610
  const agent = await upsertAgent(db)({
217611
217611
  data: {
217612
217612
  id: agentId,
@@ -217627,7 +217627,7 @@ var createFullAgentServerSide = (db, logger13 = defaultLogger) => async (scopes,
217627
217627
  throw new Error("Failed to create agent: no ID returned");
217628
217628
  }
217629
217629
  finalAgentId = agent.id;
217630
- logger13.info({ agentId: finalAgentId }, "Agent agent metadata created successfully");
217630
+ logger13.info({ agentId: finalAgentId }, "Agent metadata created successfully");
217631
217631
  } catch (error) {
217632
217632
  logger13.error({ agentId: typed.id, error }, "Failed to create/update agent metadata");
217633
217633
  throw error;
@@ -218130,7 +218130,7 @@ var updateFullAgentServerSide = (db, logger13 = defaultLogger) => async (scopes,
218130
218130
  throw new Error("Failed to upsert agent: no ID returned");
218131
218131
  }
218132
218132
  finalAgentId = agent.id;
218133
- logger13.info({ agentId: finalAgentId }, "Agent agent metadata ready");
218133
+ logger13.info({ agentId: finalAgentId }, "Agent metadata ready");
218134
218134
  } catch (error) {
218135
218135
  logger13.error(
218136
218136
  { agentId: typedAgentDefinition.id, error },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-core",
3
- "version": "0.0.0-dev-20251012045242",
3
+ "version": "0.0.0-dev-20251012052609",
4
4
  "description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE.md",