@habemus-papadum/aiui 0.0.0-reserve.0 → 0.2.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 +21 -0
- package/README.md +40 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +1357 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/browser.d.ts +27 -0
- package/dist/commands/chrome.d.ts +1 -0
- package/dist/commands/claude.d.ts +29 -0
- package/dist/commands/demo.d.ts +28 -0
- package/dist/commands/mcp.d.ts +14 -0
- package/dist/commands/vite.d.ts +39 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/program.d.ts +8 -0
- package/dist/util/aiui-args.d.ts +78 -0
- package/dist/util/browser.d.ts +44 -0
- package/dist/util/cft.d.ts +79 -0
- package/dist/util/chrome.d.ts +120 -0
- package/dist/util/config.d.ts +104 -0
- package/dist/util/enter-nudge.d.ts +7 -0
- package/dist/util/first-run.d.ts +25 -0
- package/dist/util/openai-preflight.d.ts +65 -0
- package/dist/util/prompt.d.ts +5 -0
- package/dist/util/resolve-cli.d.ts +28 -0
- package/dist/util/ui.d.ts +12 -0
- package/dist/util/version.d.ts +2 -0
- package/dist/util/which.d.ts +8 -0
- package/package.json +38 -3
- package/templates/demo/CLAUDE.md +16 -0
- package/templates/demo/README.md +36 -0
- package/templates/demo/gitignore +4 -0
- package/templates/demo/index.html +11 -0
- package/templates/demo/package.json +21 -0
- package/templates/demo/src/main.ts +51 -0
- package/templates/demo/tsconfig.json +11 -0
- package/templates/demo/vite.config.ts +17 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nehal Patel
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,42 @@
|
|
|
1
1
|
# @habemus-papadum/aiui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
ai ui frontends — the `aiui` CLI: launchers and browser plumbing for an
|
|
4
|
+
agent-in-the-loop UI workflow. ⚠️ Read the repo's *Read before running* guide first: `aiui claude`
|
|
5
|
+
skips permissions by default and gives the agent a browser.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @habemus-papadum/aiui
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## CLI
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
aiui demo # scaffold a disposable demo playground (safe to re-run — it continues)
|
|
17
|
+
aiui claude # launch Claude Code wired with the aiui channel, plugin, and browser MCP
|
|
18
|
+
aiui vite # launch Vite against the running channel (sets VITE_AIUI_PORT)
|
|
19
|
+
aiui browser # start (or find) the shared session browser; --tunnel <host> = remote-dev local half
|
|
20
|
+
aiui open <url># open a URL as a tab in the session browser
|
|
21
|
+
aiui chrome # manage the browser: install | update | status | extension
|
|
22
|
+
aiui mcp # forward to the aiui-claude-channel CLI (e.g. `aiui mcp quick`)
|
|
23
|
+
aiui --help
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Flags for `aiui claude` beginning with `--aiui-` are consumed by aiui (`--aiui-no-chrome`,
|
|
27
|
+
`--aiui-chrome-profile <name>`, `--aiui-tag <tag>`, …); everything else forwards to `claude`
|
|
28
|
+
verbatim. `--help`/`--version` are inert: aiui prints its own answer, then the wrapped tool's
|
|
29
|
+
follows — no config, browser, or Chrome-for-Testing activity. Durable settings live in
|
|
30
|
+
`config.json` (user cache + project `.aiui-cache/`) — see the repo's *Configuration* guide.
|
|
31
|
+
|
|
32
|
+
Built with [commander](https://github.com/tj/commander.js) for the command tree and
|
|
33
|
+
[execa](https://github.com/sindresorhus/execa) to spawn the child processes. The command
|
|
34
|
+
implementations live in `src/commands/`.
|
|
35
|
+
|
|
36
|
+
During development, run the CLI straight from source (via `tsx`, no build) with the
|
|
37
|
+
`./aiui` launcher at the repo root:
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
./aiui claude
|
|
41
|
+
./aiui --help
|
|
42
|
+
```
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|