@openclaw/facetime 2026.10.7 → 2026.10.8

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.
@@ -0,0 +1 @@
1
+ {"version":3,"entries":[{"output":"doctor-contract-api.js","source":"extensions/facetime/doctor-contract-api.ts"},{"output":"index.js","source":"extensions/facetime/index.ts"},{"output":"runtime-api.js","source":"extensions/facetime/runtime-api.ts"}],"chunks":[{"output":".setup/setup-DpCR3Ga3.mjs","sha256":"5ccf3943c1ff01b0d96b254a02b29724cf6f3be01ad4c979d701b882066da04d","facadeSource":null,"sources":["extensions/facetime/src/config.ts","extensions/facetime/src/driver-setup.ts","extensions/facetime/src/plugin-paths.ts","extensions/facetime/src/setup.ts"]},{"output":"doctor-contract-api.js","sha256":"f96dd9cf6c57743e620691d1e4e881c3d88ceab3d439580cf69fdf058ed13694","facadeSource":"extensions/facetime/doctor-contract-api.ts","sources":["extensions/facetime/doctor-contract-api.ts","packages/normalization-core/src/record-coerce.ts","src/config/channel-config-normalization.ts","src/plugin-sdk/legacy-webhook-listener-migration.ts"]},{"output":"index.js","sha256":"79430df90239dfd3a61fbbee572add4a38c46903897ae62b7bc811998436386f","facadeSource":"extensions/facetime/index.ts","sources":["extensions/facetime/index.ts","extensions/facetime/src/runtime-lifecycle.ts","extensions/facetime/src/static-status.ts","extensions/facetime/src/tool.ts"]},{"output":"runtime-api.js","sha256":"d4fa1b42c63fe8490e8f3f70e4cd96d68fab2cde6c319d386556db0fb5c3c7e6","facadeSource":"extensions/facetime/runtime-api.ts","sources":["extensions/facetime/helper-endpoint.json","extensions/facetime/src/audio-pump.ts","extensions/facetime/src/call-events.ts","extensions/facetime/src/call-lifecycle.ts","extensions/facetime/src/helper-endpoint.ts","extensions/facetime/src/helper-results.ts","extensions/facetime/src/helper-rpc.ts","extensions/facetime/src/helper-supervisor.ts","extensions/facetime/src/outbound-call.ts","extensions/facetime/src/pending-dial-store.ts","extensions/facetime/src/preflight.ts","extensions/facetime/src/runtime-call-control.ts","extensions/facetime/src/runtime-call-events.ts","extensions/facetime/src/runtime-carrier-process.ts","extensions/facetime/src/runtime-helper-results.ts","extensions/facetime/src/runtime-state.ts","extensions/facetime/src/runtime-status.ts","extensions/facetime/src/runtime.ts","extensions/facetime/src/talk-consult-controller.ts","extensions/facetime/src/talk-driver-config.ts","extensions/facetime/src/talk-driver.ts","extensions/facetime/src/talk-events-summary.ts","extensions/facetime/src/talk-initial-greeting.ts"]}],"unrenderedSources":["extensions/facetime/runtime-api.ts"]}
@@ -20,7 +20,8 @@ const TU_CALL_STATUS = {
20
20
  outgoingCreated: 0,
21
21
  active: 1,
22
22
  outgoingRinging: 3,
23
- incomingRinging: 4
23
+ incomingRinging: 4,
24
+ disconnected: 6
24
25
  };
25
26
  function readFiniteNumber(value) {
26
27
  return asFiniteNumber(typeof value === "string" ? Number(value) : value);
@@ -151,7 +152,7 @@ function isOutgoingRingingCall(event) {
151
152
  return (event.data.call_status === TU_CALL_STATUS.outgoingCreated || event.data.call_status === TU_CALL_STATUS.outgoingRinging) && event.data.is_outgoing === true;
152
153
  }
153
154
  function isEndedCall(event) {
154
- return event.data.has_ended === true;
155
+ return event.data.has_ended === true || event.data.call_status === TU_CALL_STATUS.disconnected;
155
156
  }
156
157
  function isUnknownCallStatus(event) {
157
158
  return !isIncomingRingingCall(event) && !isOutgoingRingingCall(event) && !isActiveCall(event) && !isEndedCall(event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/facetime",
3
- "version": "2026.10.7",
3
+ "version": "2026.10.8",
4
4
  "description": "Experimental FaceTime realtime voice carrier for OpenClaw agents",
5
5
  "license": "MIT",
6
6
  "author": "OpenClaw contributors",
@@ -66,7 +66,7 @@
66
66
  "typebox": "1.3.34"
67
67
  },
68
68
  "peerDependencies": {
69
- "openclaw": ">=2026.10.7"
69
+ "openclaw": ">=2026.10.8"
70
70
  },
71
71
  "peerDependenciesMeta": {
72
72
  "openclaw": {
@@ -85,11 +85,11 @@
85
85
  "allowInvalidConfigRecovery": true
86
86
  },
87
87
  "compat": {
88
- "pluginApi": ">=2026.10.7"
88
+ "pluginApi": ">=2026.10.8"
89
89
  },
90
90
  "build": {
91
91
  "bundledDist": false,
92
- "openclawVersion": "2026.10.7"
92
+ "openclawVersion": "2026.10.8"
93
93
  },
94
94
  "release": {
95
95
  "publishToClawHub": true,
@@ -40,6 +40,7 @@ const TU_CALL_STATUS = {
40
40
  active: 1,
41
41
  outgoingRinging: 3,
42
42
  incomingRinging: 4,
43
+ disconnected: 6,
43
44
  } as const;
44
45
 
45
46
  export type AuthenticatedFaceTimeOwner = {
@@ -256,7 +257,9 @@ export function isOutgoingRingingCall(event: FaceTimeCallStatusEvent): boolean {
256
257
  }
257
258
 
258
259
  export function isEndedCall(event: FaceTimeCallStatusEvent): boolean {
259
- return event.data.has_ended === true;
260
+ // TUCall may publish disconnected before dateEnded is populated. Waiting for
261
+ // that timestamp retains a dead carrier and blocks subsequent incoming calls.
262
+ return event.data.has_ended === true || event.data.call_status === TU_CALL_STATUS.disconnected;
260
263
  }
261
264
 
262
265
  export function isUnknownCallStatus(event: FaceTimeCallStatusEvent): boolean {