@skrr-ai/signals 0.1.3 → 0.1.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 +2 -2
- package/contracts/README.md +1 -1
- package/contracts/asyncapi.v1.json +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ CloudEvents-native public contracts and a small, transport-only publisher for
|
|
|
4
4
|
the OverSky Signal Plane.
|
|
5
5
|
|
|
6
6
|
This package submits immutable facts to `POST /v1/signals`. It does **not**
|
|
7
|
-
create a
|
|
7
|
+
create a Duty, select a Monitor, wake an Agent, or grant any execution
|
|
8
8
|
authority. Those are server-owned control-plane decisions.
|
|
9
9
|
|
|
10
10
|
```ts
|
|
@@ -37,5 +37,5 @@ CloudEvents (`application/cloudevents+json`) and keeps the CloudEvents `id`
|
|
|
37
37
|
stable across retries.
|
|
38
38
|
|
|
39
39
|
The Signal Source credential determines the tenant and allowed source. Never
|
|
40
|
-
put workspace,
|
|
40
|
+
put workspace, Duty, Agent, authorization, request bodies, cookies,
|
|
41
41
|
access tokens, or arbitrary stack traces in an event payload.
|
package/contracts/README.md
CHANGED
|
@@ -24,5 +24,5 @@ Versioning policy:
|
|
|
24
24
|
3. Compatible optional-field additions create a new immutable schema version;
|
|
25
25
|
active Monitors remain pinned to their approved compatibility range.
|
|
26
26
|
4. A source credential, not any event payload field, determines tenancy and
|
|
27
|
-
source identity. These contracts never accept Monitor,
|
|
27
|
+
source identity. These contracts never accept Monitor, Duty, Agent,
|
|
28
28
|
workspace, or authorization selectors in Signal data.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "OverSky Signal Plane API",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"description": "Source-scoped CloudEvents ingestion. A successful receipt only proves durable acceptance; it does not directly invoke a Monitor,
|
|
6
|
+
"description": "Source-scoped CloudEvents ingestion. A successful receipt only proves durable acceptance; it does not directly invoke a Monitor, Duty, or Agent."
|
|
7
7
|
},
|
|
8
8
|
"servers": {
|
|
9
9
|
"production": {
|
package/dist/index.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ interface JsonObject {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* Extension attributes are intentionally limited to normal CloudEvents extension
|
|
12
|
-
* names. They cannot carry source identity, authorization, Monitor,
|
|
12
|
+
* names. They cannot carry source identity, authorization, Monitor, Duty,
|
|
13
13
|
* or Agent selection data.
|
|
14
14
|
*/
|
|
15
15
|
type SignalExtensions = Record<string, JsonPrimitive>;
|
|
@@ -234,7 +234,7 @@ declare class SignalAPIError extends Error {
|
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
236
|
* A generic, source-scoped publisher. It emits facts only; it cannot name a
|
|
237
|
-
* Monitor,
|
|
237
|
+
* Monitor, Duty, Agent, workspace, or execution policy.
|
|
238
238
|
*/
|
|
239
239
|
declare class SignalPublisher {
|
|
240
240
|
readonly endpoint: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface JsonObject {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* Extension attributes are intentionally limited to normal CloudEvents extension
|
|
12
|
-
* names. They cannot carry source identity, authorization, Monitor,
|
|
12
|
+
* names. They cannot carry source identity, authorization, Monitor, Duty,
|
|
13
13
|
* or Agent selection data.
|
|
14
14
|
*/
|
|
15
15
|
type SignalExtensions = Record<string, JsonPrimitive>;
|
|
@@ -234,7 +234,7 @@ declare class SignalAPIError extends Error {
|
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
236
|
* A generic, source-scoped publisher. It emits facts only; it cannot name a
|
|
237
|
-
* Monitor,
|
|
237
|
+
* Monitor, Duty, Agent, workspace, or execution policy.
|
|
238
238
|
*/
|
|
239
239
|
declare class SignalPublisher {
|
|
240
240
|
readonly endpoint: string;
|