@adhdev/mesh-shared 1.0.60-rc.34 → 1.0.60-rc.36
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/turn-evidence.d.ts +8 -1
- package/package.json +1 -1
- package/src/turn-evidence.ts +8 -1
package/dist/turn-evidence.d.ts
CHANGED
|
@@ -63,7 +63,14 @@ export declare const LIVENESS_RESULTS: readonly ["alive", "unknown", "read_faile
|
|
|
63
63
|
export type LivenessResult = typeof LIVENESS_RESULTS[number];
|
|
64
64
|
export declare const PROVIDER_FAILURES: readonly ["auth_failed", "billing_failed"];
|
|
65
65
|
export type ProviderFailure = typeof PROVIDER_FAILURES[number];
|
|
66
|
-
|
|
66
|
+
/**
|
|
67
|
+
* `daemon_restart` (wiring-unification follow-up, design §5): a boot-time
|
|
68
|
+
* reconciliation observes this for a plain attempt whose session is gone
|
|
69
|
+
* after a restart — the daemon never saw the session's own exit, so it is
|
|
70
|
+
* not `provider_error`/`adapter_error`/etc.; it is the daemon itself
|
|
71
|
+
* reporting "this session no longer exists".
|
|
72
|
+
*/
|
|
73
|
+
export declare const SESSION_ERROR_REASONS: readonly ["provider_error", "adapter_error", "spawn_failed", "auth_failed", "billing_failed", "unknown", "daemon_restart"];
|
|
67
74
|
export type SessionErrorReason = typeof SESSION_ERROR_REASONS[number];
|
|
68
75
|
export declare const CANCEL_REASONS: readonly ["operator_cancel", "intentional_cleanup", "task_removed", "mission_abandoned", "superseded"];
|
|
69
76
|
export type CancelReason = typeof CANCEL_REASONS[number];
|
package/package.json
CHANGED
package/src/turn-evidence.ts
CHANGED
|
@@ -90,7 +90,14 @@ export type LivenessResult = typeof LIVENESS_RESULTS[number]
|
|
|
90
90
|
export const PROVIDER_FAILURES = ['auth_failed', 'billing_failed'] as const
|
|
91
91
|
export type ProviderFailure = typeof PROVIDER_FAILURES[number]
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
/**
|
|
94
|
+
* `daemon_restart` (wiring-unification follow-up, design §5): a boot-time
|
|
95
|
+
* reconciliation observes this for a plain attempt whose session is gone
|
|
96
|
+
* after a restart — the daemon never saw the session's own exit, so it is
|
|
97
|
+
* not `provider_error`/`adapter_error`/etc.; it is the daemon itself
|
|
98
|
+
* reporting "this session no longer exists".
|
|
99
|
+
*/
|
|
100
|
+
export const SESSION_ERROR_REASONS = ['provider_error', 'adapter_error', 'spawn_failed', 'auth_failed', 'billing_failed', 'unknown', 'daemon_restart'] as const
|
|
94
101
|
export type SessionErrorReason = typeof SESSION_ERROR_REASONS[number]
|
|
95
102
|
|
|
96
103
|
export const CANCEL_REASONS = ['operator_cancel', 'intentional_cleanup', 'task_removed', 'mission_abandoned', 'superseded'] as const
|