@inkeep/agents-core 0.0.0-dev-20260309173106 → 0.0.0-dev-20260309194303
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-schema.d.ts +85 -85
- package/dist/auth/auth-validation-schemas.d.ts +135 -135
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +2 -2
- package/dist/data-access/manage/agents.d.ts +20 -20
- package/dist/data-access/manage/artifactComponents.d.ts +12 -12
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- package/dist/data-access/manage/functionTools.d.ts +16 -16
- package/dist/data-access/manage/skills.d.ts +13 -13
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +32 -32
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- package/dist/data-access/manage/tools.d.ts +21 -21
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +27 -27
- package/dist/data-access/runtime/messages.d.ts +15 -15
- package/dist/data-access/runtime/tasks.d.ts +6 -6
- package/dist/db/manage/manage-schema.d.ts +361 -361
- package/dist/db/runtime/runtime-schema.d.ts +288 -288
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/setup/setup.js +14 -3
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/schemas.d.ts +1660 -1660
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono0 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/no-auth.d.ts
|
|
4
|
-
declare const noAuth: () =>
|
|
4
|
+
declare const noAuth: () => hono0.MiddlewareHandler<any, string, {}, Response>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { noAuth };
|
package/dist/setup/setup.js
CHANGED
|
@@ -353,7 +353,11 @@ async function runMigrations(config) {
|
|
|
353
353
|
return;
|
|
354
354
|
}
|
|
355
355
|
logInfo(isFirstRun ? "Fresh install detected - running migrations only" : "Running migrations...");
|
|
356
|
-
const
|
|
356
|
+
const execOpts = {
|
|
357
|
+
cwd: process.cwd(),
|
|
358
|
+
env: process.env
|
|
359
|
+
};
|
|
360
|
+
const [manageResult, runResult] = await Promise.allSettled([execAsync(config.manageMigrateCommand, execOpts), execAsync(config.runMigrateCommand, execOpts)]);
|
|
357
361
|
if (manageResult.status === "fulfilled") logSuccess("Manage database migrations completed");
|
|
358
362
|
else logWarning(`Manage migrations failed: ${manageResult.reason.message}`);
|
|
359
363
|
if (runResult.status === "fulfilled") logSuccess("Runtime database migrations completed");
|
|
@@ -436,7 +440,8 @@ async function startServersIfNeeded(config) {
|
|
|
436
440
|
const proc = spawn("sh", ["-c", config.devUiCommand], {
|
|
437
441
|
stdio: "ignore",
|
|
438
442
|
detached: true,
|
|
439
|
-
cwd: process.cwd()
|
|
443
|
+
cwd: process.cwd(),
|
|
444
|
+
env: process.env
|
|
440
445
|
});
|
|
441
446
|
proc.unref();
|
|
442
447
|
result.startedUi = true;
|
|
@@ -485,12 +490,18 @@ async function pushProject(pushConfig) {
|
|
|
485
490
|
INKEEP_TENANT_ID: process.env.INKEEP_TENANT_ID || "default"
|
|
486
491
|
} : { ...process.env };
|
|
487
492
|
try {
|
|
488
|
-
const { stdout } = await execAsync(`pnpm inkeep push --project ${pushConfig.projectPath} --config ${pushConfig.configPath}`, {
|
|
493
|
+
const { stdout } = await execAsync(`pnpm inkeep push --project ${pushConfig.projectPath} --config ${pushConfig.configPath}`, {
|
|
494
|
+
env: pushEnv,
|
|
495
|
+
cwd: process.cwd()
|
|
496
|
+
});
|
|
489
497
|
if (stdout) console.log(`${colors.dim}${stdout.trim()}${colors.reset}`);
|
|
490
498
|
logSuccess("Project pushed successfully");
|
|
491
499
|
return true;
|
|
492
500
|
} catch (error) {
|
|
493
501
|
logError("Project push failed", error);
|
|
502
|
+
const err = error;
|
|
503
|
+
if (err.stdout?.trim()) console.error(`${colors.dim} stdout:\n${err.stdout.trim()}${colors.reset}`);
|
|
504
|
+
if (err.stderr?.trim()) console.error(`${colors.dim} stderr:\n${err.stderr.trim()}${colors.reset}`);
|
|
494
505
|
logWarning("The project may not have been seeded. You can manually run:");
|
|
495
506
|
logInfo(` pnpm inkeep push --project ${pushConfig.projectPath} --config ${pushConfig.configPath}`);
|
|
496
507
|
return false;
|