@capabilityhostprotocol/types 0.1.0 → 0.2.0

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.
Files changed (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @chp/types
1
+ # @auxo/ts-types
2
2
 
3
3
  TypeScript protocol types for CHP v0.1.
4
4
 
@@ -12,9 +12,9 @@ older internal mesh/governance model.
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- npm install @chp/types
15
+ npm install @auxo/ts-types
16
16
  # or
17
- pnpm add @chp/types
17
+ pnpm add @auxo/ts-types
18
18
  ```
19
19
 
20
20
  ## Usage
@@ -28,7 +28,7 @@ import type {
28
28
  InvocationEnvelope,
29
29
  InvocationResult,
30
30
  ReplayResult,
31
- } from '@chp/types';
31
+ } from '@auxo/ts-types';
32
32
  ```
33
33
 
34
34
  ```typescript
@@ -69,7 +69,7 @@ import {
69
69
  type Evidence,
70
70
  type RiskClass,
71
71
  type AssuranceTier,
72
- } from '@chp/types/legacy';
72
+ } from '@auxo/ts-types/legacy';
73
73
 
74
74
  // Create a subject
75
75
  const subject = createSubjectContext({
@@ -100,7 +100,7 @@ const evidence = createEvidence({
100
100
 
101
101
  ## Type Correspondence
102
102
 
103
- | CHP v0.1 Concept | Python `chp_core` | TypeScript `@chp/types` |
103
+ | CHP v0.1 Concept | Python `chp_core` | TypeScript `@auxo/ts-types` |
104
104
  |---|---|---|
105
105
  | Capability descriptor | `CapabilityDescriptor` | `CapabilityDescriptor` |
106
106
  | Host descriptor | `HostDescriptor` | `HostDescriptor` |
@@ -114,10 +114,10 @@ const evidence = createEvidence({
114
114
  ## Verification
115
115
 
116
116
  ```bash
117
- npm run typecheck --workspace @chp/types
118
- npm run build --workspace @chp/types
117
+ npm run typecheck --workspace @auxo/ts-types
118
+ npm run build --workspace @auxo/ts-types
119
119
  ```
120
120
 
121
121
  ## License
122
122
 
123
- Apache-2.0. See [LICENSE](../../LICENSE).
123
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capabilityhostprotocol/types",
3
- "version": "0.1.0",
4
- "description": "TypeScript protocol types for the Capability Host Protocol (CHP v0.1).",
3
+ "version": "0.2.0",
4
+ "description": "TypeScript types for the Capability Host Protocol (CHP).",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -37,11 +37,11 @@
37
37
  "capabilities",
38
38
  "typescript"
39
39
  ],
40
- "author": "Auxo",
40
+ "author": "Capability Host Protocol Contributors",
41
41
  "license": "Apache-2.0",
42
42
  "repository": {
43
43
  "type": "git",
44
- "url": "git+https://github.com/capabilityhostprotocol/chp-core.git",
44
+ "url": "https://github.com/capabilityhostprotocol/chp-core",
45
45
  "directory": "packages/ts-types"
46
46
  },
47
47
  "engines": {