@harness-engineering/orchestrator 0.9.0 → 0.9.2
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.d.mts +24 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +398 -287
- package/dist/index.mjs +398 -287
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1106,6 +1106,12 @@ declare class LinearGraphQLClient implements LinearGraphQLExtension {
|
|
|
1106
1106
|
private readonly fetchFn;
|
|
1107
1107
|
constructor(opts: LinearGraphQLClientOptions);
|
|
1108
1108
|
query(query: string, variables?: Record<string, unknown>): Promise<Result<unknown, Error>>;
|
|
1109
|
+
/** POST the operation to Linear, normalizing transport throws into an `Err`. */
|
|
1110
|
+
private sendRequest;
|
|
1111
|
+
/** Build the error for a non-2xx HTTP response, including a truncated body. */
|
|
1112
|
+
private httpError;
|
|
1113
|
+
/** Parse the JSON envelope, normalizing parse failures into an `Err`. */
|
|
1114
|
+
private parseEnvelope;
|
|
1109
1115
|
}
|
|
1110
1116
|
/**
|
|
1111
1117
|
* @deprecated Phase-4 placeholder retained for backward compatibility. It logs
|
|
@@ -1760,6 +1766,24 @@ declare class Orchestrator extends EventEmitter {
|
|
|
1760
1766
|
backend?: AgentBackend;
|
|
1761
1767
|
execFileFn?: ExecFileFn$1;
|
|
1762
1768
|
});
|
|
1769
|
+
/**
|
|
1770
|
+
* Phase 5: construct the OTLP/HTTP trace exporter and wire telemetry fanout.
|
|
1771
|
+
* Only fires when the operator configures `telemetry.export.otlp` in
|
|
1772
|
+
* harness.config.json. Extracted from the server-init block in the
|
|
1773
|
+
* constructor to keep that block's cyclomatic complexity under threshold.
|
|
1774
|
+
*/
|
|
1775
|
+
private setupTelemetryExport;
|
|
1776
|
+
/**
|
|
1777
|
+
* Deprecated alias for /api/v1/local-model/status (Spec 1 endpoint retained
|
|
1778
|
+
* as a compat shim per spec line 35; superseded by getLocalModelStatuses for
|
|
1779
|
+
* the multi-local UI). Returns the first-registered resolver's status.
|
|
1780
|
+
*/
|
|
1781
|
+
private getFirstLocalModelStatus;
|
|
1782
|
+
/**
|
|
1783
|
+
* SC38: build NamedLocalModelStatus[] from each registered resolver, tagged
|
|
1784
|
+
* with its backendName + endpoint from the config.
|
|
1785
|
+
*/
|
|
1786
|
+
private buildLocalModelStatuses;
|
|
1763
1787
|
private createTracker;
|
|
1764
1788
|
/**
|
|
1765
1789
|
* Creates a TaskRunner for the maintenance scheduler.
|
package/dist/index.d.ts
CHANGED
|
@@ -1106,6 +1106,12 @@ declare class LinearGraphQLClient implements LinearGraphQLExtension {
|
|
|
1106
1106
|
private readonly fetchFn;
|
|
1107
1107
|
constructor(opts: LinearGraphQLClientOptions);
|
|
1108
1108
|
query(query: string, variables?: Record<string, unknown>): Promise<Result<unknown, Error>>;
|
|
1109
|
+
/** POST the operation to Linear, normalizing transport throws into an `Err`. */
|
|
1110
|
+
private sendRequest;
|
|
1111
|
+
/** Build the error for a non-2xx HTTP response, including a truncated body. */
|
|
1112
|
+
private httpError;
|
|
1113
|
+
/** Parse the JSON envelope, normalizing parse failures into an `Err`. */
|
|
1114
|
+
private parseEnvelope;
|
|
1109
1115
|
}
|
|
1110
1116
|
/**
|
|
1111
1117
|
* @deprecated Phase-4 placeholder retained for backward compatibility. It logs
|
|
@@ -1760,6 +1766,24 @@ declare class Orchestrator extends EventEmitter {
|
|
|
1760
1766
|
backend?: AgentBackend;
|
|
1761
1767
|
execFileFn?: ExecFileFn$1;
|
|
1762
1768
|
});
|
|
1769
|
+
/**
|
|
1770
|
+
* Phase 5: construct the OTLP/HTTP trace exporter and wire telemetry fanout.
|
|
1771
|
+
* Only fires when the operator configures `telemetry.export.otlp` in
|
|
1772
|
+
* harness.config.json. Extracted from the server-init block in the
|
|
1773
|
+
* constructor to keep that block's cyclomatic complexity under threshold.
|
|
1774
|
+
*/
|
|
1775
|
+
private setupTelemetryExport;
|
|
1776
|
+
/**
|
|
1777
|
+
* Deprecated alias for /api/v1/local-model/status (Spec 1 endpoint retained
|
|
1778
|
+
* as a compat shim per spec line 35; superseded by getLocalModelStatuses for
|
|
1779
|
+
* the multi-local UI). Returns the first-registered resolver's status.
|
|
1780
|
+
*/
|
|
1781
|
+
private getFirstLocalModelStatus;
|
|
1782
|
+
/**
|
|
1783
|
+
* SC38: build NamedLocalModelStatus[] from each registered resolver, tagged
|
|
1784
|
+
* with its backendName + endpoint from the config.
|
|
1785
|
+
*/
|
|
1786
|
+
private buildLocalModelStatuses;
|
|
1763
1787
|
private createTracker;
|
|
1764
1788
|
/**
|
|
1765
1789
|
* Creates a TaskRunner for the maintenance scheduler.
|