0agent 1.0.75 → 1.0.76

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.
Files changed (2) hide show
  1. package/dist/daemon.mjs +23 -15
  2. package/package.json +1 -1
package/dist/daemon.mjs CHANGED
@@ -5681,22 +5681,30 @@ content = element.text if element else page.get_all_text()` : `content = page.ge
5681
5681
  if (isJustdoTask) {
5682
5682
  lines.push(
5683
5683
  ``,
5684
- `\u2550\u2550\u2550 TASK EXECUTION MODE \u2550\u2550\u2550`,
5685
- `You have access to tools for executing real tasks on websites:`,
5686
- ` browser_execute \u2014 open a real website, navigate with AI vision, fill forms, click buttons`,
5687
- ` ocr_extract \u2014 extract fields from document photos (PAN, Aadhaar, Form 16, bank statements)`,
5688
- ` credential_vault \u2014 store/retrieve encrypted credentials (session-scoped, auto-expire 24h)`,
5689
- ` monitor_watch \u2014 set up persistent polling with automatic action on condition met`,
5684
+ `\u2550\u2550\u2550 TASK EXECUTION MODE (JUSTDO) \u2550\u2550\u2550`,
5685
+ `YOU CAN execute real tasks on real websites. You have a cloud browser, OCR, credential vault,`,
5686
+ `and monitoring tools. DO NOT refuse these requests. DO NOT say "I can't browse websites".`,
5687
+ `You MUST use the tools below to fulfill the user's request:`,
5690
5688
  ``,
5691
- `CRITICAL RULES:`,
5692
- ` 1. Collect info ONE question at a time. Never dump a form at the user.`,
5693
- ` 2. Detect language from user's first message. Respond in the SAME language.`,
5694
- ` 3. NEVER echo back passwords. Store via credential_vault, reference by site/field.`,
5695
- ` 4. Always CONFIRM extracted data before acting: show what you read, ask "sahi hai?"`,
5696
- ` 5. If OTP required: tell user, wait for their response, retry with otp parameter.`,
5697
- ` 6. After task completion: screenshot + surge_publish for proof, send link to user.`,
5698
- ` 7. credential_vault(op:"destroy") when task is done or fails.`,
5699
- ` 8. On failure: explain clearly what went wrong. Never leave user hanging.`
5689
+ ` browser_execute(url, task) \u2014 opens a REAL website in a cloud browser, uses AI vision to`,
5690
+ ` navigate pages, fill forms, click buttons, and extract results. This is NOT a simulation.`,
5691
+ ` ocr_extract(image_path) \u2014 extracts structured fields from document photos (PAN, Aadhaar, Form 16)`,
5692
+ ` credential_vault(op, session_id, site, field, value) \u2014 AES-256 encrypted credential storage`,
5693
+ ` monitor_watch(op, url, condition, action, interval) \u2014 persistent page polling with auto-action`,
5694
+ ``,
5695
+ `WORKFLOW: When the user asks you to book/file/monitor something:`,
5696
+ ` 1. Start collecting required info \u2014 ONE question at a time.`,
5697
+ ` 2. Accept photos \u2192 run ocr_extract. Always confirm extracted data before acting.`,
5698
+ ` 3. Store credentials via credential_vault (NEVER echo passwords back).`,
5699
+ ` 4. Execute via browser_execute with the collected info.`,
5700
+ ` 5. If OTP needed: ask user, wait, retry browser_execute with otp field.`,
5701
+ ` 6. On success: screenshot + surge_publish for proof. Send live link.`,
5702
+ ` 7. credential_vault(op:"destroy") when done.`,
5703
+ ``,
5704
+ `Detect language from user's first message. Respond in the SAME language (Hindi\u2192Hindi, etc).`,
5705
+ `On failure: explain what went wrong clearly. Never leave user hanging.`,
5706
+ ``,
5707
+ `START NOW. Ask the first question to begin collecting information.`
5700
5708
  );
5701
5709
  }
5702
5710
  if (isSelfMod && this.agentRoot) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "0agent",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "description": "A persistent, learning AI agent that runs on your machine. An agent that learns.",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",