@aivin-labs/cli 1.0.5 → 1.0.11
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 +288 -216
- package/bin/assets/aivin-mascot.png +0 -0
- package/bin/cli.mjs +551 -5
- package/bin/lib/browserAutomation.mjs +384 -614
- package/bin/lib/browserTui.mjs +276 -251
- package/bin/lib/cancellation.mjs +61 -0
- package/bin/lib/localBrowser.mjs +345 -0
- package/bin/lib/mcpProxy.mjs +869 -837
- package/bin/lib/missionStream.mjs +696 -691
- package/bin/lib/releaseKeys.mjs +9 -0
- package/bin/lib/remote/activityLog.mjs +68 -0
- package/bin/lib/remote/autoStart.mjs +617 -0
- package/bin/lib/remote/autoUpdate.mjs +129 -0
- package/bin/lib/remote/brand.mjs +60 -0
- package/bin/lib/remote/browserTunnel.mjs +403 -0
- package/bin/lib/remote/callLedger.mjs +134 -0
- package/bin/lib/remote/cdpPolicy.mjs +79 -0
- package/bin/lib/remote/client.mjs +808 -0
- package/bin/lib/remote/clipboard.mjs +138 -0
- package/bin/lib/remote/codingAgents.mjs +293 -0
- package/bin/lib/remote/constants.mjs +234 -0
- package/bin/lib/remote/credentials.mjs +208 -0
- package/bin/lib/remote/daemonLock.mjs +86 -0
- package/bin/lib/remote/dailyBrowser.mjs +371 -0
- package/bin/lib/remote/desktop/index.mjs +272 -0
- package/bin/lib/remote/desktop/linux.mjs +144 -0
- package/bin/lib/remote/desktop/linuxTraySource.mjs +427 -0
- package/bin/lib/remote/desktop/mac.mjs +187 -0
- package/bin/lib/remote/desktop/macTraySource.mjs +292 -0
- package/bin/lib/remote/desktop/strings.mjs +74 -0
- package/bin/lib/remote/desktop/traySource.mjs +527 -0
- package/bin/lib/remote/deviceMemory.mjs +246 -0
- package/bin/lib/remote/deviceProfile.mjs +142 -0
- package/bin/lib/remote/deviceWatches.mjs +138 -0
- package/bin/lib/remote/docText.mjs +117 -0
- package/bin/lib/remote/fileIndexer.mjs +399 -0
- package/bin/lib/remote/gui/index.mjs +326 -0
- package/bin/lib/remote/gui/officeHostSource.mjs +393 -0
- package/bin/lib/remote/gui/windowsHost.mjs +109 -0
- package/bin/lib/remote/gui/windowsHostSource.mjs +1156 -0
- package/bin/lib/remote/httpTransfer.mjs +89 -0
- package/bin/lib/remote/idempotency.mjs +135 -0
- package/bin/lib/remote/keepAwake.mjs +100 -0
- package/bin/lib/remote/localConfirm.mjs +268 -0
- package/bin/lib/remote/localPolicy.mjs +256 -0
- package/bin/lib/remote/mascot/adpcm.mjs +70 -0
- package/bin/lib/remote/mascot/ask.mjs +768 -0
- package/bin/lib/remote/mascot/askHostSource.mjs +512 -0
- package/bin/lib/remote/mascot/assets.mjs +827 -0
- package/bin/lib/remote/mascot/bot.mjs +372 -0
- package/bin/lib/remote/mascot/hostSource.mjs +759 -0
- package/bin/lib/remote/mascot/hotkey.mjs +66 -0
- package/bin/lib/remote/mascot/index.mjs +493 -0
- package/bin/lib/remote/mascot/labels.mjs +82 -0
- package/bin/lib/remote/mascot/rigSource.mjs +609 -0
- package/bin/lib/remote/mascot/strings.mjs +375 -0
- package/bin/lib/remote/mascot/ui.mjs +104 -0
- package/bin/lib/remote/mascot/voiceSource.mjs +584 -0
- package/bin/lib/remote/meeting/index.mjs +415 -0
- package/bin/lib/remote/meeting/recorder.mjs +109 -0
- package/bin/lib/remote/meeting/recorderSource.mjs +394 -0
- package/bin/lib/remote/meeting/transcribe.mjs +259 -0
- package/bin/lib/remote/memberFsPool.mjs +134 -0
- package/bin/lib/remote/memberFsWorker.mjs +60 -0
- package/bin/lib/remote/mission.mjs +156 -0
- package/bin/lib/remote/missionQuestion.mjs +63 -0
- package/bin/lib/remote/multiUser.mjs +344 -0
- package/bin/lib/remote/netProxy.mjs +145 -0
- package/bin/lib/remote/notify.mjs +58 -0
- package/bin/lib/remote/office/index.mjs +90 -0
- package/bin/lib/remote/policyCommand.mjs +93 -0
- package/bin/lib/remote/processes.mjs +217 -0
- package/bin/lib/remote/sandbox.mjs +221 -0
- package/bin/lib/remote/schedule.mjs +213 -0
- package/bin/lib/remote/scheduler.mjs +124 -0
- package/bin/lib/remote/tabGroups.mjs +209 -0
- package/bin/lib/remote/textIndex.mjs +131 -0
- package/bin/lib/remote/tokenStore.mjs +77 -0
- package/bin/lib/remote/toolHandlers.mjs +741 -0
- package/bin/lib/remote/undoStore.mjs +242 -0
- package/bin/lib/remoteControl.mjs +26 -0
- package/bin/lib/scaffold.mjs +654 -653
- package/bin/lib/selfUpdate.mjs +71 -0
- package/bin/lib/update/binarySwap.mjs +63 -0
- package/bin/lib/update/constants.mjs +56 -0
- package/bin/lib/update/download.mjs +145 -0
- package/bin/lib/update/signature.mjs +42 -0
- package/bin/lib/update/state.mjs +205 -0
- package/bin/lib/update/versions.mjs +60 -0
- package/docs/AIVIN_MASCOT.md +116 -0
- package/docs/CLI.md +1484 -1299
- package/docs/media/aivin-mascot-states.mp4 +0 -0
- package/package.json +71 -62
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Aivin mascot
|
|
2
|
+
|
|
3
|
+
The Aivin mascot is the floating Windows interface for Aivin Remote. It shows what the agent is doing, accepts typed or spoken questions, and gives access to recent activity without opening the web app.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- Windows.
|
|
8
|
+
- A paired computer with the Aivin Remote listener running.
|
|
9
|
+
- The mascot enabled for that listener run.
|
|
10
|
+
|
|
11
|
+
Start the listener normally:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
aivin remote start
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
To show the mascot and open its ask box directly, run:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
aivin ui
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
If the listener is not running, `aivin ui` starts it in the background. If the computer has not been paired, the command prints pairing instructions instead.
|
|
24
|
+
|
|
25
|
+
## Using the mascot
|
|
26
|
+
|
|
27
|
+
- **Move it:** drag the mascot to another position. Aivin remembers the position for the next start.
|
|
28
|
+
- **Ask by typing:** hover over the mascot to reveal the ask box, or click it to open the box. Type a question and press Enter.
|
|
29
|
+
- **Talk to Aivin:** click the microphone button to start a live voice conversation. Click it again to finish; clicking while Aivin is speaking interrupts the reply.
|
|
30
|
+
- **Open activity:** right-click the mascot to show the detailed activity panel.
|
|
31
|
+
- **Start fresh:** choose **New chat session** in the activity panel. The previous conversation remains available in Aivin.
|
|
32
|
+
- **Attach local files:** drag files or folders onto the mascot. They are attached to the next question, subject to the attachment limit.
|
|
33
|
+
|
|
34
|
+
The app window that was active immediately before you opened the mascot or used its microphone hotkey is included as context. This lets questions such as “what is wrong here?” refer to that window. The agent only observes or captures the window when the request requires it.
|
|
35
|
+
|
|
36
|
+
## Status and motion
|
|
37
|
+
|
|
38
|
+
The mascot changes its expression and motion to reflect the listener state:
|
|
39
|
+
|
|
40
|
+
| State | Meaning |
|
|
41
|
+
| -------- | ---------------------------------------------------- |
|
|
42
|
+
| Idle | Connected and waiting for work |
|
|
43
|
+
| Working | A task or tool call is running |
|
|
44
|
+
| Thinking | Aivin is preparing a response |
|
|
45
|
+
| Waiting | Aivin needs an answer or confirmation |
|
|
46
|
+
| Done | The latest work completed successfully |
|
|
47
|
+
| Error | The latest work failed |
|
|
48
|
+
| Paused | Remote work is paused |
|
|
49
|
+
| Offline | The listener lost its connection and is reconnecting |
|
|
50
|
+
|
|
51
|
+
When turned off from the activity panel, the mascot fades and slides down before its window closes. This only closes the mascot interface; the Remote listener continues running in the background.
|
|
52
|
+
|
|
53
|
+
Preview all eight state animations without pairing or starting the listener:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
aivin ui --demo
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Keyboard shortcut
|
|
60
|
+
|
|
61
|
+
The default microphone shortcut is `Win+Alt+Space`. If another application already owns it, Aivin tries its fallback combinations.
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
aivin remote mascot hotkey # show the current shortcut
|
|
65
|
+
aivin remote mascot hotkey Ctrl+Alt+M # set a custom shortcut
|
|
66
|
+
aivin remote mascot hotkey off # disable the shortcut
|
|
67
|
+
aivin remote mascot hotkey default # restore automatic defaults
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Shortcut changes take effect after the mascot restarts.
|
|
71
|
+
|
|
72
|
+
## Turning the mascot on or off
|
|
73
|
+
|
|
74
|
+
Check or change the persistent setting:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
aivin remote mascot
|
|
78
|
+
aivin remote mascot off
|
|
79
|
+
aivin remote mascot on
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
The activity panel's **Turn mascot off** button also changes the persistent setting. Run `aivin ui` to enable and bring it back immediately. After using `aivin remote mascot on`, restart the listener for the setting to take effect.
|
|
83
|
+
|
|
84
|
+
To hide the mascot for only one listener run:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
aivin remote start --no-mascot
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Privacy and window behavior
|
|
91
|
+
|
|
92
|
+
- The mascot stays out of Aivin screenshots and screen sharing captures.
|
|
93
|
+
- It does not take keyboard focus unless its ask box is open.
|
|
94
|
+
- It moves out of the way while the agent controls another app window.
|
|
95
|
+
- Voice conversations appear as text in the ask box. Aivin ignores microphone input while its own voice is playing to avoid feedback.
|
|
96
|
+
- Interface text follows `AIVIN_LANG`, falling back to the Windows system language.
|
|
97
|
+
|
|
98
|
+
## Troubleshooting
|
|
99
|
+
|
|
100
|
+
**The mascot does not appear**
|
|
101
|
+
|
|
102
|
+
Run `aivin remote mascot` to check whether it is enabled, then run `aivin ui`. Use `aivin remote status` to confirm the listener is running.
|
|
103
|
+
|
|
104
|
+
**The microphone shortcut does not work**
|
|
105
|
+
|
|
106
|
+
Run `aivin remote mascot hotkey` to see the active candidates. Set another combination if they are already registered by other applications, then restart the mascot.
|
|
107
|
+
|
|
108
|
+
**The mascot says it is offline**
|
|
109
|
+
|
|
110
|
+
The listener is still running but cannot currently reach Aivin. Check the computer's connection and use `aivin remote logs` for details.
|
|
111
|
+
|
|
112
|
+
**The mascot is visible during a capture**
|
|
113
|
+
|
|
114
|
+
Normal Aivin captures exclude it. Set or remove any development-only capture overrides, then restart the listener.
|
|
115
|
+
|
|
116
|
+
See also the [Aivin Remote CLI reference](CLI.md#aivin-remote) for listener, meeting, update, and desktop-app commands.
|