← All Pull Requests

adom-aiflow-jlcpcb 0.1.3: upload files with pup_upload_file #1

Merged Released in 0.1.3 on 5 Nov 2026 opened by Colby Knox
Merges aiflow-lane-0.1.3 → main

Upload guidance for the fab site: files go in with pup_upload_file (pup 2.0.741, now public), sent to the desktop first. attached: true is not the site's answer, and an older pup gets a fallback instead of streaming the file through pup_eval. Skill text only; the binary is rebuilt for the version bump.

Tested: cargo test passes.

🤖 Generated with Claude Code

Diff Skip to comments

Cargo.lock+1−1
@@ -10,7 +10,7 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"  [[package]] name = "adom-aiflow-jlcpcb"-version = "0.1.2"+version = "0.1.3" dependencies = [  "clap",  "regex",
Cargo.toml+1−1
@@ -2,7 +2,7 @@ # Copied from adom/adom-aiflow template/flow-app. This copy is yours: change anything, never depend on aiflow. [package] name = "adom-aiflow-jlcpcb"-version = "0.1.2"+version = "0.1.3" edition = "2021" license = "MIT" 
package.json+1−1
@@ -1,7 +1,7 @@ {   "slug": "adom-aiflow-jlcpcb",   "type": "app",-  "version": "0.1.2",+  "version": "0.1.3",   "title": "AI Flow: JLCPCB",   "description": "The JLCPCB ordering stage of AI Flow: from a finished board to assembled boards from JLCPCB. Part substitutes proven from both datasheets, the gerber zip, BOM and CPL from the desktop's own KiCad, every part's rotation checked against JLCPCB's own footprint and corrected, placement-preview evidence, the quote, the human's recorded OK before payment, and rotation corrections shared on component pages. Open source (MIT): build it with ./build.sh.",   "category": "Developer Tools",
page.json+1−1
@@ -1,7 +1,7 @@ {   "slug": "adom-aiflow-jlcpcb",   "type": "app",-  "version": "0.1.2",+  "version": "0.1.3",   "title": "AI Flow: JLCPCB",   "description": "The JLCPCB ordering stage of AI Flow: from a finished board to assembled boards from JLCPCB. Part substitutes proven from both datasheets, the gerber zip, BOM and CPL from the desktop's own KiCad, every part's rotation checked against JLCPCB's own footprint and corrected, placement-preview evidence, the quote, the human's recorded OK before payment, and rotation corrections shared on component pages. Open source (MIT): build it with ./build.sh.",   "category": "Developer Tools",
skills/adom-aiflow-jlcpcb/SKILL.md+1
@@ -57,6 +57,7 @@ adom-aiflow-jlcpcb report   it. Never write an approval they did not give. - **No moving mouse in the clips.** Drive JLCPCB's site with pup (`pup_eval`, `pup_input_dispatch`), which moves no   OS cursor. The checkout clip shows addresses and account data: keep it private.+- **Files go in with `pup_upload_file`** (pup 2.0.741 or later): `{selector, filePath}`. `filePath` is a path on the desktop, so `send_files` the file there first and pass where it landed (Downloads). With one file input on the page the selector can be left out; a hidden input is fine. `attached: true` means the page has the file, not that the site has taken it: wait for the site's own answer (JLCPCB shows the layer count and size it detected). Key and password files, AppData, hidden home folders, system folders and network paths are refused (`path_refused`). Check `pup_describe` for the verb first; on an older pup, ask the human to update Adom Bridge or to attach the file themselves, and don't stream the file through `pup_eval`. - **Share only where you may.** `share` pushes to pages you own or were asked to update; on anyone else's page,   open an issue with the record.

Comments

No comments yet.

Log in to comment.