@oneharness/sdk 0.16.0 → 0.16.2
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.
|
@@ -36,6 +36,12 @@ export type Capability = {
|
|
|
36
36
|
readonly reason: string;
|
|
37
37
|
}[];
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* Every capability the CLI declares, keyed by method. `as const` keeps each
|
|
41
|
+
* key a literal so `CapabilityMethod` is the union of method names rather
|
|
42
|
+
* than `string`, and `satisfies` holds every entry to `Capability` without
|
|
43
|
+
* widening the literals an annotation would.
|
|
44
|
+
*/
|
|
39
45
|
export declare const CAPABILITIES: {
|
|
40
46
|
readonly run: {
|
|
41
47
|
readonly method: "run";
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Every capability the CLI declares, keyed by method. `as const` keeps each
|
|
3
|
+
* key a literal so `CapabilityMethod` is the union of method names rather
|
|
4
|
+
* than `string`, and `satisfies` holds every entry to `Capability` without
|
|
5
|
+
* widening the literals an annotation would.
|
|
6
|
+
*/
|
|
1
7
|
export const CAPABILITIES = {
|
|
2
8
|
run: {
|
|
3
9
|
method: "run",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneharness/sdk",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
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.16.
|
|
22
|
+
"oneharness-cli": "0.16.2",
|
|
23
23
|
"zod": "^4.4.3"
|
|
24
24
|
}
|
|
25
25
|
}
|