@agentpulsehq/core 0.1.0 → 0.1.1
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 +15 -0
- package/dist/telemetry.d.ts +1 -1
- package/dist/telemetry.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -91,6 +91,21 @@ export const GET = createMarkdownRouteHandler({
|
|
|
91
91
|
|
|
92
92
|
`htmlToMarkdown()` and the adapters work without an account. Leave out `onEvent`, or pass your own callback.
|
|
93
93
|
|
|
94
|
+
## AgentPulse Cloud (Early Access)
|
|
95
|
+
|
|
96
|
+
`IngestClient` sends events to `https://ingest.agentpulse.app/api/v1/ingest` by default, and you see them in
|
|
97
|
+
the dashboard at [app.agentpulse.app](https://app.agentpulse.app), where you also create the write key
|
|
98
|
+
(`apw_…`). Pass `endpoint` to send them to your own ingest instead.
|
|
99
|
+
|
|
100
|
+
## Related packages
|
|
101
|
+
|
|
102
|
+
- [`@agentpulsehq/rules`](https://www.npmjs.com/package/@agentpulsehq/rules): the agent catalog, detection
|
|
103
|
+
and IP verification this package builds on.
|
|
104
|
+
- [`@agentpulsehq/mcp`](https://www.npmjs.com/package/@agentpulsehq/mcp): an MCP server with your site's
|
|
105
|
+
AI-agent metrics.
|
|
106
|
+
- [`agentpulse-asgi`](https://pypi.org/project/agentpulse-asgi/) on PyPI: the same middleware for FastAPI
|
|
107
|
+
and Starlette.
|
|
108
|
+
|
|
94
109
|
## License
|
|
95
110
|
|
|
96
111
|
MIT
|
package/dist/telemetry.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type { AgentPulseEvent } from "./types.js";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const DEFAULT_INGEST_ENDPOINT = "https://ingest.agentpulse.app/api/v1/ingest";
|
|
12
12
|
export declare const SDK_NAME = "@agentpulsehq/core";
|
|
13
|
-
export declare const SDK_VERSION = "0.1.
|
|
13
|
+
export declare const SDK_VERSION = "0.1.1";
|
|
14
14
|
/** One event in the batch wire format (version 1). */
|
|
15
15
|
export interface WireEvent {
|
|
16
16
|
id: string;
|
package/dist/telemetry.js
CHANGED
|
@@ -10,7 +10,7 @@ import { redactPath } from "./redact.js";
|
|
|
10
10
|
*/
|
|
11
11
|
export const DEFAULT_INGEST_ENDPOINT = "https://ingest.agentpulse.app/api/v1/ingest";
|
|
12
12
|
export const SDK_NAME = "@agentpulsehq/core";
|
|
13
|
-
export const SDK_VERSION = "0.1.
|
|
13
|
+
export const SDK_VERSION = "0.1.1";
|
|
14
14
|
const WRITE_KEY = /^apw_[0-9a-f]{12}\.[\w-]{43}$/;
|
|
15
15
|
const MAX_USER_AGENT = 512;
|
|
16
16
|
const MAX_DURATION_MS = 3_600_000;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentpulsehq/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dist"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@agentpulsehq/rules": "0.1.
|
|
50
|
+
"@agentpulsehq/rules": "0.1.1",
|
|
51
51
|
"htmlparser2": "^10.1.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|