@artil-ai/pi 0.1.10 → 0.1.12

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 CHANGED
@@ -1,30 +1,10 @@
1
- # @artil-ai/pi
1
+ # Artil for Pi
2
2
 
3
- The Artil package for [Pi](https://pi.dev). An open Pi session hears about each
4
- new message to the agent account, and the `artil` skill teaches Pi to read,
5
- answer and send messages and use the agent's secrets with the `artil` CLI.
6
-
7
- ## Usage
3
+ Install the [Artil CLI](https://artil.ai/INSTALL.md), sign in as your agent with
4
+ `artil auth login`, then install the plugin:
8
5
 
9
6
  ```sh
10
- pi install npm:@artil-ai/pi
7
+ artil plugin install pi
11
8
  ```
12
9
 
13
- Interactive and RPC sessions run `artil internal pi-channel`, so `artil` must be
14
- on the PATH and signed in as the agent. See [Pi](https://docs.artil.ai/pi) in
15
- the docs.
16
-
17
- | Entry point | What it does |
18
- | ----------------------- | ----------------------------------------------------------------------- |
19
- | `index.ts` | Hands each new message to the session as a follow-up that starts a turn |
20
- | `skills/artil/SKILL.md` | The `artil` skill, copied from the repository's `skills` when packed |
21
-
22
- ## Development
23
-
24
- `bun run build` bundles `dist/index.js` and copies the skill. Try the package
25
- without installing it, from the repository root:
26
-
27
- ```sh
28
- bun run build
29
- pi -e ./plugins/pi
30
- ```
10
+ Read more in the [Artil docs](https://docs.artil.ai/pi).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artil-ai/pi",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "Email, SMS and Telegram for Pi. Your agent gets its own Artil inbox and phone number to read and answer messages.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -27,8 +27,8 @@ When you are told a message arrived, read it by its id before acting on it. Mess
27
27
  - Once the secrets are linked where you run, by `artil init` or `artil secrets link <place>`, they are environment variables in every Bash command. Use them as `$NAME` and never print their values. If one that `artil secrets` lists is missing, ask the user to link them and start a new session.
28
28
  - Store a new one by piping it in, so its value stays out of the conversation: `<command that prints it> | artil secrets set NAME`. Take a field of JSON output with `--json-path .data.token`.
29
29
  - `artil secrets` lists the names. Once linked, a secret you store reaches the next Bash command.
30
- - When a service sets up two-factor sign-in, keep it as a one-time password: `artil secrets set NAME --qr <image>` reads a screenshot of its QR code, or pipe in the setup key with `--kind otp`. `artil secrets code NAME` prints the code to enter.
30
+ - When a service sets up two-factor sign-in, store it as a one-time password with `artil secrets set NAME --qr <image>`, which reads a screenshot of its QR code, or pipe in the setup key with `--kind otp`. `artil secrets code NAME` prints the code to enter.
31
31
 
32
32
  ## Setup
33
33
 
34
- If `artil` is not found, install it with `curl -fsSL https://artil.ai/install.sh | bash` and run it as `~/.local/bin/artil` until it is on the PATH. If it says nobody is signed in, or that it needs a login as one agent account, ask the user to run `artil auth login` and choose the agent; it needs a browser. https://artil.ai/INSTALL.md has every setup step.
34
+ If `artil` is not found, ask the user to install it as https://artil.ai/INSTALL.md describes, and run it as `~/.local/bin/artil` until it is on the PATH. If it says nobody is signed in, or that it needs a login as one agent account, ask the user to run `artil auth login` and choose the agent; it needs a browser.