@dbx-tools/appkit-mastra 0.9.153 → 0.9.157

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 (76) hide show
  1. package/README.md +4 -3
  2. package/index.ts +32 -24
  3. package/lib/index.d.ts +32 -24
  4. package/lib/index.js +32 -23
  5. package/lib/src/agents.d.ts +5 -6
  6. package/lib/src/agents.js +12 -15
  7. package/lib/src/chart.js +33 -33
  8. package/lib/src/chat.js +10 -13
  9. package/lib/src/config.d.ts +12 -13
  10. package/lib/src/config.js +4 -4
  11. package/lib/src/evaluation.js +7 -9
  12. package/lib/src/feedback-mode.d.ts +1 -1
  13. package/lib/src/feedback-mode.js +1 -1
  14. package/lib/src/filesystems.js +6 -6
  15. package/lib/src/follow-up-suggestions.js +10 -10
  16. package/lib/src/genie-chat.js +27 -29
  17. package/lib/src/genie.d.ts +2 -2
  18. package/lib/src/genie.js +29 -29
  19. package/lib/src/identity.d.ts +3 -30
  20. package/lib/src/identity.js +2 -27
  21. package/lib/src/memory.d.ts +1 -1
  22. package/lib/src/memory.js +24 -6
  23. package/lib/src/mlflow.d.ts +4 -4
  24. package/lib/src/mlflow.js +15 -18
  25. package/lib/src/model.d.ts +3 -3
  26. package/lib/src/model.js +6 -6
  27. package/lib/src/monty-sandbox.js +8 -8
  28. package/lib/src/observability.d.ts +6 -5
  29. package/lib/src/observability.js +8 -6
  30. package/lib/src/plugin.d.ts +1 -1
  31. package/lib/src/plugin.js +49 -51
  32. package/lib/src/remote-skills.d.ts +3 -4
  33. package/lib/src/remote-skills.js +46 -46
  34. package/lib/src/rest.d.ts +2 -2
  35. package/lib/src/rest.js +3 -3
  36. package/lib/src/server.js +17 -20
  37. package/lib/src/serving.js +10 -11
  38. package/lib/src/statement.js +7 -7
  39. package/lib/src/storage-schema.js +4 -4
  40. package/lib/src/summarize.js +5 -5
  41. package/lib/src/telemetry.d.ts +0 -6
  42. package/lib/src/telemetry.js +34 -41
  43. package/lib/src/validation.js +3 -4
  44. package/lib/src/workspaces.d.ts +2 -2
  45. package/lib/src/workspaces.js +34 -36
  46. package/lib/src/writer.d.ts +2 -2
  47. package/lib/src/writer.js +3 -3
  48. package/package.json +17 -305
  49. package/src/agents.ts +27 -21
  50. package/src/chart.ts +43 -37
  51. package/src/chat.ts +10 -12
  52. package/src/config.ts +14 -15
  53. package/src/evaluation.ts +6 -8
  54. package/src/feedback-mode.ts +1 -1
  55. package/src/filesystems.ts +5 -5
  56. package/src/follow-up-suggestions.ts +9 -9
  57. package/src/genie-chat.ts +32 -31
  58. package/src/genie.ts +29 -29
  59. package/src/identity.ts +3 -38
  60. package/src/memory.ts +24 -6
  61. package/src/mlflow.ts +21 -21
  62. package/src/model.ts +7 -7
  63. package/src/monty-sandbox.ts +7 -7
  64. package/src/observability.ts +8 -6
  65. package/src/plugin.ts +78 -65
  66. package/src/remote-skills.ts +63 -55
  67. package/src/rest.ts +4 -4
  68. package/src/server.ts +32 -20
  69. package/src/serving.ts +14 -11
  70. package/src/statement.ts +10 -6
  71. package/src/storage-schema.ts +3 -3
  72. package/src/summarize.ts +4 -4
  73. package/src/telemetry.ts +49 -55
  74. package/src/validation.ts +2 -3
  75. package/src/workspaces.ts +52 -42
  76. package/src/writer.ts +3 -3
@@ -40,8 +40,7 @@
40
40
  * @module
41
41
  */
42
42
  import type { WorkspaceClientLike } from "@dbx-tools/appkit";
43
- import { net } from "@dbx-tools/shared-core";
44
- import type { OneOrMany } from "@dbx-tools/shared-core";
43
+ import { type UrlLike, OneOrMany } from "@dbx-tools/shared-core";
45
44
  import { type FileSystem } from "@dbx-tools/shared-fs";
46
45
  /** Virtual workspace path reserved for locally provisioned Databricks AI Tools. */
47
46
  export declare const AITOOLS_SKILLS_MOUNT = "/.databricks/skills";
@@ -67,7 +66,7 @@ export type AiToolsSource = typeof AITOOLS_SOURCE;
67
66
  */
68
67
  export interface RemoteSkillSourceOptions {
69
68
  /** `"aitools"`, a GitHub shorthand, a git / GitLab URL, or a download URL. */
70
- source: net.UrlLike | AiToolsSource;
69
+ source: UrlLike | AiToolsSource;
71
70
  /** Stable virtual mount name under `/.skills`; generated from the source when omitted. */
72
71
  name?: string;
73
72
  /** Install only these skill names from the source. */
@@ -96,7 +95,7 @@ export interface RemoteSkillSourceOptions {
96
95
  * (string / `URL` / `{ url }`), or a {@link RemoteSkillSourceOptions} bag with
97
96
  * per-source policy.
98
97
  */
99
- export type RemoteSkillSource = net.UrlLike | AiToolsSource | RemoteSkillSourceOptions;
98
+ export type RemoteSkillSource = UrlLike | AiToolsSource | RemoteSkillSourceOptions;
100
99
  /**
101
100
  * The workspace `remoteSkills` option: one source, a non-empty list of them, or
102
101
  * a {@link ProvisionRemoteSkillsOptions} bag when top-level policy is needed.