@memorilabs/axon 0.1.1 → 0.1.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/README.md CHANGED
@@ -50,14 +50,14 @@ const axon = new Axon();
50
50
  axon.llm.register(client);
51
51
 
52
52
  // 3. Register a Before Hook (e.g., logging or modifying prompts)
53
- axon.before.register((req, ctx) => {
53
+ axon.hook.before((req, ctx) => {
54
54
  console.log(`[${ctx.traceId}] Intercepted request to model: ${req.model}`);
55
55
  // You can modify the request here before it hits the provider
56
56
  return req;
57
57
  });
58
58
 
59
59
  // 4. Register an After Hook (e.g., token usage tracking)
60
- axon.after.register((req, res, ctx) => {
60
+ axon.hook.after((req, res, ctx) => {
61
61
  console.log(`[${ctx.traceId}] Received response. Tokens used: ${res.usage?.totalTokens}`);
62
62
  });
63
63
 
@@ -1,6 +1,5 @@
1
- import { HookRegistry } from '../hooks/registry.js';
2
1
  import { LLMRegistry } from '../llm/registry.js';
3
- import { CallContext, LLMRequest, LLMResponse } from '../types/index.js';
2
+ import { AfterHook, BeforeHook, CallContext, LLMRequest, LLMResponse } from '../types/index.js';
4
3
  /**
5
4
  * The central hub for the Axon SDK.
6
5
  *
@@ -9,7 +8,7 @@ import { CallContext, LLMRequest, LLMResponse } from '../types/index.js';
9
8
  * - Hook execution (before/after calls).
10
9
  * @example
11
10
  * ```ts
12
- * import { Axon } from 'axon';
11
+ * import { Axon } from '@memorilabs/axon';
13
12
  * import { OpenAI } from 'openai';
14
13
  *
15
14
  * const axon = new Axon();
@@ -19,8 +18,8 @@ import { CallContext, LLMRequest, LLMResponse } from '../types/index.js';
19
18
  * axon.llm.register(client);
20
19
  *
21
20
  * // 2. Add hooks
22
- * axon.before.register((req) => {
23
- * console.log('Sending to:', req.model);
21
+ * axon.hook.before((req, ctx) => {
22
+ * console.log(`[${ctx.traceId}] Sending to: ${req.model}`);
24
23
  * return req;
25
24
  * });
26
25
  *
@@ -31,10 +30,41 @@ import { CallContext, LLMRequest, LLMResponse } from '../types/index.js';
31
30
  export declare class Axon {
32
31
  /** Registry for managing third-party LLM providers. */
33
32
  readonly llm: LLMRegistry;
34
- /** Registry for hooks that run *before* the LLM call. */
35
- readonly before: HookRegistry<'before'>;
36
- /** Registry for hooks that run *after* the LLM call. */
37
- readonly after: HookRegistry<'after'>;
33
+ /** * Namespace for registering LLM lifecycle hooks.
34
+ * Hooks allow you to intercept, observe, and modify requests and responses.
35
+ */
36
+ readonly hook: {
37
+ /**
38
+ * Registers a hook function to run *before* the LLM call is executed.
39
+ * Hooks are executed sequentially in the order they are added.
40
+ *
41
+ * @param fn - The hook function to execute. It can optionally return a modified request, or a Promise resolving to one.
42
+ * @example
43
+ * ```ts
44
+ * axon.hook.before((req, ctx) => {
45
+ * console.log(`[${ctx.traceId}] Sending prompt to ${req.model}`);
46
+ * return req;
47
+ * });
48
+ * ```
49
+ */
50
+ before: (fn: BeforeHook) => void;
51
+ /**
52
+ * Registers a hook function to run *after* the LLM call completes or streams.
53
+ * Hooks are executed sequentially in the order they are added.
54
+ *
55
+ * @param fn - The hook function to execute. It can optionally return a modified response, or a Promise resolving to one.
56
+ * @example
57
+ * ```ts
58
+ * axon.hook.after((req, res, ctx) => {
59
+ * console.log(`[${ctx.traceId}] Received ${res.usage?.totalTokens} tokens`);
60
+ * console.log(`[${ctx.traceId}] AI Response: ${res.content}`);
61
+ * });
62
+ * ```
63
+ */
64
+ after: (fn: AfterHook) => void;
65
+ };
66
+ private readonly beforePipeline;
67
+ private readonly afterPipeline;
38
68
  /**
39
69
  * Creates a new Axon instance.
40
70
  */
@@ -1 +1 @@
1
- {"version":3,"file":"axon.d.ts","sourceRoot":"","sources":["../../src/core/axon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAA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UAAU,EAAE,GAAG,EAAE,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC;IAI3E;;;OAGG;IACG,QAAQ,CACZ,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,WAAW,EACrB,GAAG,EAAE,WAAW,GACf,OAAO,CAAC,WAAW,CAAC;CAGxB"}
package/dist/core/axon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { HookRegistry } from '../hooks/registry.js';
1
+ import { HookPipeline } from '../hooks/pipeline.js';
2
2
  import { LLMRegistry } from '../llm/registry.js';
3
3
  /**
4
4
  * The central hub for the Axon SDK.
@@ -8,7 +8,7 @@ import { LLMRegistry } from '../llm/registry.js';
8
8
  * - Hook execution (before/after calls).
9
9
  * @example
10
10
  * ```ts
11
- * import { Axon } from 'axon';
11
+ * import { Axon } from '@memorilabs/axon';
12
12
  * import { OpenAI } from 'openai';
13
13
  *
14
14
  * const axon = new Axon();
@@ -18,8 +18,8 @@ import { LLMRegistry } from '../llm/registry.js';
18
18
  * axon.llm.register(client);
19
19
  *
20
20
  * // 2. Add hooks
21
- * axon.before.register((req) => {
22
- * console.log('Sending to:', req.model);
21
+ * axon.hook.before((req, ctx) => {
22
+ * console.log(`[${ctx.traceId}] Sending to: ${req.model}`);
23
23
  * return req;
24
24
  * });
25
25
  *
@@ -30,31 +30,41 @@ import { LLMRegistry } from '../llm/registry.js';
30
30
  export class Axon {
31
31
  /** Registry for managing third-party LLM providers. */
32
32
  llm;
33
- /** Registry for hooks that run *before* the LLM call. */
34
- before;
35
- /** Registry for hooks that run *after* the LLM call. */
36
- after;
33
+ /** * Namespace for registering LLM lifecycle hooks.
34
+ * Hooks allow you to intercept, observe, and modify requests and responses.
35
+ */
36
+ hook;
37
+ beforePipeline;
38
+ afterPipeline;
37
39
  /**
38
40
  * Creates a new Axon instance.
39
41
  */
40
42
  constructor() {
41
43
  this.llm = new LLMRegistry(this);
42
- this.before = new HookRegistry('before');
43
- this.after = new HookRegistry('after');
44
+ this.beforePipeline = new HookPipeline('before');
45
+ this.afterPipeline = new HookPipeline('after');
46
+ this.hook = {
47
+ before: (fn) => {
48
+ this.beforePipeline.add(fn);
49
+ },
50
+ after: (fn) => {
51
+ this.afterPipeline.add(fn);
52
+ },
53
+ };
44
54
  }
45
55
  /**
46
56
  * Executes the 'before' hook pipeline.
47
57
  * @internal
48
58
  */
49
59
  async runBefore(request, ctx) {
50
- return (await this.before.execute(request, ctx));
60
+ return (await this.beforePipeline.execute(request, ctx));
51
61
  }
52
62
  /**
53
63
  * Executes the 'after' hook pipeline.
54
64
  * @internal
55
65
  */
56
66
  async runAfter(request, response, ctx) {
57
- return (await this.after.execute(request, response, ctx));
67
+ return (await this.afterPipeline.execute(request, response, ctx));
58
68
  }
59
69
  }
60
70
  //# sourceMappingURL=axon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"axon.js","sourceRoot":"","sources":["../../src/core/axon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,OAAO,IAAI;IACf,uDAAuD;IACvC,GAAG,CAAc;IACjC,yDAAyD;IACzC,MAAM,CAAyB;IAC/C,wDAAwD;IACxC,KAAK,CAAwB;IAE7C;;OAEG;IACH;QACE,IAAI,CAAC,GAAG,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,MAAM,GAAG,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAC;QACzC,IAAI,CAAC,KAAK,GAAG,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,SAAS,CAAC,OAAmB,EAAE,GAAgB;QACnD,OAAO,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAe,CAAC;IACjE,C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;;OAGG;IACH,KAAK,CAAC,QAAQ,CACZ,OAAmB,EACnB,QAAqB,EACrB,GAAgB;QAEhB,OAAO,CAAC,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAgB,CAAC;IACnF,CAAC;CACF"}
@@ -0,0 +1,27 @@
1
+ import { AfterHook, BeforeHook } from '../types/index.js';
2
+ export type HookType<P> = P extends 'before' ? BeforeHook : AfterHook;
3
+ /**
4
+ * Manages and executes a sequential pipeline of lifecycle hooks.
5
+ * This is an internal execution engine for `axon.hooks`.
6
+ *
7
+ * @typeParam P - The lifecycle phase this pipeline manages ('before' or 'after').
8
+ * @internal
9
+ */
10
+ export declare class HookPipeline<P extends 'before' | 'after'> {
11
+ private readonly phase;
12
+ private hooks;
13
+ constructor(phase: P);
14
+ /**
15
+ * Adds a new hook function to the pipeline.
16
+ * Hooks are executed sequentially in the order they are added.
17
+ *
18
+ * @param fn - The hook function to add to the pipeline.
19
+ */
20
+ add(fn: HookType<P>): void;
21
+ /**
22
+ * Executes the pipeline of hooks in sequence.
23
+ * @internal
24
+ */
25
+ execute(...args: unknown[]): Promise<unknown>;
26
+ }
27
+ //# sourceMappingURL=pipeline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../src/hooks/pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAwC,MAAM,mBAAmB,CAAC;AAEhG,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,SAAS,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;AAEtE;;;;;;GAMG;AACH,qBAAa,YAAY,CAAC,CAAC,SAAS,QAAQ,GAAG,OAAO;IAGxC,OAAO,CAAC,QAAQ,CAAC,KAAK;IAFlC,OAAO,CAAC,KAAK,CAA0B;gBAEV,KAAK,EAAE,CAAC;IAErC;;;;;OAKG;IACH,GAAG,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI;IAI1B;;;OAGG;IACG,OAAO,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;CAyBpD"}
@@ -1,37 +1,27 @@
1
1
  /**
2
- * Manages a list of lifecycle hooks for a specific phase.
2
+ * Manages and executes a sequential pipeline of lifecycle hooks.
3
+ * This is an internal execution engine for `axon.hooks`.
3
4
  *
4
- * @typeParam P - The lifecycle phase this registry manages ('before' or 'after').
5
+ * @typeParam P - The lifecycle phase this pipeline manages ('before' or 'after').
6
+ * @internal
5
7
  */
6
- export class HookRegistry {
8
+ export class HookPipeline {
7
9
  phase;
8
10
  hooks = [];
9
11
  constructor(phase) {
10
12
  this.phase = phase;
11
13
  }
12
14
  /**
13
- * Registers a new hook function.
14
- * Hooks are executed sequentially in the order they are registered.
15
+ * Adds a new hook function to the pipeline.
16
+ * Hooks are executed sequentially in the order they are added.
15
17
  *
16
- * @param fn - The hook function to execute. It can optionally return a modified request/response, or a Promise resolving to one.
17
- * * @example
18
- * ```ts
19
- * // Before Hook Example:
20
- * axon.before.register((req, ctx) => {
21
- * console.log(`Sending prompt to ${req.model}`);
22
- * return req; // Optional: return modified request
23
- * });
24
- * * // After Hook Example:
25
- * axon.after.register((req, res, ctx) => {
26
- * console.log(`Received ${res.usage?.totalTokens} tokens`);
27
- * });
28
- * ```
18
+ * @param fn - The hook function to add to the pipeline.
29
19
  */
30
- register(fn) {
20
+ add(fn) {
31
21
  this.hooks.push(fn);
32
22
  }
33
23
  /**
34
- * Executes all registered hooks in sequence.
24
+ * Executes the pipeline of hooks in sequence.
35
25
  * @internal
36
26
  */
37
27
  async execute(...args) {
@@ -59,4 +49,4 @@ export class HookRegistry {
59
49
  return undefined;
60
50
  }
61
51
  }
62
- //# sourceMappingURL=registry.js.map
52
+ //# sourceMappingURL=pipeline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipeline.js","sourceRo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,SAAS,CAAC;IACnB,CAAC;CACF"}
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "0.1.1";
1
+ export declare const SDK_VERSION = "0.1.2";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const SDK_VERSION = '0.1.1';
1
+ export const SDK_VERSION = '0.1.2';
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memorilabs/axon",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "TypeScript SDK for Memori's cloud memory service",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,37 +0,0 @@
1
- import { AfterHook, BeforeHook } from '../types/index.js';
2
- export type HookType<P> = P extends 'before' ? BeforeHook : AfterHook;
3
- /**
4
- * Manages a list of lifecycle hooks for a specific phase.
5
- *
6
- * @typeParam P - The lifecycle phase this registry manages ('before' or 'after').
7
- */
8
- export declare class HookRegistry<P extends 'before' | 'after'> {
9
- private readonly phase;
10
- private hooks;
11
- constructor(phase: P);
12
- /**
13
- * Registers a new hook function.
14
- * Hooks are executed sequentially in the order they are registered.
15
- *
16
- * @param fn - The hook function to execute. It can optionally return a modified request/response, or a Promise resolving to one.
17
- * * @example
18
- * ```ts
19
- * // Before Hook Example:
20
- * axon.before.register((req, ctx) => {
21
- * console.log(`Sending prompt to ${req.model}`);
22
- * return req; // Optional: return modified request
23
- * });
24
- * * // After Hook Example:
25
- * axon.after.register((req, res, ctx) => {
26
- * console.log(`Received ${res.usage?.totalTokens} tokens`);
27
- * });
28
- * ```
29
- */
30
- register(fn: HookType<P>): void;
31
- /**
32
- * Executes all registered hooks in sequence.
33
- * @internal
34
- */
35
- execute(...args: unknown[]): Promise<unknown>;
36
- }
37
- //# sourceMappingURL=registry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["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