create-mercato-app 0.6.6-develop.6484.1.2d3741fd58 → 0.6.6-develop.6485.1.6021282db1
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/agentic/shared/scripts/install-skills.sh +8 -3
- package/dist/agentic/guides/module-facts.json +53 -53
- package/dist/agentic/guides/modules/ai_assistant.md +1 -1
- package/dist/agentic/guides/modules/api_docs.md +1 -1
- package/dist/agentic/guides/modules/api_keys.md +1 -1
- package/dist/agentic/guides/modules/attachments.md +1 -1
- package/dist/agentic/guides/modules/audit_logs.md +1 -1
- package/dist/agentic/guides/modules/auth.md +1 -1
- package/dist/agentic/guides/modules/business_rules.md +1 -1
- package/dist/agentic/guides/modules/catalog.md +1 -1
- package/dist/agentic/guides/modules/channel_gmail.md +1 -1
- package/dist/agentic/guides/modules/channel_imap.md +1 -1
- package/dist/agentic/guides/modules/checkout.md +1 -1
- package/dist/agentic/guides/modules/communication_channels.md +1 -1
- package/dist/agentic/guides/modules/configs.md +1 -1
- package/dist/agentic/guides/modules/content.md +1 -1
- package/dist/agentic/guides/modules/currencies.md +1 -1
- package/dist/agentic/guides/modules/customer_accounts.md +1 -1
- package/dist/agentic/guides/modules/customers.md +1 -1
- package/dist/agentic/guides/modules/dashboards.md +1 -1
- package/dist/agentic/guides/modules/data_sync.md +1 -1
- package/dist/agentic/guides/modules/dictionaries.md +1 -1
- package/dist/agentic/guides/modules/directory.md +1 -1
- package/dist/agentic/guides/modules/entities.md +1 -1
- package/dist/agentic/guides/modules/events.md +1 -1
- package/dist/agentic/guides/modules/feature_toggles.md +1 -1
- package/dist/agentic/guides/modules/gateway_stripe.md +1 -1
- package/dist/agentic/guides/modules/generators.md +1 -1
- package/dist/agentic/guides/modules/inbox_ops.md +1 -1
- package/dist/agentic/guides/modules/integrations.md +1 -1
- package/dist/agentic/guides/modules/messages.md +1 -1
- package/dist/agentic/guides/modules/notifications.md +1 -1
- package/dist/agentic/guides/modules/onboarding.md +1 -1
- package/dist/agentic/guides/modules/payment_gateways.md +1 -1
- package/dist/agentic/guides/modules/perspectives.md +1 -1
- package/dist/agentic/guides/modules/planner.md +1 -1
- package/dist/agentic/guides/modules/portal.md +1 -1
- package/dist/agentic/guides/modules/progress.md +1 -1
- package/dist/agentic/guides/modules/query_index.md +1 -1
- package/dist/agentic/guides/modules/record_locks.md +1 -1
- package/dist/agentic/guides/modules/resources.md +1 -1
- package/dist/agentic/guides/modules/sales.md +1 -1
- package/dist/agentic/guides/modules/scheduler.md +1 -1
- package/dist/agentic/guides/modules/search.md +1 -1
- package/dist/agentic/guides/modules/security.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers.md +1 -1
- package/dist/agentic/guides/modules/sso.md +1 -1
- package/dist/agentic/guides/modules/staff.md +1 -1
- package/dist/agentic/guides/modules/storage_s3.md +1 -1
- package/dist/agentic/guides/modules/sync_akeneo.md +1 -1
- package/dist/agentic/guides/modules/sync_excel.md +1 -1
- package/dist/agentic/guides/modules/system_status_overlays.md +1 -1
- package/dist/agentic/guides/modules/translations.md +1 -1
- package/dist/agentic/guides/modules/webhooks.md +1 -1
- package/dist/agentic/guides/modules/workflows.md +1 -1
- package/dist/agentic/shared/scripts/install-skills.sh +8 -3
- package/dist/index.js +35 -21
- package/package.json +3 -3
- package/template/AGENTS.md +2 -2
|
@@ -433,14 +433,19 @@ install_into_harness "${repo_root}/.codex/skills"
|
|
|
433
433
|
# .claude/skills/<name> because that directory exists.
|
|
434
434
|
external_source=$(jq -r '.external.source // empty' "${manifest}")
|
|
435
435
|
external_status="none"
|
|
436
|
-
|
|
437
|
-
|
|
436
|
+
# The skills CLI matches each --skill value against skill names verbatim (no
|
|
437
|
+
# comma splitting), so the subset must be passed as repeated --skill flags.
|
|
438
|
+
external_skill_args=""
|
|
439
|
+
for external_skill in $(printf '%s\n' "${external_skills_list}" | dedup_lines); do
|
|
440
|
+
external_skill_args="${external_skill_args} --skill ${external_skill}"
|
|
441
|
+
done
|
|
442
|
+
if [ -n "${external_source}" ] && [ -n "${external_skill_args}" ]; then
|
|
438
443
|
if [ "${no_external}" = "1" ]; then
|
|
439
444
|
external_status="skipped (--no-external)"
|
|
440
445
|
elif ! command -v npx >/dev/null 2>&1; then
|
|
441
446
|
external_status="skipped (npx not found)"
|
|
442
447
|
echo "install-skills: warning: npx not found; skipping external skills from ${external_source}." >&2
|
|
443
|
-
elif (cd "${repo_root}" && npx -y skills add "${external_source}"
|
|
448
|
+
elif (cd "${repo_root}" && npx -y skills add "${external_source}" ${external_skill_args} --agent claude-code --agent codex -y); then
|
|
444
449
|
external_status="installed from ${external_source}"
|
|
445
450
|
# `add` seeds the subset; a follow-up `update` bumps already-installed skills
|
|
446
451
|
# to the latest published versions on a re-run. Non-fatal when offline mid-run.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"ai_assistant": {
|
|
3
3
|
"title": "AI Assistant",
|
|
4
4
|
"description": "MCP server for AI assistant integration with multi-tenant support.",
|
|
5
|
-
"coreVersion": "0.6.6-develop.
|
|
5
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
6
6
|
"entities": [
|
|
7
7
|
{
|
|
8
8
|
"id": "ai_assistant:ai_agent_prompt_override",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"api_docs": {
|
|
142
142
|
"title": "API Documentation",
|
|
143
143
|
"description": "Auto-generated documentation for all HTTP endpoints.",
|
|
144
|
-
"coreVersion": "0.6.6-develop.
|
|
144
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
145
145
|
"entities": [],
|
|
146
146
|
"events": [],
|
|
147
147
|
"aclFeatures": [],
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"api_keys": {
|
|
159
159
|
"title": "API Keys",
|
|
160
160
|
"description": "Manage access tokens for external API access.",
|
|
161
|
-
"coreVersion": "0.6.6-develop.
|
|
161
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
162
162
|
"entities": [
|
|
163
163
|
{
|
|
164
164
|
"id": "api_keys:api_key",
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"attachments": {
|
|
192
192
|
"title": "Attachments",
|
|
193
193
|
"description": "File attachments and media management.",
|
|
194
|
-
"coreVersion": "0.6.6-develop.
|
|
194
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
195
195
|
"entities": [
|
|
196
196
|
{
|
|
197
197
|
"id": "attachments:attachment_partition",
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"audit_logs": {
|
|
247
247
|
"title": "Audit & Action Logs",
|
|
248
248
|
"description": "Tracks user actions and data accesses with undo support scaffolding.",
|
|
249
|
-
"coreVersion": "0.6.6-develop.
|
|
249
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
250
250
|
"entities": [
|
|
251
251
|
{
|
|
252
252
|
"id": "audit_logs:action_log",
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
"auth": {
|
|
291
291
|
"title": "Authentication & Accounts",
|
|
292
292
|
"description": "User accounts, sessions, roles and password resets.",
|
|
293
|
-
"coreVersion": "0.6.6-develop.
|
|
293
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
294
294
|
"entities": [
|
|
295
295
|
{
|
|
296
296
|
"id": "auth:user",
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
"business_rules": {
|
|
480
480
|
"title": "Business Rules",
|
|
481
481
|
"description": "Business Rules Engine for defining, managing, and executing business logic and automation rules.",
|
|
482
|
-
"coreVersion": "0.6.6-develop.
|
|
482
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
483
483
|
"entities": [
|
|
484
484
|
{
|
|
485
485
|
"id": "business_rules:business_rule",
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
"catalog": {
|
|
542
542
|
"title": "Product Catalog",
|
|
543
543
|
"description": "Configurable catalog for products, variants, and pricing used by the sales module.",
|
|
544
|
-
"coreVersion": "0.6.6-develop.
|
|
544
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
545
545
|
"entities": [
|
|
546
546
|
{
|
|
547
547
|
"id": "catalog:catalog_option_schema_template",
|
|
@@ -755,7 +755,7 @@
|
|
|
755
755
|
"channel_gmail": {
|
|
756
756
|
"title": "Gmail Email Channel",
|
|
757
757
|
"description": "Connect per-user Gmail accounts via OAuth2. Outbound via gmail.users.messages.send; inbound via History API polling. Pairs with the Communications Hub.",
|
|
758
|
-
"coreVersion": "0.6.6-develop.
|
|
758
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
759
759
|
"entities": [],
|
|
760
760
|
"events": [],
|
|
761
761
|
"aclFeatures": [
|
|
@@ -775,7 +775,7 @@
|
|
|
775
775
|
"channel_imap": {
|
|
776
776
|
"title": "IMAP + SMTP Email Channel",
|
|
777
777
|
"description": "Connect personal mailboxes via IMAP for inbound polling and SMTP for outbound delivery. Pairs with the Communications Hub (SPEC-045d).",
|
|
778
|
-
"coreVersion": "0.6.6-develop.
|
|
778
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
779
779
|
"entities": [],
|
|
780
780
|
"events": [],
|
|
781
781
|
"aclFeatures": [
|
|
@@ -795,7 +795,7 @@
|
|
|
795
795
|
"checkout": {
|
|
796
796
|
"title": "Checkout",
|
|
797
797
|
"description": "Pay links, checkout templates, public payment pages, and checkout transaction tracking.",
|
|
798
|
-
"coreVersion": "0.6.6-develop.
|
|
798
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
799
799
|
"entities": [
|
|
800
800
|
{
|
|
801
801
|
"id": "checkout:checkout_link_template",
|
|
@@ -930,7 +930,7 @@
|
|
|
930
930
|
"communication_channels": {
|
|
931
931
|
"title": "Communication Channels",
|
|
932
932
|
"description": "Unified hub bridging external chat/email channels (Slack, WhatsApp, Email) to the Messages module. Adapter contract, channel-native payload storage, reactions, and per-channel threading.",
|
|
933
|
-
"coreVersion": "0.6.6-develop.
|
|
933
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
934
934
|
"entities": [
|
|
935
935
|
{
|
|
936
936
|
"id": "communication_channels:communication_channel",
|
|
@@ -1097,7 +1097,7 @@
|
|
|
1097
1097
|
"configs": {
|
|
1098
1098
|
"title": "Configuration",
|
|
1099
1099
|
"description": "Shared configuration storage and helpers for module settings.",
|
|
1100
|
-
"coreVersion": "0.6.6-develop.
|
|
1100
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
1101
1101
|
"entities": [
|
|
1102
1102
|
{
|
|
1103
1103
|
"id": "configs:module_config",
|
|
@@ -1138,7 +1138,7 @@
|
|
|
1138
1138
|
"content": {
|
|
1139
1139
|
"title": "Content",
|
|
1140
1140
|
"description": "Static informational pages such as terms of service and privacy policy.",
|
|
1141
|
-
"coreVersion": "0.6.6-develop.
|
|
1141
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
1142
1142
|
"entities": [],
|
|
1143
1143
|
"events": [],
|
|
1144
1144
|
"aclFeatures": [],
|
|
@@ -1155,7 +1155,7 @@
|
|
|
1155
1155
|
"currencies": {
|
|
1156
1156
|
"title": "Currencies",
|
|
1157
1157
|
"description": "Currencies and Exchange rate management",
|
|
1158
|
-
"coreVersion": "0.6.6-develop.
|
|
1158
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
1159
1159
|
"entities": [
|
|
1160
1160
|
{
|
|
1161
1161
|
"id": "currencies:currency",
|
|
@@ -1239,7 +1239,7 @@
|
|
|
1239
1239
|
"customer_accounts": {
|
|
1240
1240
|
"title": "Customer Identity & Portal Authentication",
|
|
1241
1241
|
"description": "Customer-facing authentication with two-tier identity model and full RBAC.",
|
|
1242
|
-
"coreVersion": "0.6.6-develop.
|
|
1242
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
1243
1243
|
"entities": [
|
|
1244
1244
|
{
|
|
1245
1245
|
"id": "customer_accounts:customer_user",
|
|
@@ -1479,7 +1479,7 @@
|
|
|
1479
1479
|
"customers": {
|
|
1480
1480
|
"title": "Customer Relationship Management",
|
|
1481
1481
|
"description": "Core CRM capabilities for people, companies, deals, and activities.",
|
|
1482
|
-
"coreVersion": "0.6.6-develop.
|
|
1482
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
1483
1483
|
"entities": [
|
|
1484
1484
|
{
|
|
1485
1485
|
"id": "customers:customer_entity",
|
|
@@ -1961,7 +1961,7 @@
|
|
|
1961
1961
|
"dashboards": {
|
|
1962
1962
|
"title": "Admin Dashboards",
|
|
1963
1963
|
"description": "Configurable admin dashboard with module-provided widgets.",
|
|
1964
|
-
"coreVersion": "0.6.6-develop.
|
|
1964
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
1965
1965
|
"entities": [
|
|
1966
1966
|
{
|
|
1967
1967
|
"id": "dashboards:dashboard_layout",
|
|
@@ -2012,7 +2012,7 @@
|
|
|
2012
2012
|
"data_sync": {
|
|
2013
2013
|
"title": "Data Sync",
|
|
2014
2014
|
"description": "Streaming data sync hub for import/export integrations.",
|
|
2015
|
-
"coreVersion": "0.6.6-develop.
|
|
2015
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2016
2016
|
"entities": [
|
|
2017
2017
|
{
|
|
2018
2018
|
"id": "data_sync:sync_run",
|
|
@@ -2090,7 +2090,7 @@
|
|
|
2090
2090
|
"dictionaries": {
|
|
2091
2091
|
"title": "Shared Dictionaries",
|
|
2092
2092
|
"description": "Organization-scoped dictionaries for reusable enumerations and appearance presets.",
|
|
2093
|
-
"coreVersion": "0.6.6-develop.
|
|
2093
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2094
2094
|
"entities": [
|
|
2095
2095
|
{
|
|
2096
2096
|
"id": "dictionaries:dictionary",
|
|
@@ -2141,7 +2141,7 @@
|
|
|
2141
2141
|
"directory": {
|
|
2142
2142
|
"title": "Directory (Tenants & Organizations)",
|
|
2143
2143
|
"description": "Multi-tenant directory with tenants and organizations.",
|
|
2144
|
-
"coreVersion": "0.6.6-develop.
|
|
2144
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2145
2145
|
"entities": [
|
|
2146
2146
|
{
|
|
2147
2147
|
"id": "directory:tenant",
|
|
@@ -2212,7 +2212,7 @@
|
|
|
2212
2212
|
"entities": {
|
|
2213
2213
|
"title": "Custom Entities & Fields",
|
|
2214
2214
|
"description": "User-defined entities, custom fields, and dynamic records storage.",
|
|
2215
|
-
"coreVersion": "0.6.6-develop.
|
|
2215
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2216
2216
|
"entities": [
|
|
2217
2217
|
{
|
|
2218
2218
|
"id": "entities:custom_field_def",
|
|
@@ -2286,7 +2286,7 @@
|
|
|
2286
2286
|
"events": {
|
|
2287
2287
|
"title": "Events",
|
|
2288
2288
|
"description": "Event bus and subscriber dispatch",
|
|
2289
|
-
"coreVersion": "0.6.6-develop.
|
|
2289
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2290
2290
|
"entities": [],
|
|
2291
2291
|
"events": [],
|
|
2292
2292
|
"aclFeatures": [],
|
|
@@ -2303,7 +2303,7 @@
|
|
|
2303
2303
|
"feature_toggles": {
|
|
2304
2304
|
"title": "Feature Toggles",
|
|
2305
2305
|
"description": "Global feature flags with tenant-level overrides.",
|
|
2306
|
-
"coreVersion": "0.6.6-develop.
|
|
2306
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2307
2307
|
"entities": [
|
|
2308
2308
|
{
|
|
2309
2309
|
"id": "feature_toggles:feature_toggle",
|
|
@@ -2347,7 +2347,7 @@
|
|
|
2347
2347
|
"gateway_stripe": {
|
|
2348
2348
|
"title": "Stripe Payment Gateway",
|
|
2349
2349
|
"description": "Accept card payments, Apple Pay, Google Pay, and bank transfers via Stripe.",
|
|
2350
|
-
"coreVersion": "0.6.6-develop.
|
|
2350
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2351
2351
|
"entities": [],
|
|
2352
2352
|
"events": [],
|
|
2353
2353
|
"aclFeatures": [
|
|
@@ -2370,7 +2370,7 @@
|
|
|
2370
2370
|
"generators": {
|
|
2371
2371
|
"title": null,
|
|
2372
2372
|
"description": null,
|
|
2373
|
-
"coreVersion": "0.6.6-develop.
|
|
2373
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2374
2374
|
"entities": [],
|
|
2375
2375
|
"events": [],
|
|
2376
2376
|
"aclFeatures": [],
|
|
@@ -2387,7 +2387,7 @@
|
|
|
2387
2387
|
"inbox_ops": {
|
|
2388
2388
|
"title": "InboxOps — Email-to-ERP Agent",
|
|
2389
2389
|
"description": "Receives forwarded emails via webhook, extracts structured action proposals using LLM, and presents them for human-in-the-loop approval.",
|
|
2390
|
-
"coreVersion": "0.6.6-develop.
|
|
2390
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2391
2391
|
"entities": [
|
|
2392
2392
|
{
|
|
2393
2393
|
"id": "inbox_ops:inbox_settings",
|
|
@@ -2516,7 +2516,7 @@
|
|
|
2516
2516
|
"integrations": {
|
|
2517
2517
|
"title": "Integrations",
|
|
2518
2518
|
"description": "Core integration framework — external ID mapping, status badges, and integration registry.",
|
|
2519
|
-
"coreVersion": "0.6.6-develop.
|
|
2519
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2520
2520
|
"entities": [
|
|
2521
2521
|
{
|
|
2522
2522
|
"id": "integrations:sync_external_id_mapping",
|
|
@@ -2592,7 +2592,7 @@
|
|
|
2592
2592
|
"messages": {
|
|
2593
2593
|
"title": "Messages",
|
|
2594
2594
|
"description": "Internal messaging system with attachments, actions, and email forwarding.",
|
|
2595
|
-
"coreVersion": "0.6.6-develop.
|
|
2595
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2596
2596
|
"entities": [
|
|
2597
2597
|
{
|
|
2598
2598
|
"id": "messages:message",
|
|
@@ -2703,7 +2703,7 @@
|
|
|
2703
2703
|
"notifications": {
|
|
2704
2704
|
"title": "Notifications",
|
|
2705
2705
|
"description": "In-app notifications with module-extensible types and actions.",
|
|
2706
|
-
"coreVersion": "0.6.6-develop.
|
|
2706
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2707
2707
|
"entities": [
|
|
2708
2708
|
{
|
|
2709
2709
|
"id": "notifications:notification",
|
|
@@ -2736,7 +2736,7 @@
|
|
|
2736
2736
|
"onboarding": {
|
|
2737
2737
|
"title": "Onboarding",
|
|
2738
2738
|
"description": "Self-service tenant and organization onboarding flow.",
|
|
2739
|
-
"coreVersion": "0.6.6-develop.
|
|
2739
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2740
2740
|
"entities": [
|
|
2741
2741
|
{
|
|
2742
2742
|
"id": "onboarding:onboarding_request",
|
|
@@ -2765,7 +2765,7 @@
|
|
|
2765
2765
|
"payment_gateways": {
|
|
2766
2766
|
"title": "Payment Gateways",
|
|
2767
2767
|
"description": "Payment gateway adapter contract, registry, transaction tracking, and webhook routing.",
|
|
2768
|
-
"coreVersion": "0.6.6-develop.
|
|
2768
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2769
2769
|
"entities": [
|
|
2770
2770
|
{
|
|
2771
2771
|
"id": "payment_gateways:gateway_transaction",
|
|
@@ -2853,7 +2853,7 @@
|
|
|
2853
2853
|
"perspectives": {
|
|
2854
2854
|
"title": "Table perspectives",
|
|
2855
2855
|
"description": "Shared persistence for DataTable perspectives (columns, filters, saved views).",
|
|
2856
|
-
"coreVersion": "0.6.6-develop.
|
|
2856
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2857
2857
|
"entities": [
|
|
2858
2858
|
{
|
|
2859
2859
|
"id": "perspectives:perspective",
|
|
@@ -2888,7 +2888,7 @@
|
|
|
2888
2888
|
"planner": {
|
|
2889
2889
|
"title": "Worktime / Availabilities",
|
|
2890
2890
|
"description": "Availability schedules, rulesets, and shared planning rules.",
|
|
2891
|
-
"coreVersion": "0.6.6-develop.
|
|
2891
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2892
2892
|
"entities": [
|
|
2893
2893
|
{
|
|
2894
2894
|
"id": "planner:planner_availability_rule_set",
|
|
@@ -2961,7 +2961,7 @@
|
|
|
2961
2961
|
"portal": {
|
|
2962
2962
|
"title": "Customer Portal",
|
|
2963
2963
|
"description": "Self-service customer portal framework with login, signup, dashboard, sidebar navigation, and extensible widget system.",
|
|
2964
|
-
"coreVersion": "0.6.6-develop.
|
|
2964
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2965
2965
|
"entities": [],
|
|
2966
2966
|
"events": [],
|
|
2967
2967
|
"aclFeatures": [],
|
|
@@ -2978,7 +2978,7 @@
|
|
|
2978
2978
|
"progress": {
|
|
2979
2979
|
"title": "Progress",
|
|
2980
2980
|
"description": "Generic server-side progress tracking for long-running operations",
|
|
2981
|
-
"coreVersion": "0.6.6-develop.
|
|
2981
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
2982
2982
|
"entities": [
|
|
2983
2983
|
{
|
|
2984
2984
|
"id": "progress:progress_job",
|
|
@@ -3040,7 +3040,7 @@
|
|
|
3040
3040
|
"query_index": {
|
|
3041
3041
|
"title": "Query Indexes",
|
|
3042
3042
|
"description": "Hybrid query layer with full-text and vector search capabilities.",
|
|
3043
|
-
"coreVersion": "0.6.6-develop.
|
|
3043
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
3044
3044
|
"entities": [
|
|
3045
3045
|
{
|
|
3046
3046
|
"id": "query_index:entity_index_row",
|
|
@@ -3109,7 +3109,7 @@
|
|
|
3109
3109
|
"record_locks": {
|
|
3110
3110
|
"title": "Record Locking",
|
|
3111
3111
|
"description": "Optimistic and pessimistic record locking with conflict resolution.",
|
|
3112
|
-
"coreVersion": "0.6.6-develop.
|
|
3112
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
3113
3113
|
"entities": [
|
|
3114
3114
|
{
|
|
3115
3115
|
"id": "record_locks:record_lock",
|
|
@@ -3210,7 +3210,7 @@
|
|
|
3210
3210
|
"resources": {
|
|
3211
3211
|
"title": "Resource planning",
|
|
3212
3212
|
"description": "Assets and resources with scheduling policies.",
|
|
3213
|
-
"coreVersion": "0.6.6-develop.
|
|
3213
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
3214
3214
|
"entities": [
|
|
3215
3215
|
{
|
|
3216
3216
|
"id": "resources:resources_resource_type",
|
|
@@ -3360,7 +3360,7 @@
|
|
|
3360
3360
|
"sales": {
|
|
3361
3361
|
"title": "Sales Management",
|
|
3362
3362
|
"description": "Quoting, ordering, fulfillment, and billing capabilities built on modular pricing and tax pipelines.",
|
|
3363
|
-
"coreVersion": "0.6.6-develop.
|
|
3363
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
3364
3364
|
"entities": [
|
|
3365
3365
|
{
|
|
3366
3366
|
"id": "sales:sales_channel",
|
|
@@ -3834,7 +3834,7 @@
|
|
|
3834
3834
|
"scheduler": {
|
|
3835
3835
|
"title": "Scheduler",
|
|
3836
3836
|
"description": "Database-managed scheduled jobs with admin UI",
|
|
3837
|
-
"coreVersion": "0.6.6-develop.
|
|
3837
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
3838
3838
|
"entities": [
|
|
3839
3839
|
{
|
|
3840
3840
|
"id": "scheduler:scheduled_job",
|
|
@@ -3893,7 +3893,7 @@
|
|
|
3893
3893
|
"search": {
|
|
3894
3894
|
"title": "Search",
|
|
3895
3895
|
"description": "Unified search module with pluggable strategies (Meilisearch, Vector, Tokens).",
|
|
3896
|
-
"coreVersion": "0.6.6-develop.
|
|
3896
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
3897
3897
|
"entities": [],
|
|
3898
3898
|
"events": [],
|
|
3899
3899
|
"aclFeatures": [
|
|
@@ -3926,7 +3926,7 @@
|
|
|
3926
3926
|
"security": {
|
|
3927
3927
|
"title": "Security",
|
|
3928
3928
|
"description": null,
|
|
3929
|
-
"coreVersion": "0.6.6-develop.
|
|
3929
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
3930
3930
|
"entities": [
|
|
3931
3931
|
{
|
|
3932
3932
|
"id": "security:user_mfa_method",
|
|
@@ -4111,7 +4111,7 @@
|
|
|
4111
4111
|
"shipping_carriers": {
|
|
4112
4112
|
"title": "Shipping Carriers",
|
|
4113
4113
|
"description": "Shipping carrier adapter hub with rates, shipment creation, tracking, and webhooks.",
|
|
4114
|
-
"coreVersion": "0.6.6-develop.
|
|
4114
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
4115
4115
|
"entities": [
|
|
4116
4116
|
{
|
|
4117
4117
|
"id": "shipping_carriers:carrier_shipment",
|
|
@@ -4191,7 +4191,7 @@
|
|
|
4191
4191
|
"sso": {
|
|
4192
4192
|
"title": null,
|
|
4193
4193
|
"description": null,
|
|
4194
|
-
"coreVersion": "0.6.6-develop.
|
|
4194
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
4195
4195
|
"entities": [
|
|
4196
4196
|
{
|
|
4197
4197
|
"id": "sso:sso_config",
|
|
@@ -4323,7 +4323,7 @@
|
|
|
4323
4323
|
"staff": {
|
|
4324
4324
|
"title": "Employees",
|
|
4325
4325
|
"description": "Teams, roles, and employee rosters.",
|
|
4326
|
-
"coreVersion": "0.6.6-develop.
|
|
4326
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
4327
4327
|
"entities": [
|
|
4328
4328
|
{
|
|
4329
4329
|
"id": "staff:staff_team",
|
|
@@ -4632,7 +4632,7 @@
|
|
|
4632
4632
|
"storage_s3": {
|
|
4633
4633
|
"title": "S3-Compatible Storage",
|
|
4634
4634
|
"description": "Store attachments and files in AWS S3, DigitalOcean Spaces, MinIO, or any S3-compatible object storage.",
|
|
4635
|
-
"coreVersion": "0.6.6-develop.
|
|
4635
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
4636
4636
|
"entities": [],
|
|
4637
4637
|
"events": [],
|
|
4638
4638
|
"aclFeatures": [
|
|
@@ -4656,7 +4656,7 @@
|
|
|
4656
4656
|
"sync_akeneo": {
|
|
4657
4657
|
"title": "Akeneo Product Sync",
|
|
4658
4658
|
"description": "Import Akeneo PIM categories, product attributes, and products into the Open Mercato catalog.",
|
|
4659
|
-
"coreVersion": "0.6.6-develop.
|
|
4659
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
4660
4660
|
"entities": [],
|
|
4661
4661
|
"events": [],
|
|
4662
4662
|
"aclFeatures": [],
|
|
@@ -4676,7 +4676,7 @@
|
|
|
4676
4676
|
"sync_excel": {
|
|
4677
4677
|
"title": "Excel / CSV Import",
|
|
4678
4678
|
"description": "File-upload-based CSV import foundation built on top of the data sync hub.",
|
|
4679
|
-
"coreVersion": "0.6.6-develop.
|
|
4679
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
4680
4680
|
"entities": [
|
|
4681
4681
|
{
|
|
4682
4682
|
"id": "sync_excel:sync_excel_upload",
|
|
@@ -4704,7 +4704,7 @@
|
|
|
4704
4704
|
"system_status_overlays": {
|
|
4705
4705
|
"title": "System Status Overlays",
|
|
4706
4706
|
"description": "Enterprise overlays and injected widgets for system status pages.",
|
|
4707
|
-
"coreVersion": "0.6.6-develop.
|
|
4707
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
4708
4708
|
"entities": [],
|
|
4709
4709
|
"events": [],
|
|
4710
4710
|
"aclFeatures": [],
|
|
@@ -4721,7 +4721,7 @@
|
|
|
4721
4721
|
"translations": {
|
|
4722
4722
|
"title": "Entity Translations",
|
|
4723
4723
|
"description": "System-wide entity translation storage and locale overlay for CRUD responses.",
|
|
4724
|
-
"coreVersion": "0.6.6-develop.
|
|
4724
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
4725
4725
|
"entities": [
|
|
4726
4726
|
{
|
|
4727
4727
|
"id": "translations:entity_translation",
|
|
@@ -4761,7 +4761,7 @@
|
|
|
4761
4761
|
"webhooks": {
|
|
4762
4762
|
"title": "Webhooks",
|
|
4763
4763
|
"description": "Standard Webhooks compliant outbound webhook delivery for platform events.",
|
|
4764
|
-
"coreVersion": "0.6.6-develop.
|
|
4764
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
4765
4765
|
"entities": [
|
|
4766
4766
|
{
|
|
4767
4767
|
"id": "webhooks:webhook_entity",
|
|
@@ -4865,7 +4865,7 @@
|
|
|
4865
4865
|
"workflows": {
|
|
4866
4866
|
"title": "Workflow Engine",
|
|
4867
4867
|
"description": "Orchestrate business processes with state machines, transitions, and activities",
|
|
4868
|
-
"coreVersion": "0.6.6-develop.
|
|
4868
|
+
"coreVersion": "0.6.6-develop.6485.1.6021282db1",
|
|
4869
4869
|
"entities": [
|
|
4870
4870
|
{
|
|
4871
4871
|
"id": "workflows:workflow_definition",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# business_rules — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6485.1.6021282db1 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# communication_channels — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6485.1.6021282db1 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# customer_accounts — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6485.1.6021282db1 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# feature_toggles — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6485.1.6021282db1 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# gateway_stripe — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6485.1.6021282db1 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# payment_gateways — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6485.1.6021282db1 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# shipping_carriers — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6485.1.6021282db1 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# system_status_overlays — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6485.1.6021282db1 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -433,14 +433,19 @@ install_into_harness "${repo_root}/.codex/skills"
|
|
|
433
433
|
# .claude/skills/<name> because that directory exists.
|
|
434
434
|
external_source=$(jq -r '.external.source // empty' "${manifest}")
|
|
435
435
|
external_status="none"
|
|
436
|
-
|
|
437
|
-
|
|
436
|
+
# The skills CLI matches each --skill value against skill names verbatim (no
|
|
437
|
+
# comma splitting), so the subset must be passed as repeated --skill flags.
|
|
438
|
+
external_skill_args=""
|
|
439
|
+
for external_skill in $(printf '%s\n' "${external_skills_list}" | dedup_lines); do
|
|
440
|
+
external_skill_args="${external_skill_args} --skill ${external_skill}"
|
|
441
|
+
done
|
|
442
|
+
if [ -n "${external_source}" ] && [ -n "${external_skill_args}" ]; then
|
|
438
443
|
if [ "${no_external}" = "1" ]; then
|
|
439
444
|
external_status="skipped (--no-external)"
|
|
440
445
|
elif ! command -v npx >/dev/null 2>&1; then
|
|
441
446
|
external_status="skipped (npx not found)"
|
|
442
447
|
echo "install-skills: warning: npx not found; skipping external skills from ${external_source}." >&2
|
|
443
|
-
elif (cd "${repo_root}" && npx -y skills add "${external_source}"
|
|
448
|
+
elif (cd "${repo_root}" && npx -y skills add "${external_source}" ${external_skill_args} --agent claude-code --agent codex -y); then
|
|
444
449
|
external_status="installed from ${external_source}"
|
|
445
450
|
# `add` seeds the subset; a follow-up `update` bumps already-installed skills
|
|
446
451
|
# to the latest published versions on a re-run. Non-fatal when offline mid-run.
|
package/dist/index.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
// src/index.ts
|
|
5
5
|
import { createInterface } from "node:readline";
|
|
6
|
-
import { spawnSync } from "node:child_process";
|
|
7
|
-
import { basename as basename2, dirname as dirname6, join as
|
|
8
|
-
import { existsSync as
|
|
6
|
+
import { spawnSync as spawnSync2 } from "node:child_process";
|
|
7
|
+
import { basename as basename2, dirname as dirname6, join as join8, resolve } from "node:path";
|
|
8
|
+
import { existsSync as existsSync7, mkdirSync as mkdirSync6, readdirSync as readdirSync3, readFileSync as readFileSync6, statSync as statSync2, writeFileSync as writeFileSync7, copyFileSync as copyFileSync5 } from "node:fs";
|
|
9
9
|
import { fileURLToPath as fileURLToPath6 } from "node:url";
|
|
10
10
|
import pc from "picocolors";
|
|
11
11
|
|
|
@@ -441,7 +441,9 @@ function applyStarterPreset(presetId, targetDir) {
|
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
// src/setup/wizard.ts
|
|
444
|
-
import {
|
|
444
|
+
import { spawnSync } from "node:child_process";
|
|
445
|
+
import { existsSync as existsSync6 } from "node:fs";
|
|
446
|
+
import { basename, join as join7 } from "node:path";
|
|
445
447
|
|
|
446
448
|
// src/setup/tools/shared.ts
|
|
447
449
|
import { existsSync as existsSync2, mkdirSync as mkdirSync2, readFileSync as readFileSync2, writeFileSync as writeFileSync3, copyFileSync, readdirSync as readdirSync2 } from "node:fs";
|
|
@@ -921,8 +923,19 @@ async function runAgenticSetup(targetDir, ask, options) {
|
|
|
921
923
|
if (selectedIds.includes("claude-code")) generateClaudeCode(config);
|
|
922
924
|
if (selectedIds.includes("codex")) generateCodex(config);
|
|
923
925
|
if (selectedIds.includes("cursor")) generateCursor(config);
|
|
926
|
+
installSkills(targetDir);
|
|
924
927
|
printSummary(selectedIds);
|
|
925
928
|
}
|
|
929
|
+
function installSkills(targetDir) {
|
|
930
|
+
const installScript = join7(targetDir, "scripts", "install-skills.sh");
|
|
931
|
+
if (!existsSync6(installScript)) return;
|
|
932
|
+
console.log("");
|
|
933
|
+
console.log(" Installing agent skills (local tiers + external open-mercato/skills subset)...");
|
|
934
|
+
const result = spawnSync("sh", [installScript], { cwd: targetDir, stdio: "inherit" });
|
|
935
|
+
if (result.error || result.status !== 0) {
|
|
936
|
+
console.log(" \u26A0 Skill installation did not complete; run `yarn install-skills` inside the app when online.");
|
|
937
|
+
}
|
|
938
|
+
}
|
|
926
939
|
function printSummary(selectedIds) {
|
|
927
940
|
console.log("");
|
|
928
941
|
console.log(" Agentic setup complete:");
|
|
@@ -938,25 +951,26 @@ function printSummary(selectedIds) {
|
|
|
938
951
|
if (selectedIds.includes("claude-code")) {
|
|
939
952
|
console.log("");
|
|
940
953
|
console.log(" \u26A1 Autonomous skills (repo-local overrides under .ai/skills/,");
|
|
941
|
-
console.log(" workflow bodies
|
|
954
|
+
console.log(" external workflow bodies installed above):");
|
|
942
955
|
console.log(" /om-auto-create-pr <task> \u2014 delegate a whole task end-to-end as a PR");
|
|
943
956
|
console.log(" /om-auto-continue-pr <PR#> \u2014 resume an in-progress agent PR");
|
|
944
957
|
console.log(" /om-auto-review-pr <PR#> \u2014 automated code review (optional autofix)");
|
|
945
958
|
console.log(" /om-auto-fix-issue <issue#> \u2014 fix a tracker issue and open a PR");
|
|
946
959
|
console.log(" /om-prepare-issue <idea> \u2014 spec out deferred work + open a tracking issue (no build)");
|
|
947
960
|
console.log(" /om-trim-unused-modules \u2014 slim classic-mode defaults after adding your own module");
|
|
948
|
-
console.log("
|
|
949
|
-
console.log("
|
|
950
|
-
console.log(" (base-branch discovery,
|
|
961
|
+
console.log(" The external open-mercato/skills subset installs automatically;");
|
|
962
|
+
console.log(" re-run anytime with `yarn install-skills`. The local override");
|
|
963
|
+
console.log(" SKILL.md files adjust them for your app (base-branch discovery,");
|
|
964
|
+
console.log(" opt-in pipeline labels, script probing).");
|
|
951
965
|
}
|
|
952
966
|
console.log("");
|
|
953
967
|
}
|
|
954
968
|
|
|
955
969
|
// src/index.ts
|
|
956
970
|
var __dirname6 = dirname6(fileURLToPath6(import.meta.url));
|
|
957
|
-
var packageJson = JSON.parse(readFileSync6(
|
|
971
|
+
var packageJson = JSON.parse(readFileSync6(join8(__dirname6, "..", "package.json"), "utf-8"));
|
|
958
972
|
var PACKAGE_VERSION = packageJson.version;
|
|
959
|
-
var TEMPLATE_DIR =
|
|
973
|
+
var TEMPLATE_DIR = join8(__dirname6, "..", "template");
|
|
960
974
|
function showHelp() {
|
|
961
975
|
console.log(`
|
|
962
976
|
${pc.bold("create-mercato-app")} - Create a new Open Mercato application
|
|
@@ -1151,7 +1165,7 @@ async function resolveGitInitialization(options) {
|
|
|
1151
1165
|
}
|
|
1152
1166
|
}
|
|
1153
1167
|
function runGitCommand(targetDir, args) {
|
|
1154
|
-
return
|
|
1168
|
+
return spawnSync2("git", args, {
|
|
1155
1169
|
cwd: targetDir,
|
|
1156
1170
|
encoding: "utf8",
|
|
1157
1171
|
stdio: ["ignore", "pipe", "pipe"],
|
|
@@ -1159,7 +1173,7 @@ function runGitCommand(targetDir, args) {
|
|
|
1159
1173
|
});
|
|
1160
1174
|
}
|
|
1161
1175
|
function initializeGitRepository(targetDir) {
|
|
1162
|
-
if (
|
|
1176
|
+
if (existsSync7(join8(targetDir, ".git"))) {
|
|
1163
1177
|
return { status: "already-initialized" };
|
|
1164
1178
|
}
|
|
1165
1179
|
const initWithBranch = runGitCommand(targetDir, ["init", "-b", "main"]);
|
|
@@ -1221,21 +1235,21 @@ var FILE_RENAMES = {
|
|
|
1221
1235
|
};
|
|
1222
1236
|
var SKIP_DIRS = /* @__PURE__ */ new Set(["__tests__", "__integration__"]);
|
|
1223
1237
|
function copyDirRecursive(src, dest, placeholders) {
|
|
1224
|
-
if (!
|
|
1238
|
+
if (!existsSync7(dest)) {
|
|
1225
1239
|
mkdirSync6(dest, { recursive: true });
|
|
1226
1240
|
}
|
|
1227
1241
|
const entries = readdirSync3(src);
|
|
1228
1242
|
for (const entry of entries) {
|
|
1229
|
-
const srcPath =
|
|
1243
|
+
const srcPath = join8(src, entry);
|
|
1230
1244
|
const destName = FILE_RENAMES[entry] ?? entry;
|
|
1231
|
-
let destPath =
|
|
1245
|
+
let destPath = join8(dest, destName);
|
|
1232
1246
|
const stat = statSync2(srcPath);
|
|
1233
1247
|
if (stat.isDirectory()) {
|
|
1234
1248
|
if (SKIP_DIRS.has(entry)) continue;
|
|
1235
1249
|
copyDirRecursive(srcPath, destPath, placeholders);
|
|
1236
1250
|
} else if (entry.endsWith(".template")) {
|
|
1237
1251
|
const finalName = entry.replace(".template", "");
|
|
1238
|
-
destPath =
|
|
1252
|
+
destPath = join8(dest, finalName);
|
|
1239
1253
|
let content = readFileSync6(srcPath, "utf-8");
|
|
1240
1254
|
for (const [key, value] of Object.entries(placeholders)) {
|
|
1241
1255
|
content = content.replace(new RegExp(`\\{\\{${key}\\}\\}`, "g"), value);
|
|
@@ -1247,15 +1261,15 @@ function copyDirRecursive(src, dest, placeholders) {
|
|
|
1247
1261
|
}
|
|
1248
1262
|
}
|
|
1249
1263
|
function ensureGeneratedCssPlaceholder(targetDir) {
|
|
1250
|
-
const generatedDir =
|
|
1251
|
-
const placeholderPath =
|
|
1264
|
+
const generatedDir = join8(targetDir, ".mercato", "generated");
|
|
1265
|
+
const placeholderPath = join8(generatedDir, "module-package-sources.css");
|
|
1252
1266
|
mkdirSync6(generatedDir, { recursive: true });
|
|
1253
|
-
if (!
|
|
1267
|
+
if (!existsSync7(placeholderPath)) {
|
|
1254
1268
|
writeFileSync7(placeholderPath, "");
|
|
1255
1269
|
}
|
|
1256
1270
|
}
|
|
1257
1271
|
async function scaffoldTemplateApp(targetDir, placeholders) {
|
|
1258
|
-
if (!
|
|
1272
|
+
if (!existsSync7(TEMPLATE_DIR)) {
|
|
1259
1273
|
throw new Error(`Template directory not found at ${TEMPLATE_DIR}`);
|
|
1260
1274
|
}
|
|
1261
1275
|
copyDirRecursive(TEMPLATE_DIR, targetDir, placeholders);
|
|
@@ -1380,7 +1394,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
1380
1394
|
if (!validation.valid) {
|
|
1381
1395
|
throw new Error(validation.error);
|
|
1382
1396
|
}
|
|
1383
|
-
if (
|
|
1397
|
+
if (existsSync7(targetDir)) {
|
|
1384
1398
|
throw new Error(`Directory "${appName}" already exists`);
|
|
1385
1399
|
}
|
|
1386
1400
|
const readyAppSource = resolveReadyAppSource(options, PACKAGE_VERSION);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-mercato-app",
|
|
3
|
-
"version": "0.6.6-develop.
|
|
3
|
+
"version": "0.6.6-develop.6485.1.6021282db1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Create a new Open Mercato application",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"ts-morph": "^28.0.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@open-mercato/cli": "0.6.6-develop.
|
|
26
|
-
"@open-mercato/shared": "0.6.6-develop.
|
|
25
|
+
"@open-mercato/cli": "0.6.6-develop.6485.1.6021282db1",
|
|
26
|
+
"@open-mercato/shared": "0.6.6-develop.6485.1.6021282db1",
|
|
27
27
|
"@types/node": "^26.0.1",
|
|
28
28
|
"esbuild": "^0.28.1",
|
|
29
29
|
"tsx": "^4.22.4",
|
package/template/AGENTS.md
CHANGED
|
@@ -655,7 +655,7 @@ Grab the `d="..."` path values from the lucide icon you want — for example by
|
|
|
655
655
|
|
|
656
656
|
## Agent Automation / Auto-Skills
|
|
657
657
|
|
|
658
|
-
These auto-* agent skills let you delegate whole units of work to an autonomous agent. They are maintained in the shared [open-mercato/skills](https://github.com/open-mercato/skills) collection — run **`yarn install-skills`**
|
|
658
|
+
These auto-* agent skills let you delegate whole units of work to an autonomous agent. They are maintained in the shared [open-mercato/skills](https://github.com/open-mercato/skills) collection — `create-mercato-app` installs them automatically during agentic setup; run **`yarn install-skills`** to refresh them or to install them later if scaffolding skipped the step (`npx skills add`; re-runs refresh via `npx skills update`). After install they are available by name from whichever harness directory your CLI reads (`.claude/skills/<name>` for Claude Code, `.agents/skills/` for Codex, mirrored into `.codex/skills/`); the matching `.ai/skills/<name>/` folder holds the standalone override the skill reads on top of its built-in workflow (any default branch name, optional pipeline labels, and a validation gate that probes `package.json` for available scripts). Repo-specific settings live in `.ai/agentic.config.json`. The `claude "…"` invocations below are examples for Claude Code — other harnesses invoke the same skills by name with their own slash-command syntax.
|
|
659
659
|
|
|
660
660
|
| Skill | When to use | Invocation |
|
|
661
661
|
|-------|-------------|------------|
|
|
@@ -667,7 +667,7 @@ These auto-* agent skills let you delegate whole units of work to an autonomous
|
|
|
667
667
|
|
|
668
668
|
Notes:
|
|
669
669
|
|
|
670
|
-
-
|
|
670
|
+
- The external skills install automatically when the app is scaffolded; run `yarn install-skills` to refresh them or if that step was skipped (and `yarn install-skills --list` to see the local tier catalog). It is offline-safe: pass `--no-external` to skip the network step.
|
|
671
671
|
- The skills probe `gh repo view --json defaultBranchRef` for your repo's default branch; no assumption that it's `main` or `develop`.
|
|
672
672
|
- Pipeline labels (`review`, `qa`, `merge-queue`, etc.) are opt-in — the skills detect which labels exist in your repo via `gh label list` and skip gracefully when they're missing. If you want the full workflow, the skill README in each skill folder has a `gh label create` snippet you can paste in once.
|
|
673
673
|
- The validation gate runs `yarn typecheck`, `yarn test`, `yarn generate`, and `yarn build` only when the corresponding `package.json` script exists.
|