@botpress/adk-cli 1.19.0-beta.3 → 1.19.0-beta.4

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.
@@ -4,15 +4,16 @@ Traces and logs are the primary debugging interface for ADK agents. Every conver
4
4
 
5
5
  ## CLI Debugging Tools
6
6
 
7
- All commands support `--format json` for structured output. **Always use `--format json`** when consuming output programmatically.
7
+ Most commands support `--format json` for structured output — **always use it** when consuming output programmatically. The exception is `adk dev`, which has no `--format` flag: use `adk dev --non-interactive` to get a structured NDJSON event stream instead.
8
8
 
9
- | Command | Purpose | Additional Flags |
9
+ | Command | Purpose | Options / tokens |
10
10
  |---------|---------|-----------------|
11
11
  | `adk check --format json` | Offline project validation — catches config/schema issues before runtime | — |
12
12
  | `adk logs --format json` | Browse or stream log entries | `--follow`, `--summary`, level filters (`error`, `warning`) |
13
- | `adk traces --format json` | Query conversation traces with span details | `--conversation-id` |
13
+ | `adk traces --format json` | Query traces with span details — filter by workflow, action, trigger, conversation, error, time | `workflow=`, `action=`, `trigger=`, `conversation=`, `trace=`, `error`, `since=`, `until=`, `limit=`, `--follow`, `--include-llm` |
14
+ | `adk workflows runs --format json` | List or inspect durable workflow runs by id, name, or status | `name=`, `status=`, `limit=`, `nextToken=`, `<wrkflow_id>` |
14
15
  | `adk chat --single "msg" --format json` | Send a test message and get structured response | `--conversation-id` |
15
- | `adk dev --non-interactive --format json` | Start dev server with structured NDJSON event stream (no TUI) | — |
16
+ | `adk dev --non-interactive` | Start dev server with structured NDJSON event stream (no TUI) | — |
16
17
 
17
18
  ## Querying Logs
18
19
 
@@ -35,13 +36,20 @@ adk logs --summary --format json # single snapshot summary
35
36
 
36
37
  ## Querying Traces
37
38
 
38
- Traces provide the full picture of a conversation turn: every span in order.
39
+ Traces provide the full picture of a conversation turn: every span in order. The command takes positional filter tokens (not flags) for slicing the trace store.
39
40
 
40
41
  ```bash
41
- adk traces --format json # recent traces
42
- adk traces --conversation-id <id> --format json # traces for a specific conversation
42
+ adk traces --format json # recent traces (default limit 20)
43
+ adk traces error --format json # error traces only
44
+ adk traces workflow=<name> --format json # traces for a workflow
45
+ adk traces conversation=<id> --format json # traces for a conversation
46
+ adk traces trace=<id> --include-llm --format json # drill into one trace with LLM content
47
+ adk traces since=1h limit=50 --format json # last hour, up to 50
48
+ adk traces error --follow --format json # stream errors live (NDJSON)
43
49
  ```
44
50
 
51
+ Combine tokens freely (`adk traces error workflow=onboarding since=1h`). `--format` only accepts `json`; omit it for the default text output.
52
+
45
53
  ### Trace Structure
46
54
 
47
55
  A trace represents one unit of agent activity. Each trace contains:
package/dist/cli.js CHANGED
@@ -36942,7 +36942,7 @@ var require_jsx_dev_runtime = __commonJS((exports, module) => {
36942
36942
  });
36943
36943
 
36944
36944
  // src/utils/build-constants.ts
36945
- var CLI_VERSION = "1.19.0-beta.3", EXPECTED_RUNTIME_VERSION = "1.19.0-beta.3", MIN_SUPPORTED_RUNTIME = "1.17.0", IS_RELEASE_BUILD = false;
36945
+ var CLI_VERSION = "1.19.0-beta.4", EXPECTED_RUNTIME_VERSION = "1.19.0-beta.4", MIN_SUPPORTED_RUNTIME = "1.17.0", IS_RELEASE_BUILD = false;
36946
36946
 
36947
36947
  // ../../node_modules/.bun/browser-or-node@2.1.1/node_modules/browser-or-node/lib/index.js
36948
36948
  var require_lib = __commonJS((exports) => {
@@ -364769,7 +364769,7 @@ var init_internal = __esm(() => {
364769
364769
  });
364770
364770
  init_define_PACKAGE_VERSIONS = __esm2({
364771
364771
  "<define:__PACKAGE_VERSIONS__>"() {
364772
- define_PACKAGE_VERSIONS_default = { runtime: "1.19.0-beta.3", adk: "not-installed", sdk: "6.11.1", llmz: "0.0.78", zai: "2.6.21", cognitive: "0.5.4" };
364772
+ define_PACKAGE_VERSIONS_default = { runtime: "1.19.0-beta.4", adk: "not-installed", sdk: "6.11.1", llmz: "0.0.78", zai: "2.6.21", cognitive: "0.5.4" };
364773
364773
  }
364774
364774
  });
364775
364775
  init_eval = __esm2({
@@ -671415,7 +671415,7 @@ var init_library2 = __esm(() => {
671415
671415
  });
671416
671416
  init_define_PACKAGE_VERSIONS2 = __esm3({
671417
671417
  "<define:__PACKAGE_VERSIONS__>"() {
671418
- define_PACKAGE_VERSIONS_default2 = { runtime: "1.19.0-beta.3", adk: "not-installed", sdk: "6.11.1", llmz: "0.0.78", zai: "2.6.21", cognitive: "0.5.4" };
671418
+ define_PACKAGE_VERSIONS_default2 = { runtime: "1.19.0-beta.4", adk: "not-installed", sdk: "6.11.1", llmz: "0.0.78", zai: "2.6.21", cognitive: "0.5.4" };
671419
671419
  }
671420
671420
  });
671421
671421
  init_assets2 = __esm3({
@@ -766139,7 +766139,7 @@ var init_definition3 = __esm(() => {
766139
766139
  });
766140
766140
  init_define_PACKAGE_VERSIONS3 = __esm5({
766141
766141
  "<define:__PACKAGE_VERSIONS__>"() {
766142
- define_PACKAGE_VERSIONS_default3 = { runtime: "1.19.0-beta.3", adk: "not-installed", sdk: "6.11.1", llmz: "0.0.78", zai: "2.6.21", cognitive: "0.5.4" };
766142
+ define_PACKAGE_VERSIONS_default3 = { runtime: "1.19.0-beta.4", adk: "not-installed", sdk: "6.11.1", llmz: "0.0.78", zai: "2.6.21", cognitive: "0.5.4" };
766143
766143
  }
766144
766144
  });
766145
766145
  init_transcript3 = __esm5({
@@ -836754,7 +836754,7 @@ var init_runtime6 = __esm(() => {
836754
836754
  });
836755
836755
  init_define_PACKAGE_VERSIONS4 = __esm6({
836756
836756
  "<define:__PACKAGE_VERSIONS__>"() {
836757
- define_PACKAGE_VERSIONS_default4 = { runtime: "1.19.0-beta.3", adk: "not-installed", sdk: "6.11.1", llmz: "0.0.78", zai: "2.6.21", cognitive: "0.5.4" };
836757
+ define_PACKAGE_VERSIONS_default4 = { runtime: "1.19.0-beta.4", adk: "not-installed", sdk: "6.11.1", llmz: "0.0.78", zai: "2.6.21", cognitive: "0.5.4" };
836758
836758
  }
836759
836759
  });
836760
836760
  init_globals4 = __esm6({
@@ -903591,7 +903591,7 @@ ${names || " (none found)"}`);
903591
903591
  async copyTemplateFiles(templateDir) {
903592
903592
  const substitutions = {
903593
903593
  "{{projectName}}": this.projectName,
903594
- "{{runtimeVersion}}": "1.19.0-beta.3",
903594
+ "{{runtimeVersion}}": "1.19.0-beta.4",
903595
903595
  "{{packageManager}}": this.packageManager
903596
903596
  };
903597
903597
  await this.copyDirRecursive(templateDir, this.projectPath, substitutions);
@@ -909247,7 +909247,7 @@ var semver2, import_ts_morph, import_debug, semver22, import_ts_morph2, import_t
909247
909247
  `));
909248
909248
  return code;
909249
909249
  }
909250
- }, ADK_VERSION = "1.19.0-beta.3", relative4 = (from, to6) => {
909250
+ }, ADK_VERSION = "1.19.0-beta.4", relative4 = (from, to6) => {
909251
909251
  const fromDir = path142.dirname(from);
909252
909252
  const relative22 = path142.relative(fromDir, to6);
909253
909253
  return relative22.startsWith(".") ? relative22 : `./${relative22}`;
@@ -921693,7 +921693,7 @@ caused by: ` + e7.fullStack(i7);
921693
921693
  require_package3 = __commonJS9((exports7, module) => {
921694
921694
  module.exports = {
921695
921695
  name: "@botpress/adk",
921696
- version: "1.19.0-beta.3",
921696
+ version: "1.19.0-beta.4",
921697
921697
  description: "Core ADK library for building AI agents on Botpress",
921698
921698
  keywords: [
921699
921699
  "adk",
@@ -921750,7 +921750,7 @@ caused by: ` + e7.fullStack(i7);
921750
921750
  "@botpress/cli": "~6.8.1",
921751
921751
  "@botpress/client": "~1.46.0",
921752
921752
  "@botpress/cognitive": "~0.5.4",
921753
- "@botpress/runtime": "^1.19.0-beta.3",
921753
+ "@botpress/runtime": "^1.19.0-beta.4",
921754
921754
  "@botpress/sdk": "~6.11.1",
921755
921755
  "@bpinternal/jex": "^1.2.4",
921756
921756
  "@bpinternal/yargs-extra": "^0.0.21",
@@ -937007,7 +937007,7 @@ var package_default;
937007
937007
  var init_package = __esm(() => {
937008
937008
  package_default = {
937009
937009
  name: "@botpress/adk-cli",
937010
- version: "1.19.0-beta.3",
937010
+ version: "1.19.0-beta.4",
937011
937011
  description: "Command-line interface for the Botpress Agent Development Kit (ADK)",
937012
937012
  keywords: [
937013
937013
  "adk",
@@ -937049,12 +937049,12 @@ var init_package = __esm(() => {
937049
937049
  "check:type": "bun scripts/generate-build-constants.ts >/dev/null && bun scripts/embed-assets.ts >/dev/null && tsc --noEmit"
937050
937050
  },
937051
937051
  dependencies: {
937052
- "@botpress/adk": "^1.19.0-beta.3",
937052
+ "@botpress/adk": "^1.19.0-beta.4",
937053
937053
  "@botpress/chat": "~0.5.5",
937054
937054
  "@botpress/cli": "~6.8.1",
937055
937055
  "@botpress/client": "~1.46.0",
937056
- "@botpress/evals": "^1.19.0-beta.3",
937057
- "@botpress/runtime": "^1.19.0-beta.3",
937056
+ "@botpress/evals": "^1.19.0-beta.4",
937057
+ "@botpress/runtime": "^1.19.0-beta.4",
937058
937058
  "@botpress/sdk": "~6.11.1",
937059
937059
  "@botpress/webchat-client": "^0.7.2",
937060
937060
  "@modelcontextprotocol/sdk": "^1.25.1",
@@ -955742,11 +955742,23 @@ function countModelsByProvider(models2) {
955742
955742
  }
955743
955743
  return counts;
955744
955744
  }
955745
- function buildAgent0OpenCodePermissionConfig() {
955746
- return Object.fromEntries(Object.entries(AGENT0_OPEN_CODE_PERMISSION_POLICY).map(([key, value2]) => [
955747
- key,
955748
- typeof value2 === "string" ? value2 : { ...value2 }
955749
- ]));
955745
+ function buildAgent0OpenCodePermissionConfig(options = {}) {
955746
+ return {
955747
+ ...Object.fromEntries(Object.entries(AGENT0_OPEN_CODE_PERMISSION_POLICY).map(([key, value2]) => [
955748
+ key,
955749
+ typeof value2 === "string" ? value2 : { ...value2 }
955750
+ ])),
955751
+ external_directory: buildAgent0ExternalDirectoryPermission(options.externalSkillPaths ?? [])
955752
+ };
955753
+ }
955754
+ function buildAgent0ExternalDirectoryPermission(skillPaths) {
955755
+ return Object.fromEntries([
955756
+ ["*", "deny"],
955757
+ ...skillPaths.map(toRecursivePathPattern).toSorted().map((pattern) => [pattern, "allow"])
955758
+ ]);
955759
+ }
955760
+ function toRecursivePathPattern(path54) {
955761
+ return `${path54.replace(/[\\/]+$/, "")}/**`;
955750
955762
  }
955751
955763
  function getAgent0ProjectDiscoveryGitShimFilename(targetPlatform = platform5()) {
955752
955764
  return targetPlatform === "win32" ? "git.cmd" : "git";
@@ -955792,7 +955804,7 @@ function buildAgent0OpenCodeConfig(options) {
955792
955804
  ...options.agent0Config || options.cognitiveModels !== undefined ? { enabled_providers: enabledProviders } : {},
955793
955805
  ...Object.keys(provider5).length ? { provider: provider5 } : {},
955794
955806
  mcp: builtIns.mcp,
955795
- permission: buildAgent0OpenCodePermissionConfig(),
955807
+ permission: buildAgent0OpenCodePermissionConfig({ externalSkillPaths: builtIns.skills.paths }),
955796
955808
  default_agent: builtIns.defaultAgent,
955797
955809
  agent: builtIns.agent,
955798
955810
  ...Object.keys(builtIns.command).length ? { command: builtIns.command } : {},
@@ -957904,7 +957916,6 @@ var init_agent0 = __esm(() => {
957904
957916
  [AGENT0_HIDDEN_OPENCODE_SKILL]: "deny"
957905
957917
  },
957906
957918
  lsp: "allow",
957907
- external_directory: "deny",
957908
957919
  repo_clone: "deny",
957909
957920
  repo_overview: "allow",
957910
957921
  [AGENT0_BUILT_IN_MCP_PERMISSION]: "allow"
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.19.0-beta.3",
3
- "generatedAt": "2026-05-28T20:26:30.899Z",
2
+ "version": "1.19.0-beta.4",
3
+ "generatedAt": "2026-05-28T21:29:27.978Z",
4
4
  "cliName": "adk",
5
5
  "globalOptions": [
6
6
  {
@@ -15,8 +15,8 @@
15
15
  }
16
16
  }
17
17
  </script>
18
- <script type="module" crossorigin src="/assets/index-CSTz-oTK.js"></script>
19
- <link rel="stylesheet" crossorigin href="/assets/index-DAztRXeA.css">
18
+ <script type="module" crossorigin src="/assets/index-B3b7PPgV.js"></script>
19
+ <link rel="stylesheet" crossorigin href="/assets/index-DIFGtVmI.css">
20
20
  </head>
21
21
  <body>
22
22
  <div id="root"></div>