@kmmao/happy-agent 0.3.0 → 0.3.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/index.cjs CHANGED
@@ -18,7 +18,7 @@ var path = require('path');
18
18
  var fs = require('fs');
19
19
  var os = require('os');
20
20
 
21
- var version = "0.3.0";
21
+ var version = "0.3.1";
22
22
 
23
23
  function loadConfig() {
24
24
  const serverUrl = (process.env.HAPPY_SERVER_URL ?? "https://happyserve.xycloud.info").replace(/\/+$/, "");
package/dist/index.d.cts CHANGED
@@ -82,6 +82,25 @@ declare const DaemonStateSchema: z.ZodObject<{
82
82
  cli: "cli";
83
83
  "os-signal": "os-signal";
84
84
  }>, z.ZodString]>>;
85
+ tailscale: z.ZodOptional<z.ZodObject<{
86
+ status: z.ZodEnum<{
87
+ connected: "connected";
88
+ disconnected: "disconnected";
89
+ "not-installed": "not-installed";
90
+ }>;
91
+ ipv4: z.ZodOptional<z.ZodString>;
92
+ ipv6: z.ZodOptional<z.ZodString>;
93
+ hostname: z.ZodOptional<z.ZodString>;
94
+ tailnetName: z.ZodOptional<z.ZodString>;
95
+ version: z.ZodOptional<z.ZodString>;
96
+ serves: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
+ port: z.ZodNumber;
98
+ protocol: z.ZodString;
99
+ target: z.ZodString;
100
+ funnel: z.ZodBoolean;
101
+ hostname: z.ZodString;
102
+ }, z.core.$strip>>>;
103
+ }, z.core.$strip>>;
85
104
  }, z.core.$strip>;
86
105
  type DaemonState = z.infer<typeof DaemonStateSchema>;
87
106
  type Machine = {
package/dist/index.d.mts CHANGED
@@ -82,6 +82,25 @@ declare const DaemonStateSchema: z.ZodObject<{
82
82
  cli: "cli";
83
83
  "os-signal": "os-signal";
84
84
  }>, z.ZodString]>>;
85
+ tailscale: z.ZodOptional<z.ZodObject<{
86
+ status: z.ZodEnum<{
87
+ connected: "connected";
88
+ disconnected: "disconnected";
89
+ "not-installed": "not-installed";
90
+ }>;
91
+ ipv4: z.ZodOptional<z.ZodString>;
92
+ ipv6: z.ZodOptional<z.ZodString>;
93
+ hostname: z.ZodOptional<z.ZodString>;
94
+ tailnetName: z.ZodOptional<z.ZodString>;
95
+ version: z.ZodOptional<z.ZodString>;
96
+ serves: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
+ port: z.ZodNumber;
98
+ protocol: z.ZodString;
99
+ target: z.ZodString;
100
+ funnel: z.ZodBoolean;
101
+ hostname: z.ZodString;
102
+ }, z.core.$strip>>>;
103
+ }, z.core.$strip>>;
85
104
  }, z.core.$strip>;
86
105
  type DaemonState = z.infer<typeof DaemonStateSchema>;
87
106
  type Machine = {
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ import { join as join$1, resolve } from 'path';
16
16
  import { realpathSync } from 'fs';
17
17
  import { tmpdir } from 'os';
18
18
 
19
- var version = "0.3.0";
19
+ var version = "0.3.1";
20
20
 
21
21
  function loadConfig() {
22
22
  const serverUrl = (process.env.HAPPY_SERVER_URL ?? "https://happyserve.xycloud.info").replace(/\/+$/, "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-agent",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "CLI client for controlling Happy Coder agents remotely",
5
5
  "author": "Kirill Dubovitskiy",
6
6
  "license": "MIT",