@lotagate/cli 0.1.8 → 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 +13 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -113,6 +113,8 @@ lotagate agent stdio
|
|
|
113
113
|
|
|
114
114
|
lotagate exec --json and lotagate exec --jsonl provide structured output for automation. lotagate agent stdio exposes the versioned JSONL protocol; it validates requests, bounds in-flight work, supports cancellation, and emits safe structured errors instead of raw provider failures. The Desktop bridge is available through `lotagate agent desktop`; its version-1 protocol supports image and file uploads with `attachment.begin`, ordered `attachment.chunk`, `attachment.complete`, and `turn.start` attachment references. Image bytes are normalized by the CLI; other files are encoded as SDK-compatible `input_file` data parts. All bytes are chunked before they cross JSONL's bounded line size, and existing Desktop turns without attachments plus all standalone CLI surfaces keep their current behavior.
|
|
115
115
|
|
|
116
|
+
Desktop turns also emit structured orchestration events when applicable: `plan.started`, `plan.step.started`, `plan.step.completed`, `plan.completed`, `plan.failed`, and `subagent.created`, `subagent.started`, `subagent.activity`, `subagent.completed`, `subagent.completed_with_warning`, `subagent.failed`, or `subagent.cancelled`. These events contain bounded plan metadata and presentation-safe subagent identity, status, last action, and handoff information; they do not expose child-agent content or tool payloads.
|
|
117
|
+
|
|
116
118
|
Run lotagate help for the complete direct-command reference. The executable command catalog is the source of truth for command arguments and flags.
|
|
117
119
|
|
|
118
120
|
## Models and media
|
|
@@ -185,6 +187,17 @@ lotagate plugin install <source> --scope user --sha256 <sha256>
|
|
|
185
187
|
|
|
186
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.
|
|
187
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
|
+
|
|
188
201
|
## Configuration and data
|
|
189
202
|
|
|
190
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",
|