@logscopeai/logscope 0.1.0-beta.3 → 0.1.0-beta.4

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
@@ -1,81 +1,58 @@
1
1
  # @logscopeai/logscope
2
2
 
3
- > ⚠️ **Pre-release Software**
3
+ > Supported beta for the Logscope ingestion SDK.
4
4
  >
5
- > This package is experimental and must not be used in production environments.
6
- > It is provided strictly for local testing, development, and proof-of-concept validation.
7
- > Breaking changes may occur in any minor or patch release.
5
+ > `@logscopeai/logscope` is the official Node.js SDK for sending application logs to the Logscope
6
+ > Ingestion API. The package is pre-GA, but its documented public behavior is treated as
7
+ > compatibility-sensitive and is maintained with a conservative, fail-safe posture.
8
8
 
9
- `@logscopeai/logscope` is the official Node.js SDK for Logscope.
9
+ `@logscopeai/logscope` lets Node.js applications capture logs, normalize them to the ingestion
10
+ schema, apply optional client-side filtering, batch delivery asynchronously, and forward logs to
11
+ Logscope without throwing into user code.
10
12
 
11
- It enables Node.js applications to capture logs, normalize them, enrich them with execution context, and send them asynchronously to the Logscope Ingestion API for downstream processing.
13
+ ## Supported Beta Posture
12
14
 
13
- Logscope is currently in early development. This SDK is intended for proof-of-concept validation and is not production-ready.
15
+ - Supported beta means the SDK is intended for real integrations, not only disposable local demos.
16
+ - Supported beta does not mean GA:
17
+ - internal implementation may still evolve;
18
+ - future beta releases may add or refine surface area;
19
+ - users should still pin versions deliberately and validate upgrades.
20
+ - Public behavior that is documented for consumers is treated as compatibility-sensitive.
14
21
 
15
- ---
16
-
17
- ## Early Development Mode
18
-
19
- During early development phases, `@logscopeai/logscope` is expected to be executed locally using:
20
-
21
- ```
22
- npm link
23
- ```
24
-
25
- This allows the SDK to be developed and tested inside a consuming service before being published to npm.
26
-
27
- The intended import pattern is:
28
-
29
- ```ts
30
- import { Logscope } from '@logscopeai/logscope';
31
- ```
32
-
33
- Compatibility with `npm link` is a design requirement.
34
-
35
- ---
22
+ See `docs/supported-beta-policy.md` for the support and deprecation policy, and
23
+ `docs/compatibility-contract.md` for the supported-beta compatibility baseline.
36
24
 
37
25
  ## What This Package Does
38
26
 
39
27
  - Captures logs from:
40
- - `console.log`, `console.info`, `console.warn`, `console.error` (opt-in)
41
- - Manual SDK logging API
42
- - Pino (via explicit transport)
43
- - Winston (via explicit transport)
44
-
45
- - Normalizes logs to the Logscope ingestion contract
46
- - Applies optional client-side filtering
47
- - Batches logs (max 50 per request)
48
- - Sends logs asynchronously to the Logscope Ingestion API
49
- - Never throws into user code
50
-
51
- ---
28
+ - the manual SDK API;
29
+ - optional console capture;
30
+ - pino via `@logscopeai/logscope/pino`;
31
+ - winston via `@logscopeai/logscope/winston`.
32
+ - Normalizes logs to the ingestion schema.
33
+ - Applies optional level-based filtering before batching.
34
+ - Batches logs in memory and sends them asynchronously.
35
+ - Retries retriable delivery failures with backoff.
36
+ - Avoids throwing into user code.
52
37
 
53
38
  ## What This Package Does Not Do
54
39
 
55
- - Store logs
56
- - Query logs
57
- - Render dashboards
58
- - Perform AI analysis
59
- - Persist logs to disk
60
- - Replace structured logging frameworks
61
-
62
- ---
40
+ - Validate API keys semantically against server-side policy.
41
+ - Persist logs to disk.
42
+ - Provide storage, analytics, dashboarding, or querying.
43
+ - Replace structured logging frameworks.
44
+ - Offer GA/SLA guarantees.
63
45
 
64
46
  ## Installation
65
47
 
66
- ```
48
+ ```bash
67
49
  npm install @logscopeai/logscope
68
50
  ```
69
51
 
70
- Or during development:
71
-
72
- ```
73
- npm link @logscopeai/logscope
74
- ```
75
-
76
- ---
52
+ For workspace development and local package iteration, `npm link` remains supported. See
53
+ `docs/local-development.md` for the canonical SDK-side local link and endpoint guidance.
77
54
 
78
- ## Basic Usage (Class API)
55
+ ## Quick Start (`Logscope`)
79
56
 
80
57
  ```ts
81
58
  import { Logscope } from '@logscopeai/logscope';
@@ -94,7 +71,7 @@ logscope.error('Payment failed', { orderId: 123 });
94
71
  https://ingestion.logscopeai.com
95
72
  ```
96
73
 
97
- For development/testing, override `ingestionBaseUrl` explicitly:
74
+ For local or test environments, override `ingestionBaseUrl` explicitly:
98
75
 
99
76
  ```ts
100
77
  const logscope = new Logscope({
@@ -103,7 +80,9 @@ const logscope = new Logscope({
103
80
  });
104
81
  ```
105
82
 
106
- Compatibility API (`createLogscopeClient`) remains available:
83
+ ## Compatibility Factory (`createLogscopeClient`)
84
+
85
+ The compatibility entrypoint remains available:
107
86
 
108
87
  ```ts
109
88
  import { createLogscopeClient } from '@logscopeai/logscope';
@@ -127,39 +106,73 @@ const logscope = createLogscopeClient({
127
106
  });
128
107
  ```
129
108
 
130
- Manual API calls (`trace`/`debug`/`info`/`warn`/`error`/`fatal`) normalize logs and enqueue them for asynchronous batching (max 50 entries per request, interval flush fallback).
109
+ `createLogscopeClient` and `Logscope` expose the same manual log methods:
110
+
111
+ - `trace`
112
+ - `debug`
113
+ - `info`
114
+ - `warn`
115
+ - `error`
116
+ - `fatal`
117
+
118
+ ## Client Configuration
131
119
 
132
- ---
120
+ Client config highlights:
133
121
 
134
- ## Validation and Safety Guards
122
+ - `apiKey` is required.
123
+ - `ingestionBaseUrl` is the canonical client override for local/dev/test routing.
124
+ - `endpoint` is still accepted on the root client as a deprecated compatibility alias.
125
+ - `captureConsole` is opt-in and disabled by default.
126
+ - `context.source` is optional and deprecated as required caller input; omitted values fall back to
127
+ deterministic source `unknown`.
128
+ - `runtime` controls batching and retry quantities through validated safe defaults.
129
+
130
+ Runtime delivery knobs:
131
+
132
+ ```ts
133
+ runtime: {
134
+ maxBatchSize?: number; // default: 50, bounded to ingestion contract max
135
+ flushIntervalMs?: number; // default: 2000
136
+ maxRetries?: number; // default: 3
137
+ retryBaseDelayMs?: number; // default: 250
138
+ retryMaxDelayMs?: number; // default: 2000
139
+ }
140
+ ```
141
+
142
+ Invalid runtime overrides are ignored safely and fallback to defaults without throwing.
143
+
144
+ ## Validation And Safety Guarantees
135
145
 
136
146
  Runtime guards are applied before delivery:
137
147
 
138
- - Required config fields are validated:
139
- - Client: `apiKey`
140
- - Pino transport: `apiKey`, `endpoint`, `source`
141
- - Winston transport: `apiKey`, `endpoint`, `source`
142
- - Invalid required config triggers a single safe warning and switches to a no-op fallback pipeline.
148
+ - Required config fields are validated before pipeline creation.
149
+ - Invalid required config triggers a safe warning and switches the client/transport into no-op
150
+ fallback behavior.
143
151
  - Warning diagnostics never include secret values such as API keys.
144
- - `ingestionBaseUrl` is optional in SDK client config. Missing or invalid values fallback to the production default.
145
- - `context.source` is optional; when omitted, emitted logs use deterministic fallback source value `unknown`.
146
- - The SDK does not expose an `environment` routing field. Tenant/environment ownership is resolved by API key scope on the ingestion side.
152
+ - `ingestionBaseUrl` is optional on the root client and falls back to the production default when
153
+ omitted or invalid.
154
+ - The SDK does not expose a client-owned `environment` routing field.
147
155
 
148
156
  Normalization enforces ingestion constraints:
149
157
 
150
158
  - `message` is deterministically truncated to `<= 2048` characters.
151
159
  - `metadata` is normalized to JSON-safe content and dropped if serialized size is `> 2048` bytes.
152
160
 
153
- All guard paths are fail-safe and never throw into user code.
161
+ Fail-safe expectations:
154
162
 
155
- ---
163
+ - The SDK must never throw into user code.
164
+ - Filtering happens before batching.
165
+ - `401` results warn once.
166
+ - `429` and `500` results retry with backoff.
167
+ - Batches are dropped after max retries are exhausted.
156
168
 
157
- ## Public Types and Utilities
169
+ ## Public Types And Utilities
158
170
 
159
- The root entrypoint also exports shared contracts and normalization utilities:
171
+ The root entrypoint exports the class API, compatibility factory, shared types, constants, and
172
+ normalization utility:
160
173
 
161
174
  ```ts
162
- import { Logscope, normalizeLog } from '@logscopeai/logscope';
175
+ import { Logscope, createLogscopeClient, normalizeLog } from '@logscopeai/logscope';
163
176
  import type {
164
177
  IngestionLogEntry,
165
178
  LogLevel,
@@ -169,64 +182,48 @@ import type {
169
182
  } from '@logscopeai/logscope';
170
183
  ```
171
184
 
172
- `normalizeLog` converts SDK log input into ingestion-safe entries using `{ source, level, timestamp, message, metadata? }`.
173
-
174
- ---
175
-
176
- ## Filtering Logs
177
-
178
- Users may restrict which logs are sent to Logscope:
185
+ `normalizeLog` converts SDK log input into ingestion-safe entries using:
179
186
 
180
187
  ```ts
181
- logFilter: {
182
- levels: ['warn', 'error'],
188
+ {
189
+ source,
190
+ level,
191
+ timestamp,
192
+ message,
193
+ metadata?,
183
194
  }
184
195
  ```
185
196
 
186
- If no filter is configured, all logs are sent.
187
-
188
- If `logFilter.levels` is configured as an empty array (`[]`), all logs are filtered out.
189
-
190
- ---
191
-
192
- ## Runtime Delivery Configuration
197
+ ## Filtering Logs
193
198
 
194
- Runtime batching and retry quantities are configurable through `runtime` on client config:
199
+ `logFilter.levels` restricts which levels enter the delivery pipeline:
195
200
 
196
201
  ```ts
197
- runtime: {
198
- maxBatchSize?: number; // default: 50 (bounded to ingestion contract max)
199
- flushIntervalMs?: number; // default: 2000
200
- maxRetries?: number; // default: 3
201
- retryBaseDelayMs?: number; // default: 250
202
- retryMaxDelayMs?: number; // default: 2000
202
+ logFilter: {
203
+ levels: ['warn', 'error'],
203
204
  }
204
205
  ```
205
206
 
206
- Invalid runtime quantity overrides are ignored safely and fallback to defaults without throwing.
207
-
208
- ---
207
+ - If no filter is configured, all logs are sent.
208
+ - If `logFilter.levels` is an empty array, all logs are filtered out.
209
209
 
210
210
  ## Console Capture
211
211
 
212
212
  `captureConsole` is disabled by default.
213
213
 
214
- When set to `true`, the SDK wraps:
215
-
216
- - `console.log` (mapped to `info`)
217
- - `console.info` (mapped to `info`)
218
- - `console.warn` (mapped to `warn`)
219
- - `console.error` (mapped to `error`)
220
-
221
- Wrapped methods keep original console output and arguments, and captured entries are forwarded through the same filtering and batching pipeline used by the manual client API.
214
+ When enabled, the SDK wraps:
222
215
 
223
- ---
216
+ - `console.log` -> `info`
217
+ - `console.info` -> `info`
218
+ - `console.warn` -> `warn`
219
+ - `console.error` -> `error`
224
220
 
225
- ## Using Logscope with Pino
221
+ Original console behavior is preserved, and captured entries flow through the same filtering and
222
+ batching pipeline used by the manual client API.
226
223
 
227
- Logscope does not intercept pino automatically.
224
+ ## Pino Integration
228
225
 
229
- Instead, it provides an explicit transport:
226
+ Logscope does not intercept pino automatically. Use the explicit transport subpath:
230
227
 
231
228
  ```ts
232
229
  import pino from 'pino';
@@ -247,15 +244,17 @@ const logger = pino({
247
244
  });
248
245
  ```
249
246
 
250
- The transport maps standard pino levels (`10/20/30/40/50/60`) to Logscope levels (`trace/debug/info/warn/error/fatal`), applies `logFilter.levels` before enqueueing, and sends through the same batch/retry pipeline.
247
+ Pino transport notes:
251
248
 
252
- ---
249
+ - transport option name remains `endpoint`;
250
+ - `source` is required on the transport surface;
251
+ - pino levels `10/20/30/40/50/60` map to Logscope levels
252
+ `trace/debug/info/warn/error/fatal`;
253
+ - filtering still happens before batching.
253
254
 
254
- ## Using Logscope with Winston
255
+ ## Winston Integration
255
256
 
256
- Logscope does not patch Winston automatically.
257
-
258
- Instead, it provides an explicit transport:
257
+ Logscope does not patch winston globally. Use the explicit transport subpath:
259
258
 
260
259
  ```ts
261
260
  import { createLogger, format } from 'winston';
@@ -277,97 +276,61 @@ const logger = createLogger({
277
276
  });
278
277
  ```
279
278
 
280
- The Winston transport maps default npm levels (`error/warn/info/http/verbose/debug/silly`) to Logscope levels (`error/warn/info/info/debug/debug/trace`), applies `logFilter.levels` before enqueueing, and forwards through the same batch/retry pipeline.
279
+ Winston transport notes:
281
280
 
282
- ---
281
+ - transport option name remains `endpoint`;
282
+ - `source` is required on the transport surface;
283
+ - default npm levels map to Logscope levels
284
+ `error/warn/info/info/debug/debug/trace`;
285
+ - filtering still happens before batching.
283
286
 
284
- ## API Contract
287
+ ## Ingestion Contract Summary
285
288
 
286
- Logs are sent to:
289
+ The SDK sends logs to:
287
290
 
288
- ```
291
+ ```text
289
292
  POST /api/logs/ingest
290
293
  ```
291
294
 
292
295
  Using header:
293
296
 
294
- ```
297
+ ```text
295
298
  x-api-key: <LOGSCOPE_API_KEY>
296
299
  ```
297
300
 
298
- The request body must follow the ingestion API contract defined in the Logscope specification.
299
-
300
- Transport status handling is classified as:
301
+ Response handling:
301
302
 
302
303
  - `202` -> success
303
- - `400` / `413` -> drop
304
+ - `400` / `413` -> drop batch
304
305
  - `401` -> unauthorized warning path
305
306
  - `429` / `500` -> retry with backoff
306
307
  - retriable batches are dropped after max retries
307
308
 
308
- ---
309
-
310
- ## Status
311
-
312
- This SDK is currently:
309
+ ## Current Limits And Non-Goals
313
310
 
314
- - POC-focused
315
- - Under active development
316
- - Not production-ready
317
- - Subject to API changes
311
+ - Supported beta, not GA.
312
+ - No disk persistence or local buffering.
313
+ - No sampling, tracing, or OpenTelemetry surface.
314
+ - No hidden global patching of pino or winston.
315
+ - No synchronous I/O.
318
316
 
319
- ---
317
+ ## Testing And Build
320
318
 
321
- ## Testing Conventions
322
-
323
- Unit tests must be co-located with the files they validate.
324
-
325
- Use either `.test.ts` or `.spec.ts` next to the implementation file, for example:
326
-
327
- ```text
328
- src/
329
- dirA/
330
- file.ts
331
- file.spec.ts
332
- dirB/
333
- otherFile.ts
334
- otherFile.test.ts
335
- ```
336
-
337
- Run tests with:
319
+ Run the standard verification flow from a clean checkout:
338
320
 
339
321
  ```bash
322
+ npm ci
340
323
  npm test
324
+ npm run build
341
325
  ```
342
326
 
343
- Run the explicit coverage gate locally with:
344
-
345
- ```bash
346
- npm run test:coverage
347
- ```
348
-
349
- ---
327
+ Unit tests are co-located with the files they validate and coverage is enforced through Vitest.
350
328
 
351
329
  ## Additional Documentation
352
330
 
331
+ - Support and deprecation policy: `docs/supported-beta-policy.md`
332
+ - SDK compatibility contract: `docs/compatibility-contract.md`
333
+ - Local development and `npm link` guidance: `docs/local-development.md`
334
+ - Release verification checklist: `docs/release-verification.md`
353
335
  - Hardening and coverage matrix: `docs/hardening-and-testing.md`
354
336
  - Formatting and lint workflow: `docs/linting.md`
355
-
356
- ## Local usage with `npm link`
357
-
358
- To run the package locally in other repositories, use `npm link`:
359
-
360
- Steps:
361
-
362
- 1. In this repository:
363
-
364
- ```
365
- npm link
366
- npm run build -- --watch
367
- ```
368
-
369
- 2. In the consuming repository:
370
-
371
- ```
372
- npm link @logscopeai/logscope
373
- ```
@@ -1 +1 @@
1
- {"version":3,"file":"create-logscope-client.js","sourceRoot":"","sources":["../../src/client/create-logscope-client.ts"],"names":[],"mappings":";;;AAAA,gEAAqF;AAErF,2DAGiC;AACjC,mDAAqF;AACrF,mEAAqE;AACrE,gFAA2E;AAM3E,+CAAiD;AAEjD,MAAM,4BAA4B,GAChC,mFAAmF,CAAC;AACtF,MAAM,+BAA+B,GACnC,yDAAyD,CAAC;AAqB5D,MAAM,kBAAkB,GAAG,GAAqB,EAAE;IAChD,OAAO;QACL,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;QACjB,QAAQ,EAAE,KAAK,IAAI,EAAE,GAAE,CAAC;QACxB,IAAI,EAAE,KAAK,IAAI,EAAE,GAAE,CAAC;KACrB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,yBAAyB,GAAG,GAAqC,EAAE;IACvE,MAAM,SAAS,GAAc,CAAC,KAAK,EAAE,EAAE,CAAC,IAAA,6CAAoB,EAAC,KAAK,CAAC,CAAC;IAEpE,OAAO;QACL,cAAc,EAAE,CAAC,KAAK,EAAE,EAAE,CACxB,IAAA,iCAAsB,EAAC;YACrB,QAAQ,EAAE,KAAK,CAAC,gBAAgB;YAChC,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,SAAS;YACT,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC,YAAY;YAC9C,eAAe,EAAE,KAAK,CAAC,aAAa,CAAC,eAAe;YACpD,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW;YAC5C,aAAa,EAAE,KAAK,CAAC,aAAa;SACnC,CAAC;QACJ,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;QACxC,GAAG,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QACrB,mBAAmB,EAAE,CAAC,W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AAA,8BAA8B,kCAKzC;AAEK,MAAM,sBAAsB,GAAG,CACpC,OAAwC,EACvB,EAAE;IACnB,OAAO,IAAA,sCAA8B,EAAC,OAAO,EAAE,yBAAyB,EAAE,CAAC,CAAC;AAC9E,CAAC,CAAC;AAJW,QAAA,sBAAsB,0BAIjC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@logscopeai/logscope",
3
- "version": "0.1.0-beta.3",
4
- "description": "`@logscopeai/logscope` is the official Node.js client SDK for Logscope.",
3
+ "version": "0.1.0-beta.4",
4
+ "description": "Supported-beta Node.js SDK for sending application logs to the Logscope ingestion API.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {