agent-eng 0.5.0 → 0.6.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/package.json
CHANGED
package/src/init.js
CHANGED
|
@@ -6,6 +6,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
|
6
6
|
const TEMPLATES = join(__dirname, "templates");
|
|
7
7
|
|
|
8
8
|
const STRUCTURE = [
|
|
9
|
+
".github/workflows/notify-site.yml",
|
|
9
10
|
".claude/settings.json",
|
|
10
11
|
"architecture/overview.md",
|
|
11
12
|
"architecture/decisions/_template.md",
|
|
@@ -84,5 +85,6 @@ export function init(options) {
|
|
|
84
85
|
console.log(" 1. Review CLAUDE.md and customize for your project");
|
|
85
86
|
console.log(" 2. Pick the conventions that match your stack");
|
|
86
87
|
console.log(" 3. Start with the Architect: create your first ADR");
|
|
88
|
+
console.log(" 4. Add the SITE_REBUILD_TOKEN secret and 'showcase' topic to enable auto site rebuilds");
|
|
87
89
|
console.log("");
|
|
88
90
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: Notify Site of Content Update
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
paths:
|
|
8
|
+
- 'orchestration.yaml'
|
|
9
|
+
- 'architecture.yaml'
|
|
10
|
+
- 'README.md'
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
notify:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- name: Trigger site rebuild
|
|
17
|
+
uses: peter-evans/repository-dispatch@v3
|
|
18
|
+
with:
|
|
19
|
+
token: ${{ secrets.SITE_REBUILD_TOKEN }}
|
|
20
|
+
repository: swarpi/swarpi.github.io
|
|
21
|
+
event-type: showcase-updated
|