raindrop-ai 0.0.65 → 0.0.67

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.
@@ -1,9 +1,22 @@
1
- import { Attachment } from '@dawn/schemas/ingest';
2
1
  import { Span as Span$1, HrTime, Attributes, SpanKind, SpanContext, SpanStatus, Link, Context } from '@opentelemetry/api';
3
2
  import { z } from 'zod';
4
3
  import { Resource } from '@opentelemetry/resources';
5
4
  import { SpanProcessorOptions } from '@traceloop/node-server-sdk';
6
5
 
6
+ type BaseAttachment = {
7
+ attachment_id?: string;
8
+ name?: string;
9
+ value: string;
10
+ role: "input" | "output";
11
+ };
12
+ type CodeAttachment = BaseAttachment & {
13
+ type: "code";
14
+ language?: string;
15
+ };
16
+ type OtherAttachment = BaseAttachment & {
17
+ type: "text" | "image" | "iframe";
18
+ };
19
+ type Attachment = CodeAttachment | OtherAttachment;
7
20
  /**
8
21
  * Interface for tracking events.
9
22
  *
@@ -565,4 +578,4 @@ declare class Raindrop {
565
578
  close(): Promise<void>;
566
579
  }
567
580
 
568
- export { type AiTrackEvent as A, type BeginInteractionOptions as B, type FinishInteractionOptions as F, type Interaction as I, MAX_INGEST_SIZE_BYTES as M, type PartialAiTrackEvent as P, Raindrop as R, type SpanProcessor as S, type Tracer as T, type WorkflowParams as W, type AttachmentType as a, type IdentifyEvent as b, type SignalEvent as c, type SpanParams as d, type ToolParams as e, type TraceContext as f };
581
+ export { type AiTrackEvent as A, type BeginInteractionOptions as B, type FinishInteractionOptions as F, type Interaction as I, MAX_INGEST_SIZE_BYTES as M, type PartialAiTrackEvent as P, Raindrop as R, type SpanProcessor as S, type Tracer as T, type WorkflowParams as W, type Attachment as a, type AttachmentType as b, type IdentifyEvent as c, type SignalEvent as d, type SpanParams as e, type ToolParams as f, type TraceContext as g };
@@ -1,9 +1,22 @@
1
- import { Attachment } from '@dawn/schemas/ingest';
2
1
  import { Span as Span$1, HrTime, Attributes, SpanKind, SpanContext, SpanStatus, Link, Context } from '@opentelemetry/api';
3
2
  import { z } from 'zod';
4
3
  import { Resource } from '@opentelemetry/resources';
5
4
  import { SpanProcessorOptions } from '@traceloop/node-server-sdk';
6
5
 
6
+ type BaseAttachment = {
7
+ attachment_id?: string;
8
+ name?: string;
9
+ value: string;
10
+ role: "input" | "output";
11
+ };
12
+ type CodeAttachment = BaseAttachment & {
13
+ type: "code";
14
+ language?: string;
15
+ };
16
+ type OtherAttachment = BaseAttachment & {
17
+ type: "text" | "image" | "iframe";
18
+ };
19
+ type Attachment = CodeAttachment | OtherAttachment;
7
20
  /**
8
21
  * Interface for tracking events.
9
22
  *
@@ -565,4 +578,4 @@ declare class Raindrop {
565
578
  close(): Promise<void>;
566
579
  }
567
580
 
568
- export { type AiTrackEvent as A, type BeginInteractionOptions as B, type FinishInteractionOptions as F, type Interaction as I, MAX_INGEST_SIZE_BYTES as M, type PartialAiTrackEvent as P, Raindrop as R, type SpanProcessor as S, type Tracer as T, type WorkflowParams as W, type AttachmentType as a, type IdentifyEvent as b, type SignalEvent as c, type SpanParams as d, type ToolParams as e, type TraceContext as f };
581
+ export { type AiTrackEvent as A, type BeginInteractionOptions as B, type FinishInteractionOptions as F, type Interaction as I, MAX_INGEST_SIZE_BYTES as M, type PartialAiTrackEvent as P, Raindrop as R, type SpanProcessor as S, type Tracer as T, type WorkflowParams as W, type Attachment as a, type AttachmentType as b, type IdentifyEvent as c, type SignalEvent as d, type SpanParams as e, type ToolParams as f, type TraceContext as g };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,5 @@
1
- export { A as AiTrackEvent, a as AttachmentType, B as BeginInteractionOptions, F as FinishInteractionOptions, b as IdentifyEvent, I as Interaction, M as MAX_INGEST_SIZE_BYTES, P as PartialAiTrackEvent, R as Raindrop, c as SignalEvent, d as SpanParams, e as ToolParams, f as TraceContext, T as Tracer, W as WorkflowParams, R as default } from './index-CtH4NYUJ.mjs';
1
+ export { A as AiTrackEvent, a as Attachment, b as AttachmentType, B as BeginInteractionOptions, F as FinishInteractionOptions, c as IdentifyEvent, I as Interaction, M as MAX_INGEST_SIZE_BYTES, P as PartialAiTrackEvent, R as Raindrop, d as SignalEvent, e as SpanParams, f as ToolParams, g as TraceContext, T as Tracer, W as WorkflowParams, R as default } from './index-BnPIaY-L.mjs';
2
2
  import '@traceloop/node-server-sdk';
3
- export { Attachment } from '@dawn/schemas/ingest';
4
3
  import '@opentelemetry/api';
5
4
  import 'zod';
6
5
  import '@opentelemetry/resources';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- export { A as AiTrackEvent, a as AttachmentType, B as BeginInteractionOptions, F as FinishInteractionOptions, b as IdentifyEvent, I as Interaction, M as MAX_INGEST_SIZE_BYTES, P as PartialAiTrackEvent, R as Raindrop, c as SignalEvent, d as SpanParams, e as ToolParams, f as TraceContext, T as Tracer, W as WorkflowParams, R as default } from './index-CtH4NYUJ.js';
1
+ export { A as AiTrackEvent, a as Attachment, b as AttachmentType, B as BeginInteractionOptions, F as FinishInteractionOptions, c as IdentifyEvent, I as Interaction, M as MAX_INGEST_SIZE_BYTES, P as PartialAiTrackEvent, R as Raindrop, d as SignalEvent, e as SpanParams, f as ToolParams, g as TraceContext, T as Tracer, W as WorkflowParams, R as default } from './index-BnPIaY-L.js';
2
2
  import '@traceloop/node-server-sdk';
3
- export { Attachment } from '@dawn/schemas/ingest';
4
3
  import '@opentelemetry/api';
5
4
  import 'zod';
6
5
  import '@opentelemetry/resources';
package/dist/index.js CHANGED
@@ -128,7 +128,7 @@ var CategorizationRequestSchema = import_zod.z.object({
128
128
  // package.json
129
129
  var package_default = {
130
130
  name: "raindrop-ai",
131
- version: "0.0.65",
131
+ version: "0.0.67",
132
132
  main: "dist/index.js",
133
133
  module: "dist/index.mjs",
134
134
  types: "dist/index.d.ts",
@@ -178,7 +178,7 @@ var package_default = {
178
178
  zod: "^3.23.8"
179
179
  },
180
180
  optionalDependencies: {
181
- "@traceloop/node-server-sdk": "^0.14.4"
181
+ "@traceloop/node-server-sdk": "^0.19.0-otel-v1"
182
182
  },
183
183
  publishConfig: {
184
184
  access: "public"
package/dist/index.mjs CHANGED
@@ -104,7 +104,7 @@ var CategorizationRequestSchema = z.object({
104
104
  // package.json
105
105
  var package_default = {
106
106
  name: "raindrop-ai",
107
- version: "0.0.65",
107
+ version: "0.0.67",
108
108
  main: "dist/index.js",
109
109
  module: "dist/index.mjs",
110
110
  types: "dist/index.d.ts",
@@ -154,7 +154,7 @@ var package_default = {
154
154
  zod: "^3.23.8"
155
155
  },
156
156
  optionalDependencies: {
157
- "@traceloop/node-server-sdk": "^0.14.4"
157
+ "@traceloop/node-server-sdk": "^0.19.0-otel-v1"
158
158
  },
159
159
  publishConfig: {
160
160
  access: "public"
@@ -1,6 +1,5 @@
1
- import { R as Raindrop, S as SpanProcessor, P as PartialAiTrackEvent, I as Interaction, T as Tracer } from '../index-CtH4NYUJ.mjs';
1
+ import { R as Raindrop, S as SpanProcessor, P as PartialAiTrackEvent, I as Interaction, T as Tracer } from '../index-BnPIaY-L.mjs';
2
2
  import * as traceloop from '@traceloop/node-server-sdk';
3
- import '@dawn/schemas/ingest';
4
3
  import '@opentelemetry/api';
5
4
  import 'zod';
6
5
  import '@opentelemetry/resources';
@@ -1,6 +1,5 @@
1
- import { R as Raindrop, S as SpanProcessor, P as PartialAiTrackEvent, I as Interaction, T as Tracer } from '../index-CtH4NYUJ.js';
1
+ import { R as Raindrop, S as SpanProcessor, P as PartialAiTrackEvent, I as Interaction, T as Tracer } from '../index-BnPIaY-L.js';
2
2
  import * as traceloop from '@traceloop/node-server-sdk';
3
- import '@dawn/schemas/ingest';
4
3
  import '@opentelemetry/api';
5
4
  import 'zod';
6
5
  import '@opentelemetry/resources';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raindrop-ai",
3
- "version": "0.0.65",
3
+ "version": "0.0.67",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -50,7 +50,7 @@
50
50
  "zod": "^3.23.8"
51
51
  },
52
52
  "optionalDependencies": {
53
- "@traceloop/node-server-sdk": "^0.14.4"
53
+ "@traceloop/node-server-sdk": "^0.19.0-otel-v1"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"