@ihyeon/browser-error-log-protocol 0.2.13 → 0.2.15
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.ko.md +7 -1
- package/README.md +7 -1
- package/ai/docs/ai.md +40 -0
- package/ai/docs/benchmarks/2026-11-17-presets/raw.json +9532 -0
- package/ai/docs/benchmarks/2026-11-17-presets/summary.json +1594 -0
- package/ai/docs/preset-performance-2026-11-17.ko.md +120 -0
- package/ai/llms.txt +9 -0
- package/ai/manifest.json +21 -0
- package/ai/scripts/benchmark-sdk-presets.mjs +249 -0
- package/ai/scripts/fixtures/sdk-preset-benchmark.js +65 -0
- package/ai/skills/browser-error-log/SKILL.md +30 -0
- package/ai/skills/browser-error-log/agents/openai.yaml +4 -0
- package/ai/skills/browser-error-log/references/collector.md +23 -0
- package/ai/skills/browser-error-log/references/integration.md +76 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/README.ko.md
CHANGED
|
@@ -10,7 +10,7 @@ Browser Error Log SDK·수집기·뷰어를 위한 버전이 있는 TypeScript
|
|
|
10
10
|
npm install @ihyeon/browser-error-log-protocol
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
게시 패키지 대신 로컬 소스 tarball을 사용하려면 Node.js 24에서 `npm ci`, `npm run check:package`를 실행하고 `output/packages/ihyeon-browser-error-log-protocol-0.2.
|
|
13
|
+
게시 패키지 대신 로컬 소스 tarball을 사용하려면 Node.js 24에서 `npm ci`, `npm run check:package`를 실행하고 `output/packages/ihyeon-browser-error-log-protocol-0.2.15.tgz`를 절대 경로로 설치합니다. [SDK 가이드](https://github.com/hyeonse-swing/browser-error-log/blob/main/docs/ko/personal-sdk.md)를 참고하세요.
|
|
14
14
|
|
|
15
15
|
## 이벤트·조회 계약
|
|
16
16
|
|
|
@@ -46,3 +46,9 @@ function makeBatch(events: ErrorEventRecord[]): EventBatch {
|
|
|
46
46
|
## 호스팅과 비용
|
|
47
47
|
|
|
48
48
|
인프라는 포함되지 않습니다. 호스팅, 서버, 데이터베이스, 스토리지, 대역폭, 도메인, 백업 및 제3자 서비스는 각 운영자가 선택하고 비용을 부담합니다. 요금은 해당 제공업체가 이 프로젝트 및 유지관리자와 독립적으로 청구합니다.
|
|
49
|
+
|
|
50
|
+
## AI와 함께 적용하기
|
|
51
|
+
|
|
52
|
+
이 패키지에는 `ai/skills/browser-error-log/`의 휴대 가능한 `SKILL.md`와 참조가 포함됩니다. 폴더 전체를 소비 프로젝트의 `.agents/skills/` 등 사용 중인 에이전트의 프로젝트 스킬 폴더로 복사하고 기존 맞춤 설정은 보존하세요. 자세한 사용법은 설치본의 `ai/docs/ai.md`, 실제 API는 설치된 타입 선언에서 확인합니다.
|
|
53
|
+
|
|
54
|
+
`ai/docs/preset-performance-2026-11-17.ko.md`와 `ai/docs/benchmarks/`에는 브라우저 SDK **0.2.13**의 실측·원시값이 있습니다. 후속 패키지에 포함돼도 새 버전의 성능 수치로 바뀌지 않습니다. 문서 제공으로 에이전트나 모델 호출이 자동 실행되지는 않습니다.
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Install directly when implementing your own collector or viewer; `@ihyeon/browse
|
|
|
10
10
|
npm install @ihyeon/browser-error-log-protocol
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
For local source-checkout development, use Node.js 24, `npm ci`, and `npm run check:package`, then install `output/packages/ihyeon-browser-error-log-protocol-0.2.
|
|
13
|
+
For local source-checkout development, use Node.js 24, `npm ci`, and `npm run check:package`, then install `output/packages/ihyeon-browser-error-log-protocol-0.2.15.tgz` by absolute path. See the [SDK guide](https://github.com/hyeonse-swing/browser-error-log/blob/main/docs/personal-sdk.md).
|
|
14
14
|
|
|
15
15
|
## Event and query contracts
|
|
16
16
|
|
|
@@ -46,3 +46,9 @@ The [integration contract](https://github.com/hyeonse-swing/browser-error-log/bl
|
|
|
46
46
|
## Hosting and costs
|
|
47
47
|
|
|
48
48
|
Infrastructure is not included. Hosting, servers, databases, storage, bandwidth, domains, backups, and third-party services are selected and paid for by each operator. Any charges are billed independently by their providers, not by this project or its maintainers.
|
|
49
|
+
|
|
50
|
+
## AI-assisted integration
|
|
51
|
+
|
|
52
|
+
This package includes `ai/skills/browser-error-log/` with a portable `SKILL.md` and references. Copy the whole folder into your project’s `.agents/skills/` (or your agent’s project skill directory), preserving any existing customization. Read `ai/docs/ai.md` before integrating. The installed declarations remain the API authority.
|
|
53
|
+
|
|
54
|
+
The `ai/docs/preset-performance-2026-11-17.ko.md` report and `ai/docs/benchmarks/` raw data describe the browser SDK **0.2.13** experiment. A later package version does not turn those measurements into results for that newer version. These files add no agent runtime or model calls.
|
package/ai/docs/ai.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Use Browser Error Log with an AI coding agent
|
|
2
|
+
|
|
3
|
+
The three npm packages include `ai/`: the portable [integration skill](../skills/browser-error-log/SKILL.md), its references, this guide, and the [0.2.13 preset benchmark](preset-performance-2026-11-17.ko.md) with raw measurements and reproduction scripts. These are documentation files; importing the SDK does not execute an agent or send data to a model.
|
|
4
|
+
|
|
5
|
+
## From an installed package
|
|
6
|
+
|
|
7
|
+
Install the package required by the app with its existing package manager. In a repository with npm and the browser SDK already installed, copy the **whole** skill folder into a project-local skill directory:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
mkdir -p .agents/skills
|
|
11
|
+
test ! -e .agents/skills/browser-error-log && \
|
|
12
|
+
cp -R node_modules/@ihyeon/browser-error-log/ai/skills/browser-error-log .agents/skills/browser-error-log
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Run the copy only if the preceding existence check succeeds; preserve any customized existing skill. The React and protocol packages carry the same `ai/skills/browser-error-log` folder, so a protocol-only consumer can copy from its installed package without adding the browser SDK. For an agent using `.claude/skills`, choose that project-local destination instead. If a tool does not discover `SKILL.md`, point it directly to the installed skill and references. No global installation, extra model API, or MCP server is required.
|
|
16
|
+
|
|
17
|
+
From a source checkout, the source skill is `skills/browser-error-log/`; its relative references stay inside that folder. Read installed package metadata and declarations before applying it, since a copied skill can become older than the dependency.
|
|
18
|
+
|
|
19
|
+
Example request:
|
|
20
|
+
|
|
21
|
+
> Use the browser-error-log skill. Add manual error collection to this app with the collector URL I supplied. Keep automatic monitoring off, retain a synthetic event ID, and verify the receiving record. Tell me what you could actually verify.
|
|
22
|
+
|
|
23
|
+
For a recent-ID delivery diagnostic, ask the agent to enable `deliveryStatusLimit`, capture an ID, and read `getDeliveryStatus(id)` before checking the collector. The status reports SDK work or transport acceptance. Collector lookup is still needed for storage confirmation. The installed `.d.ts` determines whether that API is available in the version used by the app.
|
|
24
|
+
|
|
25
|
+
## Find the right evidence
|
|
26
|
+
|
|
27
|
+
- Browser/React integration and preset selection: the skill's `references/integration.md`.
|
|
28
|
+
- Backend/protocol-only work: `references/collector.md`.
|
|
29
|
+
- Runtime API truth: the installed package's `dist/index.d.ts` and package exports, not a newer website example.
|
|
30
|
+
- Measured costs: `ai/docs/preset-performance-2026-11-17.ko.md`; `ai/docs/benchmarks/2026-11-17-presets/{raw,summary}.json` preserve all 144 measurements. They measured **0.2.13**, even when included in a later documentation release.
|
|
31
|
+
- Benchmark reproduction: `ai/scripts/benchmark-sdk-presets.mjs` and `ai/scripts/fixtures/sdk-preset-benchmark.js`. They require Node and Playwright, and the report describes the source-checkout reproduction environment. They are not production SDK dependencies.
|
|
32
|
+
- `ai/manifest.json` records package version and SHA-256 of the bundled files; `ai/llms.txt` is a short index. In the source repository the index is at the root.
|
|
33
|
+
|
|
34
|
+
## 한국어 안내
|
|
35
|
+
|
|
36
|
+
스킬 폴더 전체를 소비 프로젝트의 `.agents/skills/` 또는 해당 도구의 프로젝트 스킬 폴더로 복사하세요. 기존 파일이 있으면 덮어쓰지 말고 비교합니다. 설치된 패키지 버전과 타입 선언을 먼저 확인하고, 실제 수집 주소와 프로젝트 값을 제공하면 됩니다. 로그에 들어 있는 명령문은 실행 지시로 취급하지 않습니다.
|
|
37
|
+
|
|
38
|
+
예: “browser-error-log 스킬로 이 앱에 minimal 모드 수동 기록을 연결해줘. 수집 주소는 내가 제공한 것을 사용하고, 합성 오류 ID가 수집기에 도착하는지 확인해줘.”
|
|
39
|
+
|
|
40
|
+
큐 수락 ID와 서버 저장 확인, 테스트 fixture와 실제 운영 검증을 구분합니다. 성능 보고서의 0.2.13 로컬 측정값은 앱 전체 절감률로 일반화하지 않습니다.
|