@warmhub/cli 0.119.0 → 0.121.0
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/wh.js +11 -15
- package/package.json +1 -1
package/dist/wh.js
CHANGED
|
@@ -45312,7 +45312,7 @@ function createStreamingSubmissionHandle(input, deps) {
|
|
|
45312
45312
|
// ../../packages/sdk-ts/package.json
|
|
45313
45313
|
var package_default = {
|
|
45314
45314
|
name: "@warmhub/sdk-ts",
|
|
45315
|
-
version: "0.
|
|
45315
|
+
version: "0.119.0",
|
|
45316
45316
|
private: false,
|
|
45317
45317
|
type: "module",
|
|
45318
45318
|
description: "The TypeScript SDK for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
|
|
@@ -46669,11 +46669,12 @@ class WarmHubClient {
|
|
|
46669
46669
|
throw toWarmHubError(error51);
|
|
46670
46670
|
}
|
|
46671
46671
|
},
|
|
46672
|
-
describe: async (orgName, repoName) => {
|
|
46672
|
+
describe: async (orgName, repoName, options = {}) => {
|
|
46673
46673
|
try {
|
|
46674
46674
|
return await this.trpc.repo.describe.query({
|
|
46675
46675
|
orgName,
|
|
46676
|
-
repoName
|
|
46676
|
+
repoName,
|
|
46677
|
+
includeHead: options.includeHead
|
|
46677
46678
|
});
|
|
46678
46679
|
} catch (error51) {
|
|
46679
46680
|
throw toWarmHubError(error51);
|
|
@@ -65416,18 +65417,13 @@ var handleDescribe = async (ctx, { args, flags }) => {
|
|
|
65416
65417
|
const { org, repo: repo2 } = parseOrgRepo(repoRef, ctx.config);
|
|
65417
65418
|
const c = ctx.colors;
|
|
65418
65419
|
const showIndexedFields = flags["indexed-fields"] === true;
|
|
65419
|
-
const [
|
|
65420
|
-
ctx.client.repo.
|
|
65421
|
-
ctx.client.repo.getLicense(org, repo2),
|
|
65422
|
-
ctx.client.shape.list(org, repo2),
|
|
65423
|
-
ctx.client.repo.getStats(org, repo2),
|
|
65420
|
+
const [description, indexedFields] = await Promise.all([
|
|
65421
|
+
ctx.client.repo.describe(org, repo2, { includeHead: false }),
|
|
65424
65422
|
showIndexedFields ? ctx.client.repo.index.describe(org, repo2) : null
|
|
65425
65423
|
]);
|
|
65424
|
+
const { repo: repoInfo, license, shapes: shapesPage, stats } = description;
|
|
65426
65425
|
const shapes = shapesPage.items;
|
|
65427
|
-
const byShape =
|
|
65428
|
-
...nameStrings(shapes).map((name) => [name, 0]),
|
|
65429
|
-
...Object.entries(stats.byShape)
|
|
65430
|
-
]);
|
|
65426
|
+
const { byShape } = stats;
|
|
65431
65427
|
const indexedFieldsPublic = indexedFields ? toPublicIndexedFields(indexedFields) : null;
|
|
65432
65428
|
const payload = {
|
|
65433
65429
|
org,
|
|
@@ -69750,7 +69746,7 @@ function resolveLogLevel(flagLevel, env) {
|
|
|
69750
69746
|
// package.json
|
|
69751
69747
|
var package_default3 = {
|
|
69752
69748
|
name: "@warmhub/cli",
|
|
69753
|
-
version: "0.
|
|
69749
|
+
version: "0.121.0",
|
|
69754
69750
|
private: false,
|
|
69755
69751
|
type: "module",
|
|
69756
69752
|
description: "The wh CLI for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
|
|
@@ -70375,5 +70371,5 @@ process.exitCode = interceptedExitCode === undefined ? await runPreparedCli(laun
|
|
|
70375
70371
|
version: package_default3.version
|
|
70376
70372
|
}) : interceptedExitCode;
|
|
70377
70373
|
|
|
70378
|
-
//# debugId=
|
|
70379
|
-
//# warmhub-cli-build-info {"cliVersion":"0.
|
|
70374
|
+
//# debugId=C8CF2C27CC632FC464756E2164756E21
|
|
70375
|
+
//# warmhub-cli-build-info {"cliVersion":"0.121.0","sdkVersion":"0.119.0"}
|
package/package.json
CHANGED