deepline 0.2.61 → 0.2.62
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/cli/index.js +5 -37
- package/dist/cli/index.mjs +5 -37
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -160,7 +160,7 @@ export const SDK_RELEASE = {
|
|
|
160
160
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
161
161
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
162
162
|
// release keeps lazy paging semantics independent of row residency.
|
|
163
|
-
version: '0.2.
|
|
163
|
+
version: '0.2.62',
|
|
164
164
|
contracts: {
|
|
165
165
|
api: {
|
|
166
166
|
name: 'sdk-http-api',
|
package/dist/cli/index.js
CHANGED
|
@@ -1044,7 +1044,7 @@ var SDK_RELEASE = {
|
|
|
1044
1044
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
1045
1045
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
1046
1046
|
// release keeps lazy paging semantics independent of row residency.
|
|
1047
|
-
version: "0.2.
|
|
1047
|
+
version: "0.2.62",
|
|
1048
1048
|
contracts: {
|
|
1049
1049
|
api: {
|
|
1050
1050
|
name: "sdk-http-api",
|
|
@@ -37260,25 +37260,6 @@ function detectSkillsAgents(input2) {
|
|
|
37260
37260
|
).map((marker) => marker.agent);
|
|
37261
37261
|
return detected.length > 0 ? detected : ["*"];
|
|
37262
37262
|
}
|
|
37263
|
-
async function fetchSkillCatalog(baseUrl) {
|
|
37264
|
-
const response = await fetch(skillsIndexUrl(baseUrl));
|
|
37265
|
-
if (!response.ok) {
|
|
37266
|
-
throw new Error(
|
|
37267
|
-
`Skill catalog request failed (status ${response.status}).`
|
|
37268
|
-
);
|
|
37269
|
-
}
|
|
37270
|
-
const index = await response.json();
|
|
37271
|
-
const skillNames = (index.skills ?? []).filter((skill) => skill.install_surface === "v1").map((skill) => skill.name).filter((name) => typeof name === "string" && Boolean(name)).sort((a, b) => a.localeCompare(b));
|
|
37272
|
-
if (skillNames.length === 0) {
|
|
37273
|
-
throw new Error(
|
|
37274
|
-
"The Deepline skill catalog contains no installable skills."
|
|
37275
|
-
);
|
|
37276
|
-
}
|
|
37277
|
-
return {
|
|
37278
|
-
skillNames,
|
|
37279
|
-
version: typeof index.version === "string" && index.version.trim() ? index.version.trim() : "unversioned"
|
|
37280
|
-
};
|
|
37281
|
-
}
|
|
37282
37263
|
function skillsStatePathForScope(baseUrl, scope, root) {
|
|
37283
37264
|
return scope === "local" && root ? (0, import_node_path21.join)(root, ".deepline", "setup", "skills.json") : (0, import_node_path21.join)(sdkCliStateDirPath(baseUrl), "skills-install.json");
|
|
37284
37265
|
}
|
|
@@ -37397,23 +37378,10 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
37397
37378
|
return 2;
|
|
37398
37379
|
}
|
|
37399
37380
|
const baseUrl = autoDetectBaseUrl().replace(/\/$/, "");
|
|
37400
|
-
|
|
37401
|
-
|
|
37402
|
-
|
|
37403
|
-
}
|
|
37404
|
-
printCommandEnvelope(
|
|
37405
|
-
{
|
|
37406
|
-
ok: false,
|
|
37407
|
-
status: "failed",
|
|
37408
|
-
code: "SKILLS_CATALOG_UNAVAILABLE",
|
|
37409
|
-
exitCode: 5,
|
|
37410
|
-
message: error instanceof Error ? error.message : String(error),
|
|
37411
|
-
next: "Retry: deepline skills"
|
|
37412
|
-
},
|
|
37413
|
-
{ json: options.json }
|
|
37414
|
-
);
|
|
37415
|
-
return 5;
|
|
37416
|
-
}
|
|
37381
|
+
const catalog = {
|
|
37382
|
+
skillNames: [...DEFAULT_SDK_SKILL_NAMES],
|
|
37383
|
+
version: SDK_VERSION
|
|
37384
|
+
};
|
|
37417
37385
|
const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
|
|
37418
37386
|
const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
|
|
37419
37387
|
if (options.dryRun) {
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1030,7 +1030,7 @@ var SDK_RELEASE = {
|
|
|
1030
1030
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
1031
1031
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
1032
1032
|
// release keeps lazy paging semantics independent of row residency.
|
|
1033
|
-
version: "0.2.
|
|
1033
|
+
version: "0.2.62",
|
|
1034
1034
|
contracts: {
|
|
1035
1035
|
api: {
|
|
1036
1036
|
name: "sdk-http-api",
|
|
@@ -37340,25 +37340,6 @@ function detectSkillsAgents(input2) {
|
|
|
37340
37340
|
).map((marker) => marker.agent);
|
|
37341
37341
|
return detected.length > 0 ? detected : ["*"];
|
|
37342
37342
|
}
|
|
37343
|
-
async function fetchSkillCatalog(baseUrl) {
|
|
37344
|
-
const response = await fetch(skillsIndexUrl(baseUrl));
|
|
37345
|
-
if (!response.ok) {
|
|
37346
|
-
throw new Error(
|
|
37347
|
-
`Skill catalog request failed (status ${response.status}).`
|
|
37348
|
-
);
|
|
37349
|
-
}
|
|
37350
|
-
const index = await response.json();
|
|
37351
|
-
const skillNames = (index.skills ?? []).filter((skill) => skill.install_surface === "v1").map((skill) => skill.name).filter((name) => typeof name === "string" && Boolean(name)).sort((a, b) => a.localeCompare(b));
|
|
37352
|
-
if (skillNames.length === 0) {
|
|
37353
|
-
throw new Error(
|
|
37354
|
-
"The Deepline skill catalog contains no installable skills."
|
|
37355
|
-
);
|
|
37356
|
-
}
|
|
37357
|
-
return {
|
|
37358
|
-
skillNames,
|
|
37359
|
-
version: typeof index.version === "string" && index.version.trim() ? index.version.trim() : "unversioned"
|
|
37360
|
-
};
|
|
37361
|
-
}
|
|
37362
37343
|
function skillsStatePathForScope(baseUrl, scope, root) {
|
|
37363
37344
|
return scope === "local" && root ? join17(root, ".deepline", "setup", "skills.json") : join17(sdkCliStateDirPath(baseUrl), "skills-install.json");
|
|
37364
37345
|
}
|
|
@@ -37477,23 +37458,10 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
37477
37458
|
return 2;
|
|
37478
37459
|
}
|
|
37479
37460
|
const baseUrl = autoDetectBaseUrl().replace(/\/$/, "");
|
|
37480
|
-
|
|
37481
|
-
|
|
37482
|
-
|
|
37483
|
-
}
|
|
37484
|
-
printCommandEnvelope(
|
|
37485
|
-
{
|
|
37486
|
-
ok: false,
|
|
37487
|
-
status: "failed",
|
|
37488
|
-
code: "SKILLS_CATALOG_UNAVAILABLE",
|
|
37489
|
-
exitCode: 5,
|
|
37490
|
-
message: error instanceof Error ? error.message : String(error),
|
|
37491
|
-
next: "Retry: deepline skills"
|
|
37492
|
-
},
|
|
37493
|
-
{ json: options.json }
|
|
37494
|
-
);
|
|
37495
|
-
return 5;
|
|
37496
|
-
}
|
|
37461
|
+
const catalog = {
|
|
37462
|
+
skillNames: [...DEFAULT_SDK_SKILL_NAMES],
|
|
37463
|
+
version: SDK_VERSION
|
|
37464
|
+
};
|
|
37497
37465
|
const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
|
|
37498
37466
|
const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
|
|
37499
37467
|
if (options.dryRun) {
|
package/dist/index.js
CHANGED
|
@@ -777,7 +777,7 @@ var SDK_RELEASE = {
|
|
|
777
777
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
778
778
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
779
779
|
// release keeps lazy paging semantics independent of row residency.
|
|
780
|
-
version: "0.2.
|
|
780
|
+
version: "0.2.62",
|
|
781
781
|
contracts: {
|
|
782
782
|
api: {
|
|
783
783
|
name: "sdk-http-api",
|
package/dist/index.mjs
CHANGED
|
@@ -700,7 +700,7 @@ var SDK_RELEASE = {
|
|
|
700
700
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
701
701
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
702
702
|
// release keeps lazy paging semantics independent of row residency.
|
|
703
|
-
version: "0.2.
|
|
703
|
+
version: "0.2.62",
|
|
704
704
|
contracts: {
|
|
705
705
|
api: {
|
|
706
706
|
name: "sdk-http-api",
|