@inkeep/agents-core 0.62.2 → 0.63.0
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/auth/auth-config-utils.js +1 -1
- package/dist/auth/auth.js +1 -1
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.js +2 -2
- package/dist/data-access/index.d.ts +4 -7
- package/dist/data-access/index.js +4 -7
- package/dist/data-access/manage/agentFull.js +0 -116
- package/dist/data-access/manage/agents.d.ts +27 -27
- package/dist/data-access/manage/agents.js +0 -30
- package/dist/data-access/manage/audit-queries.d.ts +1 -14
- package/dist/data-access/manage/audit-queries.js +2 -16
- package/dist/data-access/manage/contextConfigs.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +2 -2
- package/dist/data-access/manage/skills.d.ts +3 -3
- package/dist/data-access/manage/subAgentRelations.d.ts +2 -2
- package/dist/data-access/manage/subAgents.d.ts +9 -9
- package/dist/data-access/manage/tools.d.ts +6 -6
- package/dist/data-access/manage/triggerCleanup.js +18 -7
- package/dist/data-access/runtime/cascade-delete.d.ts +2 -0
- package/dist/data-access/runtime/cascade-delete.js +13 -6
- package/dist/data-access/runtime/conversations.d.ts +4 -4
- package/dist/data-access/runtime/messages.d.ts +12 -12
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +5 -4
- package/dist/data-access/runtime/scheduledTriggers.d.ts +89 -0
- package/dist/data-access/runtime/scheduledTriggers.js +91 -0
- package/dist/data-access/runtime/schedulerState.d.ts +11 -0
- package/dist/data-access/runtime/schedulerState.js +30 -0
- package/dist/data-reconciliation/index.d.ts +2 -2
- package/dist/data-reconciliation/types.d.ts +1 -28
- package/dist/db/manage/manage-schema.d.ts +429 -783
- package/dist/db/manage/manage-schema.js +2 -4
- package/dist/db/runtime/runtime-schema.d.ts +811 -350
- package/dist/db/runtime/runtime-schema.js +38 -5
- package/dist/index.d.ts +11 -12
- package/dist/index.js +8 -10
- package/dist/types/entities.d.ts +12 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/utils/compute-next-run-at.d.ts +9 -0
- package/dist/utils/compute-next-run-at.js +18 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +2 -1
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/dist/validation/schemas.d.ts +2216 -3196
- package/dist/validation/schemas.js +16 -32
- package/drizzle/runtime/0028_thick_squirrel_girl.sql +36 -0
- package/drizzle/runtime/meta/0028_snapshot.json +4661 -0
- package/drizzle/runtime/meta/_journal.json +7 -0
- package/package.json +2 -1
- package/dist/data-access/manage/scheduledTriggers.d.ts +0 -91
- package/dist/data-access/manage/scheduledTriggers.js +0 -87
- package/dist/data-access/manage/scheduledWorkflows.d.ts +0 -29
- package/dist/data-access/manage/scheduledWorkflows.js +0 -33
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppliedEffect, AuditContext, AuditReport, EntityAuditEntry, EntityDiff, EntityEffectHandlers, EntityEffectRegistry, EntityOperation, EntityRowByTable, FailedEffect, OrphanedRuntimeRowsResult, ReconcileContext, ReconcileResult,
|
|
1
|
+
import { AppliedEffect, AuditContext, AuditReport, EntityAuditEntry, EntityDiff, EntityEffectHandlers, EntityEffectRegistry, EntityOperation, EntityRowByTable, FailedEffect, OrphanedRuntimeRowsResult, ReconcileContext, ReconcileResult, SkippedDiff, defineHandlers } from "./types.js";
|
|
2
2
|
import { audit } from "./audit.js";
|
|
3
3
|
import { reconcile } from "./reconcile.js";
|
|
4
|
-
export { AppliedEffect, AuditContext, AuditReport, EntityAuditEntry, EntityDiff, EntityEffectHandlers, EntityEffectRegistry, EntityOperation, EntityRowByTable, FailedEffect, OrphanedRuntimeRowsResult, ReconcileContext, ReconcileResult,
|
|
4
|
+
export { AppliedEffect, AuditContext, AuditReport, EntityAuditEntry, EntityDiff, EntityEffectHandlers, EntityEffectRegistry, EntityOperation, EntityRowByTable, FailedEffect, OrphanedRuntimeRowsResult, ReconcileContext, ReconcileResult, SkippedDiff, audit, defineHandlers, reconcile };
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { PinoLogger } from "../utils/logger.js";
|
|
2
2
|
import { AgentsManageDatabaseClient } from "../db/manage/manage-client.js";
|
|
3
3
|
import { AgentsRunDatabaseClient } from "../db/runtime/runtime-client.js";
|
|
4
|
-
import { ScheduledTrigger } from "../validation/schemas.js";
|
|
5
4
|
import { AgentSelect, ContextConfigSelect, SubAgentSelect, ToolSelect } from "../types/entities.js";
|
|
6
5
|
|
|
7
6
|
//#region src/data-reconciliation/types.d.ts
|
|
8
7
|
type EntityRowByTable = {
|
|
9
|
-
scheduled_triggers: ScheduledTrigger;
|
|
10
8
|
tools: ToolSelect;
|
|
11
9
|
context_configs: ContextConfigSelect;
|
|
12
10
|
agent: AgentSelect;
|
|
@@ -80,31 +78,6 @@ type AuditReport = {
|
|
|
80
78
|
checkedEntities: string[];
|
|
81
79
|
skippedEntities: string[];
|
|
82
80
|
};
|
|
83
|
-
type ScheduledTriggerAuditResult = {
|
|
84
|
-
missingWorkflows: Array<{
|
|
85
|
-
triggerId: string;
|
|
86
|
-
triggerName: string;
|
|
87
|
-
}>;
|
|
88
|
-
orphanedWorkflows: Array<{
|
|
89
|
-
workflowRunId: string;
|
|
90
|
-
scheduledTriggerId: string;
|
|
91
|
-
}>;
|
|
92
|
-
staleWorkflows: Array<{
|
|
93
|
-
triggerId: string;
|
|
94
|
-
triggerName: string;
|
|
95
|
-
workflowId: string;
|
|
96
|
-
}>;
|
|
97
|
-
deadWorkflows: Array<{
|
|
98
|
-
triggerId: string;
|
|
99
|
-
triggerName: string;
|
|
100
|
-
workflowRunId: string;
|
|
101
|
-
runStatus: string;
|
|
102
|
-
}>;
|
|
103
|
-
verificationFailures: Array<{
|
|
104
|
-
workflowRunId: string;
|
|
105
|
-
error: string;
|
|
106
|
-
}>;
|
|
107
|
-
};
|
|
108
81
|
type OrphanedRuntimeRowsResult = {
|
|
109
82
|
orphanedRows: Array<{
|
|
110
83
|
table: string;
|
|
@@ -113,4 +86,4 @@ type OrphanedRuntimeRowsResult = {
|
|
|
113
86
|
}>;
|
|
114
87
|
};
|
|
115
88
|
//#endregion
|
|
116
|
-
export { AppliedEffect, AuditContext, AuditReport, EntityAuditEntry, EntityDiff, EntityEffectHandlers, EntityEffectRegistry, EntityOperation, EntityRowByTable, FailedEffect, OrphanedRuntimeRowsResult, ReconcileContext, ReconcileResult,
|
|
89
|
+
export { AppliedEffect, AuditContext, AuditReport, EntityAuditEntry, EntityDiff, EntityEffectHandlers, EntityEffectRegistry, EntityOperation, EntityRowByTable, FailedEffect, OrphanedRuntimeRowsResult, ReconcileContext, ReconcileResult, SkippedDiff, defineHandlers };
|