@aiassesstech/jessie 0.1.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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/plugin.d.ts +13 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/plugin.js +61 -0
- package/dist/plugin.js.map +1 -0
- package/openclaw.plugin.json +11 -0
- package/package.json +63 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/plugin.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @aiassesstech/jessie — Fleet Commander Plugin
|
|
3
|
+
*
|
|
4
|
+
* Lightweight OpenClaw plugin that gives Jessie (the Commander) her
|
|
5
|
+
* fleet-bus tools: task dispatch, veto authority, fleet status,
|
|
6
|
+
* broadcast, and ping.
|
|
7
|
+
*
|
|
8
|
+
* Jessie is a built-in OpenClaw agent. This plugin only adds fleet
|
|
9
|
+
* communication capabilities — all other Commander behavior is
|
|
10
|
+
* handled by OpenClaw's core.
|
|
11
|
+
*/
|
|
12
|
+
export default function register(api: any): void;
|
|
13
|
+
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,GAAG,EAAE,GAAG,QA8DxC"}
|
package/dist/plugin.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @aiassesstech/jessie — Fleet Commander Plugin
|
|
3
|
+
*
|
|
4
|
+
* Lightweight OpenClaw plugin that gives Jessie (the Commander) her
|
|
5
|
+
* fleet-bus tools: task dispatch, veto authority, fleet status,
|
|
6
|
+
* broadcast, and ping.
|
|
7
|
+
*
|
|
8
|
+
* Jessie is a built-in OpenClaw agent. This plugin only adds fleet
|
|
9
|
+
* communication capabilities — all other Commander behavior is
|
|
10
|
+
* handled by OpenClaw's core.
|
|
11
|
+
*/
|
|
12
|
+
export default function register(api) {
|
|
13
|
+
// ── Fleet Bus Integration ──────────────────────────────────────
|
|
14
|
+
const fleetBusMod = "@aiassesstech/fleet-bus";
|
|
15
|
+
import(fleetBusMod)
|
|
16
|
+
.then(async ({ FleetBus, JESSIE_CARD, createJessieFleetTools, createTransport, fleetReceive, }) => {
|
|
17
|
+
const bus = FleetBus.create(api, {
|
|
18
|
+
agentId: "jessie",
|
|
19
|
+
role: "commander",
|
|
20
|
+
card: JESSIE_CARD,
|
|
21
|
+
});
|
|
22
|
+
bus.start();
|
|
23
|
+
const transport = await createTransport();
|
|
24
|
+
if (transport) {
|
|
25
|
+
const tools = createJessieFleetTools(bus, transport);
|
|
26
|
+
for (const tool of tools) {
|
|
27
|
+
api.registerTool(tool);
|
|
28
|
+
}
|
|
29
|
+
console.log(`[jessie] Fleet tools registered: ${tools.map((t) => t.name).join(", ")}`);
|
|
30
|
+
fleetReceive(bus, {
|
|
31
|
+
methods: [
|
|
32
|
+
"assessment/result",
|
|
33
|
+
"assessment/failed",
|
|
34
|
+
"drift/alert",
|
|
35
|
+
"drift/report",
|
|
36
|
+
"health/alert",
|
|
37
|
+
"health/status",
|
|
38
|
+
"health/incident",
|
|
39
|
+
"proposal/submit",
|
|
40
|
+
"task/status",
|
|
41
|
+
"task/complete",
|
|
42
|
+
"fleet/ping",
|
|
43
|
+
"fleet/pong",
|
|
44
|
+
"fleet/broadcast",
|
|
45
|
+
"veto/response",
|
|
46
|
+
],
|
|
47
|
+
handler: async (msg) => {
|
|
48
|
+
console.log(`[jessie] Fleet message received: ${msg.method} from ${msg.from}`);
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
console.log("[jessie] Fleet bus: observer mode (gateway transport unavailable)");
|
|
54
|
+
}
|
|
55
|
+
})
|
|
56
|
+
.catch(() => {
|
|
57
|
+
console.warn("[jessie] Fleet bus unavailable — operating standalone");
|
|
58
|
+
});
|
|
59
|
+
console.log("[jessie] Fleet Commander plugin registered");
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,GAAQ;IACvC,kEAAkE;IAClE,MAAM,WAAW,GAAG,yBAAyB,CAAC;IAC9C,MAAM,CAAC,WAAW,CAAC;SAChB,IAAI,CAAC,KAAK,EAAE,EACX,QAAQ,EACR,WAAW,EACX,sBAAsB,EACtB,eAAe,EACf,YAAY,GACR,EAAE,EAAE;QACR,MAAM,GAAG,GAAG,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE;YAC/B,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,WAAW;SAClB,CAAC,CAAC;QACH,GAAG,CAAC,KAAK,EAAE,CAAC;QAEZ,MAAM,SAAS,GAAG,MAAM,eAAe,EAAE,CAAC;QAC1C,IAAI,SAAS,EAAE,CAAC;YACd,MAAM,KAAK,GAAG,sBAAsB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YACrD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;gBACzB,GAAG,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC;YACD,OAAO,CAAC,GAAG,CACT,oCAAoC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC/E,CAAC;YAEF,YAAY,CAAC,GAAG,EAAE;gBAChB,OAAO,EAAE;oBACP,mBAAmB;oBACnB,mBAAmB;oBACnB,aAAa;oBACb,cAAc;oBACd,cAAc;oBACd,eAAe;oBACf,iBAAiB;oBACjB,iBAAiB;oBACjB,aAAa;oBACb,eAAe;oBACf,YAAY;oBACZ,YAAY;oBACZ,iBAAiB;oBACjB,eAAe;iBAChB;gBACD,OAAO,EAAE,KAAK,EAAE,GAAQ,EAAE,EAAE;oBAC1B,OAAO,CAAC,GAAG,CACT,oCAAoC,GAAG,CAAC,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,CAClE,CAAC;gBACJ,CAAC;aACF,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,GAAG,CACT,mEAAmE,CACpE,CAAC;QACJ,CAAC;IACH,CAAC,CAAC;SACD,KAAK,CAAC,GAAG,EAAE;QACV,OAAO,CAAC,IAAI,CAAC,uDAAuD,CAAC,CAAC;IACxE,CAAC,CAAC,CAAC;IAEL,OAAO,CAAC,GAAG,CAAC,4CAA4C,CAAC,CAAC;AAC5D,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "jessie",
|
|
3
|
+
"name": "Jessie — Fleet Commander",
|
|
4
|
+
"description": "Fleet Commander plugin — task delegation, veto authority, fleet-wide broadcast and status via fleet-bus.",
|
|
5
|
+
"configSchema": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"properties": {},
|
|
9
|
+
"required": []
|
|
10
|
+
}
|
|
11
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aiassesstech/jessie",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Jessie — Fleet Commander plugin for OpenClaw. Task delegation, veto authority, and fleet-wide coordination.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"openclaw": {
|
|
9
|
+
"extensions": [
|
|
10
|
+
"./dist/plugin.js"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"agent",
|
|
16
|
+
"openclaw.plugin.json",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc",
|
|
22
|
+
"dev": "tsc --watch",
|
|
23
|
+
"typecheck": "tsc --noEmit",
|
|
24
|
+
"lint": "tsc --noEmit",
|
|
25
|
+
"prepublishOnly": "npm run typecheck && npm run build"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"jessie",
|
|
29
|
+
"fleet-commander",
|
|
30
|
+
"ai-governance",
|
|
31
|
+
"openclaw",
|
|
32
|
+
"fleet-bus"
|
|
33
|
+
],
|
|
34
|
+
"author": "GiDanc AI LLC",
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "https://github.com/spar65/compsi.git",
|
|
39
|
+
"directory": "packages/jessie"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://www.aiassesstech.com",
|
|
42
|
+
"bugs": {
|
|
43
|
+
"url": "https://github.com/spar65/compsi/issues"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@aiassesstech/fleet-bus": ">=0.1.0"
|
|
47
|
+
},
|
|
48
|
+
"peerDependenciesMeta": {
|
|
49
|
+
"@aiassesstech/fleet-bus": {
|
|
50
|
+
"optional": true
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/node": "^20.0.0",
|
|
55
|
+
"typescript": "^5.3.3"
|
|
56
|
+
},
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=18.0.0"
|
|
59
|
+
},
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"access": "public"
|
|
62
|
+
}
|
|
63
|
+
}
|