deepline 0.3.78 → 0.3.79
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.
|
@@ -199,7 +199,7 @@ export const SDK_RELEASE = {
|
|
|
199
199
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
200
200
|
// getters keep their established compatibility behavior.
|
|
201
201
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
202
|
-
version: '0.3.
|
|
202
|
+
version: '0.3.79',
|
|
203
203
|
updateSummary:
|
|
204
204
|
'Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.',
|
|
205
205
|
packageCapabilities: {
|
|
@@ -171,6 +171,12 @@ type RuntimeApiRequest =
|
|
|
171
171
|
inputBytes?: number;
|
|
172
172
|
inputSha256?: string;
|
|
173
173
|
replayedFromRunId?: string | null;
|
|
174
|
+
firstClaimLatencyMs?: number;
|
|
175
|
+
}
|
|
176
|
+
| {
|
|
177
|
+
action: 'record_first_claim_latency';
|
|
178
|
+
runId: string;
|
|
179
|
+
firstClaimLatencyMs: number;
|
|
174
180
|
}
|
|
175
181
|
| ({
|
|
176
182
|
action: 'save_results';
|
|
@@ -666,6 +672,7 @@ function isRetryableAppRuntimeAction(
|
|
|
666
672
|
action === 'rate_state_acquire' ||
|
|
667
673
|
action === 'rate_state_release' ||
|
|
668
674
|
action === 'rate_state_penalize' ||
|
|
675
|
+
action === 'record_first_claim_latency' ||
|
|
669
676
|
action === 'release_runtime_step_receipt' ||
|
|
670
677
|
action === 'save_results' ||
|
|
671
678
|
action === 'skip_runtime_step_receipt' ||
|
|
@@ -1941,6 +1948,7 @@ export async function startRunViaAppRuntime(
|
|
|
1941
1948
|
inputBytes?: number;
|
|
1942
1949
|
inputSha256?: string;
|
|
1943
1950
|
replayedFromRunId?: string | null;
|
|
1951
|
+
firstClaimLatencyMs?: number;
|
|
1944
1952
|
idempotencyKey?: string;
|
|
1945
1953
|
},
|
|
1946
1954
|
): Promise<void> {
|
|
@@ -1950,6 +1958,16 @@ export async function startRunViaAppRuntime(
|
|
|
1950
1958
|
});
|
|
1951
1959
|
}
|
|
1952
1960
|
|
|
1961
|
+
export async function recordFirstClaimLatencyViaAppRuntime(
|
|
1962
|
+
context: WorkerRuntimeApiContext,
|
|
1963
|
+
input: { runId: string; firstClaimLatencyMs: number },
|
|
1964
|
+
): Promise<void> {
|
|
1965
|
+
await postAppRuntimeApi<{ ok: true }>(context, {
|
|
1966
|
+
action: 'record_first_claim_latency',
|
|
1967
|
+
...input,
|
|
1968
|
+
});
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1953
1971
|
export async function saveResultsViaAppRuntime(
|
|
1954
1972
|
context: WorkerRuntimeApiContext,
|
|
1955
1973
|
input: RuntimeSaveResults,
|
package/dist/cli/index.js
CHANGED
|
@@ -1225,7 +1225,7 @@ var SDK_RELEASE = {
|
|
|
1225
1225
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
1226
1226
|
// getters keep their established compatibility behavior.
|
|
1227
1227
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1228
|
-
version: "0.3.
|
|
1228
|
+
version: "0.3.79",
|
|
1229
1229
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
1230
1230
|
packageCapabilities: {
|
|
1231
1231
|
updatePreferences: 1
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1210,7 +1210,7 @@ var SDK_RELEASE = {
|
|
|
1210
1210
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
1211
1211
|
// getters keep their established compatibility behavior.
|
|
1212
1212
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1213
|
-
version: "0.3.
|
|
1213
|
+
version: "0.3.79",
|
|
1214
1214
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
1215
1215
|
packageCapabilities: {
|
|
1216
1216
|
updatePreferences: 1
|
package/dist/index.js
CHANGED
|
@@ -832,7 +832,7 @@ var SDK_RELEASE = {
|
|
|
832
832
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
833
833
|
// getters keep their established compatibility behavior.
|
|
834
834
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
835
|
-
version: "0.3.
|
|
835
|
+
version: "0.3.79",
|
|
836
836
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
837
837
|
packageCapabilities: {
|
|
838
838
|
updatePreferences: 1
|
package/dist/index.mjs
CHANGED
|
@@ -744,7 +744,7 @@ var SDK_RELEASE = {
|
|
|
744
744
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
745
745
|
// getters keep their established compatibility behavior.
|
|
746
746
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
747
|
-
version: "0.3.
|
|
747
|
+
version: "0.3.79",
|
|
748
748
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
749
749
|
packageCapabilities: {
|
|
750
750
|
updatePreferences: 1
|