@pan-stack/cli 0.3.37 → 0.3.38
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/bin/pan.js +351 -351
- package/dist/agent-plugin/.agents/plugins/marketplace.json +2 -2
- package/dist/agent-plugin/.claude-plugin/marketplace.json +2 -2
- package/dist/agent-plugin/plugins/{pan-harness → pan}/.claude-plugin/plugin.json +3 -3
- package/dist/agent-plugin/plugins/{pan-harness → pan}/.codex-plugin/plugin.json +3 -3
- package/dist/agent-plugin/plugins/{pan-harness → pan}/.cursor-plugin/plugin.json +3 -3
- package/dist/agent-plugin/plugins/{pan-harness → pan}/rules/pan-skills.mdc +1 -1
- package/dist/agent-plugin/plugins/{pan-harness → pan}/scripts/hook.mjs +2 -2
- package/dist/agent-plugin/plugins/{pan-harness/skills/pan-harness → pan/skills/harness}/SKILL.md +2 -2
- package/package.json +2 -2
- /package/dist/agent-plugin/plugins/{pan-harness → pan}/LICENSE.txt +0 -0
- /package/dist/agent-plugin/plugins/{pan-harness → pan}/hooks/claude.json +0 -0
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"description": "PAN Stack: harness (danh tính AI, Pan Lineage) và bộ skill PAN, đi kèm @pan-stack/cli — cài bằng `pan harness setup`.",
|
|
7
7
|
"plugins": [
|
|
8
8
|
{
|
|
9
|
-
"name": "pan
|
|
10
|
-
"source": "./plugins/pan
|
|
9
|
+
"name": "pan",
|
|
10
|
+
"source": "./plugins/pan",
|
|
11
11
|
"description": "Harness cho workspace PAN Stack: mọi commit của Claude mang danh tính AI + người chủ quản + máy; nguồn tài liệu (Pan Lineage) của tệp hiện ra trước khi sửa."
|
|
12
12
|
}
|
|
13
13
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "pan
|
|
3
|
-
"displayName": "
|
|
4
|
-
"version": "0.3.
|
|
2
|
+
"name": "pan",
|
|
3
|
+
"displayName": "PAN",
|
|
4
|
+
"version": "0.3.38",
|
|
5
5
|
"description": "Harness cho workspace PAN Stack: mọi commit của Claude mang danh tính AI + người chủ quản + máy; nguồn tài liệu (Pan Lineage) của tệp hiện ra trước khi sửa.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "n46-labs"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "pan
|
|
3
|
-
"version": "0.3.
|
|
2
|
+
"name": "pan",
|
|
3
|
+
"version": "0.3.38",
|
|
4
4
|
"description": "PAN Stack harness for AI agents: every commit carries AI + owner + machine identity, document sources (Pan Lineage) show before edits, and PAN skills load on their own.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "n46-labs"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"skills": "./skills/",
|
|
15
15
|
"interface": {
|
|
16
|
-
"displayName": "
|
|
16
|
+
"displayName": "PAN",
|
|
17
17
|
"shortDescription": "PAN skills and workflow rules for PAN Stack workspaces",
|
|
18
18
|
"longDescription": "PAN Stack harness for AI agents: every commit carries AI + owner + machine identity, document sources (Pan Lineage) show before edits, and PAN skills load on their own.",
|
|
19
19
|
"developerName": "n46-labs",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "pan
|
|
3
|
-
"displayName": "
|
|
4
|
-
"version": "0.3.
|
|
2
|
+
"name": "pan",
|
|
3
|
+
"displayName": "PAN",
|
|
4
|
+
"version": "0.3.38",
|
|
5
5
|
"description": "PAN Stack harness for AI agents: every commit carries AI + owner + machine identity, document sources (Pan Lineage) show before edits, and PAN skills load on their own.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "n46-labs"
|
|
@@ -5,7 +5,7 @@ alwaysApply: true
|
|
|
5
5
|
|
|
6
6
|
# Skill PAN
|
|
7
7
|
|
|
8
|
-
Plugin pan
|
|
8
|
+
Plugin pan mang sẵn bộ skill PAN (thư mục `skills/` của plugin; gọi tay: `/pan:<tên skill>`, vd `/pan:plan`). Với **mỗi** yêu cầu của người dùng:
|
|
9
9
|
|
|
10
10
|
1. Đối chiếu yêu cầu với tên và mô tả các skill PAN.
|
|
11
11
|
2. Khớp rõ một skill: đọc `SKILL.md` của skill đó rồi làm theo, không cần người dùng gọi tên skill.
|
|
@@ -35,7 +35,7 @@ const MESSAGES = {
|
|
|
35
35
|
head: '[pan-harness] workspace {ws} · người chủ quản {principal} · agent {agent}{mode}',
|
|
36
36
|
noPrincipal: '[pan-harness] chưa có danh tính người chủ quản — chạy `pan me` trước khi commit',
|
|
37
37
|
autonomous: ' · tự chạy',
|
|
38
|
-
skills: 'Skill PAN có sẵn trong plugin pan
|
|
38
|
+
skills: 'Skill PAN có sẵn trong plugin pan (gọi tay: /pan:<tên>, vd /pan:plan): yêu cầu khớp rõ một skill thì tự dùng skill đó; chỉ khớp một phần thì hỏi người dùng có dùng skill ấy không.',
|
|
39
39
|
staleCount: 'Lineage: {count} sản phẩm cần xem lại vì nguồn tài liệu đã đổi (`pan lineage stale`):',
|
|
40
40
|
rules:
|
|
41
41
|
'Luật: sửa tệp theo một mục tài liệu thì ghi nguồn `pan lineage derive <tệp> --source <repo>:<tài liệu>#<mục>`; ' +
|
|
@@ -57,7 +57,7 @@ const MESSAGES = {
|
|
|
57
57
|
head: '[pan-harness] workspace {ws} · principal {principal} · agent {agent}{mode}',
|
|
58
58
|
noPrincipal: '[pan-harness] no principal identity yet — run `pan me` before committing',
|
|
59
59
|
autonomous: ' · autonomous',
|
|
60
|
-
skills: 'PAN skills ship with the pan
|
|
60
|
+
skills: 'PAN skills ship with the pan plugin (invoke by hand: /pan:<name>, e.g. /pan:plan): when a request clearly matches a skill, use it; when it only partly matches, ask the user whether to use that skill.',
|
|
61
61
|
staleCount: 'Lineage: {count} artifact(s) need review because their source documents changed (`pan lineage stale`):',
|
|
62
62
|
rules:
|
|
63
63
|
'Rule: when you change a file to follow a document section, record it with `pan lineage derive <file> --source <repo>:<doc>#<section>`; ' +
|
package/dist/agent-plugin/plugins/{pan-harness/skills/pan-harness → pan/skills/harness}/SKILL.md
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: harness
|
|
3
3
|
description: Cách làm việc trong workspace PAN Stack có pan-harness — danh tính người chủ quản/máy cho mọi thay đổi của AI, ghi nguồn tài liệu bằng Pan Lineage (pan lineage derive/why/diff/ack), commit tự ghi nhờ hook. Dùng khi sửa tệp dựa trên tài liệu BA (PRD/FSD/BDD), khi hook báo nguồn đã đổi, hoặc khi người dùng hỏi tệp này dựa vào tài liệu nào.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# harness
|
|
7
7
|
|
|
8
8
|
Harness đã làm sẵn phần lớn việc; agent chỉ giữ ba thói quen.
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pan-stack/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.38",
|
|
4
4
|
"description": "PAN Stack CLI — multi-repo git and project commands from .project.yaml",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"bin": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"build:agent-plugin": "node tools/pan-stack-cli/build-agent-plugin.ts",
|
|
20
20
|
"prepare": "node tools/pan-stack-cli/build.mjs",
|
|
21
21
|
"prepublishOnly": "node tools/pan-stack-cli/build.mjs",
|
|
22
|
-
"test": "tsc --noEmit && tsc -p tsconfig.test.json --noEmit && tsc -p tools/pan-stack-plan/tsconfig.web.json --noEmit && tsc -p tools/pan-stack-plan/tsconfig.e2e.json --noEmit && node --test \"tools/pan-stack-plan/test/*.test.ts\" \"tools/pan-stack-cli/test/*.test.ts\" \"tools/pan-lineage/test/*.test.ts\" \"tools/pan-harness/test/*.test.ts\" \"tools/pan-program/test/*.test.ts\" \"agent-plugin/plugins/pan
|
|
22
|
+
"test": "tsc --noEmit && tsc -p tsconfig.test.json --noEmit && tsc -p tools/pan-stack-plan/tsconfig.web.json --noEmit && tsc -p tools/pan-stack-plan/tsconfig.e2e.json --noEmit && node --test \"tools/pan-stack-plan/test/*.test.ts\" \"tools/pan-stack-cli/test/*.test.ts\" \"tools/pan-lineage/test/*.test.ts\" \"tools/pan-harness/test/*.test.ts\" \"tools/pan-program/test/*.test.ts\" \"agent-plugin/plugins/pan/test/*.test.mjs\" && node --test \"tools/pan-cicd/test/*.test.mjs\"",
|
|
23
23
|
"test:pan-cicd": "node tools/pan-stack-cli/build.mjs && node --test \"tools/pan-cicd/test/*.test.mjs\"",
|
|
24
24
|
"test:pan-stack-plan": "node --test \"tools/pan-stack-plan/test/*.test.ts\"",
|
|
25
25
|
"test:pan-stack-cli": "node --test \"tools/pan-stack-cli/test/*.test.ts\"",
|
|
File without changes
|
|
File without changes
|