happy-coder 0.9.0-5 → 0.9.0

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/lib.cjs CHANGED
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var types = require('./types-a-nJyP-e.cjs');
3
+ var types = require('./types-CyOnnZ8M.cjs');
4
4
  require('axios');
5
5
  require('chalk');
6
6
  require('fs');
7
+ require('node:fs');
7
8
  require('node:os');
8
9
  require('node:path');
9
10
  require('node:fs/promises');
10
- require('node:fs');
11
- require('node:events');
12
- require('socket.io-client');
13
11
  require('zod');
14
12
  require('node:crypto');
15
13
  require('tweetnacl');
14
+ require('node:events');
15
+ require('socket.io-client');
16
16
  require('expo-server-sdk');
17
17
 
18
18
 
package/dist/lib.d.cts CHANGED
@@ -615,6 +615,9 @@ interface TrackedSession {
615
615
  happySessionMetadataFromLocalWebhook?: Metadata;
616
616
  pid: number;
617
617
  childProcess?: ChildProcess;
618
+ error?: string;
619
+ directoryCreated?: boolean;
620
+ message?: string;
618
621
  }
619
622
 
620
623
  /**
@@ -723,9 +726,9 @@ declare class ApiClient {
723
726
  * - File output location: ~/.handy/logs/<date time in local timezone>.log
724
727
  */
725
728
  declare class Logger {
726
- readonly logFilePathPromise: Promise<string>;
729
+ readonly logFilePath: string;
727
730
  private dangerouslyUnencryptedServerLoggingUrl;
728
- constructor(logFilePathPromise?: Promise<string>);
731
+ constructor(logFilePath?: string);
729
732
  localTimezoneTimestamp(): string;
730
733
  debug(message: string, ...args: unknown[]): void;
731
734
  debugLargeJson(message: string, object: unknown, maxStringLength?: number, maxArrayLength?: number): void;
@@ -748,10 +751,11 @@ declare class Configuration {
748
751
  readonly isDaemonProcess: boolean;
749
752
  readonly happyHomeDir: string;
750
753
  readonly logsDir: string;
751
- readonly daemonLogsDir: string;
752
754
  readonly settingsFile: string;
753
755
  readonly privateKeyFile: string;
754
756
  readonly daemonStateFile: string;
757
+ readonly daemonLockFile: string;
758
+ readonly currentCliVersion: string;
755
759
  readonly isExperimentalEnabled: boolean;
756
760
  constructor();
757
761
  }
package/dist/lib.d.mts CHANGED
@@ -615,6 +615,9 @@ interface TrackedSession {
615
615
  happySessionMetadataFromLocalWebhook?: Metadata;
616
616
  pid: number;
617
617
  childProcess?: ChildProcess;
618
+ error?: string;
619
+ directoryCreated?: boolean;
620
+ message?: string;
618
621
  }
619
622
 
620
623
  /**
@@ -723,9 +726,9 @@ declare class ApiClient {
723
726
  * - File output location: ~/.handy/logs/<date time in local timezone>.log
724
727
  */
725
728
  declare class Logger {
726
- readonly logFilePathPromise: Promise<string>;
729
+ readonly logFilePath: string;
727
730
  private dangerouslyUnencryptedServerLoggingUrl;
728
- constructor(logFilePathPromise?: Promise<string>);
731
+ constructor(logFilePath?: string);
729
732
  localTimezoneTimestamp(): string;
730
733
  debug(message: string, ...args: unknown[]): void;
731
734
  debugLargeJson(message: string, object: unknown, maxStringLength?: number, maxArrayLength?: number): void;
@@ -748,10 +751,11 @@ declare class Configuration {
748
751
  readonly isDaemonProcess: boolean;
749
752
  readonly happyHomeDir: string;
750
753
  readonly logsDir: string;
751
- readonly daemonLogsDir: string;
752
754
  readonly settingsFile: string;
753
755
  readonly privateKeyFile: string;
754
756
  readonly daemonStateFile: string;
757
+ readonly daemonLockFile: string;
758
+ readonly currentCliVersion: string;
755
759
  readonly isExperimentalEnabled: boolean;
756
760
  constructor();
757
761
  }
package/dist/lib.mjs CHANGED
@@ -1,14 +1,14 @@
1
- export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-DJOX-XG-.mjs';
1
+ export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-Cezp_n6O.mjs';
2
2
  import 'axios';
3
3
  import 'chalk';
4
4
  import 'fs';
5
+ import 'node:fs';
5
6
  import 'node:os';
6
7
  import 'node:path';
7
8
  import 'node:fs/promises';
8
- import 'node:fs';
9
- import 'node:events';
10
- import 'socket.io-client';
11
9
  import 'zod';
12
10
  import 'node:crypto';
13
11
  import 'tweetnacl';
12
+ import 'node:events';
13
+ import 'socket.io-client';
14
14
  import 'expo-server-sdk';