@cleocode/lafs 2026.5.49 → 2026.5.51
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/dist/src/discovery.d.ts +9 -170
- package/dist/src/discovery.d.ts.map +1 -1
- package/dist/src/discovery.js +20 -181
- package/dist/src/discovery.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/schemas/v1/discovery.schema.json +0 -132
- package/schemas/v1/discovery.schema.json +0 -132
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://lafs.dev/schemas/v1/discovery.schema.json",
|
|
4
|
-
"title": "LAFS Discovery Document",
|
|
5
|
-
"description": "Schema for LAFS agent discovery documents served at /.well-known/lafs.json",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"$schema",
|
|
9
|
-
"lafs_version",
|
|
10
|
-
"service",
|
|
11
|
-
"capabilities",
|
|
12
|
-
"endpoints"
|
|
13
|
-
],
|
|
14
|
-
"properties": {
|
|
15
|
-
"$schema": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"format": "uri",
|
|
18
|
-
"description": "URL of the schema this document conforms to"
|
|
19
|
-
},
|
|
20
|
-
"lafs_version": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
23
|
-
"description": "LAFS protocol version (semantic versioning)"
|
|
24
|
-
},
|
|
25
|
-
"service": {
|
|
26
|
-
"type": "object",
|
|
27
|
-
"description": "Service identification and metadata",
|
|
28
|
-
"required": [
|
|
29
|
-
"name",
|
|
30
|
-
"version"
|
|
31
|
-
],
|
|
32
|
-
"properties": {
|
|
33
|
-
"name": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"minLength": 1,
|
|
36
|
-
"maxLength": 100,
|
|
37
|
-
"description": "Unique service name (kebab-case recommended)"
|
|
38
|
-
},
|
|
39
|
-
"version": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
42
|
-
"description": "Service version (semantic versioning)"
|
|
43
|
-
},
|
|
44
|
-
"description": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"maxLength": 500,
|
|
47
|
-
"description": "Human-readable service description"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"additionalProperties": false
|
|
51
|
-
},
|
|
52
|
-
"capabilities": {
|
|
53
|
-
"type": "array",
|
|
54
|
-
"description": "List of LAFS capabilities this service provides",
|
|
55
|
-
"minItems": 1,
|
|
56
|
-
"items": {
|
|
57
|
-
"type": "object",
|
|
58
|
-
"required": [
|
|
59
|
-
"name",
|
|
60
|
-
"version",
|
|
61
|
-
"operations"
|
|
62
|
-
],
|
|
63
|
-
"properties": {
|
|
64
|
-
"name": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"minLength": 1,
|
|
67
|
-
"maxLength": 100,
|
|
68
|
-
"description": "Capability identifier (kebab-case recommended)"
|
|
69
|
-
},
|
|
70
|
-
"version": {
|
|
71
|
-
"type": "string",
|
|
72
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
73
|
-
"description": "Capability version (semantic versioning)"
|
|
74
|
-
},
|
|
75
|
-
"description": {
|
|
76
|
-
"type": "string",
|
|
77
|
-
"maxLength": 500,
|
|
78
|
-
"description": "Human-readable capability description"
|
|
79
|
-
},
|
|
80
|
-
"operations": {
|
|
81
|
-
"type": "array",
|
|
82
|
-
"description": "List of operations this capability supports",
|
|
83
|
-
"minItems": 1,
|
|
84
|
-
"items": {
|
|
85
|
-
"type": "string",
|
|
86
|
-
"minLength": 1,
|
|
87
|
-
"maxLength": 50
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"optional": {
|
|
91
|
-
"type": "boolean",
|
|
92
|
-
"default": false,
|
|
93
|
-
"description": "Whether this capability is optional for clients"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"additionalProperties": false
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"endpoints": {
|
|
100
|
-
"type": "object",
|
|
101
|
-
"description": "URL endpoints for LAFS operations",
|
|
102
|
-
"required": [
|
|
103
|
-
"envelope",
|
|
104
|
-
"discovery"
|
|
105
|
-
],
|
|
106
|
-
"properties": {
|
|
107
|
-
"envelope": {
|
|
108
|
-
"type": "string",
|
|
109
|
-
"minLength": 1,
|
|
110
|
-
"description": "URL for envelope submission (POST)"
|
|
111
|
-
},
|
|
112
|
-
"context": {
|
|
113
|
-
"type": "string",
|
|
114
|
-
"minLength": 1,
|
|
115
|
-
"description": "URL for context ledger operations"
|
|
116
|
-
},
|
|
117
|
-
"discovery": {
|
|
118
|
-
"type": "string",
|
|
119
|
-
"minLength": 1,
|
|
120
|
-
"description": "URL of this discovery document"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"additionalProperties": false
|
|
124
|
-
},
|
|
125
|
-
"extensions": {
|
|
126
|
-
"type": "object",
|
|
127
|
-
"description": "Extension fields for vendor-specific metadata",
|
|
128
|
-
"additionalProperties": true
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"additionalProperties": false
|
|
132
|
-
}
|