@warmhub/cli 0.125.0 → 0.127.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 +8 -46
  2. package/package.json +1 -1
package/dist/wh.js CHANGED
@@ -45323,7 +45323,7 @@ function createStreamingSubmissionHandle(input, deps) {
45323
45323
  // ../../packages/sdk-ts/package.json
45324
45324
  var package_default = {
45325
45325
  name: "@warmhub/sdk-ts",
45326
- version: "0.123.0",
45326
+ version: "0.125.0",
45327
45327
  private: false,
45328
45328
  type: "module",
45329
45329
  description: "The TypeScript SDK for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -59595,39 +59595,6 @@ var registryUpdateFlags = {
59595
59595
  // ../../packages/warmhub-cli/src/domains/component-handlers.ts
59596
59596
  import { resolve as resolve2 } from "node:path";
59597
59597
 
59598
- // ../../packages/warmhub-cli/src/domain-rename-hints.ts
59599
- var RENAME_HINT_MAP = {
59600
- "commit:create": "Renamed to 'wh commit submit'",
59601
- "commit:template": "Moved to 'wh shape template'",
59602
- graph: "Moved to 'wh thing graph'",
59603
- "org:add-member": "Use 'wh org member add'",
59604
- "org:remove-member": "Use 'wh org member remove'",
59605
- "org:list-members": "Use 'wh org member list'",
59606
- "org:change-role": "Use 'wh org member set-role'",
59607
- "thing:get-many": "Renamed; 'wh thing view' is now variadic",
59608
- "credential:set-keys": "Folded into 'wh credential set'",
59609
- "credential:export": {
59610
- message: "'wh credential export' was removed; it has no direct CLI replacement.",
59611
- hint: "Webhook subscriptions now auto-inject WEBHOOK_* keys (WEBHOOK_BEARER_TOKEN, WEBHOOK_API_KEY[+ _HEADER], WEBHOOK_BASIC_USERNAME/PASSWORD, WEBHOOK_SIGNING_SECRET) as auth headers — store them on a credential set then bind with 'wh sub bind <subscriptionName> --credentials <setName>'. Generic key names (e.g. API_KEY) are not forwarded."
59612
- },
59613
- "shape:delete": "Use 'wh shape retract'",
59614
- "init:run": "Use 'wh init' (no inner verb)",
59615
- "prime:run": "Use 'wh prime'",
59616
- "use:run": "Use 'wh use'",
59617
- "graph:run": "Use 'wh thing graph'",
59618
- "doctor:check": "Use 'wh doctor'",
59619
- "doctor:run": "Use 'wh doctor'",
59620
- "channel:start": "Use 'wh channel'",
59621
- "notifications:list": "Use 'wh notifications'"
59622
- };
59623
- var RENAME_HINTS = RENAME_HINT_MAP;
59624
- function resolveRenameHint(entry) {
59625
- return typeof entry === "string" ? { message: entry } : entry;
59626
- }
59627
- function getTopLevelRenameHintCommands() {
59628
- return Object.keys(RENAME_HINTS).filter((key) => !key.includes(":"));
59629
- }
59630
-
59631
59598
  // ../../packages/warmhub-cli/src/builtin-cli-domains.ts
59632
59599
  var _names = null;
59633
59600
  var EXTRA_TOP_LEVEL_COMMANDS = ["help"];
@@ -59636,11 +59603,7 @@ function ensureNames() {
59636
59603
  return _names;
59637
59604
  const registry3 = new DomainRegistry;
59638
59605
  registerAllDomains(registry3);
59639
- _names = new Set([
59640
- ...registry3.getDomainNames(),
59641
- ...EXTRA_TOP_LEVEL_COMMANDS,
59642
- ...getTopLevelRenameHintCommands()
59643
- ]);
59606
+ _names = new Set([...registry3.getDomainNames(), ...EXTRA_TOP_LEVEL_COMMANDS]);
59644
59607
  return _names;
59645
59608
  }
59646
59609
  function isBuiltinCliDomain(name) {
@@ -68718,7 +68681,7 @@ function unknownCommandError(command, resolver) {
68718
68681
  return userInputError(`Unknown command: ${command}`, closest ? `Did you mean 'wh ${closest}'?` : "Run 'wh help' for available commands.");
68719
68682
  }
68720
68683
  function retirementError(entry) {
68721
- const resolved = resolveRenameHint(entry);
68684
+ const resolved = typeof entry === "string" ? { message: entry } : entry;
68722
68685
  return new CliError(2 /* UserInput */, "USER_INPUT", resolved.message, undefined, resolved.hint);
68723
68686
  }
68724
68687
  function rootControlWithCommandError(control) {
@@ -69366,8 +69329,7 @@ var resolver = createInvocationResolver(productionRegistry.getDomains());
69366
69329
  var catalog = {
69367
69330
  globals: GLOBAL_FLAG_SPECS,
69368
69331
  contextualControls: CONTEXTUAL_CONTROL_SPECS,
69369
- rootControls: ROOT_CONTROL_SPECS,
69370
- renameHints: RENAME_HINTS
69332
+ rootControls: ROOT_CONTROL_SPECS
69371
69333
  };
69372
69334
  function prepareCliInvocation(argv) {
69373
69335
  return prepare(argv, resolver, catalog);
@@ -69426,7 +69388,7 @@ function selectedRepo(flags, config2) {
69426
69388
  }
69427
69389
  }
69428
69390
  function isReservedCandidateName(name) {
69429
- return isBuiltinCliDomain(name) || getTopLevelRenameHintCommands().includes(name);
69391
+ return isBuiltinCliDomain(name);
69430
69392
  }
69431
69393
  function basePorts(flags, config2) {
69432
69394
  return {
@@ -69768,7 +69730,7 @@ function resolveLogLevel(flagLevel, env) {
69768
69730
  // package.json
69769
69731
  var package_default3 = {
69770
69732
  name: "@warmhub/cli",
69771
- version: "0.125.0",
69733
+ version: "0.127.0",
69772
69734
  private: false,
69773
69735
  type: "module",
69774
69736
  description: "The wh CLI for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -70393,5 +70355,5 @@ process.exitCode = interceptedExitCode === undefined ? await runPreparedCli(laun
70393
70355
  version: package_default3.version
70394
70356
  }) : interceptedExitCode;
70395
70357
 
70396
- //# debugId=95BB817A7AC8E59164756E2164756E21
70397
- //# warmhub-cli-build-info {"cliVersion":"0.125.0","sdkVersion":"0.123.0"}
70358
+ //# debugId=22657641A036C6E864756E2164756E21
70359
+ //# warmhub-cli-build-info {"cliVersion":"0.127.0","sdkVersion":"0.125.0"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmhub/cli",
3
- "version": "0.125.0",
3
+ "version": "0.127.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.",