@squidcloud/backend 1.0.487 → 1.0.488

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/backend",
3
- "version": "1.0.487",
3
+ "version": "1.0.488",
4
4
  "description": "Squid Cloud's backend SDK",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -57,7 +57,7 @@
57
57
  "typedoc-plugin-markdown": "^4.8.1"
58
58
  },
59
59
  "peerDependencies": {
60
- "@squidcloud/client": "^1.0.487"
60
+ "@squidcloud/client": "^1.0.488"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=20.0.0"
@@ -1,35 +0,0 @@
1
- /** Releases one process-wide source-analysis admission slot. */
2
- export interface SourceAnalysisAdmissionPermit {
3
- /** Makes the slot available to the next queued analysis. */
4
- release(): Promise<void>;
5
- }
6
- /** Represents the admission boundary consumed by source orchestration. */
7
- export interface SourceAnalysisAdmissionControllerLike {
8
- /** Waits for a bounded process-wide analysis slot. */
9
- acquire(signal?: AbortSignal): Promise<SourceAnalysisAdmissionPermit>;
10
- }
11
- /** Configures the process-wide source-analysis admission boundary. */
12
- export interface SourceAnalysisAdmissionControllerOptions {
13
- /** Bounds simultaneous analysis filesystems in one tenant process. */
14
- maxConcurrentAnalyses: number;
15
- /** Bounds how long a caller waits for a slot. */
16
- waitTimeoutMs: number;
17
- /** Overrides the retry interval for deterministic tests. */
18
- retryIntervalMs?: number;
19
- /** Isolates a controller namespace for deterministic tests. */
20
- scope?: string;
21
- }
22
- /**
23
- * Uses operating-system listener ownership as a crash-safe semaphore shared by every worker thread
24
- * in one tenant process.
25
- */
26
- export declare class SourceAnalysisAdmissionController implements SourceAnalysisAdmissionControllerLike {
27
- private readonly maxConcurrentAnalyses;
28
- private readonly retryIntervalMs;
29
- private readonly scope;
30
- private readonly waitTimeoutMs;
31
- /** Creates a bounded semaphore whose slots are released automatically if their worker exits. */
32
- constructor(options: SourceAnalysisAdmissionControllerOptions);
33
- /** Waits until this tenant process has capacity or the bounded wait ends. */
34
- acquire(signal?: AbortSignal): Promise<SourceAnalysisAdmissionPermit>;
35
- }