deepline 0.2.59 → 0.2.60
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 +12 -4
- package/dist/cli/index.mjs +13 -5
- 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.60',
|
|
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.60",
|
|
1048
1048
|
contracts: {
|
|
1049
1049
|
api: {
|
|
1050
1050
|
name: "sdk-http-api",
|
|
@@ -37053,7 +37053,7 @@ var install_commands_default = {
|
|
|
37053
37053
|
"--yes",
|
|
37054
37054
|
"skills@1.5.18",
|
|
37055
37055
|
"add",
|
|
37056
|
-
"{
|
|
37056
|
+
"{skills_source_url}",
|
|
37057
37057
|
"--agent",
|
|
37058
37058
|
"{agents}",
|
|
37059
37059
|
"--global",
|
|
@@ -37109,12 +37109,16 @@ function shellJoin(args) {
|
|
|
37109
37109
|
function skillsIndexUrl(baseUrl) {
|
|
37110
37110
|
return `${normalizeBaseUrl2(baseUrl)}${INSTALL_COMMANDS.skills.index_path}`;
|
|
37111
37111
|
}
|
|
37112
|
+
function skillsSourceUrl(baseUrl) {
|
|
37113
|
+
return normalizeBaseUrl2(baseUrl);
|
|
37114
|
+
}
|
|
37112
37115
|
function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
|
|
37113
37116
|
const skillNames = Array.isArray(skillName) ? skillName : [skillName];
|
|
37114
37117
|
const [firstSkillName, ...extraSkillNames] = skillNames;
|
|
37115
37118
|
const agents = options.agents ?? INSTALL_COMMANDS.skills.default_agents;
|
|
37116
37119
|
const values = {
|
|
37117
37120
|
skills_index_url: skillsIndexUrl(baseUrl),
|
|
37121
|
+
skills_source_url: skillsSourceUrl(baseUrl),
|
|
37118
37122
|
agents: agents.join(" "),
|
|
37119
37123
|
skill_name: firstSkillName ?? ""
|
|
37120
37124
|
};
|
|
@@ -37301,7 +37305,7 @@ function buildSkillsPlan(input2) {
|
|
|
37301
37305
|
"--",
|
|
37302
37306
|
"skills",
|
|
37303
37307
|
"add",
|
|
37304
|
-
|
|
37308
|
+
skillsSourceUrl(input2.baseUrl),
|
|
37305
37309
|
"--agent",
|
|
37306
37310
|
...input2.agents,
|
|
37307
37311
|
...scopeArgs,
|
|
@@ -38670,6 +38674,10 @@ function removeKnownLegacyPaths(baseUrl) {
|
|
|
38670
38674
|
const installerCommandPath = safeRead(
|
|
38671
38675
|
(0, import_node_path24.join)(hostDir, "sdk", ".command-path")
|
|
38672
38676
|
).trim();
|
|
38677
|
+
const relativeInstallerCommandPath = installerCommandPath ? (0, import_node_path24.relative)((0, import_node_path24.resolve)(hostDir), (0, import_node_path24.resolve)(installerCommandPath)) : "";
|
|
38678
|
+
const isOwnedInstallerCommand = Boolean(installerCommandPath) && relativeInstallerCommandPath !== "" && !relativeInstallerCommandPath.startsWith(
|
|
38679
|
+
`..${process.platform === "win32" ? "\\" : "/"}`
|
|
38680
|
+
) && relativeInstallerCommandPath !== ".." && (0, import_node_path24.basename)(installerCommandPath) === "deepline";
|
|
38673
38681
|
const candidates = [
|
|
38674
38682
|
...isInstallerManagedLegacyLauncher(legacyLauncherPath) ? [legacyLauncherPath] : [],
|
|
38675
38683
|
(0, import_node_path24.join)(home, ".local", "bin", "deepline-real"),
|
|
@@ -38679,7 +38687,7 @@ function removeKnownLegacyPaths(baseUrl) {
|
|
|
38679
38687
|
(0, import_node_path24.join)(hostDir, "cli", ".version"),
|
|
38680
38688
|
(0, import_node_path24.join)(hostDir, "sdk", ".install-method"),
|
|
38681
38689
|
(0, import_node_path24.join)(hostDir, "sdk", ".command-path"),
|
|
38682
|
-
...
|
|
38690
|
+
...isOwnedInstallerCommand ? [
|
|
38683
38691
|
installerCommandPath,
|
|
38684
38692
|
(0, import_node_path24.join)((0, import_node_path24.dirname)(installerCommandPath), "deepline-sdk")
|
|
38685
38693
|
] : []
|
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.60",
|
|
1034
1034
|
contracts: {
|
|
1035
1035
|
api: {
|
|
1036
1036
|
name: "sdk-http-api",
|
|
@@ -37133,7 +37133,7 @@ var install_commands_default = {
|
|
|
37133
37133
|
"--yes",
|
|
37134
37134
|
"skills@1.5.18",
|
|
37135
37135
|
"add",
|
|
37136
|
-
"{
|
|
37136
|
+
"{skills_source_url}",
|
|
37137
37137
|
"--agent",
|
|
37138
37138
|
"{agents}",
|
|
37139
37139
|
"--global",
|
|
@@ -37189,12 +37189,16 @@ function shellJoin(args) {
|
|
|
37189
37189
|
function skillsIndexUrl(baseUrl) {
|
|
37190
37190
|
return `${normalizeBaseUrl2(baseUrl)}${INSTALL_COMMANDS.skills.index_path}`;
|
|
37191
37191
|
}
|
|
37192
|
+
function skillsSourceUrl(baseUrl) {
|
|
37193
|
+
return normalizeBaseUrl2(baseUrl);
|
|
37194
|
+
}
|
|
37192
37195
|
function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
|
|
37193
37196
|
const skillNames = Array.isArray(skillName) ? skillName : [skillName];
|
|
37194
37197
|
const [firstSkillName, ...extraSkillNames] = skillNames;
|
|
37195
37198
|
const agents = options.agents ?? INSTALL_COMMANDS.skills.default_agents;
|
|
37196
37199
|
const values = {
|
|
37197
37200
|
skills_index_url: skillsIndexUrl(baseUrl),
|
|
37201
|
+
skills_source_url: skillsSourceUrl(baseUrl),
|
|
37198
37202
|
agents: agents.join(" "),
|
|
37199
37203
|
skill_name: firstSkillName ?? ""
|
|
37200
37204
|
};
|
|
@@ -37381,7 +37385,7 @@ function buildSkillsPlan(input2) {
|
|
|
37381
37385
|
"--",
|
|
37382
37386
|
"skills",
|
|
37383
37387
|
"add",
|
|
37384
|
-
|
|
37388
|
+
skillsSourceUrl(input2.baseUrl),
|
|
37385
37389
|
"--agent",
|
|
37386
37390
|
...input2.agents,
|
|
37387
37391
|
...scopeArgs,
|
|
@@ -38558,7 +38562,7 @@ import {
|
|
|
38558
38562
|
writeFileSync as writeFileSync16
|
|
38559
38563
|
} from "fs";
|
|
38560
38564
|
import { homedir as homedir13 } from "os";
|
|
38561
|
-
import { dirname as dirname17, join as join20, resolve as resolve18 } from "path";
|
|
38565
|
+
import { basename as basename6, dirname as dirname17, join as join20, relative as relative6, resolve as resolve18 } from "path";
|
|
38562
38566
|
var SETUP_PHASE_NAMES = [
|
|
38563
38567
|
"cli",
|
|
38564
38568
|
"cleanup",
|
|
@@ -38758,6 +38762,10 @@ function removeKnownLegacyPaths(baseUrl) {
|
|
|
38758
38762
|
const installerCommandPath = safeRead(
|
|
38759
38763
|
join20(hostDir, "sdk", ".command-path")
|
|
38760
38764
|
).trim();
|
|
38765
|
+
const relativeInstallerCommandPath = installerCommandPath ? relative6(resolve18(hostDir), resolve18(installerCommandPath)) : "";
|
|
38766
|
+
const isOwnedInstallerCommand = Boolean(installerCommandPath) && relativeInstallerCommandPath !== "" && !relativeInstallerCommandPath.startsWith(
|
|
38767
|
+
`..${process.platform === "win32" ? "\\" : "/"}`
|
|
38768
|
+
) && relativeInstallerCommandPath !== ".." && basename6(installerCommandPath) === "deepline";
|
|
38761
38769
|
const candidates = [
|
|
38762
38770
|
...isInstallerManagedLegacyLauncher(legacyLauncherPath) ? [legacyLauncherPath] : [],
|
|
38763
38771
|
join20(home, ".local", "bin", "deepline-real"),
|
|
@@ -38767,7 +38775,7 @@ function removeKnownLegacyPaths(baseUrl) {
|
|
|
38767
38775
|
join20(hostDir, "cli", ".version"),
|
|
38768
38776
|
join20(hostDir, "sdk", ".install-method"),
|
|
38769
38777
|
join20(hostDir, "sdk", ".command-path"),
|
|
38770
|
-
...
|
|
38778
|
+
...isOwnedInstallerCommand ? [
|
|
38771
38779
|
installerCommandPath,
|
|
38772
38780
|
join20(dirname17(installerCommandPath), "deepline-sdk")
|
|
38773
38781
|
] : []
|
package/dist/index.js
CHANGED
|
@@ -763,7 +763,7 @@ var SDK_RELEASE = {
|
|
|
763
763
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
764
764
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
765
765
|
// release keeps lazy paging semantics independent of row residency.
|
|
766
|
-
version: "0.2.
|
|
766
|
+
version: "0.2.60",
|
|
767
767
|
contracts: {
|
|
768
768
|
api: {
|
|
769
769
|
name: "sdk-http-api",
|
package/dist/index.mjs
CHANGED
|
@@ -689,7 +689,7 @@ var SDK_RELEASE = {
|
|
|
689
689
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
690
690
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
691
691
|
// release keeps lazy paging semantics independent of row residency.
|
|
692
|
-
version: "0.2.
|
|
692
|
+
version: "0.2.60",
|
|
693
693
|
contracts: {
|
|
694
694
|
api: {
|
|
695
695
|
name: "sdk-http-api",
|