@grackle-ai/plugin-orchestration 0.131.0 → 0.132.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/README.md
CHANGED
|
@@ -11,22 +11,19 @@ import { createCorePlugin } from "@grackle-ai/server/core-plugin";
|
|
|
11
11
|
import { createOrchestrationPlugin } from "@grackle-ai/plugin-orchestration";
|
|
12
12
|
import { loadPlugins } from "@grackle-ai/plugin-sdk";
|
|
13
13
|
|
|
14
|
-
const loaded = await loadPlugins(
|
|
15
|
-
[createCorePlugin(), createOrchestrationPlugin()],
|
|
16
|
-
pluginContext,
|
|
17
|
-
);
|
|
14
|
+
const loaded = await loadPlugins([createCorePlugin(), createOrchestrationPlugin()], pluginContext);
|
|
18
15
|
```
|
|
19
16
|
|
|
20
17
|
## What This Plugin Contributes
|
|
21
18
|
|
|
22
19
|
### gRPC Handlers (21 RPCs)
|
|
23
20
|
|
|
24
|
-
| Group
|
|
25
|
-
|
|
26
|
-
| Tasks
|
|
27
|
-
| Personas
|
|
28
|
-
| Findings
|
|
29
|
-
| Escalations | `createEscalation`, `listEscalations`, `acknowledgeEscalation`
|
|
21
|
+
| Group | Methods |
|
|
22
|
+
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
23
|
+
| Tasks | `listTasks`, `createTask`, `getTask`, `updateTask`, `startTask`, `completeTask`, `setWorkpad`, `resumeTask`, `stopTask`, `deleteTask` |
|
|
24
|
+
| Personas | `listPersonas`, `createPersona`, `getPersona`, `updatePersona`, `deletePersona` |
|
|
25
|
+
| Findings | `postFinding`, `queryFindings`, `getFinding` |
|
|
26
|
+
| Escalations | `createEscalation`, `listEscalations`, `acknowledgeEscalation` |
|
|
30
27
|
|
|
31
28
|
### Reconciliation Phases
|
|
32
29
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestration-plugin.d.ts","sourceRoot":"","sources":["../src/orchestration-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"orchestration-plugin.d.ts","sourceRoot":"","sources":["../src/orchestration-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAW5D;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,IAAI,aAAa,CA4BzD"}
|
|
@@ -24,10 +24,12 @@ export function createOrchestrationPlugin() {
|
|
|
24
24
|
return {
|
|
25
25
|
name: "orchestration",
|
|
26
26
|
dependencies: ["core"],
|
|
27
|
-
grpcHandlers: () => [
|
|
27
|
+
grpcHandlers: () => [
|
|
28
|
+
{
|
|
28
29
|
service: grackle.GrackleOrchestration,
|
|
29
30
|
handlers: createOrchestrationCollector().getHandlers(grackle.GrackleOrchestration),
|
|
30
|
-
}
|
|
31
|
+
},
|
|
32
|
+
],
|
|
31
33
|
reconciliationPhases: (ctx) => [
|
|
32
34
|
createOrphanPhase({
|
|
33
35
|
listAllTasks: () => taskStore.listTasks(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestration-plugin.js","sourceRoot":"","sources":["../src/orchestration-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EACL,4BAA4B,EAC5B,iBAAiB,EACjB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"orchestration-plugin.js","sourceRoot":"","sources":["../src/orchestration-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EACL,4BAA4B,EAC5B,iBAAiB,EACjB,uBAAuB,EACvB,8BAA8B,EAC9B,8BAA8B,GAC/B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,yBAAyB;IACvC,OAAO;QACL,IAAI,EAAE,eAAe;QACrB,YAAY,EAAE,CAAC,MAAM,CAAC;QAEtB,YAAY,EAAE,GAAG,EAAE,CAAC;YAClB;gBACE,OAAO,EAAE,OAAO,CAAC,oBAAoB;gBACrC,QAAQ,EAAE,4BAA4B,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,oBAAoB,CAAC;aACnF;SACF;QAED,oBAAoB,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC;YAC7B,iBAAiB,CAAC;gBAChB,YAAY,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE;gBACzC,YAAY,EAAE,CAAC,MAAc,EAAE,eAAuB,EAAQ,EAAE;oBAC9D,SAAS,CAAC,YAAY,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;gBAClD,CAAC;gBACD,IAAI,EAAE,GAAG,CAAC,IAAI;aACf,CAAC;SACH;QAED,gBAAgB,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC;YACzB,uBAAuB,CAAC,GAAG,CAAC;YAC5B,8BAA8B,CAAC,GAAG,CAAC;YACnC,8BAA8B,CAAC,GAAG,CAAC;SACpC;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grackle-ai/plugin-orchestration",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.132.0",
|
|
4
4
|
"description": "Orchestration plugin for Grackle — tasks, personas, findings, and escalations",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,15 +28,16 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@bufbuild/protobuf": "^2.5.0",
|
|
31
|
-
"@grackle-ai/
|
|
32
|
-
"@grackle-ai/
|
|
33
|
-
"@grackle-ai/
|
|
34
|
-
"@grackle-ai/plugin-sdk": "0.
|
|
35
|
-
"@grackle-ai/
|
|
31
|
+
"@grackle-ai/common": "0.132.0",
|
|
32
|
+
"@grackle-ai/core": "0.132.0",
|
|
33
|
+
"@grackle-ai/database": "0.132.0",
|
|
34
|
+
"@grackle-ai/plugin-sdk": "0.132.0",
|
|
35
|
+
"@grackle-ai/plugin-core": "0.132.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@rushstack/heft": "1.2.7",
|
|
39
39
|
"@types/node": "^22.0.0",
|
|
40
|
+
"@vitest/coverage-v8": "^3.1.1",
|
|
40
41
|
"vitest": "^3.2.1",
|
|
41
42
|
"@grackle-ai/heft-rig": "0.0.1"
|
|
42
43
|
},
|
|
@@ -45,6 +46,6 @@
|
|
|
45
46
|
"test": "vitest run",
|
|
46
47
|
"clean": "heft clean",
|
|
47
48
|
"_phase:build": "heft run --only build -- --clean",
|
|
48
|
-
"_phase:test": "vitest run"
|
|
49
|
+
"_phase:test": "vitest run --coverage"
|
|
49
50
|
}
|
|
50
51
|
}
|