deepline 0.3.256 → 0.3.258
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/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
- package/dist/bundling-sources/shared_libs/plays/play-grep-search.ts +40 -2
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +1 -1
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
|
@@ -200,7 +200,7 @@ export const SDK_RELEASE = {
|
|
|
200
200
|
// getters keep their established compatibility behavior.
|
|
201
201
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
202
202
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
203
|
-
version: '0.3.
|
|
203
|
+
version: '0.3.258',
|
|
204
204
|
updateSummary:
|
|
205
205
|
'Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.',
|
|
206
206
|
packageCapabilities: {
|
|
@@ -957,6 +957,24 @@
|
|
|
957
957
|
"failureAlert": "convex_action_wrapper",
|
|
958
958
|
"domainReportRequired": true
|
|
959
959
|
},
|
|
960
|
+
{
|
|
961
|
+
"id": "convex.cleanup-expired-legacy-run-logs",
|
|
962
|
+
"name": "Cleanup expired legacy run logs",
|
|
963
|
+
"scheduler": "convex_cron",
|
|
964
|
+
"cadence": "27 4 * * *",
|
|
965
|
+
"timezone": "UTC",
|
|
966
|
+
"source": "packages/convex/crons.ts",
|
|
967
|
+
"locator": "cleanup expired legacy run logs",
|
|
968
|
+
"owner": "runtime",
|
|
969
|
+
"criticality": "maintenance",
|
|
970
|
+
"purpose": "Expire enrolled terminal legacy log bodies after seven days, using a parent replay fence and indexed pending work. Disabled by default.",
|
|
971
|
+
"successDefinition": "Each page deletes chunks or removes a due key; preserved lifecycle, output, checkpoints and replay metadata remain intact.",
|
|
972
|
+
"failureDefinition": "An eligible body remains indefinitely or a late replay recreates an expired body.",
|
|
973
|
+
"startGraceMs": 120000,
|
|
974
|
+
"runTimeoutMs": 1800000,
|
|
975
|
+
"failureAlert": "convex_action_wrapper",
|
|
976
|
+
"domainReportRequired": true
|
|
977
|
+
},
|
|
960
978
|
{
|
|
961
979
|
"id": "convex.cleanup-expired-analytics-ip2company-cache",
|
|
962
980
|
"name": "Cleanup expired Analytics IP2Company cache entries",
|
|
@@ -13,6 +13,7 @@ export const MANUALLY_RUNNABLE_CONVEX_CRON_JOB_IDS = [
|
|
|
13
13
|
'convex.record-neon-managed-project-usage',
|
|
14
14
|
'convex.cleanup-expired-mcp-oauth-codes',
|
|
15
15
|
'convex.cleanup-expired-api-key-claims',
|
|
16
|
+
'convex.cleanup-expired-legacy-run-logs',
|
|
16
17
|
'convex.cleanup-expired-analytics-ip2company-cache',
|
|
17
18
|
'convex.cleanup-expired-domain-health-cache',
|
|
18
19
|
'convex.refresh-tool-usage-popularity',
|
|
@@ -5,6 +5,7 @@ export const CONVEX_PLAY_GREP_SEARCH_TERM_MAX_BYTES = 31;
|
|
|
5
5
|
export const CONVEX_PLAY_GREP_SEARCH_MAX_TERMS = 16;
|
|
6
6
|
|
|
7
7
|
const CONVEX_PLAY_GREP_SEARCH_TERM_PATTERN = /[\p{L}\p{N}]+/gu;
|
|
8
|
+
const CONVEX_PLAY_GREP_SEARCH_ENCODER = new TextEncoder();
|
|
8
9
|
|
|
9
10
|
export type PlayGrepMatch = {
|
|
10
11
|
field: 'name' | 'description' | 'provider' | 'source';
|
|
@@ -31,12 +32,49 @@ export function countNormalizedPlayGrepSearchTerms(value: string): number {
|
|
|
31
32
|
return extractPlayGrepSearchTerms(normalizePlayGrepSearchQuery(value)).length;
|
|
32
33
|
}
|
|
33
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Match the canonical indexed grep corpus without relying on relevance-ranked
|
|
37
|
+
* search pagination. Native grep unions complete token matches; only the final
|
|
38
|
+
* query term also matches the start of a corpus token.
|
|
39
|
+
*/
|
|
40
|
+
export function playGrepSearchTextMatches(
|
|
41
|
+
query: string,
|
|
42
|
+
searchText: string | null | undefined,
|
|
43
|
+
): boolean {
|
|
44
|
+
const queryTerms = extractPlayGrepSearchTerms(
|
|
45
|
+
normalizePlayGrepSearchQuery(query),
|
|
46
|
+
);
|
|
47
|
+
if (queryTerms.length === 0 || typeof searchText !== 'string') return false;
|
|
48
|
+
|
|
49
|
+
const corpusTerms = new Set(
|
|
50
|
+
extractPlayGrepSearchTerms(normalizePlayGrepSearchQuery(searchText)).filter(
|
|
51
|
+
(term) =>
|
|
52
|
+
CONVEX_PLAY_GREP_SEARCH_ENCODER.encode(term).byteLength <=
|
|
53
|
+
CONVEX_PLAY_GREP_SEARCH_TERM_MAX_BYTES,
|
|
54
|
+
),
|
|
55
|
+
);
|
|
56
|
+
const finalQueryTerm = queryTerms[queryTerms.length - 1]!;
|
|
57
|
+
let finalPrefixMatches = false;
|
|
58
|
+
for (const corpusTerm of corpusTerms) {
|
|
59
|
+
if (corpusTerm.startsWith(finalQueryTerm)) {
|
|
60
|
+
finalPrefixMatches = true;
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return queryTerms.some((term, index) => {
|
|
65
|
+
if (index === queryTerms.length - 1) {
|
|
66
|
+
return finalPrefixMatches;
|
|
67
|
+
}
|
|
68
|
+
return corpusTerms.has(term);
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
34
72
|
/** True when a query term exceeds Convex's usable full-text-search limit. */
|
|
35
73
|
export function hasOverlongPlayGrepSearchTerm(value: string): boolean {
|
|
36
|
-
const encoder = new TextEncoder();
|
|
37
74
|
return extractPlayGrepSearchTerms(normalizePlayGrepSearchQuery(value)).some(
|
|
38
75
|
(term) =>
|
|
39
|
-
|
|
76
|
+
CONVEX_PLAY_GREP_SEARCH_ENCODER.encode(term).byteLength >
|
|
77
|
+
CONVEX_PLAY_GREP_SEARCH_TERM_MAX_BYTES,
|
|
40
78
|
);
|
|
41
79
|
}
|
|
42
80
|
|
package/dist/cli/index.js
CHANGED
|
@@ -3507,7 +3507,7 @@ var SDK_RELEASE = {
|
|
|
3507
3507
|
// getters keep their established compatibility behavior.
|
|
3508
3508
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3509
3509
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3510
|
-
version: "0.3.
|
|
3510
|
+
version: "0.3.258",
|
|
3511
3511
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
3512
3512
|
packageCapabilities: {
|
|
3513
3513
|
updatePreferences: 1
|
package/dist/cli/index.mjs
CHANGED
|
@@ -3502,7 +3502,7 @@ var SDK_RELEASE = {
|
|
|
3502
3502
|
// getters keep their established compatibility behavior.
|
|
3503
3503
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3504
3504
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3505
|
-
version: "0.3.
|
|
3505
|
+
version: "0.3.258",
|
|
3506
3506
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
3507
3507
|
packageCapabilities: {
|
|
3508
3508
|
updatePreferences: 1
|
package/dist/index.js
CHANGED
|
@@ -1320,7 +1320,7 @@ var SDK_RELEASE = {
|
|
|
1320
1320
|
// getters keep their established compatibility behavior.
|
|
1321
1321
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1322
1322
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1323
|
-
version: "0.3.
|
|
1323
|
+
version: "0.3.258",
|
|
1324
1324
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
1325
1325
|
packageCapabilities: {
|
|
1326
1326
|
updatePreferences: 1
|
package/dist/index.mjs
CHANGED
|
@@ -1224,7 +1224,7 @@ var SDK_RELEASE = {
|
|
|
1224
1224
|
// getters keep their established compatibility behavior.
|
|
1225
1225
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1226
1226
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1227
|
-
version: "0.3.
|
|
1227
|
+
version: "0.3.258",
|
|
1228
1228
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
1229
1229
|
packageCapabilities: {
|
|
1230
1230
|
updatePreferences: 1
|
package/dist/release.d.mts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.258";
|
|
153
153
|
readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
|
|
154
154
|
readonly packageCapabilities: {
|
|
155
155
|
readonly updatePreferences: 1;
|
package/dist/release.d.ts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.258";
|
|
153
153
|
readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
|
|
154
154
|
readonly packageCapabilities: {
|
|
155
155
|
readonly updatePreferences: 1;
|
package/dist/release.js
CHANGED
|
@@ -74,7 +74,7 @@ var SDK_RELEASE = {
|
|
|
74
74
|
// getters keep their established compatibility behavior.
|
|
75
75
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
76
76
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
77
|
-
version: "0.3.
|
|
77
|
+
version: "0.3.258",
|
|
78
78
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
79
79
|
packageCapabilities: {
|
|
80
80
|
updatePreferences: 1
|
package/dist/release.mjs
CHANGED
|
@@ -48,7 +48,7 @@ var SDK_RELEASE = {
|
|
|
48
48
|
// getters keep their established compatibility behavior.
|
|
49
49
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
50
50
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
51
|
-
version: "0.3.
|
|
51
|
+
version: "0.3.258",
|
|
52
52
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
53
53
|
packageCapabilities: {
|
|
54
54
|
updatePreferences: 1
|