@dbx-tools/appkit-memory 0.9.154 → 0.9.158

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/src/_mastra.ts CHANGED
@@ -6,8 +6,8 @@
6
6
  * @module
7
7
  */
8
8
 
9
- import { pluginRegistry } from "@dbx-tools/appkit";
10
- import { errorUtils, log, object } from "@dbx-tools/shared-core";
9
+ import { type PluginContextLike, instance } from "@dbx-tools/appkit";
10
+ import { log, toError, isRecord } from "@dbx-tools/shared-core";
11
11
 
12
12
  import type { MemoryTurn } from "./_contracts.ts";
13
13
 
@@ -20,11 +20,11 @@ interface MemoryMessage {
20
20
 
21
21
  /** Attach a memory-owned turn saver through Mastra's generic processor extension. */
22
22
  export async function attachMastraTurnSaver(
23
- context: pluginRegistry.PluginContextLike,
23
+ context: PluginContextLike,
24
24
  saveTurn: (turn: MemoryTurn, signal?: AbortSignal) => Promise<void>,
25
25
  ): Promise<boolean> {
26
26
  const mastraModule = await import("@dbx-tools/appkit-mastra");
27
- const plugin = pluginRegistry.instance(context, mastraModule.mastra);
27
+ const plugin = instance(context, mastraModule.mastra);
28
28
  if (!plugin) return false;
29
29
  plugin.exports().registerOutputProcessor((agentId) => ({
30
30
  id: `appkit_memory_${agentId}`,
@@ -51,7 +51,7 @@ export async function attachMastraTurnSaver(
51
51
  abortSignal,
52
52
  );
53
53
  } catch (error) {
54
- logger.warn("turn save failed", { error: errorUtils.toError(error), agentId });
54
+ logger.warn("turn save failed", { error: toError(error), agentId });
55
55
  }
56
56
  return messageList;
57
57
  },
@@ -68,9 +68,7 @@ function latestText(
68
68
  if (message?.role !== role) continue;
69
69
  const text = message.content.parts
70
70
  .flatMap((part) =>
71
- object.isRecord(part) && part.type === "text" && typeof part.text === "string"
72
- ? [part.text]
73
- : [],
71
+ isRecord(part) && part.type === "text" && typeof part.text === "string" ? [part.text] : [],
74
72
  )
75
73
  .join("\n")
76
74
  .trim();
package/src/config.ts CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  import type { BasePluginConfig } from "@databricks/appkit";
8
8
  import { projectUtils } from "@dbx-tools/core";
9
- import { stringUtils } from "@dbx-tools/shared-core";
9
+ import { toSlugWithOptions } from "@dbx-tools/shared-core";
10
10
  import {
11
11
  GraphitiOptionsSchema,
12
12
  graphitiOptionOverrides,
@@ -119,10 +119,7 @@ export function resolveMemoryPluginConfig(
119
119
  }
120
120
 
121
121
  function defaultMemoryStore(): string {
122
- const slug = stringUtils.toSlugWithOptions(
123
- { maxLength: 56, truncateStrategy: "hash" },
124
- projectUtils.name(),
125
- );
122
+ const slug = toSlugWithOptions({ maxLength: 56, truncateStrategy: "hash" }, projectUtils.name());
126
123
  const id = /^[a-z]/.test(slug) ? slug : `app-${slug}`;
127
124
  return (id.length < 3 ? `${id}-store` : id).slice(0, 56);
128
125
  }
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  import { getExecutionContext, type WorkspaceClient } from "@databricks/appkit";
8
- import { createCache, getOrSet } from "@dbx-tools/cache/cache";
8
+ import { createCache, getOrSet } from "@dbx-tools/cache";
9
9
 
10
10
  import {
11
11
  RecallMemoryInputSchema,
@@ -5,8 +5,8 @@
5
5
  */
6
6
 
7
7
  import type { WorkspaceClient } from "@databricks/appkit";
8
- import { databricks } from "@dbx-tools/appkit";
9
- import { errorUtils } from "@dbx-tools/shared-core";
8
+ import { toContext } from "@dbx-tools/appkit";
9
+ import { errorContext } from "@dbx-tools/shared-core";
10
10
  import { z } from "zod";
11
11
 
12
12
  import type { ResolvedDatabricksMemoryOptions } from "../config.ts";
@@ -86,11 +86,11 @@ export class ManagedAgentMemoryClient {
86
86
  headers: new Headers({ accept: "application/json" }),
87
87
  raw: false,
88
88
  },
89
- signal ? databricks.toContext(signal) : undefined,
89
+ signal ? toContext(signal) : undefined,
90
90
  );
91
91
  return true;
92
92
  } catch (error) {
93
- if (errorUtils.errorContext(error).hasStatusCode(403, 404)) return false;
93
+ if (errorContext(error).hasStatusCode(403, 404)) return false;
94
94
  throw error;
95
95
  }
96
96
  }
@@ -117,7 +117,7 @@ export class ManagedAgentMemoryClient {
117
117
  page_size: input.limit,
118
118
  },
119
119
  },
120
- input.signal ? databricks.toContext(input.signal) : undefined,
120
+ input.signal ? toContext(input.signal) : undefined,
121
121
  ),
122
122
  );
123
123
  if (response.results) {
@@ -143,7 +143,7 @@ export class ManagedAgentMemoryClient {
143
143
  try {
144
144
  return await this.createMemory(input);
145
145
  } catch (error) {
146
- if (!errorUtils.errorContext(error).hasStatusCode(409)) throw error;
146
+ if (!errorContext(error).hasStatusCode(409)) throw error;
147
147
  const raced = (await this.listMemoryEntries(input))[0];
148
148
  if (!raced?.name) throw error;
149
149
  return this.updateMemory(raced as ManagedMemoryEntry & { name: string }, input);
@@ -175,7 +175,7 @@ export class ManagedAgentMemoryClient {
175
175
  source_type: "MANAGED_MEMORY_ENTRY_SOURCE_TYPE_AGENT",
176
176
  },
177
177
  },
178
- input.signal ? databricks.toContext(input.signal) : undefined,
178
+ input.signal ? toContext(input.signal) : undefined,
179
179
  ),
180
180
  );
181
181
  }
@@ -198,7 +198,7 @@ export class ManagedAgentMemoryClient {
198
198
  },
199
199
  raw: false,
200
200
  },
201
- input.signal ? databricks.toContext(input.signal) : undefined,
201
+ input.signal ? toContext(input.signal) : undefined,
202
202
  ),
203
203
  );
204
204
  return (response.managed_memory_entries ?? []).filter((entry) => entry.path === input.path);
@@ -7,10 +7,17 @@
7
7
  import { createHash, randomBytes } from "node:crypto";
8
8
  import { createServer } from "node:net";
9
9
  import { ConfigurationError } from "@databricks/appkit";
10
- import { openApiTools, type OpenApiTool } from "@dbx-tools/appkit/openapi-tool";
11
- import { profile as authProfile } from "@dbx-tools/auth";
12
- import { configUtils } from "@dbx-tools/core";
13
- import type { ChildProcessResult } from "@dbx-tools/core/exec";
10
+ import { openApiTools, type OpenApiTool } from "@dbx-tools/appkit";
11
+ import { resolveProfile } from "@dbx-tools/auth";
12
+ import { configUtils, ENV_ONLY } from "@dbx-tools/core";
13
+ import type { ChildProcessResult } from "@dbx-tools/core";
14
+ import {
15
+ type ResolvedGraphitiOptions,
16
+ type GraphitiOptions,
17
+ resolveGraphitiOptions,
18
+ graphitiOptionsFromEnvironment,
19
+ graphitiOptionOverrides,
20
+ } from "@dbx-tools/shared-graphiti";
14
21
  import { z } from "zod";
15
22
 
16
23
  import {
@@ -21,13 +28,6 @@ import {
21
28
  type RememberMemoryInput,
22
29
  type RememberMemoryResult,
23
30
  } from "../_contracts.ts";
24
- import {
25
- graphitiOptionOverrides,
26
- graphitiOptionsFromEnvironment,
27
- resolveGraphitiOptions,
28
- type GraphitiOptions,
29
- type ResolvedGraphitiOptions,
30
- } from "./options.ts";
31
31
  import {
32
32
  createGraphitiChildProcess,
33
33
  graphitiHealthCheck,
@@ -187,7 +187,7 @@ export async function startGraphitiBackend(
187
187
  throw new Error("AppKit memory requires a TCP Graphiti listener");
188
188
  }
189
189
  const [graphitiPort] = await distinctPorts(
190
- configUtils.port(undefined, "DATABRICKS_APP_PORT", 8000, configUtils.ENV_ONLY),
190
+ configUtils.port(undefined, "DATABRICKS_APP_PORT", 8000, ENV_ONLY),
191
191
  configured.listen.port,
192
192
  );
193
193
  const resolved = resolveGraphitiOptions({
@@ -226,7 +226,7 @@ export async function startGraphitiBackend(
226
226
 
227
227
  function resolveGraphitiConfig(options: GraphitiOptions): ResolvedGraphitiOptions {
228
228
  const environment = graphitiOptionsFromEnvironment(process.env);
229
- if (environment.profile && !authProfile.resolveProfile({ profile: environment.profile })) {
229
+ if (environment.profile && !resolveProfile({ profile: environment.profile })) {
230
230
  environment.profile = undefined;
231
231
  }
232
232
  const overrides = graphitiOptionOverrides(options);
@@ -5,22 +5,16 @@
5
5
  */
6
6
 
7
7
  import { delimiter, dirname } from "node:path";
8
- import { exec } from "@dbx-tools/core";
9
- import type { ChildProcessResult } from "@dbx-tools/core/exec";
8
+ import { spawn } from "@dbx-tools/core";
9
+ import type { ChildProcessResult } from "@dbx-tools/core";
10
+ import { poll, isDatabricksAppEnv, memoize, formatListenAddress } from "@dbx-tools/shared-core";
10
11
  import {
11
- asyncUtils,
12
- environmentUtils,
13
- functionUtils,
14
- options as sharedOptions,
15
- } from "@dbx-tools/shared-core";
16
- import { coerce, rcompare, type SemVer } from "semver";
17
-
18
- import {
19
- graphitiOptionsEnvironment,
20
- resolveGraphitiOptions,
21
12
  type GraphitiOptions,
22
13
  type ResolvedGraphitiOptions,
23
- } from "./options.ts";
14
+ graphitiOptionsEnvironment,
15
+ resolveGraphitiOptions,
16
+ } from "@dbx-tools/shared-graphiti";
17
+ import { coerce, rcompare, type SemVer } from "semver";
24
18
 
25
19
  /** Context passed to one Graphiti sidecar readiness probe. */
26
20
  export interface GraphitiHealthCheckContext {
@@ -56,7 +50,7 @@ interface PythonCandidate {
56
50
  version: SemVer;
57
51
  }
58
52
 
59
- const graphitiPython = functionUtils.memoize(async (): Promise<string | undefined> => {
53
+ const graphitiPython = memoize(async (): Promise<string | undefined> => {
60
54
  const available = (
61
55
  await Promise.all(PYTHON_CANDIDATES.map((command) => _probePython(command)))
62
56
  ).filter((candidate): candidate is PythonCandidate => candidate !== undefined);
@@ -64,7 +58,7 @@ const graphitiPython = functionUtils.memoize(async (): Promise<string | undefine
64
58
  return available[0]?.command;
65
59
  });
66
60
 
67
- function graphitiOptions(options: GraphitiRuntimeOptions): GraphitiOptions {
61
+ function graphitiRuntimeOptions(options: GraphitiRuntimeOptions): GraphitiOptions {
68
62
  const { healthCheck: _healthCheck, signal: _signal, ...graphiti } = options;
69
63
  return graphiti;
70
64
  }
@@ -112,7 +106,7 @@ export async function waitForGraphitiHealth(
112
106
  signal?: AbortSignal,
113
107
  ): Promise<void> {
114
108
  const budget = Math.max(1, timeoutMs);
115
- for await (const healthy of asyncUtils.poll(
109
+ for await (const healthy of poll(
116
110
  ({ signal: pollSignal }) => graphitiHealthCheck(options, pollSignal),
117
111
  {
118
112
  intervalMs: HEALTH_CHECK_INTERVAL_MS,
@@ -146,7 +140,7 @@ export async function resolveGraphitiPythonCommand(
146
140
  ): Promise<GraphitiPythonCommand> {
147
141
  const python = process.env.PYTHON?.trim();
148
142
  if (python) return { command: python, args };
149
- if (environmentUtils.isDatabricksAppEnv()) {
143
+ if (isDatabricksAppEnv()) {
150
144
  const installed = await graphitiPython();
151
145
  if (installed) return { command: installed, args };
152
146
  }
@@ -162,7 +156,7 @@ export async function resolveGraphitiPythonCommand(
162
156
  }
163
157
 
164
158
  async function _probePython(command: string): Promise<PythonCandidate | undefined> {
165
- const versionResult = await exec.spawn(command, ["-V"], {
159
+ const versionResult = await spawn(command, ["-V"], {
166
160
  check: false,
167
161
  stdin: "ignore",
168
162
  stdout: "capture",
@@ -173,7 +167,7 @@ async function _probePython(command: string): Promise<PythonCandidate | undefine
173
167
  const version = coerce(`${versionResult.stdout}\n${versionResult.stderr}`);
174
168
  if (!version) return undefined;
175
169
 
176
- const importResult = await exec.spawn(command, ["-c", GRAPHITI_IMPORT_PROBE], {
170
+ const importResult = await spawn(command, ["-c", GRAPHITI_IMPORT_PROBE], {
177
171
  check: false,
178
172
  stdin: "ignore",
179
173
  stdout: "ignore",
@@ -187,9 +181,10 @@ export function graphitiHttpUrl(
187
181
  options: Pick<ResolvedGraphitiOptions, "listen">,
188
182
  path: string,
189
183
  ): string {
190
- return `${sharedOptions
191
- .formatListenAddress(options.listen)
192
- .replace(/^tcp:/, "http:")}${path.startsWith("/") ? path : `/${path}`}`;
184
+ return `${formatListenAddress(options.listen).replace(
185
+ /^tcp:/,
186
+ "http:",
187
+ )}${path.startsWith("/") ? path : `/${path}`}`;
193
188
  }
194
189
 
195
190
  /** Build one readiness-gated Graphiti sidecar from the shared typed options. */
@@ -197,13 +192,13 @@ export async function createGraphitiChildProcess(
197
192
  options: GraphitiRuntimeOptions = {},
198
193
  ): Promise<GraphitiChildProcess> {
199
194
  const healthCheck = options.healthCheck;
200
- const resolved = resolveGraphitiOptions(graphitiOptions(options));
195
+ const resolved = resolveGraphitiOptions(graphitiRuntimeOptions(options));
201
196
  const python = await resolveGraphitiPythonCommand(
202
197
  { dev: !resolved.databaseUrl },
203
198
  "-m",
204
199
  "dbx_tools.graphiti",
205
200
  );
206
- const child = exec.spawn(python.command, python.args, {
201
+ const child = spawn(python.command, python.args, {
207
202
  env: _runtimeEnvironment(resolved),
208
203
  forwardTerminationSignals: false,
209
204
  });
@@ -237,7 +232,7 @@ async function waitForGraphitiChild(
237
232
  timeoutMs: number,
238
233
  signal: AbortSignal,
239
234
  ): Promise<void> {
240
- for await (const healthy of asyncUtils.poll(
235
+ for await (const healthy of poll(
241
236
  ({ attempt, signal: pollSignal }) =>
242
237
  healthCheck({ process: child, signal: pollSignal, attempt }),
243
238
  {
package/src/plugin.ts CHANGED
@@ -13,12 +13,12 @@ import {
13
13
  type ToolRegistry,
14
14
  } from "@databricks/appkit/beta";
15
15
  import {
16
- appkit as dbxAppkit,
17
- toolkitEntries,
18
16
  ToolRegistryPlugin,
19
17
  type AgentToolExecutionContext,
18
+ tryGetExecutionContext,
19
+ entries,
20
20
  } from "@dbx-tools/appkit";
21
- import { errorUtils, log } from "@dbx-tools/shared-core";
21
+ import { errorContext, logger } from "@dbx-tools/shared-core";
22
22
 
23
23
  import {
24
24
  RecallMemoryInputSchema,
@@ -50,7 +50,7 @@ export class MemoryPlugin extends ToolRegistryPlugin<MemoryPluginConfig> {
50
50
  config: { schema: MEMORY_CONFIG_SCHEMA },
51
51
  };
52
52
 
53
- private readonly logger = log.logger(this);
53
+ private readonly logger = logger(this);
54
54
  private resolved?: ResolvedMemoryPluginConfig;
55
55
  private databricks?: DatabricksMemoryRuntime;
56
56
  private graphiti?: GraphitiMemoryBackend;
@@ -96,7 +96,7 @@ export class MemoryPlugin extends ToolRegistryPlugin<MemoryPluginConfig> {
96
96
  }
97
97
 
98
98
  async toolkit(options?: ToolkitOptions): Promise<Record<string, ToolkitEntry>> {
99
- return toolkitEntries.entries("memory", this.getAgentTools(), {
99
+ return entries("memory", this.getAgentTools(), {
100
100
  ...options,
101
101
  prefix: options?.prefix ?? "",
102
102
  });
@@ -205,7 +205,7 @@ export class MemoryPlugin extends ToolRegistryPlugin<MemoryPluginConfig> {
205
205
  return (
206
206
  configured !== false &&
207
207
  configured.mode === "auto" &&
208
- errorUtils.errorContext(error).hasStatusCode(403, 404)
208
+ errorContext(error).hasStatusCode(403, 404)
209
209
  );
210
210
  }
211
211
 
@@ -239,7 +239,7 @@ export class MemoryPlugin extends ToolRegistryPlugin<MemoryPluginConfig> {
239
239
 
240
240
  private actorId(resourceId?: string): string {
241
241
  if (resourceId) return resourceId;
242
- const context = dbxAppkit.tryGetExecutionContext();
242
+ const context = tryGetExecutionContext();
243
243
  if (!context) throw new Error("Memory tools require an AppKit execution context");
244
244
  return "userId" in context ? context.userId : context.serviceUserId;
245
245
  }
@@ -1,6 +0,0 @@
1
- // GENERATED by projen watch - DO NOT EDIT.
2
- // Regenerated from the exporting modules in ./src.
3
- // Hand edits are overwritten on the next watch; this file is read-only.
4
- export * as client from "./client.js";
5
- export { ManagedMemoryEntrySchema, ManagedAgentMemoryClient } from "./client.js";
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZGF0YWJyaWNrcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSwyQ0FBMkM7QUFDM0MsbURBQW1EO0FBQ25ELHdFQUF3RTtBQUV4RSxPQUFPLEtBQUssTUFBTSxNQUFNLGFBQWEsQ0FBQztBQUN0QyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBHRU5FUkFURUQgYnkgcHJvamVuIHdhdGNoIC0gRE8gTk9UIEVESVQuXG4vLyBSZWdlbmVyYXRlZCBmcm9tIHRoZSBleHBvcnRpbmcgbW9kdWxlcyBpbiAuL3NyYy5cbi8vIEhhbmQgZWRpdHMgYXJlIG92ZXJ3cml0dGVuIG9uIHRoZSBuZXh0IHdhdGNoOyB0aGlzIGZpbGUgaXMgcmVhZC1vbmx5LlxuXG5leHBvcnQgKiBhcyBjbGllbnQgZnJvbSBcIi4vY2xpZW50LnRzXCI7XG5leHBvcnQgeyBNYW5hZ2VkTWVtb3J5RW50cnlTY2hlbWEsIE1hbmFnZWRBZ2VudE1lbW9yeUNsaWVudCB9IGZyb20gXCIuL2NsaWVudC50c1wiO1xuZXhwb3J0IHR5cGUgeyBNYW5hZ2VkTWVtb3J5RW50cnksIE1hbmFnZWRNZW1vcnlTZWFyY2hSZXN1bHQgfSBmcm9tIFwiLi9jbGllbnQudHNcIjtcbiJdfQ==
@@ -1,3 +0,0 @@
1
- export * as options from "./options.ts";
2
- export * as runtime from "./runtime.ts";
3
- export type { GraphitiHealthCheckContext, GraphitiHealthCheck, GraphitiChildProcess, GraphitiRuntimeOptions, GraphitiPythonCommand } from "./runtime.ts";
@@ -1,6 +0,0 @@
1
- // GENERATED by projen watch - DO NOT EDIT.
2
- // Regenerated from the exporting modules in ./src.
3
- // Hand edits are overwritten on the next watch; this file is read-only.
4
- export * as options from "./options.js";
5
- export * as runtime from "./runtime.js";
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZ3JhcGhpdGkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMkNBQTJDO0FBQzNDLG1EQUFtRDtBQUNuRCx3RUFBd0U7QUFFeEUsT0FBTyxLQUFLLE9BQU8sTUFBTSxjQUFjLENBQUM7QUFDeEMsT0FBTyxLQUFLLE9BQU8sTUFBTSxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBHRU5FUkFURUQgYnkgcHJvamVuIHdhdGNoIC0gRE8gTk9UIEVESVQuXG4vLyBSZWdlbmVyYXRlZCBmcm9tIHRoZSBleHBvcnRpbmcgbW9kdWxlcyBpbiAuL3NyYy5cbi8vIEhhbmQgZWRpdHMgYXJlIG92ZXJ3cml0dGVuIG9uIHRoZSBuZXh0IHdhdGNoOyB0aGlzIGZpbGUgaXMgcmVhZC1vbmx5LlxuXG5leHBvcnQgKiBhcyBvcHRpb25zIGZyb20gXCIuL29wdGlvbnMudHNcIjtcbmV4cG9ydCAqIGFzIHJ1bnRpbWUgZnJvbSBcIi4vcnVudGltZS50c1wiO1xuZXhwb3J0IHR5cGUgeyBHcmFwaGl0aUhlYWx0aENoZWNrQ29udGV4dCwgR3JhcGhpdGlIZWFsdGhDaGVjaywgR3JhcGhpdGlDaGlsZFByb2Nlc3MsIEdyYXBoaXRpUnVudGltZU9wdGlvbnMsIEdyYXBoaXRpUHl0aG9uQ29tbWFuZCB9IGZyb20gXCIuL3J1bnRpbWUudHNcIjtcbiJdfQ==
@@ -1,7 +0,0 @@
1
- /**
2
- * Node export of the shared Graphiti option contract.
3
- *
4
- * @module
5
- */
6
- export { GRAPHITI_DEFAULTS, GraphitiCliOptionsSchema, GraphitiOptionsSchema, ResolvedGraphitiOptionsSchema, graphitiOptionOverrides, graphitiOptionsEnvironment, graphitiOptionsFromEnvironment, resolveGraphitiOptions, } from "@dbx-tools/shared-graphiti";
7
- export type { GraphitiOptions, ResolvedGraphitiOptions } from "@dbx-tools/shared-graphiti";
@@ -1,7 +0,0 @@
1
- /**
2
- * Node export of the shared Graphiti option contract.
3
- *
4
- * @module
5
- */
6
- export { GRAPHITI_DEFAULTS, GraphitiCliOptionsSchema, GraphitiOptionsSchema, ResolvedGraphitiOptionsSchema, graphitiOptionOverrides, graphitiOptionsEnvironment, graphitiOptionsFromEnvironment, resolveGraphitiOptions, } from "@dbx-tools/shared-graphiti";
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9ncmFwaGl0aS9vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7O0dBSUc7QUFFSCxPQUFPLEVBQ0wsaUJBQWlCLEVBQ2pCLHdCQUF3QixFQUN4QixxQkFBcUIsRUFDckIsNkJBQTZCLEVBQzdCLHVCQUF1QixFQUN2QiwwQkFBMEIsRUFDMUIsOEJBQThCLEVBQzlCLHNCQUFzQixHQUN2QixNQUFNLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBOb2RlIGV4cG9ydCBvZiB0aGUgc2hhcmVkIEdyYXBoaXRpIG9wdGlvbiBjb250cmFjdC5cbiAqXG4gKiBAbW9kdWxlXG4gKi9cblxuZXhwb3J0IHtcbiAgR1JBUEhJVElfREVGQVVMVFMsXG4gIEdyYXBoaXRpQ2xpT3B0aW9uc1NjaGVtYSxcbiAgR3JhcGhpdGlPcHRpb25zU2NoZW1hLFxuICBSZXNvbHZlZEdyYXBoaXRpT3B0aW9uc1NjaGVtYSxcbiAgZ3JhcGhpdGlPcHRpb25PdmVycmlkZXMsXG4gIGdyYXBoaXRpT3B0aW9uc0Vudmlyb25tZW50LFxuICBncmFwaGl0aU9wdGlvbnNGcm9tRW52aXJvbm1lbnQsXG4gIHJlc29sdmVHcmFwaGl0aU9wdGlvbnMsXG59IGZyb20gXCJAZGJ4LXRvb2xzL3NoYXJlZC1ncmFwaGl0aVwiO1xuZXhwb3J0IHR5cGUgeyBHcmFwaGl0aU9wdGlvbnMsIFJlc29sdmVkR3JhcGhpdGlPcHRpb25zIH0gZnJvbSBcIkBkYngtdG9vbHMvc2hhcmVkLWdyYXBoaXRpXCI7XG4iXX0=
@@ -1,7 +0,0 @@
1
- // GENERATED by projen watch - DO NOT EDIT.
2
- // Regenerated from the exporting modules in ./src.
3
- // Hand edits are overwritten on the next watch; this file is read-only.
4
-
5
- export * as options from "./options.ts";
6
- export * as runtime from "./runtime.ts";
7
- export type { GraphitiHealthCheckContext, GraphitiHealthCheck, GraphitiChildProcess, GraphitiRuntimeOptions, GraphitiPythonCommand } from "./runtime.ts";
@@ -1,17 +0,0 @@
1
- /**
2
- * Node export of the shared Graphiti option contract.
3
- *
4
- * @module
5
- */
6
-
7
- export {
8
- GRAPHITI_DEFAULTS,
9
- GraphitiCliOptionsSchema,
10
- GraphitiOptionsSchema,
11
- ResolvedGraphitiOptionsSchema,
12
- graphitiOptionOverrides,
13
- graphitiOptionsEnvironment,
14
- graphitiOptionsFromEnvironment,
15
- resolveGraphitiOptions,
16
- } from "@dbx-tools/shared-graphiti";
17
- export type { GraphitiOptions, ResolvedGraphitiOptions } from "@dbx-tools/shared-graphiti";