openmates 0.12.0-alpha.25 → 0.12.0-alpha.27
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/{chunk-V7DUGDYQ.js → chunk-4S3EN6KA.js} +5 -48
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -9649,7 +9649,7 @@ function createServerBackup(installPath, role, options = {}) {
|
|
|
9649
9649
|
try {
|
|
9650
9650
|
const dump = execSync(
|
|
9651
9651
|
`docker exec cms-database pg_dump --clean --if-exists --no-owner --no-privileges -U ${shellQuote(databaseUser)} ${shellQuote(databaseName)}`,
|
|
9652
|
-
{ encoding: "utf-8" }
|
|
9652
|
+
{ encoding: "utf-8", maxBuffer: 256 * 1024 * 1024 }
|
|
9653
9653
|
);
|
|
9654
9654
|
writeFileSync3(join3(tempDir, "postgres.sql"), dump);
|
|
9655
9655
|
} catch (error) {
|
|
@@ -9699,9 +9699,10 @@ function restoreServerBackup(installPath, role, file) {
|
|
|
9699
9699
|
rmSync3(tempDir, { recursive: true, force: true });
|
|
9700
9700
|
}
|
|
9701
9701
|
}
|
|
9702
|
-
function restoreStopServices(role) {
|
|
9702
|
+
function restoreStopServices(installPath, withOverrides, installMode, role) {
|
|
9703
9703
|
if (role !== "core") return [];
|
|
9704
|
-
|
|
9704
|
+
const command = ["docker", ...composeArgs(installPath, withOverrides, installMode, role), "config", "--services"].map(shellQuote).join(" ");
|
|
9705
|
+
return execSync(command, { cwd: installPath, encoding: "utf-8" }).split("\n").map((service) => service.trim()).filter((service) => service && service !== "cms-database");
|
|
9705
9706
|
}
|
|
9706
9707
|
async function promptText(question, defaultValue = "") {
|
|
9707
9708
|
const rl = createPromptInterface({ input: process.stdin, output: process.stderr });
|
|
@@ -10657,7 +10658,7 @@ WARNING: This will restore ${role} data from ${file}.`);
|
|
|
10657
10658
|
}
|
|
10658
10659
|
const withOverrides = config?.composeProfile === "full";
|
|
10659
10660
|
const installMode = getInstallMode(installPath, config);
|
|
10660
|
-
const stopArgs = [...composeArgs(installPath, withOverrides, installMode, role), "stop", ...restoreStopServices(role)];
|
|
10661
|
+
const stopArgs = [...composeArgs(installPath, withOverrides, installMode, role), "stop", ...restoreStopServices(installPath, withOverrides, installMode, role)];
|
|
10661
10662
|
let code = await runInteractive("docker", stopArgs, installPath);
|
|
10662
10663
|
if (code !== 0) process.exit(code);
|
|
10663
10664
|
restoreServerBackup(installPath, role, file);
|
|
@@ -25332,20 +25333,6 @@ var en_default = {
|
|
|
25332
25333
|
}
|
|
25333
25334
|
}
|
|
25334
25335
|
},
|
|
25335
|
-
pcb_design: {
|
|
25336
|
-
create_schematic: {
|
|
25337
|
-
text: "Create schematic",
|
|
25338
|
-
description: {
|
|
25339
|
-
text: "Plan & create a PCB schematic."
|
|
25340
|
-
}
|
|
25341
|
-
},
|
|
25342
|
-
create_layout: {
|
|
25343
|
-
text: "Create layout",
|
|
25344
|
-
description: {
|
|
25345
|
-
text: "Plan & create a PCB layout."
|
|
25346
|
-
}
|
|
25347
|
-
}
|
|
25348
|
-
},
|
|
25349
25336
|
plants: {
|
|
25350
25337
|
plant_care_guide: {
|
|
25351
25338
|
text: "Plant Care Guide",
|
|
@@ -27453,12 +27440,6 @@ Only output the final Markdown table. Do NOT include explanations, notes, or any
|
|
|
27453
27440
|
text: "Find components and design electronic circuits."
|
|
27454
27441
|
}
|
|
27455
27442
|
},
|
|
27456
|
-
pcb_design: {
|
|
27457
|
-
text: "PCB Design",
|
|
27458
|
-
description: {
|
|
27459
|
-
text: "Plan schematics and layouts for printed circuit boards."
|
|
27460
|
-
}
|
|
27461
|
-
},
|
|
27462
27443
|
nutrition: {
|
|
27463
27444
|
text: "Nutrition",
|
|
27464
27445
|
description: {
|
|
@@ -33746,30 +33727,6 @@ As of mid-2026, the severe supply shocks from the 2024\u20132025 avian flu have
|
|
|
33746
33727
|
text: "You are Suki, the onboarding guide for OpenMates. You are helping a user discover what OpenMates can do for them.\n\nCONVERSATION FLOW:\n1. UNDERSTAND: The user may have already seen your welcome message asking what they want to use OpenMates for. Listen carefully to their response. If their answer is vague, ask ONE follow-up question to clarify.\n\n2. INTRODUCE MATES: Based on their use cases, introduce the 2-3 most relevant specialist mates by name. Keep it to one sentence per mate, focused on what they can do for THIS user specifically.\n\n3. INTRODUCE FEATURES: Naturally weave in 1-2 relevant features:\n - Focus modes: specialized conversation modes for deep work (e.g., deep research, code review, guided learning). They keep the conversation focused on one task.\n - Memories: save your preferences and context so mates remember things like your preferred programming language, dietary restrictions, or work domain.\n - Apps: web search, image generation, news, maps, reminders, and more \u2014 mates use these automatically when they are helpful.\n Only mention features relevant to their stated needs. Do not list everything.\n\n4. SUMMARIZE & OFFER SHARING: After you understand their use cases well enough, provide a brief summary of what they told you. Then ask if they would like to (optionally and anonymously) share this summary with the OpenMates team to help improve the product. Make clear that:\n - Sharing is completely optional\n - The summary is anonymous (no account info is attached)\n - They can tell you to adjust the summary text before sharing\n If the user agrees, use the share-usecase skill with the summary.\n\nRULES:\n- Use simple, friendly language. Assume a non-technical audience.\n- Keep responses SHORT (3-5 sentences per message). Do not overwhelm.\n- Never mention technical details like encryption, WebSockets, APIs, or architecture.\n- If the user asks something unrelated to onboarding, briefly answer it, then gently guide back to getting them set up.\n- Do not pressure the user to share their summary. One clear offer is enough.\n- If the user seems done or says thanks, wish them well and suggest they start a new chat with any question to get going. Mention they can always type @focus:openmates:welcome to return to this conversation at any time.\n\nDYNAMIC CONTEXT:\nThe system will provide you with up-to-date information about available mates, apps, skills, and focus modes below. Use this information instead of guessing."
|
|
33747
33728
|
}
|
|
33748
33729
|
},
|
|
33749
|
-
pcb_design_create_layout: {
|
|
33750
|
-
text: "Create layout",
|
|
33751
|
-
description: {
|
|
33752
|
-
text: "Plan & create a PCB layout."
|
|
33753
|
-
},
|
|
33754
|
-
process: {
|
|
33755
|
-
text: "- ask users clearifying question to make the requirements clear and create requirements.md file\n- {'for more complex tasks': 'create todo.md file and keep it updated with progress. Include filepaths or function names / variable names relevant.'}\n- if problem can't be solved within a few steps, ask if new approach should be tried or if requirements should be redefined\n- guide user throw the process of creating the PCB layout using Python scripts for KiCad or manually via the KiCad UI"
|
|
33756
|
-
},
|
|
33757
|
-
systemprompt: {
|
|
33758
|
-
text: "You are a PCB design expert."
|
|
33759
|
-
}
|
|
33760
|
-
},
|
|
33761
|
-
pcb_design_create_schematic: {
|
|
33762
|
-
text: "Create schematic",
|
|
33763
|
-
description: {
|
|
33764
|
-
text: "Plan & create a PCB schematic."
|
|
33765
|
-
},
|
|
33766
|
-
process: {
|
|
33767
|
-
text: "- ask users clearifying question to make the requirements clear and create requirements.md file\n- {'for more complex tasks': 'create todo.md file and keep it updated with progress. Include filepaths or function names / variable names relevant.'}\n- if problem can't be solved within a few steps, ask if new approach should be tried or if requirements should be redefined\n- guide user throw the process of creating the atopile code for a pcb schematic, or alternatively guide throw how to create a schematic in KiCad"
|
|
33768
|
-
},
|
|
33769
|
-
systemprompt: {
|
|
33770
|
-
text: "You are a PCB design expert."
|
|
33771
|
-
}
|
|
33772
|
-
},
|
|
33773
33730
|
plants_plant_care_guide: {
|
|
33774
33731
|
text: "Plant Care Guide",
|
|
33775
33732
|
description: {
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED