@agentskit/doc-bridge 1.0.1 → 1.0.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Fixes
6
+ - Sync `ak-docs --version`, MCP `serverInfo.version`, and capabilities version from `package.json` during build/release.
7
+ - Allow `ak-docs query <id> --agent` as a shortcut for package/ownership handoff lookup.
8
+ - Packaged smoke now verifies installed CLI version.
9
+
10
+ ## 1.0.1
11
+
12
+ ### Fixes
13
+ - Hardened release validation with coverage for Layer 1 CLI, RAG/chat wrappers, MCP install, package-manager checks, watcher, markdown/glob helpers, and packaged/docsite smoke paths.
14
+ - Fixed provider API-key defaults for optional AgentsKit intelligence adapters.
15
+ - Replaced publish-time `pnpm build` hooks with `npm run build` for npm-friendly packing.
16
+
3
17
  ## 1.0.0
4
18
 
5
19
  **Stable** — doctor, CI gate, MCP install, and agent skill are boring-reliable. Tier C polish ships.
@@ -811,7 +811,7 @@ var buildLookup = (config, packages, corpus, indexOutFile, humanDocs = {}, root
811
811
  };
812
812
 
813
813
  // src/version.ts
814
- var PACKAGE_VERSION = "1.0.0";
814
+ var PACKAGE_VERSION = "1.0.2";
815
815
 
816
816
  // src/index-builder/capabilities.ts
817
817
  var renderCapabilitiesJson = (config, index, paths) => {
@@ -3388,7 +3388,7 @@ Core (no API key):
3388
3388
  ak-docs demo [--fixture example|monorepo] [--text] [--in-project]
3389
3389
  ak-docs doctor [--text] [--badge] [--write-badge]
3390
3390
  ak-docs index [--watch]
3391
- ak-docs query <package|ownership|intent|change> <id> [--agent] [--text]
3391
+ ak-docs query [package|ownership|intent|change] <id> [--agent] [--text]
3392
3392
  ak-docs search <term> [--agent] [--text]
3393
3393
  ak-docs list <packages|intents|changes|knowledge> [--text]
3394
3394
  ak-docs ask [question] local consult (no LLM)
@@ -4116,15 +4116,15 @@ var runCli = (argv) => {
4116
4116
  }
4117
4117
  }
4118
4118
  if (command === "query") {
4119
- const kind = positional[1];
4120
- const id = positional[2];
4121
- if (!kind || !QUERY_KINDS.has(kind) || kind === "search") {
4122
- process.stderr.write("Usage: ak-docs query <package|ownership|intent|change> <id> [--agent]\n");
4119
+ const maybeKind = positional[1];
4120
+ if (maybeKind === "search") {
4121
+ process.stderr.write("Usage: ak-docs query [package|ownership|intent|change] <id> [--agent]\n");
4123
4122
  return 1;
4124
4123
  }
4124
+ const kind = maybeKind && QUERY_KINDS.has(maybeKind) ? maybeKind : "package";
4125
+ const id = kind === maybeKind ? positional[2] : positional[1];
4125
4126
  if (!id) {
4126
- process.stderr.write(`Missing id for query kind "${kind}".
4127
- `);
4127
+ process.stderr.write("Usage: ak-docs query [package|ownership|intent|change] <id> [--agent]\n");
4128
4128
  return 1;
4129
4129
  }
4130
4130
  try {