-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathupdate-kit.config.json
More file actions
55 lines (55 loc) · 1.58 KB
/
update-kit.config.json
File metadata and controls
55 lines (55 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"$schemaVersion": 1,
"appName": "agents-in-browser",
"currentVersion": "0.1.0",
"repo": "d-wwei/Agents-In-Browser",
"releaseChannel": "releases",
"currentVersionSource": {
"type": "package.json",
"path": "./packages/proxy-server/package.json"
},
"installStrategy": {
"type": "custom_command",
"command": ["git", "pull", "--rebase", "origin", "main"],
"timeoutMs": 60000
},
"postInstallCommand": ["npm", "install"],
"rollbackCommand": ["git", "checkout", "{targetVersion}"],
"statePath": "./.update-kit/state.json",
"auditLogPath": "./.update-kit/audit.log",
"lockPath": "./.update-kit/update.lock",
"autoUpdatePolicy": "manual",
"allowedUpdateLevels": ["patch", "minor", "major"],
"preflightHooks": [
{
"type": "builtin",
"builtin": "command_exists",
"value": "git",
"description": "Verify git is available"
}
],
"verificationHooks": [
{
"type": "builtin",
"builtin": "file_exists",
"value": "./packages/proxy-server/src/index.ts",
"description": "Core entry point must exist after update"
},
{
"type": "custom_command",
"command": ["npm", "test"],
"description": "Tests must pass after update",
"phase": "after_switch"
}
],
"updateInstructions": {
"summary": "Pull latest version from GitHub and reinstall dependencies.",
"docsUrl": "https://github.com/d-wwei/Agents-In-Browser#readme",
"installHint": "npx update-kit apply"
},
"updateCheckEnabled": true,
"cache": {
"upToDateTtlMs": 3600000,
"upgradeAvailableTtlMs": 43200000
}
}