deepline 0.3.153 → 0.3.155
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/config.ts +1 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/cli/index.js +14 -21
- package/dist/cli/index.mjs +14 -21
- 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
|
@@ -52,7 +52,7 @@ export const ACTIVE_ORG_NAME_ENV = 'DEEPLINE_ACTIVE_ORG_NAME';
|
|
|
52
52
|
/**
|
|
53
53
|
* Comma-separated gated feature keys the server reported for the active
|
|
54
54
|
* workspace (`github-deploy`, …). Refreshed whenever credentials are saved;
|
|
55
|
-
*
|
|
55
|
+
* retained for older CLIs that hide command groups whose key is absent.
|
|
56
56
|
*/
|
|
57
57
|
export const FEATURES_ENV = 'DEEPLINE_FEATURES';
|
|
58
58
|
|
|
@@ -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.155',
|
|
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: {
|
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"id": "github.billing-identity-sync",
|
|
4
|
+
"name": "Billing identity lookup sync",
|
|
5
|
+
"scheduler": "github_actions",
|
|
6
|
+
"cadence": "23 */6 * * *",
|
|
7
|
+
"timezone": "UTC",
|
|
8
|
+
"source": ".github/workflows/billing-identity-sync.yml",
|
|
9
|
+
"locator": "schedule:",
|
|
10
|
+
"owner": "billing",
|
|
11
|
+
"criticality": "reporting",
|
|
12
|
+
"purpose": "Refresh organization and user display names for Axiom billing diagnostics.",
|
|
13
|
+
"successDefinition": "A certified read-only mirror snapshot is fully ingested and a completion marker is published.",
|
|
14
|
+
"failureDefinition": "Mirror is stale, a source is inaccessible, or any identity batch or completion marker fails.",
|
|
15
|
+
"startGraceMs": 600000,
|
|
16
|
+
"runTimeoutMs": 600000,
|
|
17
|
+
"failureAlert": "github_workflow_run",
|
|
18
|
+
"domainReportRequired": true
|
|
19
|
+
},
|
|
2
20
|
{
|
|
3
21
|
"id": "github.billing-parity-nightly",
|
|
4
22
|
"name": "Nightly Billing Parity Audit",
|
package/dist/cli/index.js
CHANGED
|
@@ -2431,23 +2431,6 @@ function storedHostApiKey(baseUrl) {
|
|
|
2431
2431
|
function storedHostFeatures(baseUrl) {
|
|
2432
2432
|
return loadCliEnv(normalizeBaseUrl(baseUrl) || baseUrl)[FEATURES_ENV];
|
|
2433
2433
|
}
|
|
2434
|
-
function envHasFeature(env, feature) {
|
|
2435
|
-
return (env[FEATURES_ENV] ?? "").split(",").map((key) => key.trim()).includes(feature);
|
|
2436
|
-
}
|
|
2437
|
-
function cliFeatureEnabled(feature) {
|
|
2438
|
-
const processEnv = process.env;
|
|
2439
|
-
if (envHasFeature(processEnv, feature)) return true;
|
|
2440
|
-
if (processEnv[API_KEY_ENV]?.trim()) return false;
|
|
2441
|
-
try {
|
|
2442
|
-
const baseUrl = resolveBaseUrlOnly();
|
|
2443
|
-
const projectEnv = loadProjectEnvCandidates().find(
|
|
2444
|
-
({ env }) => normalizeBaseUrl(env[HOST_URL_ENV] ?? "") === baseUrl && Boolean(env[API_KEY_ENV])
|
|
2445
|
-
);
|
|
2446
|
-
return envHasFeature(projectEnv?.env ?? loadCliEnv(baseUrl), feature);
|
|
2447
|
-
} catch {
|
|
2448
|
-
return false;
|
|
2449
|
-
}
|
|
2450
|
-
}
|
|
2451
2434
|
function baseUrlSlug(baseUrl) {
|
|
2452
2435
|
let url;
|
|
2453
2436
|
try {
|
|
@@ -3068,7 +3051,7 @@ var SDK_RELEASE = {
|
|
|
3068
3051
|
// getters keep their established compatibility behavior.
|
|
3069
3052
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3070
3053
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3071
|
-
version: "0.3.
|
|
3054
|
+
version: "0.3.155",
|
|
3072
3055
|
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.",
|
|
3073
3056
|
packageCapabilities: {
|
|
3074
3057
|
updatePreferences: 1
|
|
@@ -21843,7 +21826,6 @@ async function handlePlaysDeploy(directory, options) {
|
|
|
21843
21826
|
}
|
|
21844
21827
|
|
|
21845
21828
|
// src/cli/commands/git.ts
|
|
21846
|
-
var GIT_DEPLOY_FEATURE = "github-deploy";
|
|
21847
21829
|
function shellQuote2(value) {
|
|
21848
21830
|
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
21849
21831
|
}
|
|
@@ -22134,6 +22116,7 @@ async function handleConnect(options) {
|
|
|
22134
22116
|
{
|
|
22135
22117
|
title: "connect GitHub",
|
|
22136
22118
|
lines: [
|
|
22119
|
+
"Git deploys is in beta and requires workspace enablement. Contact the Deepline team to request enablement if interested.",
|
|
22137
22120
|
opened === "opened" ? `Opened ${connectUrl} in your browser.` : `Open ${connectUrl} in your browser.`,
|
|
22138
22121
|
"Sign in as a workspace admin if prompted, approve the GitHub",
|
|
22139
22122
|
"installation, then return here and run `deepline git repos`."
|
|
@@ -22230,13 +22213,18 @@ async function handleDeploymentCancel(id, options) {
|
|
|
22230
22213
|
);
|
|
22231
22214
|
}
|
|
22232
22215
|
function registerGitCommands(program) {
|
|
22233
|
-
const git = program.command("git"
|
|
22234
|
-
"Git deploys: link repositories
|
|
22216
|
+
const git = program.command("git").alias("projects").description(
|
|
22217
|
+
"Git deploys (beta): link repositories and deploy plays on push."
|
|
22235
22218
|
).addHelpText(
|
|
22236
22219
|
"after",
|
|
22237
22220
|
`
|
|
22221
|
+
Git deploys is in beta and requires workspace enablement.
|
|
22222
|
+
If it is not enabled for your workspace, contact the Deepline team to request
|
|
22223
|
+
enablement.
|
|
22224
|
+
|
|
22238
22225
|
Examples:
|
|
22239
22226
|
deepline git connect
|
|
22227
|
+
deepline git status
|
|
22240
22228
|
deepline git repos
|
|
22241
22229
|
deepline git link acme/growth --branch main
|
|
22242
22230
|
deepline git list
|
|
@@ -22244,6 +22232,11 @@ Examples:
|
|
|
22244
22232
|
deepline git unlink <id>
|
|
22245
22233
|
deepline git deployments --repo <id>
|
|
22246
22234
|
deepline git cancel <deployment-id>
|
|
22235
|
+
|
|
22236
|
+
After linking, push committed Play changes to the configured production branch:
|
|
22237
|
+
git push origin main
|
|
22238
|
+
|
|
22239
|
+
Guide: https://deepline.com/docs/sdk-v2/git-deploys
|
|
22247
22240
|
`
|
|
22248
22241
|
);
|
|
22249
22242
|
git.command("connect").description("Connect a GitHub installation (browser step).").option("--json", "Emit JSON output").action(async (options) => handleConnect(options));
|
package/dist/cli/index.mjs
CHANGED
|
@@ -2426,23 +2426,6 @@ function storedHostApiKey(baseUrl) {
|
|
|
2426
2426
|
function storedHostFeatures(baseUrl) {
|
|
2427
2427
|
return loadCliEnv(normalizeBaseUrl(baseUrl) || baseUrl)[FEATURES_ENV];
|
|
2428
2428
|
}
|
|
2429
|
-
function envHasFeature(env, feature) {
|
|
2430
|
-
return (env[FEATURES_ENV] ?? "").split(",").map((key) => key.trim()).includes(feature);
|
|
2431
|
-
}
|
|
2432
|
-
function cliFeatureEnabled(feature) {
|
|
2433
|
-
const processEnv = process.env;
|
|
2434
|
-
if (envHasFeature(processEnv, feature)) return true;
|
|
2435
|
-
if (processEnv[API_KEY_ENV]?.trim()) return false;
|
|
2436
|
-
try {
|
|
2437
|
-
const baseUrl = resolveBaseUrlOnly();
|
|
2438
|
-
const projectEnv = loadProjectEnvCandidates().find(
|
|
2439
|
-
({ env }) => normalizeBaseUrl(env[HOST_URL_ENV] ?? "") === baseUrl && Boolean(env[API_KEY_ENV])
|
|
2440
|
-
);
|
|
2441
|
-
return envHasFeature(projectEnv?.env ?? loadCliEnv(baseUrl), feature);
|
|
2442
|
-
} catch {
|
|
2443
|
-
return false;
|
|
2444
|
-
}
|
|
2445
|
-
}
|
|
2446
2429
|
function baseUrlSlug(baseUrl) {
|
|
2447
2430
|
let url;
|
|
2448
2431
|
try {
|
|
@@ -3063,7 +3046,7 @@ var SDK_RELEASE = {
|
|
|
3063
3046
|
// getters keep their established compatibility behavior.
|
|
3064
3047
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3065
3048
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3066
|
-
version: "0.3.
|
|
3049
|
+
version: "0.3.155",
|
|
3067
3050
|
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.",
|
|
3068
3051
|
packageCapabilities: {
|
|
3069
3052
|
updatePreferences: 1
|
|
@@ -21915,7 +21898,6 @@ async function handlePlaysDeploy(directory, options) {
|
|
|
21915
21898
|
}
|
|
21916
21899
|
|
|
21917
21900
|
// src/cli/commands/git.ts
|
|
21918
|
-
var GIT_DEPLOY_FEATURE = "github-deploy";
|
|
21919
21901
|
function shellQuote2(value) {
|
|
21920
21902
|
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
21921
21903
|
}
|
|
@@ -22206,6 +22188,7 @@ async function handleConnect(options) {
|
|
|
22206
22188
|
{
|
|
22207
22189
|
title: "connect GitHub",
|
|
22208
22190
|
lines: [
|
|
22191
|
+
"Git deploys is in beta and requires workspace enablement. Contact the Deepline team to request enablement if interested.",
|
|
22209
22192
|
opened === "opened" ? `Opened ${connectUrl} in your browser.` : `Open ${connectUrl} in your browser.`,
|
|
22210
22193
|
"Sign in as a workspace admin if prompted, approve the GitHub",
|
|
22211
22194
|
"installation, then return here and run `deepline git repos`."
|
|
@@ -22302,13 +22285,18 @@ async function handleDeploymentCancel(id, options) {
|
|
|
22302
22285
|
);
|
|
22303
22286
|
}
|
|
22304
22287
|
function registerGitCommands(program) {
|
|
22305
|
-
const git = program.command("git"
|
|
22306
|
-
"Git deploys: link repositories
|
|
22288
|
+
const git = program.command("git").alias("projects").description(
|
|
22289
|
+
"Git deploys (beta): link repositories and deploy plays on push."
|
|
22307
22290
|
).addHelpText(
|
|
22308
22291
|
"after",
|
|
22309
22292
|
`
|
|
22293
|
+
Git deploys is in beta and requires workspace enablement.
|
|
22294
|
+
If it is not enabled for your workspace, contact the Deepline team to request
|
|
22295
|
+
enablement.
|
|
22296
|
+
|
|
22310
22297
|
Examples:
|
|
22311
22298
|
deepline git connect
|
|
22299
|
+
deepline git status
|
|
22312
22300
|
deepline git repos
|
|
22313
22301
|
deepline git link acme/growth --branch main
|
|
22314
22302
|
deepline git list
|
|
@@ -22316,6 +22304,11 @@ Examples:
|
|
|
22316
22304
|
deepline git unlink <id>
|
|
22317
22305
|
deepline git deployments --repo <id>
|
|
22318
22306
|
deepline git cancel <deployment-id>
|
|
22307
|
+
|
|
22308
|
+
After linking, push committed Play changes to the configured production branch:
|
|
22309
|
+
git push origin main
|
|
22310
|
+
|
|
22311
|
+
Guide: https://deepline.com/docs/sdk-v2/git-deploys
|
|
22319
22312
|
`
|
|
22320
22313
|
);
|
|
22321
22314
|
git.command("connect").description("Connect a GitHub installation (browser step).").option("--json", "Emit JSON output").action(async (options) => handleConnect(options));
|
package/dist/index.js
CHANGED
|
@@ -864,7 +864,7 @@ var SDK_RELEASE = {
|
|
|
864
864
|
// getters keep their established compatibility behavior.
|
|
865
865
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
866
866
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
867
|
-
version: "0.3.
|
|
867
|
+
version: "0.3.155",
|
|
868
868
|
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.",
|
|
869
869
|
packageCapabilities: {
|
|
870
870
|
updatePreferences: 1
|
package/dist/index.mjs
CHANGED
|
@@ -768,7 +768,7 @@ var SDK_RELEASE = {
|
|
|
768
768
|
// getters keep their established compatibility behavior.
|
|
769
769
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
770
770
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
771
|
-
version: "0.3.
|
|
771
|
+
version: "0.3.155",
|
|
772
772
|
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.",
|
|
773
773
|
packageCapabilities: {
|
|
774
774
|
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.155";
|
|
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.155";
|
|
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.155",
|
|
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.155",
|
|
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
|