deepline 0.1.127 → 0.1.129
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 +2 -2
- package/dist/bundling-sources/sdk/src/types.ts +2 -0
- package/dist/cli/index.js +56 -9
- package/dist/cli/index.mjs +56 -9
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
|
@@ -101,10 +101,10 @@ export const SDK_RELEASE = {
|
|
|
101
101
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
102
102
|
// the SDK enrich generator's one-second stale policy.
|
|
103
103
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
104
|
-
version: '0.1.
|
|
104
|
+
version: '0.1.129',
|
|
105
105
|
apiContract: '2026-06-dataset-column-cell-stale-hard-cutover',
|
|
106
106
|
supportPolicy: {
|
|
107
|
-
latest: '0.1.
|
|
107
|
+
latest: '0.1.129',
|
|
108
108
|
minimumSupported: '0.1.53',
|
|
109
109
|
deprecatedBelow: '0.1.53',
|
|
110
110
|
commandMinimumSupported: [
|
package/dist/cli/index.js
CHANGED
|
@@ -404,10 +404,10 @@ var SDK_RELEASE = {
|
|
|
404
404
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
405
405
|
// the SDK enrich generator's one-second stale policy.
|
|
406
406
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
407
|
-
version: "0.1.
|
|
407
|
+
version: "0.1.129",
|
|
408
408
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
409
409
|
supportPolicy: {
|
|
410
|
-
latest: "0.1.
|
|
410
|
+
latest: "0.1.129",
|
|
411
411
|
minimumSupported: "0.1.53",
|
|
412
412
|
deprecatedBelow: "0.1.53",
|
|
413
413
|
commandMinimumSupported: [
|
|
@@ -21299,16 +21299,18 @@ var DEFAULT_V1_SKILL_NAMES = [
|
|
|
21299
21299
|
"deepline-analytics",
|
|
21300
21300
|
"deepline-feedback",
|
|
21301
21301
|
"deepline-gtm",
|
|
21302
|
+
"deepline-plays",
|
|
21302
21303
|
"deepline-quickstart",
|
|
21303
21304
|
"find-qualified-titles",
|
|
21304
21305
|
"linkedin-url-lookup",
|
|
21305
21306
|
"niche-signal-discovery",
|
|
21306
|
-
"portfolio-prospecting"
|
|
21307
|
-
"workflow-hello-world"
|
|
21307
|
+
"portfolio-prospecting"
|
|
21308
21308
|
];
|
|
21309
|
-
var DEFAULT_SDK_SKILL_NAMES = [
|
|
21310
|
-
|
|
21311
|
-
"deepline-plays"
|
|
21309
|
+
var DEFAULT_SDK_SKILL_NAMES = [...DEFAULT_V1_SKILL_NAMES];
|
|
21310
|
+
var LEGACY_SKILL_NAMES_TO_REMOVE = [
|
|
21311
|
+
"deepline-plays-feedback",
|
|
21312
|
+
"deepline-plays-quickstart",
|
|
21313
|
+
"workflow-hello-world"
|
|
21312
21314
|
];
|
|
21313
21315
|
function normalizeBaseUrl2(baseUrl) {
|
|
21314
21316
|
return baseUrl.replace(/\/$/, "");
|
|
@@ -21363,7 +21365,6 @@ function sdkNpmGlobalInstallCommand() {
|
|
|
21363
21365
|
|
|
21364
21366
|
// src/cli/skills-sync.ts
|
|
21365
21367
|
var CHECK_TIMEOUT_MS2 = 3e3;
|
|
21366
|
-
var SDK_PLAY_SKILL_NAME = "deepline-plays";
|
|
21367
21368
|
var attemptedSync = false;
|
|
21368
21369
|
function shouldSkipSkillsSync() {
|
|
21369
21370
|
const value = process.env.DEEPLINE_SKIP_SKILLS_SYNC?.trim().toLowerCase();
|
|
@@ -21440,7 +21441,7 @@ async function fetchV1SkillNames(baseUrl) {
|
|
|
21440
21441
|
}
|
|
21441
21442
|
}
|
|
21442
21443
|
function buildSdkSkillNames(v1SkillNames) {
|
|
21443
|
-
return sortedUniqueSkillNames(
|
|
21444
|
+
return sortedUniqueSkillNames(v1SkillNames);
|
|
21444
21445
|
}
|
|
21445
21446
|
async function fetchSkillsUpdate(baseUrl, localVersion) {
|
|
21446
21447
|
const controller = new AbortController();
|
|
@@ -21556,6 +21557,51 @@ ${details}` : ""}
|
|
|
21556
21557
|
);
|
|
21557
21558
|
return false;
|
|
21558
21559
|
}
|
|
21560
|
+
function runLegacySkillsCleanup() {
|
|
21561
|
+
const candidates = hasCommand("bunx") ? [
|
|
21562
|
+
{
|
|
21563
|
+
command: "bunx",
|
|
21564
|
+
args: [
|
|
21565
|
+
"--bun",
|
|
21566
|
+
"skills",
|
|
21567
|
+
"remove",
|
|
21568
|
+
"--global",
|
|
21569
|
+
"-y",
|
|
21570
|
+
...LEGACY_SKILL_NAMES_TO_REMOVE
|
|
21571
|
+
]
|
|
21572
|
+
},
|
|
21573
|
+
{
|
|
21574
|
+
command: "npx",
|
|
21575
|
+
args: [
|
|
21576
|
+
"--yes",
|
|
21577
|
+
"skills",
|
|
21578
|
+
"remove",
|
|
21579
|
+
"--global",
|
|
21580
|
+
"-y",
|
|
21581
|
+
...LEGACY_SKILL_NAMES_TO_REMOVE
|
|
21582
|
+
]
|
|
21583
|
+
}
|
|
21584
|
+
] : [
|
|
21585
|
+
{
|
|
21586
|
+
command: "npx",
|
|
21587
|
+
args: [
|
|
21588
|
+
"--yes",
|
|
21589
|
+
"skills",
|
|
21590
|
+
"remove",
|
|
21591
|
+
"--global",
|
|
21592
|
+
"-y",
|
|
21593
|
+
...LEGACY_SKILL_NAMES_TO_REMOVE
|
|
21594
|
+
]
|
|
21595
|
+
}
|
|
21596
|
+
];
|
|
21597
|
+
for (const candidate of candidates) {
|
|
21598
|
+
const result = (0, import_node_child_process2.spawnSync)(candidate.command, candidate.args, {
|
|
21599
|
+
stdio: "ignore",
|
|
21600
|
+
shell: process.platform === "win32"
|
|
21601
|
+
});
|
|
21602
|
+
if (result.status === 0) return;
|
|
21603
|
+
}
|
|
21604
|
+
}
|
|
21559
21605
|
function writeSdkSkillsStatusLine(line) {
|
|
21560
21606
|
const progress = getActiveCliProgress();
|
|
21561
21607
|
if (progress) {
|
|
@@ -21585,6 +21631,7 @@ async function syncSdkSkillsIfNeeded(baseUrl) {
|
|
|
21585
21631
|
writeSdkSkillsStatusLine("Deepline skills changed; syncing agent skills...");
|
|
21586
21632
|
const installed = await runSkillsInstall(baseUrl, skillNames);
|
|
21587
21633
|
if (!installed) return;
|
|
21634
|
+
runLegacySkillsCleanup();
|
|
21588
21635
|
writeLocalSkillsVersion(baseUrl, update.remoteVersion);
|
|
21589
21636
|
writeSdkSkillsStatusLine("Deepline agent skills are up to date.");
|
|
21590
21637
|
}
|
package/dist/cli/index.mjs
CHANGED
|
@@ -381,10 +381,10 @@ var SDK_RELEASE = {
|
|
|
381
381
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
382
382
|
// the SDK enrich generator's one-second stale policy.
|
|
383
383
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
384
|
-
version: "0.1.
|
|
384
|
+
version: "0.1.129",
|
|
385
385
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
386
386
|
supportPolicy: {
|
|
387
|
-
latest: "0.1.
|
|
387
|
+
latest: "0.1.129",
|
|
388
388
|
minimumSupported: "0.1.53",
|
|
389
389
|
deprecatedBelow: "0.1.53",
|
|
390
390
|
commandMinimumSupported: [
|
|
@@ -21330,16 +21330,18 @@ var DEFAULT_V1_SKILL_NAMES = [
|
|
|
21330
21330
|
"deepline-analytics",
|
|
21331
21331
|
"deepline-feedback",
|
|
21332
21332
|
"deepline-gtm",
|
|
21333
|
+
"deepline-plays",
|
|
21333
21334
|
"deepline-quickstart",
|
|
21334
21335
|
"find-qualified-titles",
|
|
21335
21336
|
"linkedin-url-lookup",
|
|
21336
21337
|
"niche-signal-discovery",
|
|
21337
|
-
"portfolio-prospecting"
|
|
21338
|
-
"workflow-hello-world"
|
|
21338
|
+
"portfolio-prospecting"
|
|
21339
21339
|
];
|
|
21340
|
-
var DEFAULT_SDK_SKILL_NAMES = [
|
|
21341
|
-
|
|
21342
|
-
"deepline-plays"
|
|
21340
|
+
var DEFAULT_SDK_SKILL_NAMES = [...DEFAULT_V1_SKILL_NAMES];
|
|
21341
|
+
var LEGACY_SKILL_NAMES_TO_REMOVE = [
|
|
21342
|
+
"deepline-plays-feedback",
|
|
21343
|
+
"deepline-plays-quickstart",
|
|
21344
|
+
"workflow-hello-world"
|
|
21343
21345
|
];
|
|
21344
21346
|
function normalizeBaseUrl2(baseUrl) {
|
|
21345
21347
|
return baseUrl.replace(/\/$/, "");
|
|
@@ -21394,7 +21396,6 @@ function sdkNpmGlobalInstallCommand() {
|
|
|
21394
21396
|
|
|
21395
21397
|
// src/cli/skills-sync.ts
|
|
21396
21398
|
var CHECK_TIMEOUT_MS2 = 3e3;
|
|
21397
|
-
var SDK_PLAY_SKILL_NAME = "deepline-plays";
|
|
21398
21399
|
var attemptedSync = false;
|
|
21399
21400
|
function shouldSkipSkillsSync() {
|
|
21400
21401
|
const value = process.env.DEEPLINE_SKIP_SKILLS_SYNC?.trim().toLowerCase();
|
|
@@ -21471,7 +21472,7 @@ async function fetchV1SkillNames(baseUrl) {
|
|
|
21471
21472
|
}
|
|
21472
21473
|
}
|
|
21473
21474
|
function buildSdkSkillNames(v1SkillNames) {
|
|
21474
|
-
return sortedUniqueSkillNames(
|
|
21475
|
+
return sortedUniqueSkillNames(v1SkillNames);
|
|
21475
21476
|
}
|
|
21476
21477
|
async function fetchSkillsUpdate(baseUrl, localVersion) {
|
|
21477
21478
|
const controller = new AbortController();
|
|
@@ -21587,6 +21588,51 @@ ${details}` : ""}
|
|
|
21587
21588
|
);
|
|
21588
21589
|
return false;
|
|
21589
21590
|
}
|
|
21591
|
+
function runLegacySkillsCleanup() {
|
|
21592
|
+
const candidates = hasCommand("bunx") ? [
|
|
21593
|
+
{
|
|
21594
|
+
command: "bunx",
|
|
21595
|
+
args: [
|
|
21596
|
+
"--bun",
|
|
21597
|
+
"skills",
|
|
21598
|
+
"remove",
|
|
21599
|
+
"--global",
|
|
21600
|
+
"-y",
|
|
21601
|
+
...LEGACY_SKILL_NAMES_TO_REMOVE
|
|
21602
|
+
]
|
|
21603
|
+
},
|
|
21604
|
+
{
|
|
21605
|
+
command: "npx",
|
|
21606
|
+
args: [
|
|
21607
|
+
"--yes",
|
|
21608
|
+
"skills",
|
|
21609
|
+
"remove",
|
|
21610
|
+
"--global",
|
|
21611
|
+
"-y",
|
|
21612
|
+
...LEGACY_SKILL_NAMES_TO_REMOVE
|
|
21613
|
+
]
|
|
21614
|
+
}
|
|
21615
|
+
] : [
|
|
21616
|
+
{
|
|
21617
|
+
command: "npx",
|
|
21618
|
+
args: [
|
|
21619
|
+
"--yes",
|
|
21620
|
+
"skills",
|
|
21621
|
+
"remove",
|
|
21622
|
+
"--global",
|
|
21623
|
+
"-y",
|
|
21624
|
+
...LEGACY_SKILL_NAMES_TO_REMOVE
|
|
21625
|
+
]
|
|
21626
|
+
}
|
|
21627
|
+
];
|
|
21628
|
+
for (const candidate of candidates) {
|
|
21629
|
+
const result = spawnSync2(candidate.command, candidate.args, {
|
|
21630
|
+
stdio: "ignore",
|
|
21631
|
+
shell: process.platform === "win32"
|
|
21632
|
+
});
|
|
21633
|
+
if (result.status === 0) return;
|
|
21634
|
+
}
|
|
21635
|
+
}
|
|
21590
21636
|
function writeSdkSkillsStatusLine(line) {
|
|
21591
21637
|
const progress = getActiveCliProgress();
|
|
21592
21638
|
if (progress) {
|
|
@@ -21616,6 +21662,7 @@ async function syncSdkSkillsIfNeeded(baseUrl) {
|
|
|
21616
21662
|
writeSdkSkillsStatusLine("Deepline skills changed; syncing agent skills...");
|
|
21617
21663
|
const installed = await runSkillsInstall(baseUrl, skillNames);
|
|
21618
21664
|
if (!installed) return;
|
|
21665
|
+
runLegacySkillsCleanup();
|
|
21619
21666
|
writeLocalSkillsVersion(baseUrl, update.remoteVersion);
|
|
21620
21667
|
writeSdkSkillsStatusLine("Deepline agent skills are up to date.");
|
|
21621
21668
|
}
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -275,10 +275,10 @@ var SDK_RELEASE = {
|
|
|
275
275
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
276
276
|
// the SDK enrich generator's one-second stale policy.
|
|
277
277
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
278
|
-
version: "0.1.
|
|
278
|
+
version: "0.1.129",
|
|
279
279
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
280
280
|
supportPolicy: {
|
|
281
|
-
latest: "0.1.
|
|
281
|
+
latest: "0.1.129",
|
|
282
282
|
minimumSupported: "0.1.53",
|
|
283
283
|
deprecatedBelow: "0.1.53",
|
|
284
284
|
commandMinimumSupported: [
|
package/dist/index.mjs
CHANGED
|
@@ -197,10 +197,10 @@ var SDK_RELEASE = {
|
|
|
197
197
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
198
198
|
// the SDK enrich generator's one-second stale policy.
|
|
199
199
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
200
|
-
version: "0.1.
|
|
200
|
+
version: "0.1.129",
|
|
201
201
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
202
202
|
supportPolicy: {
|
|
203
|
-
latest: "0.1.
|
|
203
|
+
latest: "0.1.129",
|
|
204
204
|
minimumSupported: "0.1.53",
|
|
205
205
|
deprecatedBelow: "0.1.53",
|
|
206
206
|
commandMinimumSupported: [
|