@aivin-labs/cli 1.0.8 → 1.0.13
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 +41 -0
- package/bin/assets/aivin-mascot.png +0 -0
- package/bin/cli.mjs +1979 -1780
- package/bin/lib/browserAutomation.mjs +232 -469
- package/bin/lib/localBrowser.mjs +345 -0
- package/bin/lib/remote/activityLog.mjs +1 -1
- package/bin/lib/remote/autoStart.mjs +174 -14
- package/bin/lib/remote/browserTunnel.mjs +187 -37
- package/bin/lib/remote/callLedger.mjs +74 -15
- package/bin/lib/remote/cdpPolicy.mjs +14 -1
- package/bin/lib/remote/client.mjs +174 -11
- package/bin/lib/remote/clipboard.mjs +138 -0
- package/bin/lib/remote/cloudFiles.mjs +53 -0
- package/bin/lib/remote/codingAgents.mjs +293 -0
- package/bin/lib/remote/constants.mjs +78 -0
- package/bin/lib/remote/dailyBrowser.mjs +9 -3
- package/bin/lib/remote/desktop/desktopCast.mjs +198 -0
- package/bin/lib/remote/desktop/desktopCastSource.mjs +514 -0
- package/bin/lib/remote/desktop/desktopWebRtc.mjs +95 -0
- package/bin/lib/remote/desktop/index.mjs +309 -0
- package/bin/lib/remote/desktop/linux.mjs +144 -0
- package/bin/lib/remote/desktop/linuxTraySource.mjs +434 -0
- package/bin/lib/remote/desktop/mac.mjs +187 -0
- package/bin/lib/remote/desktop/macTraySource.mjs +295 -0
- package/bin/lib/remote/desktop/strings.mjs +74 -0
- package/bin/lib/remote/desktop/traySource.mjs +541 -0
- package/bin/lib/remote/deviceProfile.mjs +1 -0
- package/bin/lib/remote/docText.mjs +86 -1
- package/bin/lib/remote/fileIndexer.mjs +757 -399
- package/bin/lib/remote/folderRules.mjs +140 -0
- package/bin/lib/remote/gui/index.mjs +208 -18
- package/bin/lib/remote/gui/windowsHost.mjs +9 -2
- package/bin/lib/remote/gui/windowsHostSource.mjs +444 -49
- package/bin/lib/remote/idempotency.mjs +50 -21
- package/bin/lib/remote/localPolicy.mjs +17 -4
- 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 +530 -0
- package/bin/lib/remote/mascot/assets.mjs +825 -216
- package/bin/lib/remote/mascot/bot.mjs +397 -0
- package/bin/lib/remote/mascot/hostSource.mjs +500 -103
- package/bin/lib/remote/mascot/hotkey.mjs +66 -0
- package/bin/lib/remote/mascot/index.mjs +199 -28
- package/bin/lib/remote/mascot/labels.mjs +2 -3
- package/bin/lib/remote/mascot/rigSource.mjs +614 -0
- package/bin/lib/remote/mascot/strings.mjs +204 -18
- 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/osSearch.mjs +107 -0
- package/bin/lib/remote/sqliteDb.mjs +51 -0
- package/bin/lib/remote/tabGroups.mjs +209 -0
- package/bin/lib/remote/toolHandlers.mjs +788 -726
- package/bin/lib/remoteControl.mjs +26 -26
- package/docs/AIVIN_MASCOT.md +130 -0
- package/docs/CLI.md +1504 -1353
- package/docs/media/aivin-mascot-live.gif +0 -0
- package/docs/media/aivin-mascot-live.png +0 -0
- package/docs/media/aivin-remote-architecture.svg +102 -0
- package/package.json +71 -71
package/README.md
CHANGED
|
@@ -67,6 +67,7 @@ pieces from your own terminal, on top of whatever editor/CI workflow you already
|
|
|
67
67
|
- [The Aivin ecosystem](#the-aivin-ecosystem)
|
|
68
68
|
- [Install](#install)
|
|
69
69
|
- [Quick start](#quick-start)
|
|
70
|
+
- [Aivin mascot on Windows](#aivin-mascot-on-windows)
|
|
70
71
|
- [What you get from a scaffold](#what-you-get-from-a-scaffold)
|
|
71
72
|
- [Command overview](#command-overview)
|
|
72
73
|
- [Environment variables](#environment-variables)
|
|
@@ -151,6 +152,42 @@ working code from that description in one step. Prefer a blank scaffold you writ
|
|
|
151
152
|
`aivin create my-plugin` does just the scaffolding, no AI step. Already have a project instead of
|
|
152
153
|
a description? `aivin plugin convert` turns an existing directory into a plugin in place.
|
|
153
154
|
|
|
155
|
+
## Aivin mascot on Windows
|
|
156
|
+
|
|
157
|
+
<p align="center">
|
|
158
|
+
<img src="docs/media/aivin-mascot-live.gif" alt="The current live Aivin mascot showing chat, file drag and attached-file states" width="480" />
|
|
159
|
+
</p>
|
|
160
|
+
|
|
161
|
+
When Aivin Remote is running on Windows, a small animated Aivin mascot can float above your apps.
|
|
162
|
+
It shows whether Aivin is idle, working, thinking, waiting for you, done, paused, offline, or has hit
|
|
163
|
+
an error. Hover or click it to type a question, use its microphone for a live voice conversation,
|
|
164
|
+
right-click for the activity panel, or drop local files onto it to attach them to your next message.
|
|
165
|
+
The mascot stays out of Aivin screenshots and moves aside while the agent controls another window.
|
|
166
|
+
The animation above is captured from the current WPF interface: it shows a chat, the drag target and
|
|
167
|
+
the tray holding files already attached to the next message.
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
aivin remote start # start the listener and mascot
|
|
171
|
+
aivin ui # show the mascot and open its ask box
|
|
172
|
+
aivin ui --demo # preview all mascot animations
|
|
173
|
+
aivin remote mascot off # turn it off persistently
|
|
174
|
+
aivin remote mascot on # enable it for the next listener start
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
Turning it off from the activity panel plays a short fade-and-slide exit animation while the Remote
|
|
178
|
+
listener continues in the background. See the dedicated [Aivin mascot guide](docs/AIVIN_MASCOT.md)
|
|
179
|
+
for interactions, voice and keyboard shortcuts, states, privacy behavior, and troubleshooting.
|
|
180
|
+
|
|
181
|
+
### How Remote connects Aivin to computers
|
|
182
|
+
|
|
183
|
+

|
|
184
|
+
|
|
185
|
+
Each paired computer opens its own authenticated outbound connection to Aivin Platform. The
|
|
186
|
+
platform routes a chat or mission to the selected computer; its listener applies local policy,
|
|
187
|
+
requests approval for protected actions, runs the allowed local tools, and sends progress and
|
|
188
|
+
results back. The mascot talks to the listener on the same computer—it is not a separate remote
|
|
189
|
+
control channel.
|
|
190
|
+
|
|
154
191
|
## What you get from a scaffold
|
|
155
192
|
|
|
156
193
|
Both `aivin init` and `aivin create` produce the same project shape (`init` additionally writes
|
|
@@ -202,6 +239,8 @@ examples, and behavior notes for each one.
|
|
|
202
239
|
| `aivin whoami` | Show which account is logged in on this machine |
|
|
203
240
|
| `aivin key` | Manage named API keys (`gen` / `revoke` / `list`) for your account |
|
|
204
241
|
| `aivin browser [mission]` | Run an AI Browser mission, driving a real local or server-side browser |
|
|
242
|
+
| `aivin remote start` | Connect this computer to Aivin and show the Windows mascot when enabled |
|
|
243
|
+
| `aivin ui` | Show the Windows mascot with its ask box, or preview its animations with `--demo` |
|
|
205
244
|
| `aivin do [agentNickname] [mission]` | Have an AI Staff agent work toward a goal in the background |
|
|
206
245
|
| `aivin do job [description]` | Create a recurring automation job from a plain-language description |
|
|
207
246
|
| `aivin task [description]` | Create, list, get, update, or delete tasks in a project |
|
|
@@ -228,6 +267,8 @@ Full descriptions and when you'd actually touch each one: [CLI.md#environment-va
|
|
|
228
267
|
|
|
229
268
|
## Documentation
|
|
230
269
|
|
|
270
|
+
- [docs/AIVIN_MASCOT.md](docs/AIVIN_MASCOT.md) — the Windows mascot: interaction, voice,
|
|
271
|
+
animation states, shortcuts, privacy, controls, and troubleshooting.
|
|
231
272
|
- [docs/GETTING_STARTED.md](docs/GETTING_STARTED.md) — the full narrative walkthrough: scaffold,
|
|
232
273
|
write, test, deploy, and use a plugin from the CLI, plus everything else `aivin` drives (tasks,
|
|
233
274
|
AI Browser missions, workspaces, agents).
|
|
Binary file
|