kantban-cli 0.1.28 → 0.1.30
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-RBNHNWFI.js");
|
|
35
35
|
await stopPipeline(args.slice(1));
|
|
36
36
|
} else {
|
|
37
|
-
const { runPipeline } = await import("./pipeline-
|
|
37
|
+
const { runPipeline } = await import("./pipeline-RBNHNWFI.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;
|
|
@@ -3811,7 +3812,7 @@ var GeminiProvider = class _GeminiProvider {
|
|
|
3811
3812
|
writeFileSync3(wrapperPath, this.generateHookWrapper(hookPath, "BeforeToolSelection", join2(dir, ".kantban-hook-config.json")), { mode: 493 });
|
|
3812
3813
|
hooks.BeforeToolSelection = [{ matcher: "*", hooks: [{ type: "command", command: wrapperPath, timeout: 3e4 }] }];
|
|
3813
3814
|
}
|
|
3814
|
-
if (request.maxTurns) {
|
|
3815
|
+
if (request.maxTurns && request.mcpConfig) {
|
|
3815
3816
|
hookConfig.maxTurns = request.maxTurns;
|
|
3816
3817
|
hookConfig.turnFile = join2(dir, ".kantban-turn-counter");
|
|
3817
3818
|
const wrapperPath = join2(dir, ".kantban-hook-after-agent.sh");
|
|
@@ -4192,6 +4193,7 @@ async function runPipeline(client, args) {
|
|
|
4192
4193
|
boardProviderConfig,
|
|
4193
4194
|
columnProviderOverride ? { provider: columnProviderOverride } : {}
|
|
4194
4195
|
);
|
|
4196
|
+
logger.orchestrator(`[provider-dispatch] column="${resolvedColumnName}" agent_config.provider="${String(columnProviderOverride)}" resolved="${columnProvider.id}" boardDefault="${String(boardProviderConfig.default_provider)}"`);
|
|
4195
4197
|
if (effectiveConfig.model) {
|
|
4196
4198
|
effectiveConfig.model = registry.resolveModel(columnProvider, effectiveConfig.model);
|
|
4197
4199
|
}
|
|
@@ -4839,4 +4841,4 @@ export {
|
|
|
4839
4841
|
runPipeline,
|
|
4840
4842
|
stopPipeline
|
|
4841
4843
|
};
|
|
4842
|
-
//# sourceMappingURL=pipeline-
|
|
4844
|
+
//# sourceMappingURL=pipeline-RBNHNWFI.js.map
|