@penguinharness/penguin-support 0.2.18 → 0.2.19

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
@@ -6,4 +6,4 @@ The workbench shows a centered question list. New question and conversation deta
6
6
 
7
7
  While a question is being researched, its dialog shows the answer as it is written and what the agent is doing, with a Stop button. The handler saves the answer as soon as the task ends, whether or not the page is open. On a server without live following (the workbench host's `subscribe` and the page SDK `../sdk/workbench.js`), the answer is saved when the question list is next loaded, and the dialog falls back to polling and shows only the waiting time.
8
8
 
9
- `workbenches/support/` contains plain HTML, CSS, JavaScript and a TypeScript backend. Installing or updating replaces its code while preserving `state.json` and workbench history. Uninstalling the workbench removes its records, just like removing a workbench from the agent.
9
+ `workbenches/support/` contains plain HTML, CSS, JavaScript and a TypeScript backend. Installing copies it into the agent's `agent_state/workbenches/support/`; installing again or updating replaces its code while preserving `state.json` and the workbench's version history in `agent_state.git/`, beside the Agent State. Uninstalling removes the workbench and its tickets, just like removing a workbench from the agent; its past versions are no longer listed.
package/ifaces.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "hash": "30f94f4b2f2302c9f1fd1ff685d85672f4fc2ece0a63fb91c1115265c33ea8fd",
3
+ "ifaces": {
4
+ "@penguinharness/penguin-support#PenguinSupportPlugin": {
5
+ "name": "PenguinSupportPlugin",
6
+ "methods": {},
7
+ "slots": {}
8
+ }
9
+ },
10
+ "types": {},
11
+ "modules": {
12
+ "PenguinSupportPlugin": {
13
+ "name": "PenguinSupportPlugin",
14
+ "kind": "component",
15
+ "requires": {},
16
+ "provides": {
17
+ "PenguinSupportPlugin": "@penguinharness/penguin-support#PenguinSupportPlugin"
18
+ },
19
+ "contributes": {
20
+ "PluginLibraryModule.cards": [
21
+ {
22
+ "id": "penguin-support.card",
23
+ "title": "PenguinHarness Q&A Assistant",
24
+ "titleZh": "PenguinHarness 问答助手",
25
+ "descriptionZh": "PenguinHarness 产品客服:问题列表、对话弹窗,以及依据文档和源码的解答。",
26
+ "shortDescription": "Product questions, sourced answers and a support workbench.",
27
+ "shortDescriptionZh": "产品问答、来源引用与客服工作台。",
28
+ "category": "office-productivity",
29
+ "preinstall": false,
30
+ "icon": "icon.svg",
31
+ "quickStart": {
32
+ "prompt": "How do I create an agent and choose its model in PenguinHarness? Cite the official docs.",
33
+ "promptZh": "如何在 PenguinHarness 中新建智能体并选择模型?请引用官方文档。",
34
+ "skills": [
35
+ "penguin-support"
36
+ ]
37
+ }
38
+ }
39
+ ],
40
+ "PluginLibraryModule.skills": [
41
+ {
42
+ "id": "penguin-support.skill.penguin-support",
43
+ "name": "penguin-support",
44
+ "path": "skills/penguin-support"
45
+ }
46
+ ],
47
+ "PluginLibraryModule.workbenches": [
48
+ {
49
+ "id": "penguin-support.workbench.support",
50
+ "name": "support",
51
+ "path": "workbenches/support"
52
+ }
53
+ ]
54
+ },
55
+ "children": []
56
+ }
57
+ },
58
+ "plugin": {
59
+ "modules": [
60
+ "PenguinSupportPlugin"
61
+ ],
62
+ "replaces": []
63
+ }
64
+ }
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@penguinharness/penguin-support",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "PenguinHarness product support with a question list, conversation dialogs and answers grounded in documentation and source code.",
5
5
  "license": "Apache-2.0",
6
+ "author": {
7
+ "name": "Prism-Shadow",
8
+ "url": "https://github.com/Prism-Shadow"
9
+ },
6
10
  "repository": {
7
11
  "type": "git",
8
12
  "url": "git+https://github.com/Prism-Shadow/penguin-harness.git",
@@ -12,26 +16,16 @@
12
16
  "icon.svg",
13
17
  "skills",
14
18
  "workbenches",
19
+ "ifaces.json",
15
20
  "LICENSE"
16
21
  ],
17
22
  "publishConfig": {
18
23
  "access": "public"
19
24
  },
20
- "penguin": {
21
- "title": "PenguinHarness Q&A Assistant",
22
- "title_zh": "PenguinHarness 问答助手",
23
- "description_zh": "PenguinHarness 产品客服:问题列表、对话弹窗,以及依据文档和源码的解答。",
24
- "category": "office-productivity",
25
- "preinstall": false,
26
- "icon": "icon.svg",
27
- "short_description": "Product questions, sourced answers and a support workbench.",
28
- "short_description_zh": "产品问答、来源引用与客服工作台。",
29
- "quick_start": {
30
- "prompt": "How do I create an agent and choose its model in PenguinHarness? Cite the official docs.",
31
- "prompt_zh": "如何在 PenguinHarness 中新建智能体并选择模型?请引用官方文档。",
32
- "skills": [
33
- "penguin-support"
34
- ]
35
- }
25
+ "devDependencies": {
26
+ "@prismshadow/penguin-core": "0.2.19"
27
+ },
28
+ "scripts": {
29
+ "build": "node ../../scripts/gen-ifaces.mjs --project tsconfig.json --out ifaces.json"
36
30
  }
37
31
  }
@@ -3,7 +3,11 @@
3
3
  "version": "1.0.0",
4
4
  "type": "module",
5
5
  "penguin": {
6
- "version": "2026.10.26.1",
6
+ "version": "2026.11.04.1",
7
+ "appCenter": {
8
+ "show": true,
9
+ "icon": "ui/icon.svg"
10
+ },
7
11
  "modules": [
8
12
  {
9
13
  "name": "Workbench",
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
2
+ <rect width="48" height="48" rx="11" fill="#4f46e5" />
3
+ <g transform="translate(12 12)" fill="none" stroke="#ffffff" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
4
+ <path d="m12 3 8 4.5v9L12 21l-8-4.5v-9z" />
5
+ <path d="m4 7.5 8 4.5 8-4.5" />
6
+ <path d="M12 12v9" />
7
+ <path d="m8 5.25 8 4.5" />
8
+ </g>
9
+ </svg>