kantban-cli 0.1.29 → 0.1.31
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.js
CHANGED
|
@@ -31,10 +31,10 @@ async function main() {
|
|
|
31
31
|
}
|
|
32
32
|
case "pipeline": {
|
|
33
33
|
if (args[0] === "stop") {
|
|
34
|
-
const { stopPipeline } = await import("./pipeline-
|
|
34
|
+
const { stopPipeline } = await import("./pipeline-YJ7B27QX.js");
|
|
35
35
|
await stopPipeline(args.slice(1));
|
|
36
36
|
} else {
|
|
37
|
-
const { runPipeline } = await import("./pipeline-
|
|
37
|
+
const { runPipeline } = await import("./pipeline-YJ7B27QX.js");
|
|
38
38
|
await runPipeline(client, args);
|
|
39
39
|
}
|
|
40
40
|
break;
|
|
@@ -2283,10 +2283,11 @@ var PipelineWsClient = class _PipelineWsClient {
|
|
|
2283
2283
|
static CRITICAL_TYPES = /* @__PURE__ */ new Set([
|
|
2284
2284
|
"pipeline:session-start",
|
|
2285
2285
|
"pipeline:session-end",
|
|
2286
|
+
"pipeline:stream",
|
|
2286
2287
|
"pipeline:stopped",
|
|
2287
2288
|
"board:subscribe"
|
|
2288
2289
|
]);
|
|
2289
|
-
static BUFFER_MAX =
|
|
2290
|
+
static BUFFER_MAX = 500;
|
|
2290
2291
|
static BUFFER_TTL_MS = 3e4;
|
|
2291
2292
|
// 30 seconds
|
|
2292
2293
|
static PING_INTERVAL_MS = 3e4;
|
|
@@ -3778,6 +3779,10 @@ var GeminiProvider = class _GeminiProvider {
|
|
|
3778
3779
|
"json"
|
|
3779
3780
|
];
|
|
3780
3781
|
if (request.model) args.push("--model", request.model);
|
|
3782
|
+
if (!request.workingDirectory) {
|
|
3783
|
+
const projectRoot = process.cwd();
|
|
3784
|
+
args.push("--include-directories", projectRoot);
|
|
3785
|
+
}
|
|
3781
3786
|
return args;
|
|
3782
3787
|
}
|
|
3783
3788
|
writeGeminiSettings(request, degraded) {
|
|
@@ -4192,11 +4197,12 @@ async function runPipeline(client, args) {
|
|
|
4192
4197
|
boardProviderConfig,
|
|
4193
4198
|
columnProviderOverride ? { provider: columnProviderOverride } : {}
|
|
4194
4199
|
);
|
|
4200
|
+
logger.orchestrator(`[provider-dispatch] column="${resolvedColumnName}" agent_config.provider="${String(columnProviderOverride)}" resolved="${columnProvider.id}" boardDefault="${String(boardProviderConfig.default_provider)}"`);
|
|
4195
4201
|
if (effectiveConfig.model) {
|
|
4196
4202
|
effectiveConfig.model = registry.resolveModel(columnProvider, effectiveConfig.model);
|
|
4197
4203
|
}
|
|
4198
4204
|
const columnGates = resolveGatesForColumn(gateConfig, resolvedColumnName);
|
|
4199
|
-
const gateCwd = effectiveConfig.worktreeName ? join3(process.cwd(), effectiveConfig.worktreeName) :
|
|
4205
|
+
const gateCwd = effectiveConfig.worktreeName ? join3(process.cwd(), effectiveConfig.worktreeName) : process.cwd();
|
|
4200
4206
|
const effectiveMcpConfigPath = columnGates.length > 0 ? generateGateProxyMcpConfig(
|
|
4201
4207
|
client.baseUrl,
|
|
4202
4208
|
client.token,
|
|
@@ -4839,4 +4845,4 @@ export {
|
|
|
4839
4845
|
runPipeline,
|
|
4840
4846
|
stopPipeline
|
|
4841
4847
|
};
|
|
4842
|
-
//# sourceMappingURL=pipeline-
|
|
4848
|
+
//# sourceMappingURL=pipeline-YJ7B27QX.js.map
|