@termiq/cli 0.1.0
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/LICENSE +54 -0
- package/README.md +61 -0
- package/dist/bin.js +102 -0
- package/dist/node_modules/node-pty/LICENSE +69 -0
- package/dist/node_modules/node-pty/README.md +165 -0
- package/dist/node_modules/node-pty/lib/conpty_console_list_agent.js +16 -0
- package/dist/node_modules/node-pty/lib/conpty_console_list_agent.js.map +1 -0
- package/dist/node_modules/node-pty/lib/eventEmitter2.js +47 -0
- package/dist/node_modules/node-pty/lib/eventEmitter2.js.map +1 -0
- package/dist/node_modules/node-pty/lib/eventEmitter2.test.js +30 -0
- package/dist/node_modules/node-pty/lib/eventEmitter2.test.js.map +1 -0
- package/dist/node_modules/node-pty/lib/index.js +52 -0
- package/dist/node_modules/node-pty/lib/index.js.map +1 -0
- package/dist/node_modules/node-pty/lib/interfaces.js +7 -0
- package/dist/node_modules/node-pty/lib/interfaces.js.map +1 -0
- package/dist/node_modules/node-pty/lib/shared/conout.js +11 -0
- package/dist/node_modules/node-pty/lib/shared/conout.js.map +1 -0
- package/dist/node_modules/node-pty/lib/terminal.js +190 -0
- package/dist/node_modules/node-pty/lib/terminal.js.map +1 -0
- package/dist/node_modules/node-pty/lib/terminal.test.js +139 -0
- package/dist/node_modules/node-pty/lib/terminal.test.js.map +1 -0
- package/dist/node_modules/node-pty/lib/testUtils.test.js +28 -0
- package/dist/node_modules/node-pty/lib/testUtils.test.js.map +1 -0
- package/dist/node_modules/node-pty/lib/types.js +7 -0
- package/dist/node_modules/node-pty/lib/types.js.map +1 -0
- package/dist/node_modules/node-pty/lib/unixTerminal.js +346 -0
- package/dist/node_modules/node-pty/lib/unixTerminal.js.map +1 -0
- package/dist/node_modules/node-pty/lib/unixTerminal.test.js +351 -0
- package/dist/node_modules/node-pty/lib/unixTerminal.test.js.map +1 -0
- package/dist/node_modules/node-pty/lib/utils.js +39 -0
- package/dist/node_modules/node-pty/lib/utils.js.map +1 -0
- package/dist/node_modules/node-pty/lib/windowsConoutConnection.js +125 -0
- package/dist/node_modules/node-pty/lib/windowsConoutConnection.js.map +1 -0
- package/dist/node_modules/node-pty/lib/windowsPtyAgent.js +320 -0
- package/dist/node_modules/node-pty/lib/windowsPtyAgent.js.map +1 -0
- package/dist/node_modules/node-pty/lib/windowsPtyAgent.test.js +90 -0
- package/dist/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +1 -0
- package/dist/node_modules/node-pty/lib/windowsTerminal.js +199 -0
- package/dist/node_modules/node-pty/lib/windowsTerminal.js.map +1 -0
- package/dist/node_modules/node-pty/lib/windowsTerminal.test.js +219 -0
- package/dist/node_modules/node-pty/lib/windowsTerminal.test.js.map +1 -0
- package/dist/node_modules/node-pty/lib/worker/conoutSocketWorker.js +22 -0
- package/dist/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +1 -0
- package/dist/node_modules/node-pty/node-addon-api@7.1.1/node_modules/node-addon-api/node_addon_api_except.stamp +0 -0
- package/dist/node_modules/node-pty/package.json +64 -0
- package/dist/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/dist/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/dist/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
- package/dist/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
- package/dist/node_modules/node-pty/prebuilds/linux-x64/pty.node +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-x64/pty.node +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
- package/dist/node_modules/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
- package/dist/node_modules/node-pty/typings/node-pty.d.ts +211 -0
- package/package.json +48 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
TermIQ CLI - Proprietary License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 TermIQ. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software and associated documentation files (the "Software") are the
|
|
6
|
+
proprietary property of TermIQ and are protected by copyright law.
|
|
7
|
+
|
|
8
|
+
TERMS OF USE
|
|
9
|
+
|
|
10
|
+
1. LICENSE GRANT
|
|
11
|
+
Subject to your compliance with these terms and the TermIQ Terms of Service
|
|
12
|
+
(https://termiq.io/terms), TermIQ grants you a limited, non-exclusive,
|
|
13
|
+
non-transferable, revocable license to use the Software solely for your
|
|
14
|
+
personal or internal business purposes.
|
|
15
|
+
|
|
16
|
+
2. RESTRICTIONS
|
|
17
|
+
You may NOT:
|
|
18
|
+
- Copy, modify, or distribute the Software
|
|
19
|
+
- Reverse engineer, decompile, or disassemble the Software
|
|
20
|
+
- Remove or alter any proprietary notices or labels
|
|
21
|
+
- Use the Software to compete with TermIQ
|
|
22
|
+
- Sublicense, sell, rent, or lease the Software
|
|
23
|
+
- Use the Software in violation of applicable laws
|
|
24
|
+
|
|
25
|
+
3. TERMIQ SERVICE REQUIRED
|
|
26
|
+
This Software requires an active TermIQ account and connection to TermIQ
|
|
27
|
+
servers. Use of the Software is subject to the TermIQ Terms of Service
|
|
28
|
+
available at https://termiq.io/terms
|
|
29
|
+
|
|
30
|
+
4. DATA COLLECTION
|
|
31
|
+
The Software transmits terminal data to TermIQ servers as described in
|
|
32
|
+
our Privacy Policy at https://termiq.io/privacy
|
|
33
|
+
|
|
34
|
+
5. NO WARRANTY
|
|
35
|
+
THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
36
|
+
IMPLIED. TERMIQ DISCLAIMS ALL WARRANTIES INCLUDING MERCHANTABILITY, FITNESS
|
|
37
|
+
FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
|
38
|
+
|
|
39
|
+
6. LIMITATION OF LIABILITY
|
|
40
|
+
IN NO EVENT SHALL TERMIQ BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
|
|
41
|
+
CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING FROM YOUR USE OF THE SOFTWARE.
|
|
42
|
+
|
|
43
|
+
7. TERMINATION
|
|
44
|
+
This license terminates automatically if you violate any of these terms.
|
|
45
|
+
Upon termination, you must cease all use and destroy all copies of the
|
|
46
|
+
Software.
|
|
47
|
+
|
|
48
|
+
8. GOVERNING LAW
|
|
49
|
+
This license is governed by the laws of the European Union and Germany.
|
|
50
|
+
|
|
51
|
+
For questions about this license, contact: legal@termiq.io
|
|
52
|
+
|
|
53
|
+
Full Terms of Service: https://termiq.io/terms
|
|
54
|
+
Privacy Policy: https://termiq.io/privacy
|
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# @termiq/cli
|
|
2
|
+
|
|
3
|
+
Your terminals in your pocket. Access any terminal from your phone — monitor builds, run commands, check AI assistants from anywhere.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm i -g @termiq/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
termiq # Start: spawn shell + connect to termiq.io
|
|
15
|
+
termiq login # Authenticate via browser
|
|
16
|
+
termiq login --token KEY # Authenticate with API key
|
|
17
|
+
termiq logout # Clear credentials
|
|
18
|
+
termiq status # Show connection status
|
|
19
|
+
termiq --help # Help
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## How it works
|
|
23
|
+
|
|
24
|
+
1. `termiq` spawns a new shell in your terminal
|
|
25
|
+
2. Everything is streamed to [termiq.io](https://termiq.io) in real-time
|
|
26
|
+
3. Open termiq.io on your phone to monitor and control the terminal
|
|
27
|
+
4. `exit` or `Ctrl+D` to disconnect
|
|
28
|
+
|
|
29
|
+
## API Key authentication
|
|
30
|
+
|
|
31
|
+
For headless/CI environments, create an API key at [termiq.io/settings/api-keys](https://termiq.io/settings/api-keys):
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
termiq login --token tiq_your_api_key
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Or set the environment variable:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
export TERMIQ_TOKEN=tiq_your_api_key
|
|
41
|
+
termiq
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Configuration
|
|
45
|
+
|
|
46
|
+
Config is stored in `~/.termiq/`:
|
|
47
|
+
|
|
48
|
+
- `config.json` — server URL, agent name
|
|
49
|
+
- `credentials` — authentication tokens (chmod 0600)
|
|
50
|
+
|
|
51
|
+
## Requirements
|
|
52
|
+
|
|
53
|
+
- Node.js 18+
|
|
54
|
+
- A TermIQ account ([termiq.io](https://termiq.io))
|
|
55
|
+
|
|
56
|
+
## Links
|
|
57
|
+
|
|
58
|
+
- [Website](https://termiq.io)
|
|
59
|
+
- [Support](https://termiq.io/support)
|
|
60
|
+
- [Privacy Policy](https://termiq.io/privacy)
|
|
61
|
+
- [Terms of Service](https://termiq.io/terms)
|