happy-coder 0.7.1-beta.2 → 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/README.md +4 -1
- package/bin/happy.mjs +35 -2
- package/dist/index.cjs +502 -434
- package/dist/index.mjs +511 -443
- package/dist/lib.cjs +1 -1
- package/dist/lib.d.cts +2 -2
- package/dist/lib.d.mts +2 -2
- package/dist/lib.mjs +1 -1
- package/dist/{types-CzvFvJwf.cjs → types-B4GgojGc.cjs} +1 -1
- package/dist/{types-BZC9-exR.mjs → types-CnqIfv9n.mjs} +1 -1
- package/package.json +5 -4
- package/bin/happy.cmd +0 -3
package/dist/lib.cjs
CHANGED
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
|
-
|
|
703
|
+
createMachineOrGetExistingAsIs(opts: {
|
|
704
704
|
machineId: string;
|
|
705
705
|
metadata: MachineMetadata;
|
|
706
|
-
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
|
-
|
|
703
|
+
createMachineOrGetExistingAsIs(opts: {
|
|
704
704
|
machineId: string;
|
|
705
705
|
metadata: MachineMetadata;
|
|
706
|
-
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-
|
|
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
|
|
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
|
|
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
|
|
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": ">=
|
|
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
|
-
"
|
|
99
|
+
"resolutions": {
|
|
100
100
|
"whatwg-url": "14.2.0"
|
|
101
|
-
}
|
|
101
|
+
},
|
|
102
|
+
"packageManager": "yarn@1.22.22"
|
|
102
103
|
}
|
package/bin/happy.cmd
DELETED