@warmhub/cli 0.56.0 → 0.58.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.
Files changed (2) hide show
  1. package/dist/wh.js +6 -5
  2. package/package.json +1 -1
package/dist/wh.js CHANGED
@@ -18631,7 +18631,8 @@ var REPO_AUTH_SCOPES = [
18631
18631
  "repo:read",
18632
18632
  "repo:write",
18633
18633
  "repo:configure",
18634
- "repo:admin"
18634
+ "repo:admin",
18635
+ "repo:action-callback"
18635
18636
  ];
18636
18637
 
18637
18638
  // ../../packages/rules/src/component-manifest-contract.ts
@@ -18909,7 +18910,7 @@ function validateCliMethod(method, methodIndex, seen) {
18909
18910
  if (requiresPermission !== undefined && (typeof requiresPermission !== "string" || !VALID_REQUIRES_PERMISSION.has(requiresPermission))) {
18910
18911
  findings.push({
18911
18912
  code: "INVALID_CLI_REQUIRES_PERMISSION",
18912
- message: `${basePath}.requiresPermission must be one of "repo:read" | "repo:write" | "repo:configure" | "repo:admin"`
18913
+ message: `${basePath}.requiresPermission must be one of ${REPO_AUTH_SCOPES.map((scope) => `"${scope}"`).join(" | ")}`
18913
18914
  });
18914
18915
  }
18915
18916
  return findings;
@@ -21441,7 +21442,7 @@ function findSystemComponent(componentId) {
21441
21442
  // ../../packages/sdk-ts/package.json
21442
21443
  var package_default = {
21443
21444
  name: "@warmhub/sdk-ts",
21444
- version: "0.56.0",
21445
+ version: "0.58.0",
21445
21446
  private: false,
21446
21447
  type: "module",
21447
21448
  description: "The TypeScript SDK for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -38736,7 +38737,7 @@ function resolveLogLevel(flags, env) {
38736
38737
  // package.json
38737
38738
  var package_default3 = {
38738
38739
  name: "@warmhub/cli",
38739
- version: "0.56.0",
38740
+ version: "0.58.0",
38740
38741
  private: false,
38741
38742
  type: "module",
38742
38743
  description: "The wh CLI for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -39377,4 +39378,4 @@ if (!updateCheckSuppressedByArgv && shouldRunUpdateCheck(updateEligibility)) {
39377
39378
  var interceptedExitCode = await maybeHandleComponentShellBoundary(dispatchArgv);
39378
39379
  process.exitCode = interceptedExitCode === undefined ? await runCli(dispatchArgv, { version: package_default3.version }) : interceptedExitCode;
39379
39380
 
39380
- //# debugId=6B58DF2D51FA9D1264756E2164756E21
39381
+ //# debugId=53E5AABF4D88726F64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmhub/cli",
3
- "version": "0.56.0",
3
+ "version": "0.58.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "The wh CLI for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",