capacitor-mobile-claw 1.0.8 → 1.0.10

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.
@@ -879,9 +879,8 @@ function loadSystemPrompt() {
879
879
  systemPrompt = 'You are a helpful AI assistant running on a mobile device.';
880
880
  }
881
881
 
882
- // Append vault alias awareness when the pre-execute hook is active
883
- if (preExecuteHookEnabled) {
884
- systemPrompt += `
882
+ // Append vault alias awareness (pre-execute hook is always active)
883
+ systemPrompt += `
885
884
  ## Vault Aliases
886
885
 
887
886
  The user may provide sensitive information that has been replaced with vault aliases in the format \`{{VAULT:<type>_<hash>}}\`.
@@ -901,7 +900,6 @@ These are SECURE REFERENCES to real values (credit cards, social security number
901
900
  - Do not persist vault aliases to files or memory — they are ephemeral session references
902
901
  - Do not attempt to decode, reverse, or manipulate the alias format
903
902
  `;
904
- }
905
903
 
906
904
  return systemPrompt;
907
905
  }
@@ -1843,16 +1841,9 @@ channel.addListener('message', async (event) => {
1843
1841
  }
1844
1842
 
1845
1843
  case 'skill.start': {
1846
- if (msg.skill === 'setup') {
1847
- const agentId = msg.agentId || 'main';
1848
- const locale = msg.locale || 'en';
1849
- await runSetupSkill(agentId, locale, msg.config || null);
1850
- } else {
1851
- channel.send('message', {
1852
- type: 'agent.error',
1853
- error: `Unknown skill: ${msg.skill}`,
1854
- });
1855
- }
1844
+ const agentId = msg.agentId || 'main';
1845
+ const locale = msg.locale || 'en';
1846
+ await runSetupSkill(agentId, locale, msg.config || null);
1856
1847
  break;
1857
1848
  }
1858
1849
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-mobile-claw",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "On-device AI agent engine for Capacitor apps — embedded Node.js worker with LLM, file tools, code execution, git, and extensible MCP server",
5
5
  "main": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",