deepline 0.2.68 → 0.2.69
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 +29 -2
- package/dist/cli/index.mjs +29 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -183,7 +183,7 @@ export const SDK_RELEASE = {
|
|
|
183
183
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
184
184
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
185
185
|
// release keeps lazy paging semantics independent of row residency.
|
|
186
|
-
version: '0.2.
|
|
186
|
+
version: '0.2.69',
|
|
187
187
|
contracts: {
|
|
188
188
|
api: {
|
|
189
189
|
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.69",
|
|
1048
1048
|
contracts: {
|
|
1049
1049
|
api: {
|
|
1050
1050
|
name: "sdk-http-api",
|
|
@@ -7533,6 +7533,23 @@ async function httpJson(method, url, apiKey, body) {
|
|
|
7533
7533
|
}
|
|
7534
7534
|
return { status: response.status, data };
|
|
7535
7535
|
}
|
|
7536
|
+
async function reportSetupCompleted(input2) {
|
|
7537
|
+
const apiKey = input2.authScope === "folder" ? resolveProjectApiKeyForBaseUrl(input2.baseUrl) : resolveGlobalApiKeyForBaseUrl(input2.baseUrl);
|
|
7538
|
+
if (!apiKey) return;
|
|
7539
|
+
try {
|
|
7540
|
+
await httpJson(
|
|
7541
|
+
"POST",
|
|
7542
|
+
`${input2.baseUrl}/api/v2/telemetry/setup-completed`,
|
|
7543
|
+
apiKey,
|
|
7544
|
+
{
|
|
7545
|
+
scope: input2.scope,
|
|
7546
|
+
resumed: input2.resumed,
|
|
7547
|
+
installed_agent_count: input2.installedAgentCount
|
|
7548
|
+
}
|
|
7549
|
+
);
|
|
7550
|
+
} catch {
|
|
7551
|
+
}
|
|
7552
|
+
}
|
|
7536
7553
|
function buildCandidateUrls2(url) {
|
|
7537
7554
|
try {
|
|
7538
7555
|
const parsed = new URL(url);
|
|
@@ -35195,6 +35212,16 @@ async function runSetupCommand(options) {
|
|
|
35195
35212
|
status: "complete",
|
|
35196
35213
|
phases
|
|
35197
35214
|
});
|
|
35215
|
+
const installedAgents = Array.isArray(skillsPayload?.agents) ? skillsPayload.agents.filter(
|
|
35216
|
+
(agent) => typeof agent === "string"
|
|
35217
|
+
) : [];
|
|
35218
|
+
await reportSetupCompleted({
|
|
35219
|
+
baseUrl,
|
|
35220
|
+
authScope,
|
|
35221
|
+
scope,
|
|
35222
|
+
resumed,
|
|
35223
|
+
installedAgentCount: installedAgents.length
|
|
35224
|
+
});
|
|
35198
35225
|
const doctorChecks = asRecord3(doctorPayload?.checks);
|
|
35199
35226
|
const apiCheck = asRecord3(doctorChecks?.api);
|
|
35200
35227
|
printCommandEnvelope(
|
|
@@ -35204,7 +35231,7 @@ async function runSetupCommand(options) {
|
|
|
35204
35231
|
complete: true,
|
|
35205
35232
|
scope,
|
|
35206
35233
|
cliVersion: SDK_VERSION,
|
|
35207
|
-
agents:
|
|
35234
|
+
agents: installedAgents,
|
|
35208
35235
|
workspace: apiCheck?.workspace ?? null,
|
|
35209
35236
|
rollbackCommand: rollbackCommand(scope, root),
|
|
35210
35237
|
statePath,
|
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.69",
|
|
1034
1034
|
contracts: {
|
|
1035
1035
|
api: {
|
|
1036
1036
|
name: "sdk-http-api",
|
|
@@ -7531,6 +7531,23 @@ async function httpJson(method, url, apiKey, body) {
|
|
|
7531
7531
|
}
|
|
7532
7532
|
return { status: response.status, data };
|
|
7533
7533
|
}
|
|
7534
|
+
async function reportSetupCompleted(input2) {
|
|
7535
|
+
const apiKey = input2.authScope === "folder" ? resolveProjectApiKeyForBaseUrl(input2.baseUrl) : resolveGlobalApiKeyForBaseUrl(input2.baseUrl);
|
|
7536
|
+
if (!apiKey) return;
|
|
7537
|
+
try {
|
|
7538
|
+
await httpJson(
|
|
7539
|
+
"POST",
|
|
7540
|
+
`${input2.baseUrl}/api/v2/telemetry/setup-completed`,
|
|
7541
|
+
apiKey,
|
|
7542
|
+
{
|
|
7543
|
+
scope: input2.scope,
|
|
7544
|
+
resumed: input2.resumed,
|
|
7545
|
+
installed_agent_count: input2.installedAgentCount
|
|
7546
|
+
}
|
|
7547
|
+
);
|
|
7548
|
+
} catch {
|
|
7549
|
+
}
|
|
7550
|
+
}
|
|
7534
7551
|
function buildCandidateUrls2(url) {
|
|
7535
7552
|
try {
|
|
7536
7553
|
const parsed = new URL(url);
|
|
@@ -35262,6 +35279,16 @@ async function runSetupCommand(options) {
|
|
|
35262
35279
|
status: "complete",
|
|
35263
35280
|
phases
|
|
35264
35281
|
});
|
|
35282
|
+
const installedAgents = Array.isArray(skillsPayload?.agents) ? skillsPayload.agents.filter(
|
|
35283
|
+
(agent) => typeof agent === "string"
|
|
35284
|
+
) : [];
|
|
35285
|
+
await reportSetupCompleted({
|
|
35286
|
+
baseUrl,
|
|
35287
|
+
authScope,
|
|
35288
|
+
scope,
|
|
35289
|
+
resumed,
|
|
35290
|
+
installedAgentCount: installedAgents.length
|
|
35291
|
+
});
|
|
35265
35292
|
const doctorChecks = asRecord3(doctorPayload?.checks);
|
|
35266
35293
|
const apiCheck = asRecord3(doctorChecks?.api);
|
|
35267
35294
|
printCommandEnvelope(
|
|
@@ -35271,7 +35298,7 @@ async function runSetupCommand(options) {
|
|
|
35271
35298
|
complete: true,
|
|
35272
35299
|
scope,
|
|
35273
35300
|
cliVersion: SDK_VERSION,
|
|
35274
|
-
agents:
|
|
35301
|
+
agents: installedAgents,
|
|
35275
35302
|
workspace: apiCheck?.workspace ?? null,
|
|
35276
35303
|
rollbackCommand: rollbackCommand(scope, root),
|
|
35277
35304
|
statePath,
|
package/dist/index.js
CHANGED
|
@@ -780,7 +780,7 @@ var SDK_RELEASE = {
|
|
|
780
780
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
781
781
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
782
782
|
// release keeps lazy paging semantics independent of row residency.
|
|
783
|
-
version: "0.2.
|
|
783
|
+
version: "0.2.69",
|
|
784
784
|
contracts: {
|
|
785
785
|
api: {
|
|
786
786
|
name: "sdk-http-api",
|
package/dist/index.mjs
CHANGED
|
@@ -703,7 +703,7 @@ var SDK_RELEASE = {
|
|
|
703
703
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
704
704
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
705
705
|
// release keeps lazy paging semantics independent of row residency.
|
|
706
|
-
version: "0.2.
|
|
706
|
+
version: "0.2.69",
|
|
707
707
|
contracts: {
|
|
708
708
|
api: {
|
|
709
709
|
name: "sdk-http-api",
|