@oxygen-agent/cli 1.1011.687 → 1.1011.800

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 (39) hide show
  1. package/README.md +1 -1
  2. package/dist/column-run-notices.js +2 -0
  3. package/dist/help.d.ts +2 -0
  4. package/dist/help.js +5 -0
  5. package/dist/index.js +245 -158
  6. package/dist/workflow-run-list-flags.d.ts +3 -0
  7. package/dist/workflow-run-list-flags.js +21 -0
  8. package/node_modules/@oxygen/shared/dist/capability-discovery.js +65 -14
  9. package/node_modules/@oxygen/shared/dist/contracts/crm-enrichment-read.js +1 -1
  10. package/node_modules/@oxygen/shared/dist/contracts/crm-support.d.ts +1 -0
  11. package/node_modules/@oxygen/shared/dist/contracts/crm-support.js +1 -0
  12. package/node_modules/@oxygen/shared/dist/contracts/customer-operations.js +8 -6
  13. package/node_modules/@oxygen/shared/dist/contracts/operations.js +2 -1
  14. package/node_modules/@oxygen/shared/dist/contracts/schema.d.ts +8 -0
  15. package/node_modules/@oxygen/shared/dist/contracts/schema.js +6 -0
  16. package/node_modules/@oxygen/shared/dist/contracts/sequence-analytics-read.d.ts +38 -0
  17. package/node_modules/@oxygen/shared/dist/contracts/sequence-analytics-read.js +22 -0
  18. package/node_modules/@oxygen/shared/dist/contracts/table-feed-update.d.ts +222 -0
  19. package/node_modules/@oxygen/shared/dist/contracts/table-feed-update.js +55 -0
  20. package/node_modules/@oxygen/shared/dist/contracts/table-list.d.ts +31 -0
  21. package/node_modules/@oxygen/shared/dist/contracts/table-list.js +22 -0
  22. package/node_modules/@oxygen/shared/dist/contracts/table-operations.d.ts +58 -0
  23. package/node_modules/@oxygen/shared/dist/contracts/table-operations.js +30 -0
  24. package/node_modules/@oxygen/shared/dist/contracts/workflow-run-list.d.ts +79 -0
  25. package/node_modules/@oxygen/shared/dist/contracts/workflow-run-list.js +38 -0
  26. package/node_modules/@oxygen/shared/dist/copilot-journeys.d.ts +2 -2
  27. package/node_modules/@oxygen/shared/dist/copilot-journeys.generated.d.ts +2 -2
  28. package/node_modules/@oxygen/shared/dist/copilot-journeys.generated.js +2 -2
  29. package/node_modules/@oxygen/shared/dist/copilot-playbooks.generated.d.ts +3 -3
  30. package/node_modules/@oxygen/shared/dist/copilot-playbooks.generated.js +3 -3
  31. package/node_modules/@oxygen/shared/dist/hosted-ai.js +24 -0
  32. package/node_modules/@oxygen/shared/dist/recipes.d.ts +1 -1
  33. package/node_modules/@oxygen/shared/dist/recipes.js +4 -9
  34. package/node_modules/@oxygen/shared/dist/version.generated.d.ts +1 -1
  35. package/node_modules/@oxygen/shared/dist/version.generated.js +1 -1
  36. package/node_modules/@oxygen/workflows/dist/graph/expression.d.ts +1 -0
  37. package/node_modules/@oxygen/workflows/dist/graph/expression.js +15 -0
  38. package/node_modules/@oxygen/workflows/dist/graph/lint.js +8 -2
  39. package/package.json +1 -1
package/README.md CHANGED
@@ -34,4 +34,4 @@ oxygen update
34
34
 
35
35
  For product documentation, visit https://oxygen-agent.com/docs. For support, visit https://oxygen-agent.com.
36
36
 
37
- Version: 1.1011.687
37
+ Version: 1.1011.800
@@ -33,9 +33,11 @@ export function formatAiPromptPreviewNotice(data) {
33
33
  const state = isRecord(preview.state) && isRecord(preview.state.row)
34
34
  ? JSON.stringify(preview.state.row, null, 2)
35
35
  : null;
36
+ const searchQuery = readRecordString(preview, "search_query");
36
37
  return [
37
38
  `prompt preview — row ${rowId} (${source}), before grounding${truncation}:`,
38
39
  shown,
40
+ ...(searchQuery ? [`web search query for this row: ${searchQuery}`] : []),
39
41
  ...(state ? [`row values sent separately in classification state:\n${state.slice(0, 4000)}${state.length > 4000 ? "… (truncated)" : ""}`] : []),
40
42
  ].join("\n");
41
43
  }
package/dist/help.d.ts CHANGED
@@ -55,5 +55,7 @@ export declare function commanderUsageFailure(program: Command, argv: readonly s
55
55
  envelope: CliFailure;
56
56
  exitCode: number;
57
57
  } | null;
58
+ /** The command path argv resolves to, without the program name (`tables auto-run set`). */
59
+ export declare function commandNameForArgv(program: Command, argv: readonly string[]): string;
58
60
  /** `--json` anywhere before a `--` terminator, where commander still reads options. */
59
61
  export declare function argvRequestsJson(argv: readonly string[]): boolean;
package/dist/help.js CHANGED
@@ -414,6 +414,11 @@ export function commanderUsageFailure(program, argv, error, hint) {
414
414
  exitCode: exitCodeForErrorCode(code),
415
415
  };
416
416
  }
417
+ /** The command path argv resolves to, without the program name (`tables auto-run set`). */
418
+ export function commandNameForArgv(program, argv) {
419
+ const { path } = resolveCommandPath(program, argv);
420
+ return path.split(" ").slice(1).join(" ") || program.name();
421
+ }
417
422
  /** `--json` anywhere before a `--` terminator, where commander still reads options. */
418
423
  export function argvRequestsJson(argv) {
419
424
  const end = argv.indexOf("--");