@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.
@@ -2,7 +2,7 @@ import {
2
2
  REPO_ROOT_ENV,
3
3
  bundledDashboardCandidates,
4
4
  findDashboardStart
5
- } from "./chunk-HFUH3HVS.js";
5
+ } from "./chunk-XDCCYBCJ.js";
6
6
  import {
7
7
  HELMET_ACCENT,
8
8
  HELMET_FILL,
@@ -3,7 +3,7 @@ import {
3
3
  ScrollRegion,
4
4
  renderMcLive,
5
5
  runMcTuiLoop
6
- } from "./chunk-PCCQUWE5.js";
6
+ } from "./chunk-3LLXDHIU.js";
7
7
  import {
8
8
  extractHandoffNamedPlans,
9
9
  namedPlanCandidatePaths,
@@ -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: Boolean(args["no-open"]),
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,
@@ -7,7 +7,7 @@ import {
7
7
  findDashboardStart,
8
8
  readPreferredBrowserFromWorkspace,
9
9
  resolveDashboardSnapshotRoot
10
- } from "./chunk-HFUH3HVS.js";
10
+ } from "./chunk-XDCCYBCJ.js";
11
11
  import "./chunk-ZB43YMHW.js";
12
12
  export {
13
13
  applyDashboardOpenEnv,
@@ -3,8 +3,9 @@ import {
3
3
  dashboardProcessTitle,
4
4
  dashboardSpawnEnv,
5
5
  findDashboardStart,
6
+ negatedFlag,
6
7
  resolveDashboardSnapshotRoot
7
- } from "./chunk-HFUH3HVS.js";
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: Boolean(args["no-open"]),
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-YV6XTFZY.js").then((m) => m.runCommand),
233
- "run-plan": () => import("./run-plan-KT443FO6.js").then((m) => m.runPlanCommand),
234
- "run-plan-all": () => import("./run-YV6XTFZY.js").then((m) => m.runPlanAllCommand),
235
- dashboard: () => import("./dashboard-YSNUGBFY.js").then((m) => m.dashboardCommand),
236
- "dashboard-broadcast": () => import("./dashboard-broadcast-M4CMW7RX.js").then((m) => m.dashboardBroadcastCommand),
237
- "mission-control": () => import("./mission-control-LJACEVVN.js").then((m) => m.missionControlCommand),
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-PCCQUWE5.js";
6
+ } from "./chunk-3LLXDHIU.js";
7
7
  import {
8
8
  resolveDashboardSnapshotRoot
9
- } from "./chunk-HFUH3HVS.js";
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-TPCCSWK6.js";
11
- import "./chunk-PCCQUWE5.js";
12
- import "./chunk-HFUH3HVS.js";
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: Boolean(args["no-hitl"]),
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-TPCCSWK6.js";
8
- import "./chunk-PCCQUWE5.js";
9
- import "./chunk-HFUH3HVS.js";
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: Boolean(args["no-hitl"]),
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dadado/agent-kit-cli",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "Agent Kit CLI: HITL framework install and tooling for AI-assisted IDEs (rules, skills, plan/handoff, context).",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",