@agentage/extension 0.14.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.
- package/README.md +3 -1
- package/dist/contracts/index.d.ts +1 -1
- package/dist/contracts/index.js +1 -1
- package/dist/discovery/discovery.d.ts +10 -25
- package/dist/discovery/discovery.js +7 -1
- package/dist/discovery/discovery.schema.d.ts +45 -0
- package/dist/discovery/discovery.schema.js +33 -4
- package/dist/discovery/served-extras.d.ts +8 -0
- package/dist/discovery/served-extras.js +10 -0
- package/dist/health/health.d.ts +2 -0
- package/dist/health/health.js +4 -2
- package/dist/health/health.schema.d.ts +9 -0
- package/dist/health/health.schema.js +3 -0
- package/dist/host/clock-rate.d.ts +1 -0
- package/dist/host/clock-rate.js +12 -0
- package/dist/host/daemon/add.js +29 -4
- package/dist/host/daemon/child-files.d.ts +20 -0
- package/dist/host/daemon/child-files.js +45 -0
- package/dist/host/daemon/child.d.ts +10 -4
- package/dist/host/daemon/child.js +68 -43
- package/dist/host/daemon/daemon-files.d.ts +3 -0
- package/dist/host/daemon/daemon-files.js +5 -1
- package/dist/host/daemon/daemon.d.ts +1 -0
- package/dist/host/daemon/daemon.js +21 -6
- package/dist/host/daemon/gate.d.ts +3 -0
- package/dist/host/daemon/gate.js +19 -0
- package/dist/host/daemon/guard.d.ts +2 -1
- package/dist/host/daemon/guard.js +16 -4
- package/dist/host/daemon/health-routes.d.ts +17 -0
- package/dist/host/daemon/health-routes.js +61 -0
- package/dist/host/daemon/host-token.d.ts +6 -0
- package/dist/host/daemon/host-token.js +28 -0
- package/dist/host/daemon/last-words.d.ts +2 -0
- package/dist/host/daemon/last-words.js +28 -0
- package/dist/host/daemon/limits.d.ts +4 -0
- package/dist/host/daemon/limits.js +7 -0
- package/dist/host/daemon/ops.js +4 -1
- package/dist/host/daemon/pending.d.ts +1 -1
- package/dist/host/daemon/proxy.d.ts +1 -1
- package/dist/host/daemon/proxy.js +16 -8
- package/dist/host/daemon/redact-stream.d.ts +4 -0
- package/dist/host/daemon/redact-stream.js +24 -0
- package/dist/host/daemon/reload-marker.d.ts +8 -0
- package/dist/host/daemon/reload-marker.js +56 -0
- package/dist/host/daemon/reload-route.d.ts +4 -0
- package/dist/host/daemon/reload-route.js +21 -0
- package/dist/host/daemon/reload.d.ts +10 -0
- package/dist/host/daemon/reload.js +73 -0
- package/dist/host/daemon/restart.d.ts +14 -0
- package/dist/host/daemon/restart.js +59 -0
- package/dist/host/daemon/routes.d.ts +2 -10
- package/dist/host/daemon/routes.js +13 -31
- package/dist/host/daemon/run-lock.d.ts +1 -0
- package/dist/host/daemon/run-lock.js +15 -0
- package/dist/host/daemon/seal-reach.d.ts +2 -0
- package/dist/host/daemon/seal-reach.js +38 -0
- package/dist/host/daemon/seal.d.ts +16 -0
- package/dist/host/daemon/seal.js +71 -0
- package/dist/host/daemon/start-checks.d.ts +7 -0
- package/dist/host/daemon/start-checks.js +29 -0
- package/dist/host/daemon/supervisor.d.ts +9 -3
- package/dist/host/daemon/supervisor.js +33 -40
- package/dist/host/data-lock.d.ts +2 -1
- package/dist/host/data-lock.js +25 -6
- package/dist/host/host-env.d.ts +1 -0
- package/dist/host/host-env.js +2 -0
- package/dist/host/host-extension.d.ts +6 -0
- package/dist/host/host-extension.js +28 -44
- package/dist/host/host-parts.d.ts +25 -0
- package/dist/host/host-parts.js +82 -0
- package/dist/host/host-store.d.ts +3 -0
- package/dist/host/host-store.js +21 -2
- package/dist/host/main.js +2 -0
- package/dist/host/part-checks.d.ts +2 -0
- package/dist/host/part-checks.js +19 -0
- package/dist/host/serve-host.js +10 -6
- package/dist/manifest/parts.d.ts +3 -0
- package/dist/manifest/parts.js +3 -0
- package/dist/mcp/mcp-app.d.ts +4 -0
- package/dist/mcp/mcp-app.js +11 -11
- package/dist/runtime/part-mounts.d.ts +31 -0
- package/dist/runtime/part-mounts.js +57 -0
- package/dist/runtime/part-runners.d.ts +2 -15
- package/dist/runtime/part-runners.js +13 -58
- package/dist/server/app.d.ts +5 -3
- package/dist/server/app.js +16 -17
- package/dist/tool/build.d.ts +1 -0
- package/dist/tool/build.js +3 -2
- package/dist/tool/check.d.ts +3 -1
- package/dist/tool/check.js +25 -9
- package/dist/tool/container-parts.d.ts +1 -1
- package/dist/tool/container-parts.js +6 -6
- package/dist/tool/format.d.ts +1 -0
- package/dist/tool/format.js +17 -8
- package/dist/tool/kit-version.d.ts +2 -0
- package/dist/tool/kit-version.js +12 -0
- package/dist/tool/record-extras.js +5 -12
- package/dist/worker/clock.d.ts +6 -0
- package/dist/worker/clock.js +21 -0
- package/dist/worker/scheduler.d.ts +1 -0
- package/dist/worker/scheduler.js +6 -2
- package/package.json +1 -1
- package/schemas/extension-discovery.schema.json +61 -34
- package/schemas/extension-record.schema.json +1 -1
- package/schemas/health.schema.json +17 -0
|
@@ -54,46 +54,73 @@
|
|
|
54
54
|
"additionalProperties": false
|
|
55
55
|
},
|
|
56
56
|
"api": {
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
57
|
+
"anyOf": [
|
|
58
|
+
{
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"image": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"maxLength": 256,
|
|
64
|
+
"pattern": "^[a-z0-9][a-z0-9.-]*(:[0-9]{1,5})?\\/[a-z0-9][a-z0-9-]*\\/[a-z][a-z0-9-]*-(pages|ui|api|mcp|worker)@sha256:[0-9a-f]{64}$"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"image"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {},
|
|
75
|
+
"additionalProperties": false
|
|
63
76
|
}
|
|
64
|
-
|
|
65
|
-
"required": [
|
|
66
|
-
"image"
|
|
67
|
-
],
|
|
68
|
-
"additionalProperties": false
|
|
77
|
+
]
|
|
69
78
|
},
|
|
70
79
|
"mcp": {
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
80
|
+
"anyOf": [
|
|
81
|
+
{
|
|
82
|
+
"type": "object",
|
|
83
|
+
"properties": {
|
|
84
|
+
"image": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"maxLength": 256,
|
|
87
|
+
"pattern": "^[a-z0-9][a-z0-9.-]*(:[0-9]{1,5})?\\/[a-z0-9][a-z0-9-]*\\/[a-z][a-z0-9-]*-(pages|ui|api|mcp|worker)@sha256:[0-9a-f]{64}$"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": [
|
|
91
|
+
"image"
|
|
92
|
+
],
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "object",
|
|
97
|
+
"properties": {},
|
|
98
|
+
"additionalProperties": false
|
|
77
99
|
}
|
|
78
|
-
|
|
79
|
-
"required": [
|
|
80
|
-
"image"
|
|
81
|
-
],
|
|
82
|
-
"additionalProperties": false
|
|
100
|
+
]
|
|
83
101
|
},
|
|
84
102
|
"worker": {
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
103
|
+
"anyOf": [
|
|
104
|
+
{
|
|
105
|
+
"type": "object",
|
|
106
|
+
"properties": {
|
|
107
|
+
"image": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"maxLength": 256,
|
|
110
|
+
"pattern": "^[a-z0-9][a-z0-9.-]*(:[0-9]{1,5})?\\/[a-z0-9][a-z0-9-]*\\/[a-z][a-z0-9-]*-(pages|ui|api|mcp|worker)@sha256:[0-9a-f]{64}$"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"required": [
|
|
114
|
+
"image"
|
|
115
|
+
],
|
|
116
|
+
"additionalProperties": false
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "object",
|
|
120
|
+
"properties": {},
|
|
121
|
+
"additionalProperties": false
|
|
91
122
|
}
|
|
92
|
-
|
|
93
|
-
"required": [
|
|
94
|
-
"image"
|
|
95
|
-
],
|
|
96
|
-
"additionalProperties": false
|
|
123
|
+
]
|
|
97
124
|
},
|
|
98
125
|
"store": {
|
|
99
126
|
"type": "object",
|
|
@@ -122,7 +149,7 @@
|
|
|
122
149
|
"additionalProperties": false
|
|
123
150
|
},
|
|
124
151
|
"image": {
|
|
125
|
-
"description": "The one image (build --container). A record has part images or this image: never both, never none.",
|
|
152
|
+
"description": "The one image (build --container). A build record has part images or this image: never both, never none.",
|
|
126
153
|
"type": "string",
|
|
127
154
|
"maxLength": 256,
|
|
128
155
|
"pattern": "^[a-z0-9][a-z0-9.-]*(:[0-9]{1,5})?(\\/[a-z0-9][a-z0-9_.-]*)+\\/[a-z][a-z0-9-]*@sha256:[0-9a-f]{64}$"
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"additionalProperties": false
|
|
123
123
|
},
|
|
124
124
|
"image": {
|
|
125
|
-
"description": "The one image (build --container). A record has part images or this image: never both, never none.",
|
|
125
|
+
"description": "The one image (build --container). A build record has part images or this image: never both, never none.",
|
|
126
126
|
"type": "string",
|
|
127
127
|
"maxLength": 256,
|
|
128
128
|
"pattern": "^[a-z0-9][a-z0-9.-]*(:[0-9]{1,5})?(\\/[a-z0-9][a-z0-9_.-]*)+\\/[a-z][a-z0-9-]*@sha256:[0-9a-f]{64}$"
|
|
@@ -34,6 +34,20 @@
|
|
|
34
34
|
"store"
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
|
+
"parts": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": [
|
|
42
|
+
"pages",
|
|
43
|
+
"ui",
|
|
44
|
+
"api",
|
|
45
|
+
"mcp",
|
|
46
|
+
"worker",
|
|
47
|
+
"store"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
37
51
|
"version": {
|
|
38
52
|
"type": "string",
|
|
39
53
|
"pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$"
|
|
@@ -47,6 +61,9 @@
|
|
|
47
61
|
"format": "date-time",
|
|
48
62
|
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
|
|
49
63
|
},
|
|
64
|
+
"clockRate": {
|
|
65
|
+
"type": "number"
|
|
66
|
+
},
|
|
50
67
|
"instance": {
|
|
51
68
|
"type": "string",
|
|
52
69
|
"pattern": "^[0-9a-f]{8,32}$"
|