@dadado/agent-kit-cli 6.1.0 → 6.1.1
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/{chunk-PCCQUWE5.js → chunk-3LLXDHIU.js} +1 -1
- package/dist/{chunk-TPCCSWK6.js → chunk-OZYJUNAQ.js} +1 -1
- package/dist/{chunk-HFUH3HVS.js → chunk-XDCCYBCJ.js} +7 -1
- package/dist/{dashboard-YSNUGBFY.js → dashboard-YNCFISNO.js} +1 -1
- package/dist/{dashboard-broadcast-M4CMW7RX.js → dashboard-broadcast-NK7PU72L.js} +3 -2
- package/dist/index.js +6 -6
- package/dist/{mission-control-LJACEVVN.js → mission-control-MHQU73XC.js} +2 -2
- package/dist/{run-YV6XTFZY.js → run-3B26CVIL.js} +6 -4
- package/dist/{run-plan-KT443FO6.js → run-plan-APTBO2OT.js} +6 -4
- package/package.json +1 -1
|
@@ -93,6 +93,11 @@ function readPreferredBrowserFromConfig(configPath, fsHooks = {}) {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
// src/commands/negated-flag.ts
|
|
97
|
+
function negatedFlag(args, name) {
|
|
98
|
+
return args[`no-${name}`] === true || args[name] === false;
|
|
99
|
+
}
|
|
100
|
+
|
|
96
101
|
// src/commands/dashboard.ts
|
|
97
102
|
function readPreferredBrowserFromWorkspace(cwd, readFile = readFileSync2) {
|
|
98
103
|
const resolved = resolveContextConfigPath(path.resolve(cwd), {
|
|
@@ -260,7 +265,7 @@ var dashboardCommand = defineCommand({
|
|
|
260
265
|
return;
|
|
261
266
|
}
|
|
262
267
|
const env = dashboardSpawnEnv({ ...process.env }, snapshotRoot, {
|
|
263
|
-
noOpen:
|
|
268
|
+
noOpen: negatedFlag(args, "open"),
|
|
264
269
|
browser: args.browser
|
|
265
270
|
});
|
|
266
271
|
process.title = dashboardProcessTitle(snapshotRoot);
|
|
@@ -271,6 +276,7 @@ var dashboardCommand = defineCommand({
|
|
|
271
276
|
|
|
272
277
|
export {
|
|
273
278
|
REPO_ROOT_ENV,
|
|
279
|
+
negatedFlag,
|
|
274
280
|
readPreferredBrowserFromWorkspace,
|
|
275
281
|
applyDashboardOpenEnv,
|
|
276
282
|
dashboardSpawnEnv,
|
|
@@ -3,8 +3,9 @@ import {
|
|
|
3
3
|
dashboardProcessTitle,
|
|
4
4
|
dashboardSpawnEnv,
|
|
5
5
|
findDashboardStart,
|
|
6
|
+
negatedFlag,
|
|
6
7
|
resolveDashboardSnapshotRoot
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XDCCYBCJ.js";
|
|
8
9
|
import {
|
|
9
10
|
logger
|
|
10
11
|
} from "./chunk-ZB43YMHW.js";
|
|
@@ -105,7 +106,7 @@ var dashboardBroadcastCommand = defineCommand({
|
|
|
105
106
|
}
|
|
106
107
|
const snapshotRoot = resolveDashboardSnapshotRoot(args.cwd);
|
|
107
108
|
const env = dashboardSpawnEnv({ ...process.env }, snapshotRoot, {
|
|
108
|
-
noOpen:
|
|
109
|
+
noOpen: negatedFlag(args, "open"),
|
|
109
110
|
browser: args.browser
|
|
110
111
|
});
|
|
111
112
|
process.title = dashboardProcessTitle(snapshotRoot);
|
package/dist/index.js
CHANGED
|
@@ -229,12 +229,12 @@ var main = defineCommand({
|
|
|
229
229
|
contribute: () => import("./contribute-A7NCWTUM.js").then((m) => m.contributeCommand),
|
|
230
230
|
handoff: () => import("./handoff-MK5JG3J5.js").then((m) => m.handoffCommand),
|
|
231
231
|
"plan-index": () => import("./plan-index-V7T5MKL6.js").then((m) => m.planIndexCommand),
|
|
232
|
-
run: () => import("./run-
|
|
233
|
-
"run-plan": () => import("./run-plan-
|
|
234
|
-
"run-plan-all": () => import("./run-
|
|
235
|
-
dashboard: () => import("./dashboard-
|
|
236
|
-
"dashboard-broadcast": () => import("./dashboard-broadcast-
|
|
237
|
-
"mission-control": () => import("./mission-control-
|
|
232
|
+
run: () => import("./run-3B26CVIL.js").then((m) => m.runCommand),
|
|
233
|
+
"run-plan": () => import("./run-plan-APTBO2OT.js").then((m) => m.runPlanCommand),
|
|
234
|
+
"run-plan-all": () => import("./run-3B26CVIL.js").then((m) => m.runPlanAllCommand),
|
|
235
|
+
dashboard: () => import("./dashboard-YNCFISNO.js").then((m) => m.dashboardCommand),
|
|
236
|
+
"dashboard-broadcast": () => import("./dashboard-broadcast-NK7PU72L.js").then((m) => m.dashboardBroadcastCommand),
|
|
237
|
+
"mission-control": () => import("./mission-control-MHQU73XC.js").then((m) => m.missionControlCommand),
|
|
238
238
|
hook: () => import("./hook-D2WHBKRN.js").then((m) => m.hookCommand),
|
|
239
239
|
guard: () => import("./guard-EHXF76ID.js").then((m) => m.guardCommand),
|
|
240
240
|
monitors: () => import("./monitors-PDXBLB3U.js").then((m) => m.monitorsCommand),
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
findDashboardDataScript,
|
|
4
4
|
loadDashboardSnapshot,
|
|
5
5
|
runMcTuiLoop
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3LLXDHIU.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveDashboardSnapshotRoot
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XDCCYBCJ.js";
|
|
10
10
|
import "./chunk-QTON2GQX.js";
|
|
11
11
|
import {
|
|
12
12
|
logger
|
|
@@ -7,9 +7,11 @@ import {
|
|
|
7
7
|
runPlanLoop,
|
|
8
8
|
shouldUseLiveTui,
|
|
9
9
|
withLiveTui
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import
|
|
10
|
+
} from "./chunk-OZYJUNAQ.js";
|
|
11
|
+
import "./chunk-3LLXDHIU.js";
|
|
12
|
+
import {
|
|
13
|
+
negatedFlag
|
|
14
|
+
} from "./chunk-XDCCYBCJ.js";
|
|
13
15
|
import "./chunk-WUWRGOUV.js";
|
|
14
16
|
import {
|
|
15
17
|
buildDispatchPrompt,
|
|
@@ -236,7 +238,7 @@ async function runSlashCli(slash, args) {
|
|
|
236
238
|
dryRun: Boolean(args["dry-run"]),
|
|
237
239
|
maxTicks,
|
|
238
240
|
sleepSeconds,
|
|
239
|
-
noHitl:
|
|
241
|
+
noHitl: negatedFlag(args, "hitl"),
|
|
240
242
|
plain: Boolean(args.plain),
|
|
241
243
|
landOnGate: Boolean(args["land-on-gate"])
|
|
242
244
|
});
|
|
@@ -4,9 +4,11 @@ import {
|
|
|
4
4
|
detectAgentBackend,
|
|
5
5
|
listDetectBackendIds,
|
|
6
6
|
runPlanLoop
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import
|
|
7
|
+
} from "./chunk-OZYJUNAQ.js";
|
|
8
|
+
import "./chunk-3LLXDHIU.js";
|
|
9
|
+
import {
|
|
10
|
+
negatedFlag
|
|
11
|
+
} from "./chunk-XDCCYBCJ.js";
|
|
10
12
|
import "./chunk-WUWRGOUV.js";
|
|
11
13
|
import {
|
|
12
14
|
HITL_UNANSWERED_EXIT_CODE,
|
|
@@ -142,7 +144,7 @@ var runPlanCommand = defineCommand({
|
|
|
142
144
|
model: args.model ? String(args.model) : void 0,
|
|
143
145
|
dryRun: Boolean(args["dry-run"]),
|
|
144
146
|
backend,
|
|
145
|
-
noHitl:
|
|
147
|
+
noHitl: negatedFlag(args, "hitl"),
|
|
146
148
|
plain: Boolean(args.plain),
|
|
147
149
|
landOnGate: Boolean(args["land-on-gate"]),
|
|
148
150
|
...events ? { events: {} } : {},
|
package/package.json
CHANGED