@alfe.ai/terminal 0.0.0 → 0.1.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
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- let node_pty = require("node-pty");
2
+ let _homebridge_node_pty_prebuilt_multiarch = require("@homebridge/node-pty-prebuilt-multiarch");
3
3
  let _alfe_ai_remote = require("@alfe.ai/remote");
4
4
  //#region src/terminal-surface.ts
5
5
  /**
@@ -52,7 +52,7 @@ var TerminalSurface = class {
52
52
  const rows = open.rows ?? DEFAULT_ROWS;
53
53
  let ptyProcess;
54
54
  try {
55
- ptyProcess = (0, node_pty.spawn)(this.shell, [], {
55
+ ptyProcess = (0, _homebridge_node_pty_prebuilt_multiarch.spawn)(this.shell, [], {
56
56
  name: "xterm-256color",
57
57
  cols,
58
58
  rows,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { spawn } from "node-pty";
1
+ import { spawn } from "@homebridge/node-pty-prebuilt-multiarch";
2
2
  import { RemoteFrameType, decodeJson, encodeFrame } from "@alfe.ai/remote";
3
3
  //#region src/terminal-surface.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/terminal",
3
- "version": "0.0.0",
3
+ "version": "0.1.1",
4
4
  "description": "PTY terminal surface for the Alfe interactive remote-control relay — a web shell over the agent's outbound WS (no inbound port, no SSH daemon)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -16,10 +16,18 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "node-pty": "^1.0.0",
20
- "@alfe.ai/remote": "^0.0.0"
19
+ "@homebridge/node-pty-prebuilt-multiarch": "^0.13.1",
20
+ "@alfe.ai/remote": "^0.1.0"
21
21
  },
22
22
  "license": "UNLICENSED",
23
+ "homepage": "https://alfe.ai",
24
+ "author": "Alfe (https://alfe.ai)",
25
+ "keywords": [
26
+ "alfe",
27
+ "ai-agents",
28
+ "agent",
29
+ "llm"
30
+ ],
23
31
  "scripts": {
24
32
  "build": "tsdown",
25
33
  "dev": "tsdown --watch",