@zixt/host 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. package/dist/index.js +58 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -19185,6 +19185,61 @@ function createPlaywrightBrowserAdapterFactory() {
19185
19185
  // src/client.ts
19186
19186
  import WebSocket from "ws";
19187
19187
 
19188
+ // package.json
19189
+ var package_default = {
19190
+ name: "@zixt/host",
19191
+ version: "0.0.2",
19192
+ type: "module",
19193
+ exports: {
19194
+ ".": "./src/client.ts",
19195
+ "./browser": "./src/browser/index.ts"
19196
+ },
19197
+ scripts: {
19198
+ dev: "tsx watch src/index.ts",
19199
+ start: "tsx src/index.ts",
19200
+ "browser:install": "playwright-core install chromium",
19201
+ test: "bun test",
19202
+ typecheck: "tsc -p tsconfig.json",
19203
+ build: "node scripts/build.mjs",
19204
+ prepack: "node scripts/build.mjs"
19205
+ },
19206
+ dependencies: {
19207
+ "playwright-core": "1.61.1",
19208
+ ws: "^8.18.0"
19209
+ },
19210
+ devDependencies: {
19211
+ "@types/bun": "^1.3.0",
19212
+ "@types/node": "^24.0.0",
19213
+ "@types/ws": "^8.18.0",
19214
+ tsx: "^4.23.0",
19215
+ "@zixt/contracts": "workspace:*",
19216
+ esbuild: "^0.25.0"
19217
+ },
19218
+ description: "Zixt Host: runs AI-teammate Tasks on your own machine, paired to the Zixt cloud",
19219
+ license: "UNLICENSED",
19220
+ repository: {
19221
+ type: "git",
19222
+ url: "git+https://github.com/zixtai/zixt.git",
19223
+ directory: "apps/host"
19224
+ },
19225
+ bin: {
19226
+ "zixt-host": "dist/index.js"
19227
+ },
19228
+ files: [
19229
+ "dist",
19230
+ "README.md"
19231
+ ],
19232
+ engines: {
19233
+ node: ">=20.0.0"
19234
+ },
19235
+ publishConfig: {
19236
+ access: "public"
19237
+ },
19238
+ optionalDependencies: {
19239
+ "@vscode/windows-process-tree": "0.8.0"
19240
+ }
19241
+ };
19242
+
19188
19243
  // src/runners/mcp-client.ts
19189
19244
  var REQUEST_TIMEOUT_MS = 1e4;
19190
19245
  var MAX_BODY_BYTES = 4 * 1024 * 1024;
@@ -19456,6 +19511,7 @@ async function probeWorkspaces(workspaces) {
19456
19511
  }
19457
19512
 
19458
19513
  // src/client.ts
19514
+ var HOST_VERSION = package_default.version;
19459
19515
  var GITHUB_GRANT_FAILURE_TEXT = {
19460
19516
  no_reply_from_zixt: "Zixt did not answer the request for repository credentials in time",
19461
19517
  refused_by_zixt: "Zixt declined to issue repository credentials",
@@ -19923,7 +19979,7 @@ var HostClient = class _HostClient {
19923
19979
  const measured = typeof configured === "function" ? await configured() : configured ?? {
19924
19980
  os: process.platform,
19925
19981
  arch: process.arch,
19926
- hostVersion: process.env.npm_package_version ?? "unknown",
19982
+ hostVersion: HOST_VERSION,
19927
19983
  activeSessions: this.cancels.size,
19928
19984
  runners: [],
19929
19985
  workspaces: [],
@@ -30253,7 +30309,7 @@ async function telemetry() {
30253
30309
  return {
30254
30310
  os: process.platform,
30255
30311
  arch: process.arch,
30256
- hostVersion: process.env.npm_package_version ?? "unknown",
30312
+ hostVersion: HOST_VERSION,
30257
30313
  activeSessions,
30258
30314
  runners: cachedRunners ?? [],
30259
30315
  workspaces: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zixt/host",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/client.ts",