@lotagate/cli 0.1.9 → 0.1.10
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 +11 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -187,6 +187,17 @@ lotagate plugin install <source> --scope user --sha256 <sha256>
|
|
|
187
187
|
|
|
188
188
|
Plugins are declarative packages with .lotagate-plugin/plugin.json. The CLI copies and validates them atomically; it does not run package-install scripts. Skills are validated SKILL.md directories and can be user, project, plugin, or immutable bundled skills. Project hooks are loaded only from <project>/.lotagate/hooks/ in a trusted project.
|
|
189
189
|
|
|
190
|
+
Each project hook is a JSON file with an `event`, executable `command`, optional string-array `args`, and a `timeoutMs` between 100 and 120000. Supported lifecycle events are `session.start`, `prompt.before`, `tool.before`, `tool.after`, `response.after`, and `session.end`. The `tool.before` event runs immediately before a local or MCP tool is executed; `tool.after` runs after it completes.
|
|
191
|
+
|
|
192
|
+
~~~json
|
|
193
|
+
{
|
|
194
|
+
"event": "tool.before",
|
|
195
|
+
"command": "node",
|
|
196
|
+
"args": [".lotagate/hooks/audit.mjs"],
|
|
197
|
+
"timeoutMs": 10000
|
|
198
|
+
}
|
|
199
|
+
~~~
|
|
200
|
+
|
|
190
201
|
## Configuration and data
|
|
191
202
|
|
|
192
203
|
Configuration is merged in this order, with later layers taking precedence:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lotagate/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Enterprise-grade terminal client for LotaGate AI agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"tiktoken": "^1.0.22"
|
|
70
70
|
},
|
|
71
71
|
"optionalDependencies": {
|
|
72
|
-
"@lotagate/cli-native-linux-arm64-gnu": "0.1.
|
|
73
|
-
"@lotagate/cli-native-linux-x64-gnu": "0.1.
|
|
74
|
-
"@lotagate/cli-native-macos-arm64": "0.1.
|
|
75
|
-
"@lotagate/cli-native-macos-x64": "0.1.
|
|
76
|
-
"@lotagate/cli-native-windows-arm64": "0.1.
|
|
77
|
-
"@lotagate/cli-native-windows-x64": "0.1.
|
|
72
|
+
"@lotagate/cli-native-linux-arm64-gnu": "0.1.10",
|
|
73
|
+
"@lotagate/cli-native-linux-x64-gnu": "0.1.10",
|
|
74
|
+
"@lotagate/cli-native-macos-arm64": "0.1.10",
|
|
75
|
+
"@lotagate/cli-native-macos-x64": "0.1.10",
|
|
76
|
+
"@lotagate/cli-native-windows-arm64": "0.1.10",
|
|
77
|
+
"@lotagate/cli-native-windows-x64": "0.1.10"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@eslint/js": "9.39.5",
|