@agentshouse/kit 0.2.1-c70284f7a7466 → 0.2.1-c7f53ff9eaf98

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.
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
- "version": "0.2.1-c70284f7a7466",
3
+ "version": "0.2.1-c7f53ff9eaf98",
4
4
  "hosts": {
5
5
  "macos": {
6
6
  "asset": {
7
7
  "name": "connect-linux.sh",
8
- "url": "https://github.com/agentshouse/kit/releases/download/v0.2.1-c70284f7a7466/connect-linux.sh"
8
+ "url": "https://github.com/agentshouse/kit/releases/download/v0.2.1-c7f53ff9eaf98/connect-linux.sh"
9
9
  }
10
10
  },
11
11
  "linux": {
12
12
  "asset": {
13
13
  "name": "connect-linux.sh",
14
- "url": "https://github.com/agentshouse/kit/releases/download/v0.2.1-c70284f7a7466/connect-linux.sh"
14
+ "url": "https://github.com/agentshouse/kit/releases/download/v0.2.1-c7f53ff9eaf98/connect-linux.sh"
15
15
  }
16
16
  },
17
17
  "windows": {
18
18
  "asset": {
19
19
  "name": "connect-windows.ps1",
20
- "url": "https://github.com/agentshouse/kit/releases/download/v0.2.1-c70284f7a7466/connect-windows.ps1"
20
+ "url": "https://github.com/agentshouse/kit/releases/download/v0.2.1-c7f53ff9eaf98/connect-windows.ps1"
21
21
  }
22
22
  }
23
23
  }
package/dist/resident.js CHANGED
@@ -173,6 +173,8 @@ export async function resident() {
173
173
  frame: (arrived) => {
174
174
  if (arrived.type === 'watching')
175
175
  conversations.watching(arrived.watching === true);
176
+ if (arrived.type === 'authority_changed')
177
+ logged(copies.connected());
176
178
  if (arrived.type === 'work_available' && arrived.subject === 'agents')
177
179
  logged(agents.refresh());
178
180
  if (arrived.type === 'input') {
package/dist/wire.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { refusalOf } from './refusals.js';
2
- export const KIT_WIRE = 1;
2
+ export const KIT_WIRE = 2;
3
3
  export const KIT_WIRE_HEADER = 'x-house-kit-wire';
4
4
  export function tooOld(text) {
5
5
  return refusalOf(text)?.code === 'kit_update_required';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentshouse/kit",
3
- "version": "0.2.1-c70284f7a7466",
3
+ "version": "0.2.1-c7f53ff9eaf98",
4
4
  "description": "House Kit connects an Environment to agents.house.",
5
5
  "license": "MIT",
6
6
  "repository": {