@burmese/plugin-sdk 3.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/LICENSE +21 -0
- package/README.md +42 -0
- package/dist/check-plugin-sdk.d.ts +2 -0
- package/dist/check-plugin-sdk.d.ts.map +1 -0
- package/dist/check-plugin-sdk.js +120 -0
- package/dist/check-plugin-sdk.js.map +1 -0
- package/dist/index.d.ts +858 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/testing.d.ts +246 -0
- package/dist/testing.d.ts.map +1 -0
- package/dist/testing.js +645 -0
- package/dist/testing.js.map +1 -0
- package/package.json +46 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 OpenPets
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @burmese/plugin-sdk
|
|
2
|
+
|
|
3
|
+
Type definitions for building [OpenPets](https://openpets.dev) desktop pet plugins.
|
|
4
|
+
|
|
5
|
+
This package is **types only**. There is no runtime to import — the OpenPets
|
|
6
|
+
desktop app injects the `OpenPetsPlugin` global into your plugin's sandbox and
|
|
7
|
+
passes your `start(ctx)` handler the SDK. Installing this package gives your
|
|
8
|
+
editor autocomplete and type-checking; it never ships in your plugin.
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm i -D @burmese/plugin-sdk
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Use
|
|
17
|
+
|
|
18
|
+
A plugin is a single browser-style JavaScript file. Reference the types for
|
|
19
|
+
IntelliSense:
|
|
20
|
+
|
|
21
|
+
```js
|
|
22
|
+
/// <reference types="@burmese/plugin-sdk" />
|
|
23
|
+
|
|
24
|
+
OpenPetsPlugin.register({
|
|
25
|
+
async start(ctx) {
|
|
26
|
+
await ctx.pet.speak("Hello!")
|
|
27
|
+
await ctx.pet.react("waving")
|
|
28
|
+
},
|
|
29
|
+
})
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Or, in TypeScript, import the contract directly:
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
import type { OpenPetsContext, OpenPetsPluginDefinition } from "@burmese/plugin-sdk"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Docs
|
|
39
|
+
|
|
40
|
+
- SDK guide: https://openpets.dev/sdk
|
|
41
|
+
- Full reference: https://openpets.dev/docs/plugin-sdk
|
|
42
|
+
- Example plugins: https://github.com/wannabeepolymath/pet-assistant/tree/main/plugins/official
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-plugin-sdk.d.ts","sourceRoot":"","sources":["../src/check-plugin-sdk.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { createMockContext } from "./testing.js";
|
|
2
|
+
export { createMockContext } from "./testing.js";
|
|
3
|
+
const assert = {
|
|
4
|
+
ok(value, message) {
|
|
5
|
+
if (!value)
|
|
6
|
+
throw new Error(message ?? "Assertion failed.");
|
|
7
|
+
},
|
|
8
|
+
equal(actual, expected, message) {
|
|
9
|
+
if (actual !== expected)
|
|
10
|
+
throw new Error(message ?? `Expected ${String(expected)}, got ${String(actual)}.`);
|
|
11
|
+
},
|
|
12
|
+
deepEqual(actual, expected, message) {
|
|
13
|
+
if (JSON.stringify(actual) !== JSON.stringify(expected)) {
|
|
14
|
+
throw new Error(message ?? `Expected ${JSON.stringify(expected)}, got ${JSON.stringify(actual)}.`);
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
// A representative v3 plugin, typed against the public contract.
|
|
19
|
+
const plugin = {
|
|
20
|
+
async start(ctx) {
|
|
21
|
+
await ctx.status.set({ text: "Ready", tone: "info" });
|
|
22
|
+
await ctx.pet.speak("Hello!");
|
|
23
|
+
await ctx.pet.react("waving");
|
|
24
|
+
await ctx.pet.react("waving", { showMessage: false });
|
|
25
|
+
await ctx.pet.setStatusReaction("thinking");
|
|
26
|
+
const alert = await ctx.ui.alert({ text: "Heads up", markdown: "**Check complete**", icon: "bell", tone: "info", sound: "alert" });
|
|
27
|
+
alert.onAction(() => undefined);
|
|
28
|
+
await alert.acknowledge();
|
|
29
|
+
const bubble = await ctx.ui.bubble({
|
|
30
|
+
text: "Break in 5:00",
|
|
31
|
+
sticky: true,
|
|
32
|
+
actions: [{ id: "snooze", label: "Snooze" }, { id: "done", label: "Done", style: "primary" }],
|
|
33
|
+
});
|
|
34
|
+
bubble.onAction(async (actionId) => {
|
|
35
|
+
if (actionId === "done")
|
|
36
|
+
await bubble.dismiss();
|
|
37
|
+
});
|
|
38
|
+
const hudBubble = await ctx.ui.bubble({
|
|
39
|
+
pin: true,
|
|
40
|
+
hud: {
|
|
41
|
+
items: [
|
|
42
|
+
{ icon: "food", value: 80, tone: "amber", label: "Food" },
|
|
43
|
+
{ icon: "zap", value: 60, tone: "blue", label: "Energy" },
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
await ctx.schedule.every("tick", 60_000, async () => {
|
|
48
|
+
await ctx.storage.set("lastTick", "now");
|
|
49
|
+
});
|
|
50
|
+
await ctx.schedule.cron("daily-summary", "0 9 * * 1-5", async () => {
|
|
51
|
+
await ctx.storage.set("summaryRan", true);
|
|
52
|
+
});
|
|
53
|
+
ctx.events.on("pet:clicked", () => {
|
|
54
|
+
void ctx.pet.react("celebrating");
|
|
55
|
+
});
|
|
56
|
+
ctx.storage.subscribe("lastTick", () => undefined);
|
|
57
|
+
await ctx.bus.publish("sample/mood", { mood: "happy" });
|
|
58
|
+
const picked = (await ctx.files.pick({ accept: ["audio/*"] }))[0];
|
|
59
|
+
const sound = await ctx.audio.importUserSound(picked, { name: "Bell" });
|
|
60
|
+
await ctx.audio.play(sound);
|
|
61
|
+
await ctx.audio.forgetUserSound(sound);
|
|
62
|
+
await ctx.commands.register({ id: "greet", title: "Greet" }, async () => {
|
|
63
|
+
await ctx.pet.speak("Hi again!");
|
|
64
|
+
});
|
|
65
|
+
// i18n surface: ctx.locale (active host locale) + ctx.t (runtime translation).
|
|
66
|
+
await ctx.status.set({ text: `${ctx.locale}:${ctx.t("greeting", { name: "Pet" })}` });
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
const { ctx, calls, harness } = createMockContext();
|
|
70
|
+
harness.files.provide([{ name: "bell.wav", bytes: new Uint8Array([1, 2, 3]) }]);
|
|
71
|
+
await plugin.start(ctx);
|
|
72
|
+
assert.deepEqual(calls.speak, ["Hello!", "Heads up", "Break in 5:00"]);
|
|
73
|
+
assert.deepEqual(calls.react, ["waving", "waving"]);
|
|
74
|
+
assert.deepEqual(calls.reactions[1]?.options, { showMessage: false });
|
|
75
|
+
assert.deepEqual(calls.statusReactions, ["thinking"]);
|
|
76
|
+
assert.equal(calls.status.length, 2);
|
|
77
|
+
assert.ok(calls.schedules.has("tick"));
|
|
78
|
+
assert.ok(calls.schedules.has("daily-summary"));
|
|
79
|
+
assert.ok(calls.commands.has("greet"));
|
|
80
|
+
assert.equal(calls.bubbles.length, 4, "speak + ui.alert + ui.bubble all produce bubbles");
|
|
81
|
+
assert.equal(calls.bubbles[3].spec.hud?.items.length, 2);
|
|
82
|
+
assert.equal(calls.bubbles[3].spec.hud?.items[0]?.icon, "food");
|
|
83
|
+
assert.equal(calls.bubbles[3].spec.hud?.items[0]?.value, 80);
|
|
84
|
+
assert.equal(calls.bubbles[3].spec.hud?.items[0]?.tone, "amber");
|
|
85
|
+
assert.equal(calls.bubbles[3].spec.hud?.items[0]?.label, "Food");
|
|
86
|
+
assert.equal(calls.alerts.length, 1);
|
|
87
|
+
assert.equal(calls.alerts[0].acknowledged, true);
|
|
88
|
+
assert.equal(calls.sounds[0].sound, "alert");
|
|
89
|
+
assert.equal(calls.busPublishes.length, 1);
|
|
90
|
+
assert.equal(calls.importedUserSounds.length, 1);
|
|
91
|
+
assert.equal(calls.forgottenUserSounds.length, 1);
|
|
92
|
+
// Bubble interactions round-trip.
|
|
93
|
+
const live = calls.bubbles[2];
|
|
94
|
+
assert.equal(live.spec.sticky, true);
|
|
95
|
+
await harness.fireBubbleAction(live.handle.id, "done");
|
|
96
|
+
assert.ok(calls.dismissedBubbles.includes(live.handle.id), "onAction('done') dismissed the bubble");
|
|
97
|
+
// Registered callbacks behave as expected.
|
|
98
|
+
await calls.schedules.get("tick")?.handler();
|
|
99
|
+
assert.equal(calls.storage.get("lastTick"), "now");
|
|
100
|
+
// Curated events reach subscribers.
|
|
101
|
+
await harness.emit("pet:clicked", { petId: "default" });
|
|
102
|
+
assert.deepEqual(calls.react, ["waving", "waving", "celebrating"]);
|
|
103
|
+
await calls.commands.get("greet")?.handler();
|
|
104
|
+
assert.deepEqual(calls.speak, ["Hello!", "Heads up", "Break in 5:00", "Hi again!"]);
|
|
105
|
+
const status = calls.status[0];
|
|
106
|
+
assert.ok(typeof status === "object" && status.text === "Ready");
|
|
107
|
+
// ctx.t / ctx.locale drift checks: the runtime bridge must expose both members.
|
|
108
|
+
assert.equal(ctx.locale, "en", "ctx.locale defaults to en");
|
|
109
|
+
assert.equal(ctx.t("missing.key", { name: "Pet" }), "missing.key", "ctx.t echoes unknown keys");
|
|
110
|
+
const i18nStatus = calls.status[1];
|
|
111
|
+
assert.ok(typeof i18nStatus === "object" && i18nStatus.text === "en:greeting", "no-catalog ctx.t echoes key, ctx.locale is en");
|
|
112
|
+
// A harness with catalogs resolves active locale -> en -> key, then interpolates.
|
|
113
|
+
const i18n = createMockContext({ locales: { en: { greeting: "Hi {name}" }, ja: { greeting: "やあ {name}" } } });
|
|
114
|
+
assert.equal(i18n.ctx.t("greeting", { name: "Pet" }), "Hi Pet", "default locale uses en catalog");
|
|
115
|
+
i18n.harness.system.set({ locale: "ja" });
|
|
116
|
+
assert.equal(i18n.ctx.locale, "ja", "ctx.locale follows system.set({ locale })");
|
|
117
|
+
assert.equal(i18n.ctx.t("greeting", { name: "Pet" }), "やあ Pet", "active locale catalog wins");
|
|
118
|
+
assert.equal(i18n.ctx.t("absent"), "absent", "unknown key echoes even with catalogs");
|
|
119
|
+
console.log("Plugin SDK contract tests passed.");
|
|
120
|
+
//# sourceMappingURL=check-plugin-sdk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-plugin-sdk.js","sourceRoot":"","sources":["../src/check-plugin-sdk.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,OAAO,EAAE,iBAAi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