@oneharness/sdk 0.15.0 → 0.15.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.
|
@@ -1842,7 +1842,7 @@
|
|
|
1842
1842
|
"const": "quota"
|
|
1843
1843
|
},
|
|
1844
1844
|
{
|
|
1845
|
-
"description": "The session this run asked to continue does not exist for the identity
|
|
1845
|
+
"description": "The session this run asked to continue does not exist for the identity\nit ran as, so the harness refused before doing any work (see the private\n`unknown_session_rejection` rule). Distinct from every other kind\nbecause the task itself is fine: another identity — or a fresh session\non this one — can still run it.",
|
|
1846
1846
|
"type": "string",
|
|
1847
1847
|
"const": "session_not_found"
|
|
1848
1848
|
},
|
|
@@ -2057,7 +2057,7 @@
|
|
|
2057
2057
|
"type": "string"
|
|
2058
2058
|
},
|
|
2059
2059
|
"command": {
|
|
2060
|
-
"description": "The exact argv oneharness built
|
|
2060
|
+
"description": "The exact argv oneharness built; its first element is the binary.",
|
|
2061
2061
|
"type": "array",
|
|
2062
2062
|
"items": {
|
|
2063
2063
|
"type": "string"
|
|
@@ -2923,7 +2923,7 @@
|
|
|
2923
2923
|
"const": "quota"
|
|
2924
2924
|
},
|
|
2925
2925
|
{
|
|
2926
|
-
"description": "The session this run asked to continue does not exist for the identity
|
|
2926
|
+
"description": "The session this run asked to continue does not exist for the identity\nit ran as, so the harness refused before doing any work (see the private\n`unknown_session_rejection` rule). Distinct from every other kind\nbecause the task itself is fine: another identity — or a fresh session\non this one — can still run it.",
|
|
2927
2927
|
"type": "string",
|
|
2928
2928
|
"const": "session_not_found"
|
|
2929
2929
|
},
|
|
@@ -3302,7 +3302,7 @@
|
|
|
3302
3302
|
"type": "string"
|
|
3303
3303
|
},
|
|
3304
3304
|
"command": {
|
|
3305
|
-
"description": "The exact argv oneharness built
|
|
3305
|
+
"description": "The exact argv oneharness built; its first element is the binary.",
|
|
3306
3306
|
"type": "array",
|
|
3307
3307
|
"items": {
|
|
3308
3308
|
"type": "string"
|
|
@@ -5974,7 +5974,7 @@
|
|
|
5974
5974
|
"const": "quota"
|
|
5975
5975
|
},
|
|
5976
5976
|
{
|
|
5977
|
-
"description": "The session this run asked to continue does not exist for the identity
|
|
5977
|
+
"description": "The session this run asked to continue does not exist for the identity\nit ran as, so the harness refused before doing any work (see the private\n`unknown_session_rejection` rule). Distinct from every other kind\nbecause the task itself is fine: another identity — or a fresh session\non this one — can still run it.",
|
|
5978
5978
|
"type": "string",
|
|
5979
5979
|
"const": "session_not_found"
|
|
5980
5980
|
},
|
|
@@ -8976,7 +8976,7 @@
|
|
|
8976
8976
|
"const": "quota"
|
|
8977
8977
|
},
|
|
8978
8978
|
{
|
|
8979
|
-
"description": "The session this run asked to continue does not exist for the identity
|
|
8979
|
+
"description": "The session this run asked to continue does not exist for the identity\nit ran as, so the harness refused before doing any work (see the private\n`unknown_session_rejection` rule). Distinct from every other kind\nbecause the task itself is fine: another identity — or a fresh session\non this one — can still run it.",
|
|
8980
8980
|
"type": "string",
|
|
8981
8981
|
"const": "session_not_found"
|
|
8982
8982
|
},
|
|
@@ -9360,7 +9360,7 @@
|
|
|
9360
9360
|
"const": "quota"
|
|
9361
9361
|
},
|
|
9362
9362
|
{
|
|
9363
|
-
"description": "The session this run asked to continue does not exist for the identity
|
|
9363
|
+
"description": "The session this run asked to continue does not exist for the identity\nit ran as, so the harness refused before doing any work (see the private\n`unknown_session_rejection` rule). Distinct from every other kind\nbecause the task itself is fine: another identity — or a fresh session\non this one — can still run it.",
|
|
9364
9364
|
"type": "string",
|
|
9365
9365
|
"const": "session_not_found"
|
|
9366
9366
|
},
|
|
@@ -12482,7 +12482,7 @@
|
|
|
12482
12482
|
"const": "quota"
|
|
12483
12483
|
},
|
|
12484
12484
|
{
|
|
12485
|
-
"description": "The session this run asked to continue does not exist for the identity
|
|
12485
|
+
"description": "The session this run asked to continue does not exist for the identity\nit ran as, so the harness refused before doing any work (see the private\n`unknown_session_rejection` rule). Distinct from every other kind\nbecause the task itself is fine: another identity — or a fresh session\non this one — can still run it.",
|
|
12486
12486
|
"type": "string",
|
|
12487
12487
|
"const": "session_not_found"
|
|
12488
12488
|
},
|
|
@@ -16760,7 +16760,7 @@
|
|
|
16760
16760
|
"usage_report": {
|
|
16761
16761
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
16762
16762
|
"title": "UsageReport",
|
|
16763
|
-
"description": "One usage report: every probed identity, stamped with a single observation\ntime supplied by the caller (this module reads no clock).\n\nDeserializing is a consumer boundary — `oneharness-core` is published for\nsibling tools — so the envelope is validated on the way in rather than\ntrusted: see
|
|
16763
|
+
"description": "One usage report: every probed identity, stamped with a single observation\ntime supplied by the caller (this module reads no clock).\n\nDeserializing is a consumer boundary — `oneharness-core` is published for\nsibling tools — so the envelope is validated on the way in rather than\ntrusted: see the private `UsageReportWire` shape.",
|
|
16764
16764
|
"type": "object",
|
|
16765
16765
|
"properties": {
|
|
16766
16766
|
"identities": {
|
|
@@ -17057,7 +17057,7 @@
|
|
|
17057
17057
|
]
|
|
17058
17058
|
},
|
|
17059
17059
|
"UsageIdentity": {
|
|
17060
|
-
"description": "One harness identity's headroom.\n\nDeserializing is a consumer boundary like the envelope's, so every string an\nidentity carries is flattened through
|
|
17060
|
+
"description": "One harness identity's headroom.\n\nDeserializing is a consumer boundary like the envelope's, so every string an\nidentity carries is flattened through the private `without_control_chars`\nfilter on the way in — see the private `UsageIdentityWire` shape.",
|
|
17061
17061
|
"type": "object",
|
|
17062
17062
|
"properties": {
|
|
17063
17063
|
"auth_mode": {
|
|
@@ -145,7 +145,7 @@ export type UnknownReason = {
|
|
|
145
145
|
*
|
|
146
146
|
* Deserializing is a consumer boundary — `oneharness-core` is published for
|
|
147
147
|
* sibling tools — so the envelope is validated on the way in rather than
|
|
148
|
-
* trusted: see
|
|
148
|
+
* trusted: see the private `UsageReportWire` shape.
|
|
149
149
|
*/
|
|
150
150
|
export interface UsageReport {
|
|
151
151
|
identities: UsageIdentity[];
|
|
@@ -163,8 +163,8 @@ export interface UsageReport {
|
|
|
163
163
|
* One harness identity's headroom.
|
|
164
164
|
*
|
|
165
165
|
* Deserializing is a consumer boundary like the envelope's, so every string an
|
|
166
|
-
* identity carries is flattened through
|
|
167
|
-
* — see
|
|
166
|
+
* identity carries is flattened through the private `without_control_chars`
|
|
167
|
+
* filter on the way in — see the private `UsageIdentityWire` shape.
|
|
168
168
|
*/
|
|
169
169
|
export interface UsageIdentity {
|
|
170
170
|
auth_mode: AuthMode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneharness/sdk",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "Typed Node.js SDK for oneharness",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"node": ">=20"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"oneharness-cli": "0.15.
|
|
22
|
+
"oneharness-cli": "0.15.1",
|
|
23
23
|
"zod": "^4.4.3"
|
|
24
24
|
}
|
|
25
25
|
}
|