@rubytech/create-realagent 1.0.872 → 1.0.874
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/index.js +31 -3
- package/package.json +1 -1
- package/payload/platform/plugins/admin/skills/onboarding/SKILL.md +11 -1
- package/payload/platform/plugins/admin/skills/plugin-management/SKILL.md +12 -0
- package/payload/platform/plugins/docs/references/plugins-guide.md +16 -0
- package/payload/server/chunk-AQAST7T7.js +11345 -0
package/dist/index.js
CHANGED
|
@@ -911,12 +911,40 @@ function installClaudeCode() {
|
|
|
911
911
|
3, 30);
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
|
-
console.log(" Registering
|
|
914
|
+
console.log(" Registering Claude plugin marketplaces...");
|
|
915
915
|
const marketplaceList = spawnSync("claude", ["plugin", "marketplace", "list"], { stdio: "pipe", encoding: "utf-8" });
|
|
916
916
|
if (marketplaceList.stderr)
|
|
917
917
|
process.stderr.write(marketplaceList.stderr);
|
|
918
|
-
|
|
919
|
-
|
|
918
|
+
const listed = marketplaceList.stdout ?? "";
|
|
919
|
+
// Task 976: register three Anthropic marketplaces uniformly with
|
|
920
|
+
// [plugin-marketplace] observability. Each slug is grep-checked against
|
|
921
|
+
// `marketplace list` for idempotence; failures log exit + first stderr
|
|
922
|
+
// line but do not abort the installer (one marketplace's outage must not
|
|
923
|
+
// block the others).
|
|
924
|
+
// `slug` is the GitHub repo path passed to `marketplace add`. `marketplaceName`
|
|
925
|
+
// is the marketplace's declared `name` from its .claude-plugin/marketplace.json —
|
|
926
|
+
// what `marketplace list` prints and what `<plugin>@<marketplace>` resolves on
|
|
927
|
+
// install. For FSI the two diverge: repo `anthropics/financial-services`,
|
|
928
|
+
// marketplace name `claude-for-financial-services`. The idempotence check
|
|
929
|
+
// greps the declared name to avoid substring false-positives.
|
|
930
|
+
const MARKETPLACES = [
|
|
931
|
+
{ slug: "anthropics/claude-plugins-official", marketplaceName: "claude-plugins-official" },
|
|
932
|
+
{ slug: "anthropics/knowledge-work-plugins", marketplaceName: "knowledge-work-plugins" },
|
|
933
|
+
{ slug: "anthropics/financial-services", marketplaceName: "claude-for-financial-services" },
|
|
934
|
+
];
|
|
935
|
+
for (const { slug, marketplaceName } of MARKETPLACES) {
|
|
936
|
+
if (listed.includes(marketplaceName)) {
|
|
937
|
+
logFile(`[plugin-marketplace] added ${slug} idempotent=true`);
|
|
938
|
+
continue;
|
|
939
|
+
}
|
|
940
|
+
const add = spawnSync("claude", ["plugin", "marketplace", "add", slug], { stdio: "pipe", encoding: "utf-8", timeout: 60_000 });
|
|
941
|
+
if (add.status === 0) {
|
|
942
|
+
logFile(`[plugin-marketplace] added ${slug} idempotent=false`);
|
|
943
|
+
}
|
|
944
|
+
else {
|
|
945
|
+
const stderrShort = (add.stderr ?? "").split("\n")[0]?.slice(0, 200) ?? "";
|
|
946
|
+
logFile(`[plugin-marketplace] ERROR add ${slug} exit=${add.status} stderr=${JSON.stringify(stderrShort)}`);
|
|
947
|
+
}
|
|
920
948
|
}
|
|
921
949
|
console.log(" Configuring git to use HTTPS for GitHub (plugin install support)...");
|
|
922
950
|
shell("git", ["config", "--global", "url.https://github.com/.insteadOf", "git@github.com:"]);
|
package/package.json
CHANGED
|
@@ -16,11 +16,21 @@ Call `onboarding-plugin-options` — it returns the fully-assembled options arra
|
|
|
16
16
|
|
|
17
17
|
Append one additional entry to the end of the array: `{ value: "stripe", label: "stripe", description: "Live access to payment and business data.", group: "Claude Official" }`.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Then append three entries from the Anthropic verticals marketplaces (`claude-for-financial-services` and `knowledge-work-plugins`). Default: not selected — the user picks each deliberately:
|
|
20
|
+
|
|
21
|
+
- `{ value: "kyc-screener", label: "kyc-screener", description: "Parses onboarding documents, runs the rules engine, flags gaps. Outputs are draft work product for human review — your compliance specialist owns sign-off. UK estate agents under MLR 2017 are AML-regulated; this is the natural fit. Install: claude plugin install kyc-screener@claude-for-financial-services", group: "Claude Anthropic verticals" }`
|
|
22
|
+
- `{ value: "meeting-prep-agent", label: "meeting-prep-agent", description: "Briefing pack before every client meeting, FSI-flavoured templates. Overlaps with the business-assistant calendar-prep flow; pick one path deliberately rather than running both. Install: claude plugin install meeting-prep-agent@claude-for-financial-services", group: "Claude Anthropic verticals" }`
|
|
23
|
+
- `{ value: "pdf-viewer", label: "pdf-viewer", description: "Live interactive viewer to view, annotate, and sign PDFs — mark up contracts, fill forms, stamp approvals, place signatures, then download the annotated copy. Click-through replaces conversation for this surface (v0.2.0, different integration shape from the chat-driven skills). Install: claude plugin install pdf-viewer@knowledge-work-plugins", group: "Claude Anthropic verticals" }`
|
|
24
|
+
|
|
25
|
+
Call `render-component` with `name: "multi-select"` and data as an object with `selectAll: true`, `submitMessage: "Install the following plugins: {{values}}"`, `skipLabel: "Skip"`, `skipMessage: "Skip plugin installation"`, and `options` set to the array from the tool (with the Claude Official and Claude Anthropic verticals entries appended).
|
|
20
26
|
|
|
21
27
|
Wait for the user's component submission before continuing. Their response will either list the plugins they selected or indicate they skipped. The submission contains only non-locked (optional) plugin names — core plugins are always active and not included in the submission.
|
|
22
28
|
|
|
23
29
|
- For each selected **Claude Official plugin**, run: `claude plugin install <name>@claude-plugins-official`
|
|
30
|
+
- For each selected **Claude Anthropic vertical**, run the install command quoted verbatim in that entry's description:
|
|
31
|
+
- `kyc-screener` → `claude plugin install kyc-screener@claude-for-financial-services`
|
|
32
|
+
- `meeting-prep-agent` → `claude plugin install meeting-prep-agent@claude-for-financial-services`
|
|
33
|
+
- `pdf-viewer` → `claude plugin install pdf-viewer@knowledge-work-plugins`
|
|
24
34
|
- For each selected **{{productName}} plugin**, read the current `account.json` via `account-manage`, add the plugin name to the `enabledPlugins` array (create the array if absent), and write back via `Edit`. Use the `value` field (not `label`) as the plugin name — e.g., `docs` not `maxy-guide`. This activates the plugin's behaviour and MCP server from the next session.
|
|
25
35
|
|
|
26
36
|
After installing/enabling (or skipping), call `onboarding-complete-step` with step 1.
|
|
@@ -16,6 +16,18 @@ External Claude Code plugins (Stripe, Playground):
|
|
|
16
16
|
- List installed: `claude plugin list`
|
|
17
17
|
- List available: `claude plugin marketplace list`
|
|
18
18
|
|
|
19
|
+
## Claude Anthropic Verticals
|
|
20
|
+
|
|
21
|
+
Three optional plugins from Anthropic's vertical marketplaces, registered by the installer alongside `claude-plugins-official`. None are auto-installed; the user picks each deliberately during onboarding or by name later.
|
|
22
|
+
|
|
23
|
+
| Plugin | Marketplace | Install | Caveat |
|
|
24
|
+
|--------|-------------|---------|--------|
|
|
25
|
+
| `kyc-screener` | `claude-for-financial-services` | `claude plugin install kyc-screener@claude-for-financial-services` | Outputs are draft work product for human review. UK estate agents under MLR 2017 are AML-regulated; compliance specialist owns sign-off. |
|
|
26
|
+
| `meeting-prep-agent` | `claude-for-financial-services` | `claude plugin install meeting-prep-agent@claude-for-financial-services` | Overlaps with the business-assistant calendar-prep flow with FSI-flavoured templates — pick one path deliberately. |
|
|
27
|
+
| `pdf-viewer` | `knowledge-work-plugins` | `claude plugin install pdf-viewer@knowledge-work-plugins` | Interactive in-app viewer (v0.2.0). Click-through replaces conversation for this surface — different integration shape from the chat-driven skills. |
|
|
28
|
+
|
|
29
|
+
Removal mirrors install: `claude plugin uninstall <name>@<marketplace>`.
|
|
30
|
+
|
|
19
31
|
## {{productName}} Plugins
|
|
20
32
|
|
|
21
33
|
Built-in plugins under `$PLATFORM_ROOT/plugins/`:
|
|
@@ -50,6 +50,22 @@ Third-party plugins from the Claude marketplace:
|
|
|
50
50
|
|--------|-------------|
|
|
51
51
|
| `stripe` | Live access to payment and business data |
|
|
52
52
|
|
|
53
|
+
### Claude Anthropic Verticals (marketplace, opt-in)
|
|
54
|
+
|
|
55
|
+
Optional plugins from Anthropic's vertical marketplaces. The installer registers `claude-for-financial-services` and `knowledge-work-plugins` so the install commands work; none are auto-installed. You pick each deliberately during first-run onboarding (Step 1) or by name at any time.
|
|
56
|
+
|
|
57
|
+
| Plugin | Marketplace | What it does |
|
|
58
|
+
|--------|-------------|-------------|
|
|
59
|
+
| `kyc-screener` | `claude-for-financial-services` | Parses onboarding documents, runs a rules engine, flags gaps. Outputs are draft work product for human review — your compliance specialist owns sign-off. Relevant to UK estate agents under MLR 2017. |
|
|
60
|
+
| `meeting-prep-agent` | `claude-for-financial-services` | Briefing pack before every client meeting, FSI-flavoured templates. Overlaps with the business-assistant calendar-prep flow — choose one deliberately. |
|
|
61
|
+
| `pdf-viewer` | `knowledge-work-plugins` | Live interactive viewer to view, annotate, and sign PDFs — mark up contracts, fill forms, stamp approvals, place signatures, download the annotated copy. Click-through replaces conversation for this surface (v0.2.0, different shape from chat-driven skills). |
|
|
62
|
+
|
|
63
|
+
Install verbatim:
|
|
64
|
+
|
|
65
|
+
- `claude plugin install kyc-screener@claude-for-financial-services`
|
|
66
|
+
- `claude plugin install meeting-prep-agent@claude-for-financial-services`
|
|
67
|
+
- `claude plugin install pdf-viewer@knowledge-work-plugins`
|
|
68
|
+
|
|
53
69
|
### Premium Plugins
|
|
54
70
|
|
|
55
71
|
Premium plugins are one-off purchases that grant permanent ownership. They are not part of the standard install — once purchased, {{productName}} delivers them automatically.
|