happy-coder 0.7.1-beta.3 → 0.7.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/lib.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var types = require('./types-CzvFvJwf.cjs');
3
+ var types = require('./types-B4GgojGc.cjs');
4
4
  require('axios');
5
5
  require('chalk');
6
6
  require('fs');
package/dist/lib.d.cts CHANGED
@@ -700,10 +700,10 @@ declare class ApiClient {
700
700
  * Register or update machine with the server
701
701
  * Returns the current machine state from the server with decrypted metadata and daemonState
702
702
  */
703
- createOrReturnExistingAsIs(opts: {
703
+ createMachineOrGetExistingAsIs(opts: {
704
704
  machineId: string;
705
705
  metadata: MachineMetadata;
706
- daemonState: DaemonState;
706
+ daemonState?: DaemonState;
707
707
  }): Promise<Machine>;
708
708
  sessionSyncClient(session: Session): ApiSessionClient;
709
709
  machineSyncClient(machine: Machine): ApiMachineClient;
package/dist/lib.d.mts CHANGED
@@ -700,10 +700,10 @@ declare class ApiClient {
700
700
  * Register or update machine with the server
701
701
  * Returns the current machine state from the server with decrypted metadata and daemonState
702
702
  */
703
- createOrReturnExistingAsIs(opts: {
703
+ createMachineOrGetExistingAsIs(opts: {
704
704
  machineId: string;
705
705
  metadata: MachineMetadata;
706
- daemonState: DaemonState;
706
+ daemonState?: DaemonState;
707
707
  }): Promise<Machine>;
708
708
  sessionSyncClient(session: Session): ApiSessionClient;
709
709
  machineSyncClient(machine: Machine): ApiMachineClient;
package/dist/lib.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-BZC9-exR.mjs';
1
+ export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-CnqIfv9n.mjs';
2
2
  import 'axios';
3
3
  import 'chalk';
4
4
  import 'fs';
@@ -1227,7 +1227,7 @@ class ApiClient {
1227
1227
  * Register or update machine with the server
1228
1228
  * Returns the current machine state from the server with decrypted metadata and daemonState
1229
1229
  */
1230
- async createOrReturnExistingAsIs(opts) {
1230
+ async createMachineOrGetExistingAsIs(opts) {
1231
1231
  const response = await axios.post(
1232
1232
  `${configuration.serverUrl}/v1/machines`,
1233
1233
  {
@@ -1225,7 +1225,7 @@ class ApiClient {
1225
1225
  * Register or update machine with the server
1226
1226
  * Returns the current machine state from the server with decrypted metadata and daemonState
1227
1227
  */
1228
- async createOrReturnExistingAsIs(opts) {
1228
+ async createMachineOrGetExistingAsIs(opts) {
1229
1229
  const response = await axios.post(
1230
1230
  `${configuration.serverUrl}/v1/machines`,
1231
1231
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "happy-coder",
3
- "version": "0.7.1-beta.3",
3
+ "version": "0.7.1",
4
4
  "description": "Claude Code session sharing CLI",
5
5
  "author": "Kirill Dubovitskiy",
6
6
  "license": "MIT",
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "devDependencies": {
87
87
  "@eslint/compat": "^1",
88
- "@types/node": ">=18",
88
+ "@types/node": ">=20",
89
89
  "cross-env": "^10.0.0",
90
90
  "eslint": "^9",
91
91
  "eslint-config-prettier": "^10",
@@ -96,7 +96,8 @@
96
96
  "typescript": "^5",
97
97
  "vitest": "^3.2.4"
98
98
  },
99
- "overrides": {
99
+ "resolutions": {
100
100
  "whatwg-url": "14.2.0"
101
- }
101
+ },
102
+ "packageManager": "yarn@1.22.22"
102
103
  }
package/bin/happy.cmd DELETED
@@ -1,3 +0,0 @@
1
- @echo off
2
- set NODE_NO_WARNINGS=1
3
- node --no-warnings --no-deprecation "%~dp0\happy" %*