@rubytech/create-maxy-code 0.1.111 → 0.1.113
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/__tests__/brew-install.test.js +10 -0
- package/dist/__tests__/brew-resolve.test.js +35 -0
- package/dist/__tests__/launchd-plist.test.js +46 -0
- package/dist/__tests__/macos-darwin-branch.test.js +85 -0
- package/dist/brew-install.js +5 -0
- package/dist/index.js +26 -6
- package/package.json +1 -1
- package/payload/platform/plugins/cloudflare/references/manual-setup.md +105 -0
- package/payload/platform/plugins/docs/references/deployment.md +22 -4
- package/payload/platform/plugins/memory/mcp/dist/index.js +35 -0
- package/payload/platform/plugins/memory/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/image-fetch.d.ts +15 -0
- package/payload/platform/plugins/memory/mcp/dist/tools/image-fetch.d.ts.map +1 -0
- package/payload/platform/plugins/memory/mcp/dist/tools/image-fetch.js +64 -0
- package/payload/platform/plugins/memory/mcp/dist/tools/image-fetch.js.map +1 -0
- package/payload/platform/plugins/memory/references/schema-estate-agent.md +76 -1
- package/payload/platform/plugins/venture-studio/PLUGIN.md +13 -4
- package/payload/platform/plugins/venture-studio/bin/scaffold.sh +15 -3
- package/payload/platform/plugins/venture-studio/skills/brand-pack/SKILL.md +1 -1
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/SKILL.md +27 -14
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/business-plan-template.md +7 -4
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/data-room-structure.md +16 -5
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/deck-blueprint-template.md +7 -6
- package/payload/platform/plugins/venture-studio/skills/office-hours/SKILL.md +8 -9
- package/payload/platform/plugins/venture-studio/skills/prototype-host/SKILL.md +179 -0
- package/payload/platform/plugins/venture-studio/skills/prototype-host/references/cloudflared-ingress-edit.md +81 -0
- package/payload/platform/plugins/venture-studio/skills/prototype-host/references/scaffold-frameworks.md +60 -0
- package/payload/platform/plugins/venture-studio/skills/prototype-host/references/systemd-user-service.md +104 -0
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/SKILL.md +4 -0
- package/payload/platform/templates/agents/public/IDENTITY.md +11 -1
- package/payload/premium-plugins/real-agent/BUNDLE.md +3 -2
- package/payload/premium-plugins/real-agent/agents/listing-curator.md +152 -0
- package/payload/premium-plugins/real-agent/plugins/brochures/skills/a4-print-documents/SKILL.md +1 -1
- package/payload/premium-plugins/real-agent/plugins/brochures/skills/brand-design/SKILL.md +5 -11
- package/payload/premium-plugins/real-agent/plugins/brochures/skills/make-brochure/SKILL.md +7 -7
- package/payload/premium-plugins/real-agent/plugins/brochures/skills/property-extract/SKILL.md +31 -39
- package/payload/premium-plugins/real-agent/plugins/brochures/skills/property-market-report/SKILL.md +4 -4
- package/payload/premium-plugins/real-agent/plugins/brochures/skills/property-socials/SKILL.md +3 -2
- package/payload/premium-plugins/real-agent/plugins/buyers/.claude-plugin/plugin.json +1 -1
- package/payload/premium-plugins/real-agent/plugins/buyers/PLUGIN.md +3 -2
- package/payload/premium-plugins/real-agent/plugins/buyers/skills/property-recommender/SKILL.md +96 -0
- package/payload/premium-plugins/venture-studio/PLUGIN.md +13 -4
- package/payload/premium-plugins/venture-studio/bin/scaffold.sh +15 -3
- package/payload/premium-plugins/venture-studio/skills/brand-pack/SKILL.md +1 -1
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/SKILL.md +27 -14
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/business-plan-template.md +7 -4
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/data-room-structure.md +16 -5
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/deck-blueprint-template.md +7 -6
- package/payload/premium-plugins/venture-studio/skills/office-hours/SKILL.md +8 -9
- package/payload/premium-plugins/venture-studio/skills/prototype-host/SKILL.md +179 -0
- package/payload/premium-plugins/venture-studio/skills/prototype-host/references/cloudflared-ingress-edit.md +81 -0
- package/payload/premium-plugins/venture-studio/skills/prototype-host/references/scaffold-frameworks.md +60 -0
- package/payload/premium-plugins/venture-studio/skills/prototype-host/references/systemd-user-service.md +104 -0
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/SKILL.md +4 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Systemd user unit template for a hosted prototype surface
|
|
2
|
+
|
|
3
|
+
One unit per hosted surface: `${HOME}/.config/systemd/user/${BRAND}-prototype-<surface>.service`.
|
|
4
|
+
|
|
5
|
+
Two flavours: dev-server mode (frameworks with hot-reload) and static file-server mode (raw HTML or built `dist/`).
|
|
6
|
+
|
|
7
|
+
## Dev-server mode (vite, next, sveltekit, astro)
|
|
8
|
+
|
|
9
|
+
```ini
|
|
10
|
+
[Unit]
|
|
11
|
+
Description=${BRAND} prototype surface <surface> — <framework> dev server
|
|
12
|
+
After=network.target
|
|
13
|
+
|
|
14
|
+
[Service]
|
|
15
|
+
Type=simple
|
|
16
|
+
WorkingDirectory=<surface-dir>
|
|
17
|
+
Environment="PORT=<port>"
|
|
18
|
+
Environment="NODE_ENV=development"
|
|
19
|
+
ExecStart=/usr/bin/env npm run dev -- <framework-port-flag> <port> --host 127.0.0.1
|
|
20
|
+
Restart=on-failure
|
|
21
|
+
RestartSec=3
|
|
22
|
+
StandardOutput=journal
|
|
23
|
+
StandardError=journal
|
|
24
|
+
|
|
25
|
+
[Install]
|
|
26
|
+
WantedBy=default.target
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`<framework-port-flag>` is the per-framework override from [`scaffold-frameworks.md`](scaffold-frameworks.md): `--port` for Vite/SvelteKit/Astro, `-p` for Next.
|
|
30
|
+
|
|
31
|
+
## Static file-server mode
|
|
32
|
+
|
|
33
|
+
For the `static` framework (raw HTML rendered from `LANDING.md`):
|
|
34
|
+
|
|
35
|
+
```ini
|
|
36
|
+
[Unit]
|
|
37
|
+
Description=${BRAND} prototype surface <surface> — static file server
|
|
38
|
+
After=network.target
|
|
39
|
+
|
|
40
|
+
[Service]
|
|
41
|
+
Type=simple
|
|
42
|
+
WorkingDirectory=<surface-dir>
|
|
43
|
+
ExecStart=/usr/local/bin/cloudflared file-server --port <port> --address 127.0.0.1 <surface-dir>
|
|
44
|
+
Restart=on-failure
|
|
45
|
+
RestartSec=3
|
|
46
|
+
StandardOutput=journal
|
|
47
|
+
StandardError=journal
|
|
48
|
+
|
|
49
|
+
[Install]
|
|
50
|
+
WantedBy=default.target
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
If `<surface-dir>/dist/` exists (the founder added a build step later), point `ExecStart`'s last arg at `<surface-dir>/dist` instead of `<surface-dir>`. The skill detects this automatically with `[ -d <surface-dir>/dist ] && SERVE_DIR=<surface-dir>/dist || SERVE_DIR=<surface-dir>`.
|
|
54
|
+
|
|
55
|
+
## Why a user unit, not a root unit
|
|
56
|
+
|
|
57
|
+
The brand cloudflared connector already runs as a `systemctl --user` unit ([`platform/plugins/cloudflare/references/reset-guide.md`](../../../../../platform/plugins/cloudflare/references/reset-guide.md)). Keeping prototype units in the same scope means:
|
|
58
|
+
|
|
59
|
+
- Same `journalctl --user` namespace — the operator reads one log namespace, not two.
|
|
60
|
+
- No `sudo` required to install, enable, or restart.
|
|
61
|
+
- `loginctl enable-linger <user>` (already set by the installer) survives reboot — units come back without an SSH session.
|
|
62
|
+
|
|
63
|
+
Root units would also work, but split the operator's mental model and require `sudo` for every restart. Not worth the tradeoff for a per-prototype surface.
|
|
64
|
+
|
|
65
|
+
## Enabling and starting
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
systemctl --user daemon-reload
|
|
69
|
+
systemctl --user enable --now "${BRAND}-prototype-<surface>.service"
|
|
70
|
+
|
|
71
|
+
# Verify it stayed up.
|
|
72
|
+
systemctl --user is-active "${BRAND}-prototype-<surface>.service"
|
|
73
|
+
|
|
74
|
+
# If not active, dump the journal and surface verbatim.
|
|
75
|
+
if [ "$(systemctl --user is-active "${BRAND}-prototype-<surface>.service")" != "active" ]; then
|
|
76
|
+
journalctl --user -u "${BRAND}-prototype-<surface>.service" -n 50 --no-pager >&2
|
|
77
|
+
exit 1
|
|
78
|
+
fi
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Re-run after edit
|
|
82
|
+
|
|
83
|
+
If the skill regenerates the unit file (e.g. the port changed, or the static surface gained a `dist/` directory), the sequence is:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
systemctl --user daemon-reload
|
|
87
|
+
systemctl --user restart "${BRAND}-prototype-<surface>.service"
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
`daemon-reload` is required after any unit-file edit; `restart` picks up the new `ExecStart`.
|
|
91
|
+
|
|
92
|
+
## Why `Restart=on-failure`, not `always`
|
|
93
|
+
|
|
94
|
+
Dev servers exit 0 in legitimate cases (the operator killed `npm run dev` from another shell to apply a config edit). `on-failure` respects those exits; `always` would fight them.
|
|
95
|
+
|
|
96
|
+
## Logging
|
|
97
|
+
|
|
98
|
+
All output (stdout + stderr from the dev server / file server) goes to the user journal. Read with:
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
journalctl --user -u "${BRAND}-prototype-<surface>.service" -f
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
No file-based log rotation needed — systemd handles journal rotation.
|
|
@@ -284,6 +284,10 @@ For go-to-market planning:
|
|
|
284
284
|
4. **Progress over perfection** — Ship, measure, iterate
|
|
285
285
|
5. **Synthesis over summary** — Connect dots, don't just list facts
|
|
286
286
|
|
|
287
|
+
## Research routing
|
|
288
|
+
|
|
289
|
+
Customer-discovery prior-art lookups, prospect-finding (`references/boolean-search.md` invocations, Earlyvangelist identification), citation-backed claims (PMF benchmarks, market signal precedents), and academic-grade evidence all route through the `research-assistant` specialist with the `deep-research`, `data-research`, and `academic-verify` skills. Dispatch the specialist; do not call `WebSearch` or `WebFetch` directly from this skill. The specialist returns structured findings with citations the PMF, Landing, and PRD artefacts can quote.
|
|
290
|
+
|
|
287
291
|
## Framework Reference Files
|
|
288
292
|
|
|
289
293
|
All frameworks are in `references/` directory:
|