@drisp/cli 0.5.16 → 0.5.17

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.
@@ -2440,7 +2440,7 @@ var cachedVersion = null;
2440
2440
  function readVersion() {
2441
2441
  if (cachedVersion !== null) return cachedVersion;
2442
2442
  try {
2443
- const injected = "0.5.16";
2443
+ const injected = "0.5.17";
2444
2444
  if (typeof injected === "string" && injected.length > 0) {
2445
2445
  cachedVersion = injected;
2446
2446
  return cachedVersion;
package/dist/cli.js CHANGED
@@ -3592,8 +3592,8 @@ var ShellInputImpl = forwardRef(function ShellInput({
3592
3592
  ShellInputImpl.displayName = "ShellInput";
3593
3593
  var ShellInput2 = React2.memo(ShellInputImpl);
3594
3594
 
3595
- // src/ui/hooks/useAppMode.ts
3596
- function useAppMode(isClaudeRunning, currentPermissionRequest, currentQuestionRequest, startupFailureMessage) {
3595
+ // src/shared/utils/deriveAppMode.ts
3596
+ function deriveAppMode(isClaudeRunning, currentPermissionRequest, currentQuestionRequest, startupFailureMessage) {
3597
3597
  if (startupFailureMessage) {
3598
3598
  return { type: "startup_failed", message: startupFailureMessage };
3599
3599
  }
@@ -10032,7 +10032,7 @@ function AppContent({
10032
10032
  const metrics = useHeaderMetrics(feedEvents);
10033
10033
  sessionTelemetryMetricsRef.current = metrics;
10034
10034
  useTerminalTitle(workflow?.name, isHarnessRunning);
10035
- const appMode = useAppMode(
10035
+ const appMode = deriveAppMode(
10036
10036
  isHarnessRunning,
10037
10037
  currentPermissionRequest,
10038
10038
  currentQuestionRequest,
@@ -12681,7 +12681,7 @@ var cachedVersion = null;
12681
12681
  function readPackageVersion() {
12682
12682
  if (cachedVersion !== null) return cachedVersion;
12683
12683
  try {
12684
- const injected = "0.5.16";
12684
+ const injected = "0.5.17";
12685
12685
  if (typeof injected === "string" && injected.length > 0) {
12686
12686
  cachedVersion = injected;
12687
12687
  return cachedVersion;
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "hooks",
18
18
  "dashboard"
19
19
  ],
20
- "version": "0.5.16",
20
+ "version": "0.5.17",
21
21
  "license": "MIT",
22
22
  "bin": {
23
23
  "athena": "dist/cli.js",