@sjawhar/opencode-legion-envoy 0.13.0 → 0.14.0
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/dist/src/server.js +39 -0
- package/package.json +1 -1
package/dist/src/server.js
CHANGED
|
@@ -13803,6 +13803,45 @@ var LegionDaemonApi = {
|
|
|
13803
13803
|
}),
|
|
13804
13804
|
response: object({})
|
|
13805
13805
|
},
|
|
13806
|
+
WorkerStarted: {
|
|
13807
|
+
request: strictObject({
|
|
13808
|
+
tree: nonEmptyString,
|
|
13809
|
+
issue: nonEmptyString,
|
|
13810
|
+
role: legionRole,
|
|
13811
|
+
bootToken: nonEmptyString,
|
|
13812
|
+
sessionId: nonEmptyString,
|
|
13813
|
+
agentId: nonEmptyString,
|
|
13814
|
+
ompSessionFile: nonEmptyString
|
|
13815
|
+
}),
|
|
13816
|
+
response: object({
|
|
13817
|
+
roleToken: nonEmptyString,
|
|
13818
|
+
secret: nonEmptyString,
|
|
13819
|
+
gitName: nonEmptyString,
|
|
13820
|
+
gitEmail: nonEmptyString
|
|
13821
|
+
})
|
|
13822
|
+
},
|
|
13823
|
+
WorkerReady: {
|
|
13824
|
+
request: strictObject({
|
|
13825
|
+
tree: nonEmptyString,
|
|
13826
|
+
issue: nonEmptyString,
|
|
13827
|
+
role: legionRole,
|
|
13828
|
+
sessionId: nonEmptyString,
|
|
13829
|
+
generation: number2().int().nonnegative(),
|
|
13830
|
+
secret: nonEmptyString
|
|
13831
|
+
}),
|
|
13832
|
+
response: object({})
|
|
13833
|
+
},
|
|
13834
|
+
SpawnWorker: {
|
|
13835
|
+
request: architectCapability.extend({
|
|
13836
|
+
issue: nonEmptyString,
|
|
13837
|
+
role: legionRole,
|
|
13838
|
+
task: nonEmptyString
|
|
13839
|
+
}),
|
|
13840
|
+
response: object({
|
|
13841
|
+
status: _enum2(["spawned", "resumed"]),
|
|
13842
|
+
roleToken: nonEmptyString
|
|
13843
|
+
})
|
|
13844
|
+
},
|
|
13806
13845
|
Phase: {
|
|
13807
13846
|
request: strictObject({
|
|
13808
13847
|
tree: nonEmptyString,
|