@coresource/hz 0.1.8 → 0.1.9

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.
Files changed (2) hide show
  1. package/dist/hz.mjs +2 -1
  2. package/package.json +1 -1
package/dist/hz.mjs CHANGED
@@ -2991,7 +2991,7 @@ function registerMissionLifecycleCommands(mission, context, dependencies = {}) {
2991
2991
  dependencies
2992
2992
  );
2993
2993
  });
2994
- mission.command("watch").description("Watch a mission's live progress").argument("[missionId]").action(async (missionId, _options, command) => {
2994
+ mission.command("watch").description("Watch a mission's live progress").argument("[missionId]").option("--yes", "Automatically approve all triage prompts").action(async (missionId, options, command) => {
2995
2995
  const homeDir = resolveLifecycleHomeDir(context);
2996
2996
  const resolved = await resolveMissionId(missionId, context, command, homeDir);
2997
2997
  const { apiClient, authConfig } = await createMissionClientContext(
@@ -3003,6 +3003,7 @@ function registerMissionLifecycleCommands(mission, context, dependencies = {}) {
3003
3003
  const monitorResult = await monitorMission({
3004
3004
  apiClient,
3005
3005
  apiKey: authConfig.apiKey,
3006
+ autoApprove: options.yes === true,
3006
3007
  createSpinner: dependencies.createSpinner,
3007
3008
  createWebSocket: dependencies.createWebSocket,
3008
3009
  endpoint: authConfig.endpoint,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coresource/hz",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "hz": "dist/hz.mjs"