@artil-ai/pi 0.3.1 → 0.3.2
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ function listen({ channel, restart, deliver, stopped }) {
|
|
|
6
6
|
let problem = "";
|
|
7
7
|
let stopping = false;
|
|
8
8
|
artil.on("error", (error) => {
|
|
9
|
-
problem = error.code === "ENOENT" ? `The artil command is not on the PATH. Install it
|
|
9
|
+
problem = error.code === "ENOENT" ? `The artil command is not on the PATH. Install it as https://artil.ai/INSTALL.md describes, then ${restart}.` : error.message;
|
|
10
10
|
});
|
|
11
11
|
artil.stderr.on("data", (chunk) => {
|
|
12
12
|
problem += chunk.toString();
|
|
@@ -93,7 +93,7 @@ async function signedIn(ui) {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
// index.ts
|
|
96
|
-
function
|
|
96
|
+
function artil(pi) {
|
|
97
97
|
let listening;
|
|
98
98
|
let sessions = 0;
|
|
99
99
|
addBundledArtil(import.meta.url);
|
|
@@ -124,5 +124,5 @@ function hearNewMessages(pi) {
|
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
export {
|
|
127
|
-
|
|
127
|
+
artil as default
|
|
128
128
|
};
|