mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-01 08:59:39 +02:00
fix: allow agent setup without context (#139)
* fix: allow agent setup without context * docs: align readme command examples
This commit is contained in:
parent
eb41d084af
commit
b42f418adc
10 changed files with 56 additions and 80 deletions
|
|
@ -8,7 +8,6 @@ import type { KtxRuntimeFeature } from './managed-python-runtime.js';
|
|||
import type { KtxPublicIngestPlan } from './public-ingest.js';
|
||||
|
||||
type KtxRuntimeRequirementReason =
|
||||
| 'agent-mcp'
|
||||
| 'query-history'
|
||||
| 'looker-source'
|
||||
| 'database-introspection'
|
||||
|
|
@ -26,7 +25,6 @@ export interface KtxRuntimeRequirements {
|
|||
}
|
||||
|
||||
export interface KtxProjectRuntimeRequirementOptions {
|
||||
agents?: boolean;
|
||||
databaseIntrospectionFallback?: boolean;
|
||||
env?: NodeJS.ProcessEnv | Record<string, string | undefined>;
|
||||
}
|
||||
|
|
@ -92,14 +90,6 @@ export function resolveProjectRuntimeRequirements(
|
|||
const env = options.env ?? process.env;
|
||||
const requirements: KtxRuntimeRequirement[] = [];
|
||||
|
||||
if (options.agents === true) {
|
||||
requirements.push({
|
||||
feature: 'core',
|
||||
reason: 'agent-mcp',
|
||||
detail: 'Agent MCP setup uses semantic-layer query tools and SQL validation.',
|
||||
});
|
||||
}
|
||||
|
||||
if (options.databaseIntrospectionFallback === true && !hasDaemonOverride(env)) {
|
||||
requirements.push({
|
||||
feature: 'core',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue