refactor: replace overloaded surface terminology
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write packages/util/retention/README.md
|
||||
README.md: 4f4dda8d8a93cd4cdcc4b3c0d2cc575f21159ffb
|
||||
README.md: b33f433db0b430082e7cd60421e9c407ea823c99
|
||||
README.zh.md: 9ce48c66566dca449cf6c1090f5ef4785e046769
|
||||
|
||||
@@ -8,7 +8,7 @@ The library owns **only** the mechanical question *"what did we keep, and what d
|
||||
|
||||
It is a **library, not a service or plugin**: no `ctx`, registers nothing, emits no events. The only state is per-retainer (one accumulation), never cross-call. Tool packages import it directly.
|
||||
|
||||
## Surface
|
||||
## API
|
||||
|
||||
```ts
|
||||
import {
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write packages/util/timeout/README.md
|
||||
README.md: 40a655200780e25c434beed4953d96f46e3604fd
|
||||
README.md: 54908a7e5df0e6c5d337a0b9f82d447cfc55b49d
|
||||
README.zh.md: 638dc1af60761f9c964e356edc070d20af0f4819
|
||||
|
||||
@@ -8,7 +8,7 @@ It owns **no termination**. The signal it hands out only *notifies*; actually st
|
||||
|
||||
It is a **library, not a service or plugin**: no `ctx`, registers nothing, holds no state, emits no events. A "timeout service" would have to understand how to stop every capability's work — exactly the knowledge a microkernel keeps out of shared layers.
|
||||
|
||||
## Surface
|
||||
## API
|
||||
|
||||
```ts
|
||||
import { clampTimeout, deadline, idleWatchdog, MAX_TIMER_DELAY_MS, timeoutOf, TimeoutReason } from '@deepseek-ai/dsh-timeout'
|
||||
|
||||
Reference in New Issue
Block a user