deepline 0.3.188 → 0.3.190
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/sdk/src/skills-version.ts +39 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +10 -7
- package/dist/cli/index.js +371 -52
- package/dist/cli/index.mjs +373 -53
- package/dist/index.js +24 -1
- package/dist/index.mjs +24 -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
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.190",
|
|
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
|
|
@@ -1077,6 +1077,13 @@ function readPluginSkillsVersion() {
|
|
|
1077
1077
|
return "";
|
|
1078
1078
|
}
|
|
1079
1079
|
}
|
|
1080
|
+
var DEFAULT_SKILL_AGENTS = [
|
|
1081
|
+
"codex",
|
|
1082
|
+
"claude-code",
|
|
1083
|
+
"cursor",
|
|
1084
|
+
"gemini-cli",
|
|
1085
|
+
"antigravity"
|
|
1086
|
+
];
|
|
1080
1087
|
function skillsAgentPathSegment(agent) {
|
|
1081
1088
|
if (agent === "*") return "all";
|
|
1082
1089
|
const slug = agent.replace(/[^a-z0-9]+/gi, "-").replace(/^-+|-+$/g, "");
|
|
@@ -1089,6 +1096,13 @@ function sdkSkillsVersionPath(baseUrl, agents = []) {
|
|
|
1089
1096
|
function legacySdkSkillsVersionPath(baseUrl) {
|
|
1090
1097
|
return (0, import_node_path2.join)((0, import_node_path2.dirname)(sdkCliStateDirPath(baseUrl)), "sdk-skills", ".version");
|
|
1091
1098
|
}
|
|
1099
|
+
function readSkillsVersionFile(path) {
|
|
1100
|
+
try {
|
|
1101
|
+
return (0, import_node_fs2.readFileSync)(path, "utf-8").trim();
|
|
1102
|
+
} catch {
|
|
1103
|
+
return "";
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1092
1106
|
function resolveAutoSyncSkillAgents() {
|
|
1093
1107
|
switch (detectAgentRuntime()) {
|
|
1094
1108
|
case "codex":
|
|
@@ -1101,6 +1115,8 @@ function resolveAutoSyncSkillAgents() {
|
|
|
1101
1115
|
return ["gemini-cli"];
|
|
1102
1116
|
case "antigravity":
|
|
1103
1117
|
return ["antigravity"];
|
|
1118
|
+
case "unknown":
|
|
1119
|
+
return [...DEFAULT_SKILL_AGENTS];
|
|
1104
1120
|
default:
|
|
1105
1121
|
return [];
|
|
1106
1122
|
}
|
|
@@ -1109,6 +1125,13 @@ function readSdkSkillsLocalVersion(baseUrl) {
|
|
|
1109
1125
|
const pluginVersion = readPluginSkillsVersion();
|
|
1110
1126
|
if (pluginVersion) return pluginVersion;
|
|
1111
1127
|
const agents = resolveAutoSyncSkillAgents();
|
|
1128
|
+
if (agents.length > 1) {
|
|
1129
|
+
const versions = agents.map(
|
|
1130
|
+
(agent) => readSkillsVersionFile(sdkSkillsVersionPath(baseUrl, [agent]))
|
|
1131
|
+
);
|
|
1132
|
+
const first = versions[0];
|
|
1133
|
+
return first && versions.every((version) => version === first) ? first : "";
|
|
1134
|
+
}
|
|
1112
1135
|
const scopedPath = sdkSkillsVersionPath(baseUrl, agents);
|
|
1113
1136
|
if (agents.length > 0 && (0, import_node_fs2.existsSync)(scopedPath)) {
|
|
1114
1137
|
try {
|
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.190",
|
|
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
|
|
@@ -981,6 +981,13 @@ function readPluginSkillsVersion() {
|
|
|
981
981
|
return "";
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
|
+
var DEFAULT_SKILL_AGENTS = [
|
|
985
|
+
"codex",
|
|
986
|
+
"claude-code",
|
|
987
|
+
"cursor",
|
|
988
|
+
"gemini-cli",
|
|
989
|
+
"antigravity"
|
|
990
|
+
];
|
|
984
991
|
function skillsAgentPathSegment(agent) {
|
|
985
992
|
if (agent === "*") return "all";
|
|
986
993
|
const slug = agent.replace(/[^a-z0-9]+/gi, "-").replace(/^-+|-+$/g, "");
|
|
@@ -993,6 +1000,13 @@ function sdkSkillsVersionPath(baseUrl, agents = []) {
|
|
|
993
1000
|
function legacySdkSkillsVersionPath(baseUrl) {
|
|
994
1001
|
return join2(dirname2(sdkCliStateDirPath(baseUrl)), "sdk-skills", ".version");
|
|
995
1002
|
}
|
|
1003
|
+
function readSkillsVersionFile(path) {
|
|
1004
|
+
try {
|
|
1005
|
+
return readFileSync2(path, "utf-8").trim();
|
|
1006
|
+
} catch {
|
|
1007
|
+
return "";
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
996
1010
|
function resolveAutoSyncSkillAgents() {
|
|
997
1011
|
switch (detectAgentRuntime()) {
|
|
998
1012
|
case "codex":
|
|
@@ -1005,6 +1019,8 @@ function resolveAutoSyncSkillAgents() {
|
|
|
1005
1019
|
return ["gemini-cli"];
|
|
1006
1020
|
case "antigravity":
|
|
1007
1021
|
return ["antigravity"];
|
|
1022
|
+
case "unknown":
|
|
1023
|
+
return [...DEFAULT_SKILL_AGENTS];
|
|
1008
1024
|
default:
|
|
1009
1025
|
return [];
|
|
1010
1026
|
}
|
|
@@ -1013,6 +1029,13 @@ function readSdkSkillsLocalVersion(baseUrl) {
|
|
|
1013
1029
|
const pluginVersion = readPluginSkillsVersion();
|
|
1014
1030
|
if (pluginVersion) return pluginVersion;
|
|
1015
1031
|
const agents = resolveAutoSyncSkillAgents();
|
|
1032
|
+
if (agents.length > 1) {
|
|
1033
|
+
const versions = agents.map(
|
|
1034
|
+
(agent) => readSkillsVersionFile(sdkSkillsVersionPath(baseUrl, [agent]))
|
|
1035
|
+
);
|
|
1036
|
+
const first = versions[0];
|
|
1037
|
+
return first && versions.every((version) => version === first) ? first : "";
|
|
1038
|
+
}
|
|
1016
1039
|
const scopedPath = sdkSkillsVersionPath(baseUrl, agents);
|
|
1017
1040
|
if (agents.length > 0 && existsSync2(scopedPath)) {
|
|
1018
1041
|
try {
|
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.190";
|
|
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.190";
|
|
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.190",
|
|
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.190",
|
|
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
|