@frockbot/computer-core 0.3.11 → 0.3.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/package.json +2 -2
- package/src/core.ts +8 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/computer-core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@frockbot/kernel-contracts": "0.3.
|
|
15
|
+
"@frockbot/kernel-contracts": "0.3.13",
|
|
16
16
|
"cordis": "4.0.0-rc.8"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/src/core.ts
CHANGED
|
@@ -48,14 +48,16 @@ export type ComputerErrorCode =
|
|
|
48
48
|
/**
|
|
49
49
|
* What every seam says when this deployment has no Computer at all.
|
|
50
50
|
*
|
|
51
|
-
* One sentence,
|
|
52
|
-
* variable and no settings screen
|
|
53
|
-
* and nothing a User or a Bot can do inside the product
|
|
54
|
-
* inventing a remedy here only sends the User looking for a
|
|
55
|
-
* not exist.
|
|
51
|
+
* One sentence, in the words the person reading it would use. It names no
|
|
52
|
+
* environment variable and no settings screen — a Computer is wired in when the
|
|
53
|
+
* app is deployed, and nothing a User or a Bot can do inside the product
|
|
54
|
+
* changes it, so inventing a remedy here only sends the User looking for a
|
|
55
|
+
* control that does not exist. It also names no part of the architecture: what
|
|
56
|
+
* the reader has lost is the ability to have the Bot browse and run tasks, and
|
|
57
|
+
* that is what the sentence says.
|
|
56
58
|
*/
|
|
57
59
|
export const COMPUTER_UNCONFIGURED_MESSAGE_V1 =
|
|
58
|
-
"This
|
|
60
|
+
"This Bot has no computer, so it can't browse the web or run tasks for you.";
|
|
59
61
|
|
|
60
62
|
export class ComputerError extends Error {
|
|
61
63
|
constructor(
|