@klhapp/skillmux 1.9.2 → 1.9.3
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/CHANGELOG.md +15 -0
- package/docs/configuration.md +51 -0
- package/docs/skill-management.md +43 -0
- package/package.json +1 -1
- package/src/cli.ts +75 -31
- package/src/clients.ts +17 -0
- package/src/commands/audit.ts +9 -3
- package/src/commands/outdated.ts +6 -4
- package/src/commands/update.ts +9 -4
- package/src/concurrency-limiter.ts +61 -0
- package/src/config.ts +5 -0
- package/src/db.ts +114 -6
- package/src/install.ts +15 -0
- package/src/redact.ts +52 -0
- package/src/server.ts +448 -268
- package/src/types.ts +7 -0
package/src/types.ts
CHANGED
|
@@ -101,12 +101,18 @@ export interface ServerConfig {
|
|
|
101
101
|
hostname?: string;
|
|
102
102
|
rate_limit?: RateLimitConfig;
|
|
103
103
|
admin?: AdminConfig;
|
|
104
|
+
max_body_bytes?: number;
|
|
105
|
+
max_concurrent_requests?: number;
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
export interface ConfigPolicy {
|
|
107
109
|
environment_overrides?: boolean;
|
|
108
110
|
}
|
|
109
111
|
|
|
112
|
+
export interface EgressConfig {
|
|
113
|
+
allowed_hosts?: string[];
|
|
114
|
+
}
|
|
115
|
+
|
|
110
116
|
export interface AuditConfig {
|
|
111
117
|
/** Age in days beyond which audit rows are pruned. 0 disables pruning. */
|
|
112
118
|
retention_days: number;
|
|
@@ -122,6 +128,7 @@ export interface Config {
|
|
|
122
128
|
inference: InferenceConfig;
|
|
123
129
|
server?: ServerConfig;
|
|
124
130
|
audit?: AuditConfig;
|
|
131
|
+
egress?: EgressConfig;
|
|
125
132
|
}
|
|
126
133
|
|
|
127
134
|
export interface RankedCandidate {
|