All notable changes to the public surface are documented here. Exact version pins are the install contract, so a breaking change only lands where a pin is deliberately moved. Releases happen only on an explicit maintainer decision; the Unreleased section accumulates until then.
한국어 요약은 각 절 하단에 둔다.
소비자가 핀한 버전에 아직 없는 subpath 목록이다(위 주석이 기계 판독 정본). 출하 문서가 이 이름을 예시로 쓰면 미출하 표식이 함께 있어야 하고, tests/contracts/publicSurface.mjs가 그것을 문다.
-
A page read gives an editable field's whole text. The value and the fill text of an editable field are read up to 10,000 characters instead of 500, so a caller compares a long caption it typed before submitting it; other text on the page stays cut at 500. The fill text of a field is its own subtree in document order, so a large page does not hold more memory.
한국어: 화면 읽기가 편집 칸의 값과 칸 안의 글을 500자가 아니라 10,000자까지 준다. 긴 캡션을 넣은 쪽이 올리기 전에 칸의 글 전체를 견줄 수 있다. 다른 글은 그대로 500자에서 자른다.
-
The User Browser extension runs the version setup installed without a reload by hand. The browser keeps running the extension code it loaded, also after setup replaced the folder and after the browser restarted (a Chrome restarted that morning still ran 0.0.39 code from a 0.0.44 folder), so tasks met fixed problems again. Setup now writes the version it installed into the extension's
config.js, and the running extension reads that file from its folder when it starts and every 15 seconds: when the folder holds another version it reloads itself, only while no control host is connected and no task window, pairing, or site rule is open, and once per installed version. The pairing and the profile id stay. The extension announces it asreloadsWhenReplaced, anduser-browser statusnames thepidof the native host each running profile started, so a caller that just ran setup tells when the extension started again. A browser running an extension older than this needs the reload button once more. Gate:test:user-browser.한국어: 브라우저는 설치가 확장 폴더를 바꾼 뒤에도, 브라우저를 다시 켠 뒤에도 처음 읽은 확장 코드를 계속 돌려(그날 아침 다시 켠 Chrome이 0.0.44 폴더에서 0.0.39 코드를 돌렸다) 고친 문제를 할 일이 다시 만났다. 이제 설치가 넣은 판을 확장의
config.js에 적고, 도는 확장이 켜질 때와 15초마다 폴더의 그 파일을 읽어 다른 판이 들어와 있으면 스스로 새로 읽는다. 연결된 제어 쪽, 할 일 창, 연결 확인, 사이트 차단 규칙이 하나도 없을 때만, 한 판에 한 번만 한다. 연결 짝과 프로필 번호는 그대로 남는다. 확장은 이것을reloadsWhenReplaced로 알리고,user-browser status는 도는 프로필마다 그 확장이 띄운 native host의pid를 알려 설치를 막 돌린 쪽이 확장이 다시 켜진 것을 안다. 이보다 예전 확장이 도는 브라우저는 새로고침 단추를 한 번 더 누른다.
-
A control client can come back to the same host and its browser sessions.
pyproc-control --config <file> --reconnect <file> [--reconnect-ms <n>]keeps a host alive when it loses its client while automation sessions are attached. It cancels the requests of the lost connection and writes an endpoint file with a one-time token. The waiting host still opens no listener: the returning client listens on loopback and announces its port beside that file with the token and a token of its own, the host connects to that port, proves itself without sending either token, and takes the connection as its client once the client answers with its own token. That client uses the sametargetRefandsessionRefvalues after a newhello. A host that holds no session, or whose wait (60 seconds by default, 30 minutes at most) runs out, ends as before. A host started without the option changes in one way: bytes after the last newline when its input ends are dropped as the unfinished write of a lost client, where they used to end the host with a fatal frame and exit code 1. On Windows a Node.js program must spawn the host detached for it to outlive that program. The Python SDK addsPyProcClient.start(reconnectFile=, reconnectSeconds=),PyProcClient.reconnect(file),hostPid, andconnected. The JavaScript SDK has no helper for returning yet; the wire contract is in the Control Protocol reference. The manifest's origins, actions, risk ceiling, and request guard are those of the host and do not change with the client. Gate:test:contracts(control reconnect: an announcement without the token of the wait is removed and not followed, the first line of the host carries no token, a connection whose answer is wrong, short, or oversized is closed while the host keeps waiting, an unfinished last line does not end a host that holds a session, the wait is bounded, the endpoint file is removed),test:control-product(an installed host and a real browser: stdin closes, the waiting host and its browser own no listening socket, the same session answers over the connection the host made),test:python-sdk(the bundled host andPyProcClient.reconnect).한국어: 제어하던 프로그램이 죽어도 host와 브라우저 세션이 살아 있고, 다시 뜬 프로그램이 같은 세션으로 돌아온다.
--reconnect <파일>로 띄운 host는 세션이 붙어 있는 동안 client를 잃으면 그 연결의 요청을 끝내고 한 번 쓰는 token을 그 파일에 적는다. 기다리는 host는 접속을 받는 포트를 열지 않는다. 돌아온 client가 이 PC 안에서만 닿는 포트를 열어 그 token과 자기 token을 파일 옆에 알리면, host가 그 포트로 가서 두 token을 보내지 않고 자신이 그 host임을 증명하고, client가 자기 token으로 답해야 그 연결을 client로 삼는다. 그 client는 전에 받은targetRef·sessionRef를 그대로 쓴다. 세션이 없거나 기다리는 시간(기본 60초, 최대 30분)이 지나면 전처럼 끝난다. 이 옵션 없이 띄운 host는 한 가지만 달라진다: 입력이 끝날 때 줄바꿈 없이 남은 마지막 줄을 잘못된 프레임으로 보지 않고 버린다(전에는 fatal 프레임을 쓰고 1로 끝났다). Windows에서 Node.js 프로그램은 host를detached: true로 띄워야 그 프로그램이 죽어도 host가 남는다. Python SDK에는start(reconnectFile=, reconnectSeconds=),reconnect(file),hostPid,connected가 생겼고 JavaScript SDK의 돌아오는 함수는 아직 없다. 허용한 주소·행동· 위험 등급과 요청 보호는 host의 것이라 돌아온 client에게도 같다.
-
Throttling and URL blocking for page speed checks.
Emulation.setCPUThrottlingRate,Network.emulateNetworkConditions, andNetwork.setBlockedURLsare now accepted atmutaterisk, so a controlled browser can measure a page under phone conditions. They only change how that browser loads pages and send nothing out; a policy capped atreadstill refuses them. Gate:test:contracts(browser control).한국어: 페이지 속도를 휴대폰 조건으로 재도록 CPU를 느리게 하고 망을 느리게 하고 주소를 막는 세 명령을
mutate등급으로 받는다. 세 명령은 제어하는 브라우저가 페이지를 받는 방식만 바꾸고 밖으로 보내는 것이 없으며,read까지만 허용한 정책은 받지 않는다.
-
A task tab that asks before it is left no longer holds up the next task. Closing a User Browser task tab whose page asks before it is left (an editor with unsaved text) waited until someone answered, and the ending task held its site rules until its tabs closed, so every task after it timed out before its first tab. The extension now enables Page on the tab before it closes it and answers "leave" when the close is still waiting after 3 seconds; a tab that still has not closed 3 seconds later is left open for the user, and the task ends and lets the next one start anyway. The extension now announces
capabilities: ["blockSites", "closesAskingTabs"], so a caller can tell a browser that still runs the extension it loaded before setup replaced its folder; reload it after updating. Gate:test:contracts(user browser site rules).한국어: 할 일 탭이 떠날지 묻는 화면(쓰다 만 글이 있는 편집기)에 있으면 탭을 닫는 동안 누군가 답할 때까지 기다렸고, 끝나는 할 일은 탭이 닫힐 때까지 사이트 차단 규칙을 쥐고 있어 그 뒤 할 일이 모두 첫 탭 전에 시간이 다 됐다. 이제 확장이 탭을 닫기 전에 그 탭의 Page를 켜 두고, 3초 뒤에도 닫히지 않으면 '나가기'로 답한다. 그래도 3초 안에 닫히지 않는 탭은 사용자에게 남기고 할 일은 끝나 다음 할 일이 시작된다. 확장은 이제
closesAskingTabs도 알려, 폴더가 바뀐 뒤에도 예전 확장이 도는 브라우저를 부르는 쪽이 알아챌 수 있다. 업데이트한 뒤 확장을 새로고침한다.
-
A pressed character keeps its own key code. A one-character
presssent the character's code point as its Windows key code, so.went as Delete,(as ArrowDown,%as ArrowLeft and#as End; Chromium ran that editing command and dropped the character. Printable characters now carry the code and key code of their key on the US keyboard (shifted characters use their base key), and characters off that keyboard, such as Hangul, carry key code 0 and insert only their text. Gates:test:contracts,test:browser-control.한국어: 글자 하나를 press하면 글자 번호를 Windows 키 번호로 실어
.이 Delete,(가 아래 화살표,%가 왼쪽 화살표,#가 End로 갔고 Chromium이 그 편집 명령을 하며 글자를 버렸다. 이제 글자마다 US 자판에서 그 글자가 놓인 키의 code와 키 번호를 싣고(Shift로 치는 글자는 아래 글자의 키), 한글처럼 자판에 없는 글자는 키 번호 0으로 글자만 넣는다. -
Frame elements stay actionable after the outer page scrolls. The parent-frame hit test for an element inside an iframe sent top viewport coordinates to
DOM.getNodeForLocation, which hit-tests in top document coordinates. Once the outer page had scrolled, the check looked at the wrong place or found no node and the action was rejected. The hit test now adds the top document scroll offset read fromPage.getLayoutMetrics, and a frame element whose point lies outside the top viewport is scrolled into view before input.Page.getLayoutMetricsjoins the trusted read and target resolution methods; the policy already classified it as a read. Gates:test:browser-control,test:frame-space,test:contracts.한국어: iframe 안 요소를 다룰 때 바깥 화면에서 그 점을 맞히는 검사가 바깥 화면 좌표를
DOM.getNodeForLocation에 보냈는데, 이 명령은 바깥 문서 좌표로 찾는다. 그래서 바깥 화면을 내린 뒤에는 엉뚱한 곳을 보거나 아무 요소도 찾지 못해 동작이 거부됐다. 이제Page.getLayoutMetrics로 읽은 바깥 문서의 스크롤 거리를 더해 찾고, 점이 바깥 화면 밖에 있는 frame 안 요소는 화면 안으로 내린 뒤 입력한다.Page.getLayoutMetrics를 신뢰 읽기와 대상 찾기 명령에 더했다(정책은 이미 읽기로 분류한다).
-
Observed text refs target their connected element. Browser actions resolve a text node to its immediate parent element in the same frame, so an editable paragraph can be focused, clicked, and filled. A successful trusted fill still reports its applied result when the editor replaces the target element during input.
-
Full observations describe the exact fill range. Editable nodes report the target tag and whether a fill changes a field value or element contents. Element contents include their text, truncation status, and descendant element count. Shadow ranges that cannot be established from the snapshot are left undescribed.
한국어: 관찰한 글자 ref를 같은 프레임의 직계 요소로 연결해 문단을 누르고 고칠 수 있다. 입력 중 편집기가 요소를 교체해도 이미 적용한 결과를 잃지 않는다. 전체 관찰에는 편집할 요소의 태그와 바뀔 범위, 전체 글의 잘림 여부와 내부 요소 수를 표시한다. 스냅숏으로 범위를 확인할 수 없는 shadow 요소는 확인한 것처럼 표시하지 않는다.
-
A controlled page keeps running while its window is hidden. The user's browser opens a task window unfocused, and the user may cover or minimize it; Chromium then reports the page hidden, stops its frames, and never loads a video chosen in a file input there, so a site's video upload screen waited forever (images still went in). Every attached session now turns on focus emulation, so the page stays shown and focused without raising its window over the user's. A browser that refuses it keeps the session as before.
-
uploadsays what the page received. The action's result names each file the input now holds (name, size, type) and the page'svisibilityat that moment, so a caller can tell a file the page never got from a page that stalled. Gates:test:user-browser,test:browser-control.한국어: 사용자 브라우저는 작업 창을 포커스 없이 열고 사용자가 그 창을 가리거나 최소화하기도 한다. 그러면 Chromium은 페이지를 숨은 것으로 보고 프레임을 멈추며 파일 칸에 넣은 영상을 읽지 않아, 사이트의 영상 올리기 화면이 끝없이 기다렸다(그림은 들어갔다). 이제 붙은 세션마다 focus emulation을 켜서 사용자의 창 위로 올리지 않고도 페이지가 보이고 포커스가 있는 채로 돈다.
upload결과는 칸에 들어간 파일(이름, 크기, 형식)과 그때 페이지가 보였는지(visibility)를 돌려준다.
-
Upload into a hidden file input. A page usually hides its
<input type="file">behind a styled button, so anuploadaction stopped at actionability withhiddenand a site's upload screen could not take a file. Setting files needs no pointer, souploadnow only requires the input to be attached and enabled; the files still have to sit insidebrowser.fileRoots. Gate:test:browser-control.한국어: 화면은 보통 파일 칸(
<input type="file">)을 꾸민 단추 뒤에 숨겨upload가hidden으로 멈췄다. 파일 넣기는 포인터가 필요 없어upload는 칸이 붙어 있고 켜져 있기만 보면 된다. 파일은 그대로browser.fileRoots안이어야 한다.
-
Pictures the accessibility tree leaves out. Chrome drops an
<img alt="">fromAccessibility.getFullAXTreeentirely, so a full read of a shop's product page named no product photo. A full (mode: "all") legacy observation now also takes oneDOMSnapshot.captureSnapshotof the root document and lists each<img>the tree did not name as animagenode with itsurl(the image address rule, a relativesrcresolved against the document) where a reader meets it in document order, with a locator. An interactive read takes no snapshot. A full read is now two provider commands. Gate:test:contracts(browserAutomation).한국어: 대체 글이 빈 그림(
<img alt="">)은 Chrome 접근성 트리에서 빠져 쇼핑 상품 화면의 상품 사진을 읽지 못했다. 전체 읽기는 루트 문서의 DOM 스냅숏 한 번으로 트리가 이름 붙이지 않은 그림을 문서 순서 자리에image줄과url(그림 주소 규칙)로 넣는다. 상호작용 읽기는 스냅숏을 찍지 않는다. 전체 읽기는 provider 명령 두 번이다.
-
Document order in full observations. A legacy observation lists accessibility nodes depth first along each root's
childIds, the order a reader meets them, instead of Chrome's breadth-firstAccessibility.getFullAXTreeorder, so a search result's title, summary and link come out together and the first page of a long inventory is no longer only the page frame. A node no root reaches keeps its provider place at the end. Gate:test:contracts(browserAutomation).한국어: 화면 읽기가 접근성 노드를 Chrome의 너비 우선 순서가 아니라
childIds를 따른 깊이 우선(읽는 순서)으로 낸다. 검색 결과 하나의 제목·요약·링크가 붙어 나오고, 긴 화면의 첫 묶음이 화면 틀만으로 채워지지 않는다. -
Link destinations in legacy observations. A
linknode now carriesurl, where it goes, redacted like an image address (redactLinkAddress): only image parameters keep their value, plus a value of digits only under any name (an item, product or page number); every other query value becomes[redacted]and the fragment is dropped. Image nodes are unchanged; a button still carries nourl. Gate:test:contracts(browserAutomation).한국어: 화면 읽기의
link노드도url(가는 곳)을 받는다. 그림 주소와 같은 규칙으로 가리되 숫자만인 값(상품·아이템· 쪽 번호)은 이름이 무엇이든 남기고, 그 밖의 query 값은[redacted]다. 그림 노드는 그대로이고 버튼은 여전히url이 없다. -
Persistent user data directory.
browser.userDataDir(nativeCdp, an absolute folder, not withrequests: "safe") is the isolated browser's--user-data-diracross sessions, so a signed-in account, cookies and site settings stay for the next session (an automation that needs an account can keep running on a private desktop). Chrome hands a second launch of the same directory to the first and exits, so one running session owns the directory at a time:pyprocUserData.locknames the owning process and a second session fails withBROWSER_USER_DATA_IN_USEwhile it runs (a lock a dead process left is replaced). Downloads and artifacts stay in the temporary scratch folder, and first preferences are written only into a directory that has none yet. Gate:test:contracts(browserUserDataDir).한국어:
browser.userDataDir(nativeCdp, 절대 경로,requests: "safe"와는 같이 쓰지 않음)로 격리 브라우저가 로그인·쿠키·사이트 설정을 세션 사이에 남기는 영구 폴더를 둔다. 같은 폴더를 두 번 열면 Chrome이 두 번째를 첫 번째에 넘기고 끝나므로 한 세션만 그 폴더를 쥐고(pyprocUserData.lock, 두 번째는BROWSER_USER_DATA_IN_USE), 다운로드· 산출물은 그대로 임시 폴더에 둔다.
- Image address redaction. A snapshot image's
urlno longer lets a credential through four gaps of 0.0.36. A value is judged after percent-decoding it until it stops changing, so a signed address encoded twice inside a proxy'surlis redacted. An address inside a value is harmless only when its fragment is too (#access_token=redacts the value).;separates parameters as&does (?type=m510;token=...keepstypeand redactstoken). The path keeps its bytes except a segment that is a JSON Web Token, carries an address with a query, has a;name=valuematrix parameter, or holds=other than an image option list (width=640,quality=75) or a long image id with its size (<id>=s96-c); that segment becomes[redacted]. A capability path whose unguessable id is the image's only name keeps it. Gate:test:contracts(browserAutomation).
스냅숏 그림 노드의 url이 0.0.36에서 놓치던 네 경우를 가린다. 값은 더 풀리지 않을 때까지 퍼센트 디코딩한 뒤
판정해, 프록시의 url에 두 번 인코딩해 담은 서명 주소도 가린다. 값 안의 주소는 fragment까지 무해해야 남는다.
;도 &처럼 매개변수를 나눈다. 경로는 그대로 두되 JSON Web Token인 조각, query가 있는 주소를 담은 조각,
;name=value 매개변수, 그림 옵션 목록이나 긴 그림 id와 크기가 아닌 = 조각은 [redacted]로 바꾼다. 추측할 수
없는 id 자체가 그림의 이름인 경로는 그대로 둔다.
- Blocked hosts. The manifest key
browser.blockedHosts(at most 64 exact host names,nativeCdponly, with either request mode) makes the browser refuse every request to those hosts before it is sent: a navigation, each redirect hop, a subresource, a frame, a new tab, a worker, however the address spells the host. A refused navigation fails as blocked by the client; the tab's error page is judged and reported by the address it could not load, andautomation.target.opennames the blocked host and place, whether a redirect, a script, or a meta refresh sent the start page there. Each refusal is listed inblockedRequestswith itsblockedHost. Such a profile starts with page preloading off. AnativeCdpsession with requestsanydoes not refuse a WebSocket to a blocked host. Gate:test:blocked-hosts. - Blocked sites in the user's own browser. The
userBrowserprovider takesbrowser.blockedHostsand the newbrowser.blockedDomains(at most 64 domains, each covering itself and every host under it,userBrowseronly). Before the task's first tab the paired extension holds declarativeNetRequest session rules over the whole browser profile that refuse every request to those sites before it is sent, whatever its type, and keeps network prediction off while they hold; they end with the task and prediction goes back.automation.space.inspectnames the enforcer (requests.enforcedBy: "extension") and both lists, and an extension that cannot hold them, or a profile where another extension or a policy keeps network prediction on, ends the session withUSER_BROWSER_SITE_BLOCKING_UNAVAILABLE. The manifest check refuses a name the rules cannot take. The extension asks for thedeclarativeNetRequestandprivacypermissions and announcescapabilities: ["blockSites"]; reload it after updating. Gate:test:user-browser-blocking. - Image addresses in snapshots. A legacy
snapshotnode with roleimagecarriesurl: the absolute http(s) address of the source the browser chose, read from the accessibility tree the snapshot already reads (no other browser method, so the user-browser extension's allowed methods stay as they are). The query stays, so a thumbnail proxy's original image address survives; the fragment goes. Only parameters known to be harmless for an image keep their value (src,url,type,w,width,height,q,quality,fit,crop,auto,fm,format,dpr,v, with any address they carry harmless too); every other value becomes[redacted], since signed and session addresses use names no list of secret words finishes. An address with embedded credentials, adata:image, or one longer than 2,048 characters is left out. Links and image buttons carry nourl. Gate:test:browser-control.
- Windows Motor contact point. Physical
osInputchecks, right before the click, that the bound window still has the foreground, owns the point under the target's center, and that the element at that point is the target or inside it. A target outside its window, or covered by another window or by another part of its own window, refuses asNATIVE_TARGET_OCCLUDED(notSent) instead of clicking whatever owns that point. The host runs per-monitor DPI aware, so UI Automation rectangles, the check andSendInputshare physical pixels. - Windows Motor bindings in Chromium windows. Binding candidates come from one cached UI Automation query by name,
control type and automation id and are counted by runtime id, so an element a Chromium window reports many times
binds as one exact target instead of
NATIVE_TARGET_AMBIGUOUS. Gate:test:windows-motorruns the host's own tests.
browser.blockedHosts에 적은 호스트로 가는 요청은 이동, 리디렉트 단계, 페이지 자원, 프레임, 새 탭, 워커를 가리지
않고 브라우저가 보내기 전에 거절한다. 거절한 이동의 오류 페이지는 불러오지 못한 주소로 판정하고 알린다. 시작
페이지가 리디렉트, 스크립트, meta refresh로 차단 호스트에 보내도 탭을 열지 않고 그 호스트와 장소를 알린다.
사용자 브라우저 연결도 browser.blockedHosts와 새 browser.blockedDomains(도메인과 그 아래 모든 호스트)를 받는다.
작업의 첫 탭을 열기 전에 연결된 확장이 브라우저 프로필 전체에 요청 규칙을 두어 그 사이트로 가는 요청을 종류를
가리지 않고 보내기 전에 거절하고, 규칙이 있는 동안 네트워크 예측을 끈다. 작업이 끝나면 규칙을 지우고 설정을
돌려준다. 규칙을 둘 수 없는 확장이거나, 다른 확장이나 정책이 네트워크 예측을 켜 둔 프로필이면
USER_BROWSER_SITE_BLOCKING_UNAVAILABLE로 아무것도 열지 않는다. 규칙이 받지 못하는 이름은 매니페스트 검사에서
거절한다. 업데이트한 뒤에는 확장을 다시 불러온다.
legacy snapshot의 image 노드는 브라우저가 고른 그림의 절대 http(s) 주소를 url로 싣는다. 이미 읽는 접근성
트리에서 가져오므로 다른 브라우저 명령을 부르지 않는다. query는 남겨 썸네일 프록시가 담은 원본 그림 주소가 그대로
살고, fragment는 뗀다. 그림에 무해하다고 알려진 query(src, url, type, w, width, height, q,
quality, fit, crop, auto, fm, format, dpr, v, 담은 주소도 같은 기준으로 무해할 때)만 값을 남기고
나머지 값은 모두 [redacted]로 바꾼다. 서명·세션 주소는 비밀 단어 목록으로 다 잡을 수 없는 이름을 쓰기 때문이다.
주소에 계정이 박혔거나 data: 그림이거나 2,048자를 넘으면 싣지 않는다. 링크와 그림 버튼은 url을 싣지 않는다.
Windows Motor의 물리 클릭은 누르기 직전에 대상 중심의 점이 묶은 창의 것이고 그 점의 요소가 대상인지 확인한다. 창 밖이나 다른 창, 같은 창의 다른 부분에 가린 대상은 보내지 않고 거절한다. Chromium 창이 같은 요소를 여러 번 돌려줘도 runtime id로 하나로 센다.
- Exact user-browser profiles.
browser.userBrowserProfileselects one paired Chrome or Edge profile. Missing or ambiguous profiles refuse instead of selecting another identity. Each task stays inside its permitted sites and reuses the selected browser's existing login without exporting cookies. - One-use login input.
automation.secret.bindbinds a supplied login value to a freshly observed field, its session and exact origin. The binding expires after 30 seconds and is consumed by its first attempt. Changes during focus, cross-session use, wrong origins and reused references refuse before input. JavaScript and Python Control clients expose the operation; MCP and replay do not accept it. - Secret-bearing host limits. Supplied values are redacted from action responses, semantic observations and recording, including later page echoes and URL encoding. Raw commands, screenshots and declared binary downloads refuse in a host that has received secret input. An already authenticated user-browser profile retains visual and download capabilities. The caller owns its account vault, site permissions and additional authentication UI.
연결한 Chrome·Edge의 정확한 프로필을 선택하고 로그인 상태를 재사용한다. 저장한 로그인 값은 관찰한 필드 한 곳에 한 번만 입력하며 응답과 기록에서 가린다. 비밀 입력 후에는 바이너리 읽기를 제한하므로 화면 확인과 다운로드가 필요한 업무는 이미 로그인한 사용자 브라우저 연결을 사용한다. 계정 저장소, 사이트 권한과 추가 인증 화면은 호출자가 관리한다.
-
Child-frame text and controls in legacy browser observations. A task reads the permitted text in same-process and out-of-process frames, including a task window in the user's Chrome or Edge. The frame's origin and ancestry are checked before access, and replacing its document invalidates the old locator. Direct child-frame controls receive trusted input through the same task boundary. Frames outside the permitted sites are omitted. APX frame capture remains partial, and nested out-of-process frame actions are not yet covered by this contract.
-
Uncaught exceptions and the browser's log in the console channel. An observation with
includeConsolenow carries the page's uncaught exceptions (source: "exception", with the script URL, line, and column) and the browser's own log entries (a resource that failed to load, a blocked request, a violation), beside the page's console calls (source: "consoleApi"), each with a timestamp; turning the channel on replays what came before. URLs in their text lose their query. A session that never asks turns on neither the Runtime nor the Log domain. Gate:test:console-diagnostics. -
Download receipt and export root. A declared click download now reports the type its bytes prove, not a fixed
application/octet-stream: a byte signature names it outright (images, PDF, ZIP and the Office Open XML, OpenDocument, EPUB, and HWPX files in one, legacy Office and HWP containers, archives, media, fonts, executables), text bytes in any encoding take the server's text type or the name's, and a declared type the bytes contradict is never reported.declaredMimeTypekeeps the server'sContent-Typewith its charset (read from the download's own response while it runs, after any redirect) andmimeEvidencesays which rule decided the type. With the new manifest keybrowser.exportRoot(and--export-rootforauthorizedBrowser), each download is also written as a new file directly in that folder, returned asexportedFile: { path, name };saveAson the click names it and must be one plain file name (a.., folder, drive, stream, or device name fails before the click), and an existing file is never replaced. An empty file is a receipt too. On Windows the exported file carries the internet zone mark (exportedFile.markOfTheWeb), and a name a link holds, even a dangling one, is never written through. The gatetest:download-receiptchecks:- PNG, PDF, Office Open XML, a ZIP served as a JPEG, and an empty file;
- a lying server, EUC-KR CSV, a redirect, a fragment, a
data:URL, and ablob:URL; - a page that moves on before its download, a reloading frame, a dangling junction, the zone mark, refused names, and a read-only session.
resources.lifecycleListenersjoins the resource inventory. -
Downloads in the user's own browser. A declared click download in the
userBrowserprovider returns the same receipt and export. The browser saves the file where the user's settings say. The extension, which now has thedownloadspermission for this alone, reports only the download whose URL the armed task tab's ownPage.downloadWillBeginnamed. pyproc reads the file there, only while that tab is inside the permission, and leaves it in place. Two downloads of that URL at once are ambiguous and neither is read (BROWSER_AUTOMATION_DOWNLOAD_AMBIGUOUS). Downloads the user starts are never reported.
-
Warm observations reuse an unchanged page. A graph or situation observation reads the page's evidence first and answers from the session's last full capture when all of it is unchanged, without reading the accessibility tree again. The evidence is:
- the DOM snapshot, with form values, author shadow trees, layout, visibility styles, CSS alt text, and inertness;
- the layout metrics and the document;
- each custom element's own accessibility node;
- what an isolated world reads over the document and its open shadow roots: a mutation observer's change count, focus, the indeterminate, invalid, open, popover-open, and modal elements, and ARIA element references set as properties.
A capture is kept only when the page did not change while its tree was read. Pages with a closed shadow root or more than 24 custom elements are read in full every time. The graph digest no longer copies every entity twice. The gate
test:perception-reusecompares warm and full reads of the same page and checks that changed pages are read again, including verifier reproductions and pages that change rapidly.browserInspect.perception.reusedObservationscounts reused answers.
- Closing the last browser session now releases its transport event subscription. Failed attachment, concurrent attachment, external target closure, and later reconnection preserve the same cleanup boundary.
- A page that moves on to another page of the permission, or whose frame navigates, keeps delivering its events: a main frame that commits inside the permission is verified by the URL it committed, and a child frame's navigation no longer suspends the page. A download started behind a "your download will begin" page, or on a page with a reloading frame, used to time out.
- An observation after CSS generated content changed no longer fails with
APX entityRef is duplicated: Chromium lists that content's inline text box twice, and each accessibility node is now read once. - A download can report success only after response interception is released. If disabling interception and detaching the session both fail, the action reports an unknown outcome and closes the transport when needed; a saved receipt remains named in the error so the caller can inspect it before retrying.
- A child frame reloading between actionability and input no longer invalidates an unchanged main-page target. A main document replacement still stops the action before input is sent.
변하지 않은 페이지의 관찰 결과를 재사용하고, 다운로드의 실제 형식과 파일 보존 결과를 반환한다. Chrome과 Edge 사용자 브라우저에서도 과업이 시작한 다운로드만 다루며, 허용된 자식 iframe의 본문과 직접 자식 control을 기존 관찰·조작 경계로 연결한다. 브라우저 log와 잡히지 않은 예외도 요청한 관찰에 포함한다. APX의 frame 관찰과 중첩된 별도 process frame의 행동은 아직 완료된 계약에 포함하지 않는다.
- Private browser desktop.
browser.desktop: "private"(Windows,nativeCdp,headed: true) starts the headed browser on a desktop of its own through the new helperpyproc-browser-desktop.exe, with the same DevTools pipe. Windows keeps one foreground window per desktop, so the task browser can no longer take the user's foreground or keyboard (a headed Chrome or Edge activates its window at start even while the user types elsewhere), while it still renders, answers input, and captures as a headed browser with a headed identity. Without the helper the launch fails withBROWSER_DESKTOP_UNAVAILABLEbefore any browser starts. The gatetest:browser-desktop(Windows CI) holds its own window in front and checks the foreground never leaves it and no window of that browser reaches the user's desktop, with a headed-on-the-user's-desktop control.
- The Windows native hosts share one reproducible build:
scripts/nativeHostBuilder/buildNativeHost.mjs --componentbuildsuserBrowserHostorbrowserDesktop, thenative-hostsworkflow builds each twice and attests it, and the Python distribution lock pins them undernativeHosts(one Rust toolchain, one entry per host). The win_amd64 platform wheel now carriespyproc-browser-desktop.exebeside the user-browser host.
- A new tab whose page moves to another origin by itself right after it loads is held (or, on a host without revision, closed) with the place it went, not the URL it loaded.
- Live permission revision. A manifest that sets
browser.permissionRevision: "controller"(nativeCdp or userBrowser, not while recording) gives its Control clientsautomation.permission.revise(JavaScriptrevisePermission(), PythonrevisePermission()); MCP never offers it, since an agent there could approve its own widening. It replaces the running browser permission without restarting: allowed origins change freely (at least one;*only on a host that started with it); actions, raw methods, maxRisk, and file roots narrow or come back up to what the host started with. Anything that grows authority needs the caller's stringreferenceto the approval behind it. Revisions run one at a time; Execution Memory records each before it takes effect (a revision it refuses changes nothing), and every later revision of any session, effect checkpoints included, carries the revised permission (origins, actions, raw methods, maxRisk, file roots by digest) and reference. Execution Memory's permission manifest now records raw methods and file-root digests on every host, so its digest differs from earlier versions'. Every surface is judged against a revision at once: one now outside is held and its events stop, one now inside goes on. A request already running re-checks each action before it runs it. Supported by thenativeCdpanduserBrowserproviders.
- A tab that lands outside the permission is held instead of dropped: attaching to a tab outside the permission holds it
instead of closing it, a session whose tab navigated away is held rather than left unverifiable, and on a host that
enables permission revision a new tab the site redirects elsewhere stays open, held (elsewhere it is closed as before,
and the refusal now names where it went). The request fails with
BROWSER_CONTROL_SURFACE_HELD(it used to beBROWSER_CONTROL_PERMISSION_DENIEDwithout a place), whosedetailsname thetargetRef,origin, andpathreached, never the query or fragment (in the user's own browser, only for tabs the task opened). Widening the permission to that origin lets the same tab and session go on; detaching a held session closes its tab. A popup outside the permission is still closed, and its refusal now names the origin and path it reached.
- 실행 중 권한 개정: manifest가
browser.permissionRevision: "controller"로 켠 host의 Control client에만automation.permission.revise가 열린다(MCP에는 열지 않음, 녹화 중에는 켤 수 없음). 브라우저를 다시 시작하지 않고 권한을 바꾼다. 허용 origin은 자유롭게 바꾸고(하나 이상,*는 그것으로 시작한 host만), actions, raw method, maxRisk, file root는 시작 때 값을 천장으로 좁히거나 되돌린다. 권한을 키우는 개정은 문자열 승인 참조(reference)가 있어야 한다. 개정은 하나씩 돌고, Execution Memory가 적용 전에 기록하므로 기록이 거절한 개정은 아무것도 바꾸지 않으며, 이후 모든 revision(effect checkpoint 포함)이 개정된 권한과 참조를 싣는다. 개정 즉시 모든 surface를 다시 판정하고, 진행 중인 요청도 action마다 허용을 다시 확인한다. - 권한 밖에 착지한 탭은 버리지 않고 보류한다. 요청은
BROWSER_CONTROL_SURFACE_HELD로 끝나며details가 도착 origin과 경로(query와 fragment 제외)를 알린다. 권한을 그 origin까지 넓히면 같은 탭과 세션에서 이어지고, 보류된 세션을 떼면 그 탭을 닫는다. 권한 밖 popup은 여전히 닫되 도착 origin과 경로를 알린다.
- Prebuilt user-browser native host. The
win_amd64platform wheel carries the native host, built from one source tree with a pinned Rust toolchain twice on the same CI image (byte-identical, with build provenance), published as a project release asset, and pinned by SHA-256 in the Python distribution lock with its third-party notices. Setup from the wheel installs it after checking its SHA-256 and needs no Rust toolchain; an npm install or a source checkout still builds the host with Cargo. A wheel build refuses a commit whose host source differs from the pinned build.
user-browser setuprun again while a browser runs the host swaps the file in beside the running host instead of failing on the locked file, and records where the host came from (hostSource).
win_amd64platform wheel이 사용자 브라우저 native host를 싣는다. 고정 Rust toolchain으로 같은 CI image에서 두 번 빌드해 byte가 같고 build provenance가 붙은 프로젝트 release 자산이며, Python 배포 lock이 SHA-256과 제3자 고지와 함께 고정한다. wheel에서의 설치는 SHA-256을 확인한 뒤 이 host를 쓰므로 Rust가 필요 없고, npm 설치와 소스 checkout은 여전히 Cargo로 빌드한다. host 원본이 고정된 빌드와 다른 commit의 wheel 빌드는 멈춘다.- 브라우저가 host를 실행 중일 때 다시 setup하면 잠긴 파일에서 실패하지 않고 옆에서 바꿔 끼우며, host의 출처
(
hostSource)를 기록한다.
- User-browser provider (Windows).
browser.provider: "userBrowser"withbrowser.userBrowserchromeoredgeruns the same APX, Motor, and lifecycle contracts in one task window of the user's own signed-in browser. A Manifest V3 extension (fixed IDolckphbppfoanoakaaemgfpobocgdogh) attacheschrome.debuggeronly to the task window's tabs and the tabs they open, refuses profile-wide domains and cookie methods, and withdraws the task when the debugging bar is cancelled. A Rust native host relays to one named pipe only the current user can open, and a client must present the key the user paired by clicking the extension action.pyproc-control user-browser setup|status|pair|unpair|remove(statusalso lists the pairings kept and whether their browser runs now), andnpm run test:user-browser(isolated Edge and Chrome). - Python Motor tasks.
PyProcClient.openMotorTask()returns aMotorTaskSessionwith the JavaScript task's meaning (situate,diagnoseAmbiguity,execute,retainArtifact,close, and a context manager), typed intents (ActuationIntent,MotorTarget,MotorAuthority,MotorPolicy), typed diagnostics and cleanup, andcanonicalActuationJson()andactuationDigest(), byte-identical to the Control host's. The installed actuation gate runs the same journey from Python and JavaScript and compares terminals, effects, diagnostics, cleanup, errors, and every receipt digest.
- Python
observe(),act(),command(), anddetachSession()annotatesessionRefas the mappingattachSession()returns. - A read-only session's act that clicks, presses, selects, or navigates waits briefly for the navigation or
submission it set off, so its refusal comes with that act's result, and a socket a dedicated worker tries to open is
reported in
blockedRequestslike a page's.
- 사용자 브라우저 provider(Windows):
browser.provider: "userBrowser"가 사용자가 로그인해 둔 Chrome이나 Edge의 과업 창 하나에서 같은 APX, Motor, 수명 계약을 낸다. 확장은 과업 창의 탭과 그 탭이 연 탭에만chrome.debugger로 붙고, profile 전역 도메인과 쿠키 명령을 거절하며, 디버깅 알림을 취소하면 과업을 거둔다. Rust native host는 현재 사용자만 여는 named pipe 하나로 중계하고, client는 사용자가 확장 action을 눌러 페어링한 키를 내야 한다.user-browser status는 남은 페어링과 그 브라우저가 지금 실행 중인지도 알린다. - Python
openMotorTask()가 JavaScript와 같은 의미의 Motor task(situate, diagnoseAmbiguity, execute, retainArtifact, close, context manager)와 typed intent, 진단, cleanup, Control host와 바이트까지 같은canonicalActuationJson()과actuationDigest()를 준다. 설치본 actuation gate가 같은 여정을 두 언어로 돌려 결과와 receipt digest를 대조한다.sessionRef형 표기는attachSession()이 돌려주는 mapping으로 고쳤다. - 읽기 전용 세션에서 click, press, select, navigate를 담은 act는 그 행동이 일으킨 이동이나 제출이 결정될 때까지 잠깐
기다려 그 거절을 같은 결과에 싣고, dedicated worker가 연 socket 시도도
blockedRequests에 알린다.
- Read-only browser sessions.
browser.requests: "safe"makes the browser itself refuse every request other than GET, HEAD, and OPTIONS, and every WebSocket and WebTransport, from pages, cross-site frames, popups, and workers, including what a closing tab sends from its unload handlers, and refuses every download a page starts. Each target is held until it is guarded and one that cannot be guarded never runs. A refused navigation leaves the page where it was.automation.observeandautomation.actresults carryblockedRequests(method, origin, and path of each refused request, download, and page socket since the last result; a request an action set off may come with the next result) andblockedRequestsDroppedwhen more than 50 did not fit.automation.space.inspectreports the guard underrequests, with the targets and document requests it saw recently. A read-only session runs in a browser-only host (engine.enabled: false) with thenativeCdpprovider, its fresh profile starts with page preloading off (a preloaded page would skip request interception), and only a read-only session may nameallowedOrigins: ["*"](any http(s) site, not recorded). A blob: or data: download is reported by its scheme and origin, never its content. Pages are served again with their connection policy, so Chromium counts them as public and its Local Network Access check refuses their frames and requests into the local network.launchBrowsertakespreferencesfor the fresh profile. The defaultanyis unchanged.
browser.requests: "safe"는 읽기 전용 세션이다. 브라우저가 GET, HEAD, OPTIONS 밖의 요청과 WebSocket, WebTransport를 페이지, 교차 사이트 frame, 팝업, worker 어디서든 거절하고, 닫히는 탭이 unload 처리기에서 보내는 요청과 페이지가 시작한 다운로드도 거절한다. 모든 대상은 가드가 걸린 뒤에야 실행되고 가드를 걸 수 없는 대상은 실행되지 않는다. 거절된 이동은 페이지를 그대로 둔다. observe와 act 결과가blockedRequests로 지난 결과 이후 거절한 요청, 다운로드, 페이지 socket의 method, origin, path를 알리고, 50건을 넘어 담지 못한 수는blockedRequestsDropped로 알린다. 읽기 전용 세션은 브라우저 전용 host(engine.enabled: false)와nativeCdpprovider에서만 되고, 새 profile은 페이지 미리 로드를 끈 채 시작하며(미리 로드한 페이지는 요청 가로채기를 거치지 않는다),allowedOrigins: ["*"](모든 http(s) 사이트, 녹화 불가)는 읽기 전용 세션만 쓴다. blob:과 data: 다운로드는 내용 없이 scheme과 origin으로 알린다. 페이지를 연결 정책과 함께 다시 내보내므로 Chromium은 그 페이지를 공용으로 보고, Local Network Access 검사가 그 페이지에서 local network로 가는 frame과 요청을 거절한다.launchBrowser는 새 profile의preferences를 받는다. 기본값any는 그대로다.
-
One run returns print output and the value of a trailing expression.
run.python(code)resolves to aKernelMachineRunReceiptwhosevalueis therepr()of the last statement when it is an expression, like a REPL echo, andnullforNoneor a trailing statement, next to that run'soutput. Controlmachine.runuses the same run, so it now reports the value after statements too (print(1)then2reports"2", where it reportednull). -
Self-signed local HTTPS targets can be trusted explicitly.
browser.trustedCertificates(andpyproc-mcp init --trusted-certificate <origin>=<file>) lists a loopback HTTPS origin with its certificate file. The manifest pins the certificate's public key and only that key becomes a certificate exception in the isolated browser. A certificate failure now reportsBROWSER_CONTROL_TARGET_CERTIFICATE_UNTRUSTEDwith the browser error instead of a generic target timeout. -
A browser-only host.
engine: { "enabled": false }starts the control host without the Python Machine: no engine files, no machine page, no loopback listener, and nomachine.*operations. Browser observe, act, Motor, and Execution Memory work; revisions carrymachine: null. FrameSpace and Rehearse-Commit still need the Machine. -
A Python wheel that carries the whole product. Each release adds platform wheels for Windows x64 (
win_amd64) and Linux x64 (manylinux_2_28_x86_64) that hold the npmpyprocpackage of the same version and a checksum-pinned official Node.js runtime, withpyproc-controlandpyproc-mcpcommands.PyProcClient.startuses the host inside the wheel, so onepip installruns pyproc with no Node or npm. The same commit yields the same wheel bytes on any build host, and release assets carry build provenance. The pure wheel and the source distribution still carry only the client.
- The browser no longer opens a DevTools port. The broker speaks CDP over the browser's
--remote-debugging-pipedescriptors instead of--remote-debugging-port, so no local process can join the automation browser. - Text a run writes to stderr no longer fails the run. It appears in
outputin the order it was written and only an exception rejects the run. Controlmachine.runreturns that output asstdout, lines joined with\n.
press Enteractivates like a person's key. The key now carries its text, so a focused button receives a trusted click and a form submits. Automation that relied on Enter doing nothing on a focused control will now activate it.- A native
<summary>is an actionable control. PyProc Eyes classified Chromium'sDisclosureTriangleas a container, so situate gave it no click affordance. It is now aui.controlwithclickand itsexpandedstate; text with the same name stays non-actionable. - APX graphs of large pages no longer fail their own schema check. Budget truncation kept
unresolvedentries and entity crops for entities it had cut, so any page larger than the budget with an unlabelled image or control failed withAPX unresolved entry is invalid. Truncation now keeps every reference whole and releases the cut crops. - Public surface removals are disclosed. A release that removes or renames a name from a package entry point now
lists it in a
### Breakingtable with its replacement ornone. A contract gate compares the type surface with the last release, so an undisclosed removal cannot ship. The 0.0.22 and 0.0.23 sections below now disclose the removals those releases did not. - The browser automation guide no longer describes
engine.indexURL. The manifest validator never accepted it;engine.rootis the only engine source. Manifest examples and field tables in the guides are checked against the validator thatdoctoruses.
- 진입점에서 이름을 지우거나 바꾸는 릴리즈는 Breaking 표에 대체 경로나 없음을 적는다. 계약 게이트가 마지막 릴리즈의 타입 표면과 대조해 공시 없는 제거를 막는다. 아래 0.0.22와 0.0.23 절에 당시 공시하지 않은 제거를 적었다.
- 브라우저 자동화 안내가 validator가 받은 적 없는
engine.indexURL을 더 이상 설명하지 않는다. 안내의 manifest 예제와 필드 표는 doctor와 같은 validator로 검사한다. run.python(code)한 번이 print 출력과 마지막 식의repr()(REPL 의미론, None과 문장은 null)을 함께 돌려준다. Controlmachine.run도 같은 실행을 써서 문장 뒤의 마지막 식 값을 보고한다.- 실행이 stderr에 쓴 글은 순서대로
output에 들어가고 예외만 실행을 실패시킨다. - 자체 서명 인증서를 쓰는 로컬 HTTPS 대상을
browser.trustedCertificates로 명시해 신뢰한다. 공개키만 고정해 격리 브라우저의 예외로 넘기고 원격 호스트는 받지 않는다. 인증서 실패는 원인을 지목하는 오류 코드로 끝난다. press Enter가 사람의 키처럼 초점을 둔 단추를 trusted click으로 활성화하고 form을 제출한다. Enter가 아무 일도 하지 않는다고 가정한 자동화는 이제 활성화를 일으킨다.- native
<summary>(ChromiumDisclosureTriangle)가 click과 expanded 상태를 가진 control로 분류되어 situate가 click affordance를 준다. 같은 이름의 글은 행동 대상이 아니다. engine.enabledfalse인 브라우저 전용 host는 Python Machine, machine page, loopback listener,machine.*operation 없이 브라우저 관찰, 행동, Motor, Execution Memory(machine null revision)를 제공한다.- 브라우저가 DevTools port를 열지 않는다. broker는
--remote-debugging-pipe로만 CDP를 쓴다. - Windows x64와 Linux x64 platform wheel이 같은 버전의 npm
pyprocpackage와 checksum으로 고정한 공식 Node runtime,pyproc-control과pyproc-mcp명령을 함께 싣는다.pip install하나로 Node와 npm 없이 시작하고, 같은 commit이면 어느 build host에서도 같은 byte이며 release 자산에는 build provenance가 붙는다. - 예산을 넘는 큰 페이지의 APX graph가 잘린 entity를 가리키는 unresolved와 crop 때문에 자기 schema 검사에서 실패하던 결함을 고쳤다. 절단 뒤에도 모든 참조가 온전하고 잘린 crop은 회수된다.
- Python checkpoints, Machine images and process clones preserve files, directories, hard links and open file positions together with interpreter memory. Unchanged engine files use the exact engine baseline. New checkpoint images require this reader; existing memory-only images remain readable.
- Setup is a public first-hour contract. Both READMEs document Chromium and Edge, the two isolation
headers, and Vite and Next snippets.
checkEnvironment()points at the live#setupheading. npx pyproc-playgroundserves the installed package graph with those headers and opens the first Python receipt path. Defaultboot()still loads only the core engine.- The second public example reopens a Machine image and reads back the recorded value.
- Default Machines accept Python package requests.
%pip installandpython -m pip installuse the attached package environment. Unsupported native wheels andsubprocesspip stay readable failures and do not stop later Python execution. - Native Linux CPython is a second door, not the default kernel.
createWebComputer().linuxPythonrunspython3andpython -m pipoverlinuxOsserial. Rootboot()stays the owned WASI CPython 3.14.6 kernel. The guest interpreter on the python profile is CPython 3.12.13.inspect().interpreterreports that split. Receiptstdoutis the serial transcript. Offline missing wheels fail through guest pip. The slim linux image still has nopython3. The python guest is a digest-pinned project release, not an npm bundle.test:linux-pythonprepares that catalog consumer without an injected image path.
- 체크포인트, Machine image와 프로세스 복제가 파일·디렉터리·하드 링크·열린 파일 위치를 함께 보존한다. 변경 없는 엔진 파일은 같은 엔진의 기준 자산을 참조한다. 새 이미지는 이 판독기가 필요하고 기존 메모리 전용 이미지는 계속 읽을 수 있다.
- Setup 절이 Chromium/Edge, 헤더 두 줄, Vite와 Next 스니펫을 공개하고, 환경 진단이
#setup으로 연결된다. npx pyproc-playground가 설치 그래프를 COOP/COEP로 서빙해 첫 Python receipt를 연다. 기본boot()는 core engine만 로드한다.- 두 번째 공개 예제가 Machine image를 다시 열어 기록한 값을 읽는다.
- 기본 Machine에서
%pip install과python -m pip install로 패키지를 요청한다. 지원하지 않는 native wheel과subprocesspip는 패키지 오류로 거절되고 이후 파이썬 실행은 계속된다. - 네이티브 Linux CPython은 두 번째 문이다.
createWebComputer().linuxPython이linuxOsserial로python3와python -m pip를 친다. 기본boot()는 WASI 커널이다. 별도 Buildroot python profile이 CPython 3.12.13과 pip 25.2를 Node guest와 같은 재현/SBOM/oracle 계약으로 싣는다. slim linux image에는 여전히python3가 없다. python guest는 npm이 아니라 digest-pinned project release다.test:linux-python은 그 catalog consumer만 받는다.
- Web Machine Core v1 is a reviewable product protocol. The package now includes a normative protocol, requirement and surface locks, shared conformance vectors, a public product binding, a dependency-free minimal implementation, browser coverage, and a WPT-shaped test. Both implementations produce the same nine transcripts and reject malformed graphs, missing vectors, and inconsistent attachment lengths.
- Full-page screenshot limits are measured before capture. Current CSS content bounds are preferred over the deprecated metric, and oversized dimensions, areas, origins, extents, and scales fail with a stable code, measured details, explicit limits, and a recovery boundary before the capture request is sent.
- Pipeline cancellation preserves honest transport outcomes. Browser automation verification now accepts both a provably unsent read poll and an unknown result when cancellation crosses the send boundary, while preserving the completed effect prefix and forbidding unsafe effect retries.
- Web Machine Core v1은 규범 protocol, requirement와 surface lock, 공통 conformance vector, 공개 제품 binding, 무의존 최소 구현, 브라우저 gate, WPT 형태 검증을 한 package에 담는다. 두 구현은 9개 transcript가 같고 잘못된 graph, 누락 vector, attachment 길이 불일치를 거부한다.
- 긴 full-page screenshot은 capture 전에 CSS content 크기를 측정하고 dimension, area, origin, extent, scale 한계를 넘으면 안정 code, 측정 detail, 한계와 복구 경계를 포함해 거부한다.
- pipeline 취소가 send 경계를 가로지를 때 전송 전 거부와 결과 불명확을 모두 정직하게 보존하고, 완료된 effect prefix를 유지하며 effect 재시도를 막는다.
Disclosed on 2026-09-25. pyproc/gpu stopped exporting the host adapter names it shared with pyproc/socket.
| Removed | Replacement |
|---|---|
pyproc/gpu: HostcallRequest, pyproc/gpu: ProductHostAdapter, pyproc/gpu: ProductHostCapabilityAdapters, pyproc/gpu: ProductHostCapabilityPort, pyproc/gpu: createAsgiHostAdapter, pyproc/gpu: createBrowserClipboardHostAdapter, pyproc/gpu: createFetchHostAdapter, pyproc/gpu: createFramebufferHostAdapter, pyproc/gpu: createKernelProcessHostAdapter, pyproc/gpu: createSocketRelayHostAdapter |
the same names from pyproc/socket. In 0.0.22 both subpaths exported one host adapter file; pyproc/gpu became the WebGPU entry |
한국어 요약: 0.0.23에서 pyproc/gpu가 pyproc/socket과 함께 내보내던 host adapter 이름이 빠졌다. 같은 이름을
pyproc/socket에서 가져온다.
- The installed package is now the default engine entrance. Root
open()andboot(),createWebComputer, Control, and the package-owned engine catalog converge on one exact installed product without deep imports. - Browser eyes and hands now carry bounded proof through document change. Paged semantic inventory, durable locators, action convergence, occlusion handling, document replacement, 20-cycle resource cleanup, and a headed hardware receipt for compute and rendered pixels run through exact packed-product gates.
- A reproducible data engine ships beside the default core engine.
pyproc/wasiexposes its exact manifest and a profile-selected package-owned catalog. The staticpyproc.data/2module executes float64 SIMD oracles. NumPy 2.5.1 is built from its exact sdist as 13 static modules and survives process clone and Machine image revival. The build-sealed thread capability reports the actual worker-process boundary. SciPy, pandas, Polars, shared-memory threads, and arbitrary native wheels remain explicit absences. - Browser storage failures are explicit and recoverable where bytes still exist. Persistence receipts, quota rollback, eviction witnesses, and OPFS generation recovery distinguish best-effort durability from silent first boot while preserving the last valid state.
- Source-pinned ripgrep and local Git are resident Machine tools. Isolated WASI workers run ripgrep 15.1.0
over bounded snapshots and libgit2 1.9.7 over compare-and-swap KernelVfs transactions. Main and cloned Python
kernels call the same argv-only catalog through
pyprocToolsand receive the same receipts. - An optional source-pinned Node guest joins Python and Linux in one Web Computer.
createWebComputer({ node })createsnodeOsandnodeDisk, verifies Node source identity and every declared V86 boot asset before engine construction, and carries all configured guests in one signed.webmachine. The exact packed product runs Node crypto and filesystem work, rejects a changed boot image before active replacement, and restores all three guests. A separate reproducible Buildroot release carries the image, source, configuration, SBOM, complete legal material, and two-build byte-identity receipt.
- Successful Control startup now clears its timeout timer immediately, so a completed product lifecycle does not wait for an obsolete process timer.
- Chromium profile cleanup now waits for stable absence after Windows pending deletion, and POSIX launches use an isolated process group that is terminated as a whole. A remaining exact profile becomes a structured failure.
- Digest-locked Python wrapper sources are checked out as LF on every platform, so fresh Windows runners verify the same supply-chain bytes as Linux and repository builds.
- The data engine builder copies target module sources before the native bootstrap but applies its SIMD
Setup.localonly to the WASI target build, keeping host GCC free of target-only flags. - V86 inspection reports readiness only after the engine event. A pre-ready timeout no longer calls unsafe partial-instance stop or destroy methods, while a ready instance retains the full drain, flush, and destroy path.
- V86 verified asset descriptors are closed and type-exact. The default Node loader accepts only same-origin
credential-free URLs, refuses redirects and unbounded response bodies, enforces declared lengths, hashes
independent bytes, and returns
WEB_MACHINE_ASSET_INTEGRITYon mismatch. WebComputer.bootAll()now rolls every partial guest back tostoppedwhen one configured guest fails. If cleanup also fails, anAggregateErrorretains the original boot failure and every cleanup failure.- The TypeScript V86 block mode now names the implemented
ataandfilesystemvalues rather than stale names. - V86 text display accepts the engine's transient 256-row boot geometry and reports only genuinely invalid
updates as errors, so a normal Linux boot returns
errors: 0instead of accumulating clipped VGA cells.
- The root remains exactly six exports and no package subpath or executable is added. The
nodeoption is additive oncreateWebComputer;WEB_COMPUTER_MACHINE_IDSnow lists the optionalnodeOsidentifier. - The npm package retains zero runtime dependencies. V86, firmware, and optional guest images remain external, digest-pinned assets rather than bundled package bytes.
- Existing Python-only and Python plus Linux Web Computers keep their machine IDs, device names, lifecycle, image format, and durability behavior.
한국어 요약: 설치 패키지를 엔진 기본 진입점으로 통일하고, 문서 교체와 가림을 다시 관찰해 안전하게 수렴하는 브라우저 눈과 팔, 실제 hardware 결과 영수증, 무잔류 수명주기를 제품화했다. 별도 재현 data engine과 NumPy 2.5.1, 정확한 thread 경계, 저장소 quota와 축출 영수증, 상주 ripgrep과 local Git 및 같은 Python 도구 영수증을 추가했다. 선택적 Node guest는 Python과 Linux 옆에서 같은 Web Computer, 독립 disk, 서명 image 계약을 쓰며 source와 boot asset을 실행 전에 검증한다. npm package는 계속 runtime 의존성 0이고 V86, firmware, guest image는 별도 digest-pinned 공급망으로 남는다.
Disclosed on 2026-09-25. This release replaced the Pyodide engine with the owned CPython WASI kernel and removed the
public type surface listed below. Its notes said the root surface was unchanged because only runtime values were
compared; the six root values did stay, but 81 root names and 34 subpath names went away. boot() and open()
resolve to KernelMachine. Boot options are CpythonWasiBootOptions: deterministic and assetIntegrity keep their
meaning, the engine is described by engineManifest, packages are installed through
KernelMachine.createPackageEnvironment(), and print output is returned per call as run.python(code).output.
indexURL, packages, env, setup, lockFileURL, wheelDir, coreCacheDir, coreIntegrity,
engineScriptIntegrity, loadPyodide, stdout and stderr have no boot option replacement.
| Removed | Replacement |
|---|---|
pyproc: PyprocMachine, pyproc: PyprocHistory |
pyproc/runtime: KernelMachine with run, history, proc, terminal, close |
pyproc: BootMachineOptions, pyproc: BootOptions, pyproc/runtime: BootOptions |
pyproc: CpythonWasiBootOptions |
pyproc: Runtime, pyproc: RuntimeContract, pyproc: EngineContract, pyproc: PyodideEngine, pyproc: MemoryCapability, pyproc: EngineHostValueOptions, pyproc/runtime: Runtime, pyproc/runtime: RuntimeContract, pyproc/runtime: EngineContract, pyproc/runtime: MemoryCapability, pyproc/runtime: DEFAULT_INDEX, pyproc/runtime: ENGINE_CAPABILITIES, pyproc/runtime: ENGINE_CONTRACT_VERSION, pyproc/runtime: RUNTIME_CAPABILITIES, pyproc/runtime: RUNTIME_CONTRACT_VERSION, pyproc/runtime: assertEngineContract, pyproc/runtime: assertRuntimeContract, pyproc/runtime: bootRuntime, pyproc/runtime: engineCapabilities, pyproc/runtime: ensureEngineScript, pyproc/runtime: hasEngineCapability, pyproc/runtime: requireEngineCapability |
none: the swappable Pyodide engine contract was removed. The kernel contract is pyproc/runtime: KernelRuntimeContractV2, booted by pyproc/runtime: bootCpythonWasiKernel |
pyproc: FileSystem, pyproc/runtime: FileSystem |
pyproc/runtime: KernelVfs |
pyproc: PyProc, pyproc: PyProcOptions, pyproc: PyProcBootInfo, pyproc: PyProcEntry, pyproc: ForkInfo |
KernelMachine.proc (spawn, clone, inspect) |
pyproc: PyProcMapOptions, pyproc: PyProcMatmulOptions, pyproc: PyProcShardOptions, pyproc: Matrix |
none: the worker pool map, matmul and shard verbs were removed |
pyproc: Pipe, pyproc: Lock, pyproc: Shm |
none |
pyproc: ReactiveController, pyproc: CheckpointInfo, pyproc: CheckpointNode, pyproc: RestoreInfo |
pyproc/runtime: KernelReactiveController (checkpoint, restore, branch, prune) and KernelMachine.history |
pyproc: ReactiveStats, pyproc: ReactiveRetentionPolicy, pyproc: ReactivePressureEvent |
none: retention policies and pressure events were removed |
pyproc: MachineJournal, pyproc: JournalConfig, pyproc: JournalAutoPackPolicy, pyproc: JournalCommitResult, pyproc: JournalPackResult, pyproc: JournalPruneResult, pyproc: JournalDeleteResult, pyproc: JournalRecoverResult |
pyproc/history: commitState over pyproc/history: StateStore (pyproc/history: OpfsStateStore in the browser) |
pyproc: KernelElection, pyproc: KernelElectionOptions, pyproc: KernelLeaderInfo, pyproc: KernelStatus, pyproc: PersistentMachineOptions |
none: multi-tab leader election was removed. Single-writer ownership of a Web Computer is pyproc/machine: MachineStore |
pyproc: AsgiServer, pyproc: AsgiServerConfig, pyproc: AsgiResponse |
pyproc/socket: createAsgiHostAdapter |
pyproc: VirtualOrigin |
none |
pyproc: SyscallBridge, pyproc: SyscallBridgeConfig, pyproc: SyscallInstallInfo |
pyproc/runtime: HostCapabilityBroker over the hostcall ABI. It is not a one-to-one replacement |
pyproc: MachineJail, pyproc: JailPermissions |
none |
pyproc: MachineContainer, pyproc: MachineContainerOptions, pyproc: ContainerManifest, pyproc: ContainerHandle |
KernelMachine.proc.spawn(manifest) starts an independent kernel process. Nested container handles were removed |
pyproc: JobControl, pyproc: JobControlOptions, pyproc: JobInfo, pyproc: ReplOutcome |
none |
pyproc: Terminal, pyproc: TerminalConfig |
pyproc/runtime: KernelTerminal from KernelMachine.terminal() |
pyproc: Init, pyproc: InitConfig |
none |
pyproc: DeviceFs, pyproc: DeviceFsConfig, pyproc: DeviceProvider |
none: kernel devices are pyproc/runtime: KernelDeviceRegistry, which is not a file-backed device tree |
pyproc: WheelCache, pyproc: WheelCacheConfig, pyproc: EnvManifest, pyproc: EnvBootStats |
pyproc/runtime: PackageEnvironment from KernelMachine.createPackageEnvironment() |
pyproc: CoreIntegrityMap, pyproc: CoreIntegrityPolicy, pyproc: CoreAssetStats |
none: engine assets are described and verified by pyproc/runtime: KernelEngineManifest |
pyproc: Session, pyproc: SessionManifest, pyproc: SessionIo, pyproc: SessionImageOptions, pyproc: ImagePortabilityOptions, pyproc: OpenTrustOptions |
pyproc/runtime: KernelMachineImage from KernelMachine.history.export(), reopened with open(image) |
pyproc/machine: PyprocFileSystem, pyproc/machine: PyprocGuestSession, pyproc/machine: createPyprocGuestFactory |
pyproc/machine: createCpythonWasiGuestFactory |
pyproc/assets: PyProcAssetEntrypoint, pyproc/assets: PyProcServiceWorkerRegisterOptions, pyproc/assets: PyProcServiceWorkerRegisterResult, pyproc/assets: registerPyProcServiceWorker |
none: the package no longer registers a service worker |
pyproc/assets: PyProcAssetIntegrityVerifyOptions |
the options parameter of pyproc/assets: verifyPyProcAssetIntegrity |
pyproc/gpu: GpuArray, pyproc/gpu: GpuBridge, pyproc/gpu: GpuCompute |
pyproc/gpu: createGpuComputeHostAdapter over a GPU implementation the caller supplies |
pyproc/socket: SocketBridge, pyproc/socket: SocketBridgeConfig |
pyproc/socket: createSocketRelayHostAdapter |
pyproc: WebComputer |
pyproc/machine: WebComputer |
pyproc/runtime: EnvReport, pyproc/runtime: checkEnvironment |
pyproc: EnvReport, pyproc: checkEnvironment |
pyproc/runtime: PAGE_SIZE |
pyproc/history: PAGE_SIZE |
한국어 요약: 0.0.22는 Pyodide 엔진을 소유 CPython WASI 커널로 바꾸며 위 공개 타입 표면을 지웠지만 당시 노트는 값 export만 비교해 root가 그대로라고 적었다. 2026-09-25에 제거된 이름마다 대체 경로나 없음을 공시한다.
- The owned CPython WASI kernel now powers the default product and
pyproc/wasi.bootCpythonWasiKernelopens a worker-owned CPython WASI kernel with Promise-first commands, ordered output events, retry identity, generation fences, structured terminal errors, hard interrupt truth, and idempotent close. Rootboot(), WebComputer, and installed Control compose the same verified engine throughKernelFactoryandKernelMachine. - ValueEnvelope v1 removes live Python objects from the v2 value boundary. Finite scalars, bigint, bytes, lists, canonical string maps, verified artifact spill, and generation-bound application references cover kernel values and the v2 ASGI and IPC seams with explicit limits.
- Kernel checkpoint v2 keeps reactive memory ownership inside the WASI worker. Engine and environment-bound descriptors seal opaque full or 64KiB page-delta artifacts, reject busy or incompatible boundaries before restore, compact at bounded depth, and fence generations.
- KernelVfs v1 adds immutable roots and crash-consistent OPFS volumes to the owned kernel. Intent, marker, HEAD CAS, adoption recovery, owner epochs, typed devices, and checkpoint root pairing reject partial objects, stale writers, forbidden resources, and corrupt candidates.
- Hostcall ABI v1 connects the static CPython module to an authority broker. A dedicated SAB
record and worker-only atomic wait carry byte requests through
/hostcall; stable receipts prevent duplicate external sends, preserve uncertain outcomes, bound streamed responses, and block unsafe checkpoints. Core no-op, clock, entropy, and terminal providers ship behind the same authority boundary. - Product host capability ports extend the owned kernel without browser handles in Python. Explicit HTTP credit streams, socket relay, process, GPU, clipboard, framebuffer, and ASGI opcodes share destination-aware authority, exact effect boundaries, receipt replay, cancellation truth, and checkpoint resource classification through injected adapters.
- PyProc Eyes now returns task-conditioned situations. The existing
automation.observeoperation acceptsrepresentation: "apx.situation"and typed focus requirements. It returns a canonicalSituationCapsulewith explicit known, conflicted, unknown, and stale claims, bounded probes, and broker-issued affordances. - Proof-carrying actions bind authority to observed state. JavaScript and Python clients expose
situate()andactAffordance(). AnactionContextbinds the capability to its session, situation, world, document epoch, action, risk, destination, expiry, and expected transition, and stale bindings fail before the effect. - Verified Change Loop turns repository experience into a replayable verdict. Strict Experience Contracts, exact environment observation, deterministic structural and behavioral rules, bounded perceptual review, atomic Evidence Packs, comparison, and effect-free replay are available through Control, MCP, JavaScript, Python, and CLI entrances.
- Hibernating Machine Fleet bounds live execution owners.
createMachineFleetinpyproc/machineregisters durable Web Computers, issues owner-epoch leases, admits only within a hot limit, commits and verifies exact generations before terminating adapters, and cold-resumes in fresh Workers.WebComputer.suspend()andresume()expose the same single-computer lifecycle. Unsafe effects, stale leases, commit failures, environment drift, and cleanup failures fail closed. - Execution Memory makes exact execution state the handoff unit. An opt-in Control manifest adds immutable
session revisions, compare-and-swap HEAD, real
.pymachinecapture, SituationCapsule and Automation Recording boundaries, Evidence Pack-gated completion, retention reachability, and signed handoff with separate permission approval. JavaScript, Python, MCP, and directpyproc/controlregistry paths share the same revision digest. - Rehearse-Commit Transactions separate preparation from one-shot external effects. Exact intents, effect-free rehearsal receipts, externally signed approval grants, durable commit leases, terminal effect results, and Evidence Pack-gated receipts share one immutable revision chain. JavaScript, Python, MCP, Control, and CLI entrances use the same fail-closed coordinator and never resend after the durable sending boundary.
- Transactional AppSpace pairs cooperative application state with the Python Machine. Exact app identity, fenced logical-state export, host-side canonical validation, immutable completion markers, in-process Machine checkpoints, paired restore, CAS adoption, rollback, and a no-send effect outbox share one Control lifecycle. JavaScript, Python, and MCP reopen the same durable pair digest from the packed product.
- ReplayGraph Worlds make verified branches traversable without effects. Sealed recordings and exact Transactional AppSpace pairs become content-addressed state nodes and transition edges. Immutable CAS graph revisions, one-shot cursor capabilities, deterministic path evaluation, coverage, retention planning, and installed JavaScript, Python, MCP, and Control parity share one durable root.
- Fatal MCP shutdown now resolves a held page long poll with
CONTROL_BRIDGE_CLOSEDbefore closing the HTTP server. Duplicate request IDs still produce one fatal terminal and the process no longer waits on an abandoned browser poll during Linux cleanup. - Native profile C sources and
Setup.localinputs are pinned to LF checkout bytes. Their locked SHA-256 values now validate identically on Windows and Linux before the reproducible CPython WASI build starts. - Execution Memory import authority now compares canonical existing filesystem paths. Windows short and long aliases for the same approved root no longer reject Evidence Pack sealing, while missing paths and escapes remain outside the authority boundary.
- The GitHub Pages demo now establishes cross-origin isolation through its versioned service-worker bootstrap before starting the owned kernel, while the no-header preflight continues to fail closed outside that entry.
apx.graph1.0 remains compatible and the situation representation is opt-in. The root export, package subpath, and bin sets are unchanged. Control addsverification.audit,verification.verify, andverification.replay; browser-disabled profiles expose only the two effect-free operations.- The root remains exactly six exports. Machine Fleet is additive on the existing
pyproc/machinesubpath. Existing non-durable andsave()Web Computer behavior remains unchanged. - Execution Memory is additive on the existing
pyproc/controlsubpath and disabled by default. Enabling it addsmachine.image.exportand eightmemory.*Control operations. It creates no new Machine image, evidence format, root export, subpath, or executable. - Rehearse-Commit is additive on the existing
pyproc/controlsubpath and disabled by default. Enabling it adds seveneffect.*Control operations and requires Execution Memory, acknowledgedexternalEffectauthority, and an external Ed25519 approval authority. It does not claim remote exactly-once delivery or rollback. - Transactional AppSpace is additive on the existing
pyproc/controlsubpath and disabled by default. Enabling it adds nineapp.*Control operations and requires FrameSpace, Execution Memory, and Rehearse-Commit. It does not capture a renderer heap, cookies, arbitrary site state, or remote effects, and adds no root or subpath. - ReplayGraph is additive on the existing
pyproc/controlsubpath and disabled by default. Enabling it adds twelveworld.*operations and requires Execution Memory. It does not open a browser during traversal, invent missing transitions, authenticate authorship, persist an open cursor, or add a root export or package subpath.
한국어 요약: 기존 automation.observe에 opt-in apx.situation 표현을 추가했다. typed focus가 최소 충분
상황과 명시적 불확실성을 만들고, broker가 발급한 capability만 현재 world와 epoch에 묶여 effect에 쓰인다.
strict Experience Contract와 exact 환경을 실제 browser에서 판정하고 canonical Evidence Pack으로 발행한다.
Control, MCP, JavaScript, Python, CLI가 같은 audit, verify, replay 의미론을 공유한다.
pyproc/machine에는 hot 수를 제한하고 safe generation을 commit한 뒤 Worker를 종료하는 Machine Fleet을
추가했다. cold는 pause가 아니며 exact HEAD, fresh owner, stale lease 거부로 다시 부활한다.
Execution Memory는 실제 Machine, observation, recording, evidence, permission을 immutable revision으로
연결하고 CAS HEAD와 별도 permission 승인이 있는 signed handoff로 이어받는다. 기존 pyproc/control 안의
opt-in 기능이며 새 root, subpath, image format은 만들지 않는다.
Rehearse-Commit Transactions는 exact intent, effect-free rehearsal, 외부 서명 승인, durable send lease,
terminal result, Evidence Pack receipt를 하나의 immutable chain으로 묶는다. sending 경계 이후에는 자동으로
재전송하지 않으며, 원격 exactly-once나 rollback을 주장하지 않는다.
Transactional AppSpace는 협력 app의 fenced logical state와 Python Machine checkpoint를 immutable pair로
묶는다. marker 없는 object는 후보가 아니며 stale adopt는 app, Machine, active HEAD를 함께 rollback한다.
effect outbox staging은 live send를 0회 수행하고 기존 Rehearse-Commit transaction만 참조한다.
ReplayGraph Worlds는 봉인된 recording과 exact AppSpace pair를 content-addressed node와 edge로 만든다.
one-shot cursor와 pinned root에서 effect 없이 분기를 탐색하고 deterministic evaluation과 coverage를
공유한다. graph 밖 transition은 생성하지 않으며 digest를 작성자 신원으로 해석하지 않는다.
MCP fatal 종료는 보류 중인 page long poll을 명시적으로 닫고, 네이티브 프로필의 C와 Setup 입력은
Windows와 Linux에서 같은 LF 바이트로 검증한다. GitHub Pages 데모는 versioned service worker로
cross-origin isolation을 확보한 뒤 소유 커널을 시작한다.
Execution Memory는 Windows의 short path와 long path를 실제 파일시스템 경로로 정규화해 같은 승인
root로 판정하고, 존재하지 않는 경로와 root 밖 경로는 계속 거부한다.
- A supported JavaScript control entrance. The
pyproc/controlstable subpath starts the installed product, exposes persistent Python, checkpoint recovery, provider-neutral browser lifecycle, APX query and action evidence, verified screenshot bytes, cancellation, and bounded shutdown through the same Control Protocol used by MCP and the Python SDK.
- The root stays at six exports and no wire operation changes. The new subpath is additive and Node.js-only. Browser application code continues to use the root Machine entrance.
한국어 요약: pyproc/control 안정 subpath가 설치 제품의 JavaScript 사용 경로를 제공한다.
기존 Control Protocol의 취소, 결과, attachment 검증을 그대로 사용하며 root와 wire operation은
바뀌지 않는다.
- Fatal MCP protocol errors now arm the five-second exit watchdog before waiting for the stdout flush callback. A stalled callback can no longer prevent process termination after the fatal terminal reaches the client.
- The Native APX product gate now creates and loads its inspected target through the browser broker, removing a Chromium startup-tab race while preserving fail-closed origin checks.
- This patch changes no operation, schema, result, export, or type signature. It supersedes the GitHub-only 0.0.18 and 0.0.19 releases, whose publish gates prevented npm publication.
한국어 요약: fatal MCP terminal의 stdout callback을 기다리기 전에 5초 종료 watchdog을 시작한다. callback이 지연돼도 프로세스 종료가 보장되며 공개 표면은 바뀌지 않는다.
- MCP fatal protocol errors now start a five-second shutdown deadline before draining product resources. The fatal terminal is flushed first, duplicate request IDs still execute no second effect, and a delayed Chromium or server cleanup can no longer leave the stdio process alive without an exit code.
- This patch changes no operation, schema, result, export, or type signature. It supersedes 0.0.18, whose publish gate exposed the shutdown race before npm publication.
한국어 요약: 중복 MCP request ID의 fatal terminal 뒤 제품 정리가 지연돼도 프로세스가 5초 안에 종료되도록 bounded shutdown을 추가했다. effect 및 wire 의미론과 공개 표면은 바뀌지 않는다.
-
PyProc Eyes adds the APX 1.0 perception contract. Opt-in
automation.observecalls now return a bounded semantic, structural, spatial, and temporal graph with stable entity identity, short-lived locator capability, full or delta delivery, attention queries, explicit truncation, provenance, and canonical integrity. Native CDP fuses Accessibility and DOMSnapshot facts. FrameSpace provides the same envelope at its honest cooperative-page boundary. -
Pixels are captured only when structured evidence is unresolved. Native CDP can attach verified overview and entity-crop artifacts for canvas, unlabelled images, and unlabelled controls. MIME type, byte length, SHA-256, quota, permission, and artifact lifetime remain under the existing product host.
-
External effects can carry Action Evidence. An action with
verifycaptures before and after APX observations, sends the effect once, correlates broker-issued network request references, and separatesconfirmed,contradicted,ambiguous,notObserved, andoutcomeUnknownfrom transport outcome. -
Python receives a first-class perception entry point.
client.perception(sessionRef)provides typed observe, query, single-match, actionability, delta, and evidence-backed action helpers over the same Control Protocol operations used by native and MCP clients. Recording and ReplaySpace preserve APX terminals and artifacts without repeating live effects.
- This patch adds no npm root export, Control Protocol operation, or breaking JavaScript type signature.
Legacy observations remain unchanged unless
representation: "apx.graph"is requested. Native CDP reports live conformance level L4, FrameSpace reports L3 with APX visual mode off, and no provider claims inference.
한국어 요약: PyProc Eyes와 APX 1.0을 추가했다. 의미, 구조, 공간, 시간, 선택적 픽셀을 bounded graph로 결합하고 행동 전후의 DOM 및 network evidence를 한 번만 전송되는 effect와 묶는다. Native CDP, FrameSpace, MCP, Control, Replay, Python SDK가 같은 의미론을 사용하며 기존 관찰 형식은 opt-in 밖에서 그대로 유지된다.
-
Control clients preserve their wire safety boundaries under deadlines and reuse. Python request timeouts send a protocol cancel and wait for one canonical terminal. Pending EOF and partial request-write failures become non-retryable
CONTROL_CONNECTION_LOSTinstead of raw transport exceptions. MCP duplicate JSON-RPC IDs close the connection without a second terminal. Attachment chunks obey the client receive limit, and requestspaceIdvalues are checked before provider dispatch. Version 1 advertises its actualevents: falsecapability instead of exposing a schema-only promise. The machine bearer remains outside guest-readable storage, and a direct control-page reload fails closed instead of reusing authority in the guest realm. -
Temporary browser profiles and Python SDK product fixtures now close their process streams and retry transient Windows file locks before cleanup. Installed wheel, source distribution, Native CDP, and FrameSpace journeys finish with a clean process exit.
- The matching GitHub Release is the official Python distribution source until a PyPI trusted publisher is registered. Public examples use the exact-version wheel URL, and the release procedure requires both wheel and source distribution assets plus a clean-environment installation check.
- This patch has no breaking JavaScript export or type-signature change. The existing version 1 frame schema remains valid; capability flags and request fences now match the behavior already promised by the protocol.
한국어 요약: Python timeout은 실제 cancel 뒤 canonical terminal에 수렴하고, MCP 중복 JSON-RPC ID는
terminal을 복제하지 않고 연결을 닫는다. attachment chunk 협상, spaceId fence, 정확한 event capability,
Windows 종료 정리를 고정했다. control bearer는 guest-readable storage 밖에 머물고 page reload는
fail-closed 처리한다. Python SDK의 공식 설치 경로는 같은 버전 GitHub Release 자산이다.
-
One language-neutral product host for native clients and MCP. The installed
pyproc-controlcommand exposes strict versioned NDJSON with single-use request IDs, exactly one terminal per request, page-epoch fencing, queue removal on pre-delivery cancellation, honest post-deliveryoutcomeUnknown, and ordered SHA-256 verified binary attachments. The MCP adapter now uses the same operation catalog and host instead of owning separate execution semantics. -
An official zero-runtime-dependency Python SDK. The
pyproc-controlwheel and source distribution on the matching GitHub Release start the npm product fromPATHand expose persistent Python, checkpoint recovery, cancellable requests, browser lifecycle and actions, stable errors, artifacts, and verified screenshot bytes. Both distribution formats install in clean environments, and Chrome plus Edge execute the installed Python journey. -
Cooperative frame automation without a DevTools port.
FrameSpaceruns an opted-in target inside a credentialless sandbox, authenticates a privateMessageChannel, enforces exact origin and action policy, and returns verified PNG artifacts. It deliberately excludes arbitrary pages, signed-in storage, trusted native input, and compositor capture. -
Deterministic automation recording and effect-free replay.
RecordingSpacestores canonical operation terminals and screenshot sidecars behind an exclusive writer and bounded private files.ReplaySpaceverifies recording identity, final digest, cursor, and prefix pins before reproducing the exact remaining operation sequence without opening a live browser provider.
-
Timed out or cancelled queued page commands are removed before delivery instead of running later after the caller has already received failure. Duplicate MCP request IDs can no longer overwrite an active request and execute a second effect. Reloaded machine pages fence late results with a new page epoch.
-
Journal operations that share one Runtime and storage directory now share one coordinator. Commit, recover, branch adoption, pack, prune, and deletion are serialized against one storage epoch, and stale page-address hints are revalidated before reuse. Packing can no longer leave a tree that names a deleted state blob.
-
Automation recordings now fail closed before a live effect when their destination is not writable or another writer owns it. Post-effect persistence failure preserves the original outcome or becomes non-retryable
outcomeUnknown. Generation sidecars, symlink confinement, strict byte limits, shutdown draining, and stale generation cleanup close secret-retention, memory, and partial-write paths.
-
Browser automation now enters through the provider-neutral
AutomationSpacecontract. Its router fixes authorization before execution, supported operations, idempotent close, opaque artifacts, and explicit Python-restore plus provider-replay boundaries. The current Chromium implementation retains its external behavior behind a single-use authority token. -
The installed Chromium implementation is now composed as
NativeCdpSpace. Inspection declares its DOM, network, target, storage, runtime, screenshot, and artifact capabilities plus the record-only replay boundary. The broker-owned endpoint, opaque references, and existing browser error contract are unchanged. -
A formal v86 boundary probe now boots the available Linux and graphical guests and checks display, input, packet networking, PNG capture, snapshot, and restore. Neither candidate is promoted as an automation provider: the reproducible Linux image has no browser or GUI, while the graphical fixture has opaque provenance and lacks the required external-network and semantic-control contracts.
- This release has no breaking JavaScript package-export or type-signature change.
nativeCdpremains the default opt-in browser provider, and the Python-only default still opens no browser authority. The Python SDK is a separately installed distribution whose version must match the npm package.
한국어 요약: MCP와 native NDJSON이 하나의 ControlHost, operation, 취소, 오류, attachment 계약을 공유한다. 공식 Python SDK는 별도 JavaScript 코드 없이 영속 Python, checkpoint, browser action, screenshot byte를 사용하며 wheel과 source distribution 설치 여정으로 검증한다. 전달 전 취소된 명령의 지연 실행, 중복 request ID 효과, page reload 뒤 late result 혼입을 막았다. FrameSpace는 DevTools port 없는 cooperative 격리 자동화를 제공하고, RecordingSpace와 ReplaySpace는 외부 효과를 다시 보내지 않는 결정적 재현 경계를 제공한다. 저널 공유 저장소의 경쟁과 stale 주소 재사용을 차단했고, 기록 파일의 원자성, 크기, symlink, 종료 drain 경계를 강화했다. 공개 JavaScript export와 type signature에는 브레이킹 변경이 없다.
-
An installed browser automation product beside the persistent Python Machine. The package now ships
pyproc-mcp, a manifest-driven stdio entrance that can open a broker-owned temporary Chrome, Chromium, or Edge profile without exposing its DevTools endpoint to Python or the caller. Exact origin, action, method, file, risk, and artifact policies fail closed before launch. Browser authority remains opt-in; disabling it preserves the existing Python-only tool surface. -
Semantic observation and ordered interaction for autonomous work. Opaque target, session, locator, and artifact references replace browser internals. Focused accessibility observations retain actionable controls and live state before applying output bounds. Action pipelines cover navigation, readiness, pointer and keyboard input, trusted controlled-editor input, form state, drag, scrolling, uploads, cookies, storage, screenshots, and downloads. A failed pipeline reports its completed prefix, failure position, trace, and outcome instead of silently replaying an effect.
-
Product-grade visual artifacts. Viewport, full-page, and clipped PNG, JPEG, and WebP captures can be returned as native MCP image content or retained behind an opaque artifact reference. Digests, quotas, bounded reads, expiry, explicit deletion, and shutdown cleanup make large screenshots and downloads usable without revealing host paths.
-
Browser navigation now returns control at commit by default. Callers can request DOM-ready or load completion explicitly, so an application that intentionally keeps loading cannot hold the session indefinitely. Denied popup cleanup restores the opener capture surface, while an allowed popup keeps focus.
-
Durable command RPC has a documented deadline. If transport is lost after an effect was sent, the outcome is unknown and the command is never retried automatically. Python checkpoint restore remains intentionally separate from browser, network, storage, download, and popup effects.
한국어 요약: 브레이킹 없는 기능 릴리즈다. 설치 패키지에 manifest 기반 pyproc-mcp를 추가해
영속 Python Machine과 별도 권한의 Chromium 자동화 프로필을 한 세션에서 사용한다. 의미 기반
관찰, 불투명 참조, 순서가 보존되는 입력과 화면 캡처, 다운로드 아티팩트, 정확한 권한과 위험도,
감사 및 실패 결과 계약을 제품 경계로 고정했다. 기본 탐색 완료 경계는 commit이며 더 강한 대기는
명시적으로 선택한다. Python 복원은 이미 발생한 브라우저 외부 효과를 되돌린다고 주장하지 않는다.
-
Named durable branches with provenance, and an attempts verb for competing solutions. The journal already speaks git's object model (content-addressed blob/tree/commit, HEAD/PREV refs); this names the missing layer.
history.branch(name, { dir, note })commits the current state to a branch ref without touching HEAD,history.branches()lists them with their fork parents and notes,history.recoverBranch(name)materializes one, andhistory.adopt(name)makes a branch the machine state and the new HEAD - the adopting commit's parents point at the branch commit and its note records{ adoptedFrom }. Heap states cannot be merged, so the consuming verb is adopt, not merge. Commits acceptnote(canonical JSON, 4 KB cap): what was tried and why a state was chosen lives in the same object as the state itself.In the volatile zone,
history.attempts([codes])runs candidates serially from one base, each attempt checkpointed as a sibling branch with the heap rewound in between, so a failing attempt cannot contaminate the next;adopt(i)restores the winner. Serial on purpose: restoreLive is cheap, while parallel attempts cost one heap each.The durable machine speaks the same verbs.
open({ name })handles carrybranch/branches/adopt/deleteBranchthrough the election command pipeline, so exactly-once outcome recording, succession, and epoch fencing apply to branching exactly as they do torun. Adoption materializes the branch and commits it as the new HEAD in one command, which is why that handle has norecoverBranch: the leader never sits on a heap that diverges from HEAD.Daily milestones make "go back to yesterday" a verb. Opt in with
milestones: { keep: N }(journal config, or theopen({ name })options): every HEAD commit updates theauto-<date>branch to point at it, so a day's milestone converges to that day's last state, and dates beyondkeepare trimmed oldest-first. A milestone is one tiny ref file - the content-addressed commit already exists - so this costs no extra state.adopt("auto-2026-08-03")is the whole journey back.Compatibility: a journal carrying branches marks itself format version 2, and an older pyproc refuses to recover it (fail closed) rather than pruning branch data its live-set walk cannot see. Do not run an older pyproc's
pack()/prune()directly against a branched journal. Deleting the last branch restores version 1. Journals without branches are unchanged.
한국어 요약: 브레이킹 없는 기능 릴리즈다. 실행 상태가 git의 동사를 얻는다: 이름 있는 내구 가지(commitBranch), 목록(branches), 물질화(recoverBranch), 채택(adopt - 힙 상태는 병합이 성립하지 않으므로 merge는 없다), provenance note(무엇을 시도했고 왜 채택했는지가 커밋 자체에 산다), 직렬 attempts(오염 없는 후보 경쟁), 일일 이정표(auto-<날짜> 가지, adopt 한 번이 어제로 돌아가기). 같은 동사가 선출 내구 머신에서도 정확히 한 번 파이프라인으로 돈다. 가지를 나르는 저널은 마커 v2가 되어 구 버전이 fail-closed로 거부한다(가지 없는 저널은 불변).
Supersedes 0.0.12, which was tagged but never reached npm: the pre-publish gate refused it. The
x86 CI lane did not fetch the self-hosted engine, so the probes that boot Python beside the Linux
guest failed on a missing /vendor/pyodide/. That lane is fixed here, and a gate now asserts that
any CI job which starts a browser provisions the engine in the same job, derived from the package
scripts rather than a hand-written list.
The package contents are identical to what 0.0.12 would have shipped. Everything in the 0.0.12
section below is what this release delivers, including the breaking replay-boundary change and its
migration. Pin 0.0.13.
한국어 요약: 0.0.12는 태그까지 나갔지만 게시 전 관문에서 막혀 npm에 도달하지 못했다. x86 CI 레인이 자체 호스팅 엔진을 안 받아 Python guest를 올리는 probe가 죽었고, 그 배관을 고치면서 "브라우저를 띄우는 job은 같은 job에서 엔진을 마련한다"를 게이트로 세웠다. 패키지 내용은 0.0.12가 냈을 것과 같다. 아래 0.0.12 절의 브레이킹과 이관 안내가 이 릴리즈의 내용이다.
-
The page-hash mixer splits each lane into two accumulator chains, so the replay boundary fingerprint (
h0) changes. Every word still goes through the identical non-linear step; only the dependency chain is shorter, which lets the multiply latencies overlap. The digest values differ, so a journal or.pymachineimage written by an earlier version is refused withPYPROC_REPLAY_MISMATCHrather than applied to a heap whose page identity is computed differently.Migration: export what you want to keep with the version that wrote it (
history.export()), upgrade, thenopen()the exported bundle - the bundle carries its own boundary and is re-anchored on load. A journal that was only ever a crash-recovery cache can be dropped withhistory.forget(). There is no in-place conversion: the fingerprint is the identity of the boundary, not a field beside it.Cheaper mixers were measured and rejected. Prefix-sum families (Fletcher/Adler) do less work per word but are linear over Z_2^32, and flipping the top bit of two words carries nothing, so the delta is
2^31*(L_i+L_j)and vanishes whenever those weights have the same parity. The FNV lane cancels on the same pairs. The right shift in the second lane is the only thing that breaks that propagation, so per-word non-linearity is not negotiable.[해시 soundness]now asserts exactly that pair, and a linear mixer fails it.
-
/homeis committed as one content-addressed blob per file. It used to be concatenated into a single pack, so one changed byte in one file changed the pack's address and the whole tree was re-read, re-hashed, and re-written on every commit. Now an unchanged file is already in the store and costs no write at all: a commit that changed nothing under/homewrites zero home blobs, and a commit that changed one file writes one.journal.commit()reports that ashome.wrote, which is now a count rather than a boolean.Older generations keep working - the v1 pack layout is still read, so upgrading does not lose a journal or an image. The new layout is not readable by older pyproc versions, so a
.pymachinefile exported after this change must be opened with this version or later; an older reader refuses it withPYPROC_MACHINE_FORMAT_INVALIDrather than restoring a partial tree. -
The Web Machine IndexedDB schema is now version 3, with a blob size index. Asking how much a store holds -
inspectStorage(), and every recovery-window plan - used to require deserializing every blob value just to read its length, so the question cost a full read of the database. Sizes now live in their own small store and neither call reads a blob value at all. Opening an older database migrates it in the version-change transaction; that one pass replaces the full read that every later call was paying. A database already upgraded to v3 is refused by an older pyproc withWEB_MACHINE_SCHEMA_UPGRADE_BLOCKEDrather than opened with a store it does not know. -
A checkpoint node now stores hashes only for the pages it changed. The boundary keeps the full array, because it is what the replay fingerprint is computed from; every node above it keeps
[page, a, b]triples andReactiveController.hashesAt(j)folds the root-to-j chain when a consumer needs the whole array. Node cost stops tracking heap size and starts tracking churn, sostats().hashByteson a long session reports a much smaller number than before - recalibrate any budget derived from it.hashesAtis new on the public surface; thehashesarray itself was never part of it.
-
setRetentionPolicy({ rebaseLinear: true })reclaims memory on a linear history. Pruning only frees nodes off the root-to-live path, so a session that checkpoints per statement (the dominant shape) got zero bytes back no matter what limit was set: the policy observed the overrun and the memory stayed. Rebase folds the path itself into the base, so the same limit now holds.This moves the replay boundary, and that is breaking for anything written against the old one.
hashes[0]becomes the rebased state, so a journal or image committed before the rebase is refused withPYPROC_REPLAY_MISMATCH, and time travel to any checkpoint before the new boundary is refused withPYPROC_CHECKPOINT_PRUNED. Both refusals are explicit, neither is silent. The flag is off by default for exactly this reason; turn it on when a long-lived session matters more than its past.ReactiveController.boundaryEpochcounts boundary moves so a consumer caching the fingerprint (the journal does) can drop its cache.
- The asset manifest now lists
workerHostedGuestWorker(src/machine/composition/workerHostedGuestWorker.js).createWebComputer()has always spawned that module worker, but it was missing fromgetPyProcAssetManifest(), so a deployment that copied exactly the listed files left it out of the same-origin set and out of theassetIntegritypreflight. Deployment pipelines pick up one additional file; the manifest format is unchanged andPYPROC_ASSET_MANIFEST_VERSIONstays1. WheelCachehonours thepatchScopeit is given.bootSession({ wheelDir, packages })deadlocked because the constructor dropped the re-entrant scope and the wheel fetch swap queued behind the boot window that was waiting for it.- Disposing a machine now reclaims journal watchers.
machine.dispose()stops the idle watcher started byhistory.watch(), so the interval no longer holds the runtime and the reactive controller for the life of the tab.
한국어 요약: 리플레이 경계 지문(h0)이 바뀌는 브레이킹 릴리즈다. 페이지 해시 믹서가 레인마다 사슬 둘로 갈라지고, 체크포인트 노드는 바뀐 페이지의 해시만 담고, /home은 파일마다 내용주소 blob 하나로 커밋되고, Web Machine IndexedDB는 스키마 v3에 blob 크기 색인을 갖는다. 옛 저널과 이미지는 PYPROC_REPLAY_MISMATCH로 명시 거부되므로, 지키려는 상태는 이전 버전에서 history.export()로 내보낸 뒤 업그레이드하고 open()한다. 크래시 복구 캐시일 뿐인 저널은 history.forget()으로 버린다. setRetentionPolicy({ rebaseLinear: true })는 선형 역사에서 메모리 한계가 실제로 걸리게 하는 새 옵션이고, 경계를 옮기는 대가 때문에 기본값은 꺼짐이다.
- The 0.0.9-era
PYMACHINE2reader is retired.open()accepts thePYBUNDLE1format written by 0.0.10 and later. Open an olderPYMACHINE2file with the version that wrote it and export it again before upgrading. The error isPYPROC_MACHINE_FORMAT_INVALID. history.save()andhistory.export()refuse heaps that hold JS handles withPYPROC_IMAGE_PROXY_SURFACE. Export before enabling a blocking host surface when possible.{ allowHostProxies: true }explicitly accepts that the revived kernel keeps plain Python state but cannot use those surfaces again. Packet networking and the permission jail use value boundaries and remain portable.MachineCommitCoordinatorno longer takesidFactory(pyproc/machine). Generation identity is the content address produced by the commit itself; remove the unused constructor argument.boot()now rejects unknown option keys immediately. Existing callers that mixed custom keys into boot options must move those values outside the boot option object.
Users upgrading directly from 0.0.9 must also apply the 0.0.10 migration from root
boot() -> Runtime to root boot() -> PyprocMachine; the 0.0.10 section below is the migration map.
- A durable Web Computer lifecycle on the existing
createWebComputer()handle. Opt into it withdurability, then useinitialize,save,exportImage,importImage,inspect, anddispose. Owner fencing, restore-or-boot, pause/snapshot/commit/resume, signed export, candidate preflight, and conflict-safe active-context replacement are one public composition contract. Additional guest factories can be installed throughadapterswithout adding a root export. - Explicit journal deletion and eviction detection.
machine.history.delete()leaves a deletion tombstone, while a committed marker with missing generations fails closed asPYPROC_JOURNAL_EVICTED. A fully origin-wide browser eviction remains indistinguishable from a first visit, so important state still needs an external signed export. - A project-built Linux guest. The reproducible i686 Buildroot image, exact source archive,
complete legal material, CycloneDX inventory, build manifest, config, and independent-build
receipt are published together in the
buildroot-pyproc-i686-v2asset release. The catalog pins the guest image by hash and the Web Computer can place it on the same packet switch as Python. pyproc/runtimereturns as a stable plumbing subpath withRuntime,bootRuntime,MemoryCapability,FileSystem,checkEnvironment, and engine/runtime contract assertions. The separatebootRuntimename keeps its return type distinct from the root machineboot.- The typed API subpaths
pyproc/runtime,pyproc/history,pyproc/machine, andpyproc/assetsnow declare their type entry explicitly. machine.dispose()terminates the process pool and releases reactive retention.machine.proc()is memoized per machine so a remount reuses the existing pool.
- Durable RPC now has one normative retry boundary. A direct durable controller may resend the same
request id once only when it can prove a proxy-free session. A normal follower, a live timeout,
a vanished caller, or an unportable heap returns non-retryable
PYPROC_RPC_OUTCOME_UNKNOWNinstead of guessing and replaying a possibly completed command. - Agent and MCP sandbox examples install both the cooperative
net: falsejail and a browser CSP wall after trusted engine/package preparation. Local execution alone is no longer described as a no-exfiltration guarantee. - Consumer-facing diagnostics and capability preflight errors use English on the public surface. IPC and WASI paths report their cross-origin-isolation requirement before allocating shared memory.
- GitHub Actions, TypeScript, and the publishing npm CLI are exact-version pinned. Chrome and Edge run independent release lanes, and npm Trusted Publishing grants OIDC only to the publish job.
- The internal
mainPlanarchive was removed. Persistent product, contract, and operating policy remains underdocs/; implementation evidence remains in automated tests and git history.
- Consumer docs now name the shipped porcelain machine verbs and current signature helpers.
- Durable image import preserves the running machine set and HEAD when trust validation or commit conflicts fail.
- A serial timeout includes the Linux console tail, making a failed guest boot actionable.
- The project Buildroot guest mounts the v86
host9pvolume at/mnt/weband starts both serial and VGA shells, so Linux disk, display, and keyboard state cross save and cold-restore boundaries.
한국어 요약: 기존 root 6-export를 유지하면서 Web Computer의 내구 저장·복원·서명 이동 수명주기를
공개 핸들에 완성했다. OPFS 삭제와 축출을 분리하고 Python과 재현 가능한 Buildroot Linux를 실제
packet network와 cold restore로 묶었다. pyproc/runtime은 안정 subpath로 출하한다. 0.0.9 시대
PYMACHINE2, JS handle을 가진 heap 저장, MachineCommitCoordinator.idFactory, 알 수 없는 boot
option에는 위 Breaking 절의 이관이 필요하다.
-
Root surface reshaped to a porcelain machine handle (37 exports -> 6). The root now exports exactly
boot,open,createWebComputer,checkEnvironment,PyProcError, andPYPROC_ERROR_CODES.bootresolves to aPyprocMachinehandle whose namespaces are the model's vocabulary:run/runAsync(execute),fs(files),term(terminal),proc(worker process pool),history(checkpoint/restore volatile, commit/recover/export durable), plus theruntimeescape hatch for capability detail (enableSyscallBridge,enableAsgiServer,enableDeviceFs, ...). Root class exports are gone; the classes remain as typed contracts reached through the handle. -
openis the one revival verb. Its trust contract follows the source instead of flattening semantics:open(bundleBlob, trustOpts)verifies envelope integrity and signature before touching the heap (replacesopenMachine),open({ dir, name })revives an OPFS session save by manifest replay plus delta (replacesbootSession().load(...)), andopen({ persistent })opens the multi-tab persistent machine and returns aKernelElectionhandle (replacesopenPersistentMachine). -
Deterministic boot is an explicit opt-in.
boot({ deterministic: true, ...manifest })replacesbootSession(manifest).PYTHONHASHSEED=0and the entropy stub change guest-visible semantics, so they are never the default; the choice is recorded in the environment fingerprint of every durable commit, andhistory.export/history.saveexist only in this mode (a non-deterministic state has no replay guarantee). -
Subpaths reshaped. New:
pyproc/history, the state kernel's contract surface (sha256 address law, object model,StateStorecontract,commitState/openStateprotocol, signed tags,PYBUNDLE1bundle codec,PAGE_SIZE). Removed:pyproc/runtime,pyproc/reactive,pyproc/syscall-bridge,pyproc/process-os(their capabilities moved onto the handle, see the migration map). Remaining:pyproc/machine,pyproc/worker,pyproc/assets, and the demotedpyproc/gpu/pyproc/socket/pyproc/wasi. -
One bundle format (
PYBUNDLE1).machine.history.export()writes a single signed, content-addressed envelope;openreads it. The layout is authoritative inskills/reference-pyproc-api/references/bundle-format.md. The legacy.pymachineenvelopes (meta v2/v3) are still readable through a format-detecting reader, and that legacy reader sunsets at the next breaking release: re-export machines you intend to keep. -
State kernel (
src/state) refounds the journal. Durable commits are now content-addressed objects with HEAD/PREV generations, verify-on-read (PYPROC_STATE_CORRUPT, with PREV fallback) and owner fencing (PYPROC_STATE_FENCE_STALEprotects HEAD from a superseded writer). Existing journals are migrated automatically on first recover; no consumer action is needed. -
Machine crypto injection.
pyproc/machinepersistence and image constructors now require a provider fromcreateMachineCryptoProvider(crypto?)instead of a bareCryptoobject, so digest/signature law lives in one place (the state kernel). -
Removed
SharedKernel(and its SharedWorker host asset). It was documented as a non-canonical auxiliary path;KernelElection/openPersistentMachineis the canonical multi-tab lane and keeps document-levelcrossOriginIsolated(SharedWorker cannot). Migration: replacenew SharedKernel(...)withopenPersistentMachine({ name, manifest }). -
Moved GPU surface (
GpuCompute,GpuArray,GpuBridge) from the root export to thepyproc/gpusubpath, and removedRuntime.enableGpu(). GPU needs a real adapter and a windowed session, so it cannot be covered by the headless CI gate that guards the root surface. Migration:import { GpuCompute } from "pyproc/gpu"and construct directly. -
Moved
SocketBridgefrom the root export to thepyproc/socketsubpath, and removedRuntime.enableSocketBridge(). It requires an external WS to TCP relay that pyproc does not ship. Migration:import { SocketBridge } from "pyproc/socket"; new SocketBridge(rt, cfg). -
Moved
bootWasi/WasiSessionfrom the root export to thepyproc/wasisubpath. The WASI lane is a research preview that proves the engine-independent core; the production Python surface is the Pyodide lane. Migration: import frompyproc/wasi. -
Removed alias methods that duplicated one behavior under two names:
ReactiveController.timeTravel(...)(userestoreLive(...)orcp.restore()),PyProc.interrupt(pid)(usesignal(pid, SIGNAL.INT)),PyProc.mapSerial(fnSrc, args)(a benchmark baseline, not a product surface; run tasks throughexec(pid, ...)sequentially if you need a serial reference).
| Before | After |
|---|---|
boot() -> Runtime |
boot() -> PyprocMachine; the runtime is machine.runtime |
bootSession(manifest) |
boot({ deterministic: true, ...manifest }) |
openMachine(blob, trustOpts) |
open(blob, trustOpts) |
session.exportImage(opts) |
machine.history.export(opts) |
session.save(dir, name) / session.load(dir, name) |
machine.history.save(dir, name) / open({ dir, name }) |
openPersistentMachine(opts) |
open({ persistent: opts }) |
rt.enableReactive() checkpoint/restore |
machine.history.checkpoint() / restore() / tree() / prune() (raw controller stays at machine.runtime.enableReactive()) |
rt.enableJournal(cfg) commit/recover/pack |
machine.history.commit / recover / watch / pack with { dir, ... } |
new PyProc(opts) + pool.boot(n) |
await machine.proc({ lanes: n, ...opts }) |
rt.enableTerminal(cfg) |
machine.term(cfg) |
createMachineKeyPair / exportMachinePublicKey / fingerprintMachinePublicKey |
createStateKeyPair / exportStatePublicKey / fingerprintStatePublicKey from pyproc/history |
bootEnv(manifest, dirs) / runScript(rt, src) |
boot manifest options (packages, env, setup, wheelDir) |
import { Runtime } from "pyproc/runtime" |
root boot() + machine.runtime (types via index.d.ts) |
bare Crypto into machine persistence/image constructors |
createMachineCryptoProvider(crypto) from pyproc/machine |
PyProc.forkMany(srcPid, dstPids): the speculative-exploration primitive. A parent's delta is one value, so a fan-out harvests it once and broadcasts over a SharedArrayBuffer instead of re-harvesting per lane:O(heap + N x delta)rather thanO(N x heap). Lanes stay isolated and candidate results are byte-identical to a serial run.forkis now a 1:1 delegation (name and return shape unchanged). An agent loop is three calls: fan out, run candidates,fork(winner, main)to adopt.PyProcErrorandPYPROC_ERROR_CODES: one error contract for the whole surface. Every error thrown by pyproc now carriescode(programmatic branching axis),retryable, and optionalcontext(worker Python exceptions arrive withcontext.pyExcType, e.g."KeyboardInterrupt"). Worker boundaries preserve codes.- Checkpoint handles:
reactive.checkpoint()now returns{ ..., sp, restore() }, so a restore is one call (cp.restore()) instead of carryingstackSaveplus an index.restore/restoreLiveaccept omittedsavedSP(the node-stored value is used). ReactiveController.collectDelta(fromIdx?, toIdx?, opts?): the shared primitive behind session save, journal commit, and machine image export.ReactiveController.markDirty(): report heap mutations that bypassexecSeq(live PyProxy calls) so the nextrestoreLiveupgrades to the rehash path.ReactiveController.pruneTo(j)/dispose(): memory valves for the checkpoint tree.Runtime.noteStateMutation()and boundary-recording restores: a restore now counts as a state mutation, so observers such as the journal idle watcher commit restored state.Runtime.enableReactive()is memoized (one controller per runtime): two controllers could silently corrupt each other's live-diff restores.MachineJournalcfg.onStatus(observe idle-commit success/failure; failures carryPYPROC_JOURNAL_IO) andcfg.pruneAfterCommit(tree pruning after each commit).PyProc.respawn(pid)andJobControl.killHard(jobId): forced lane recovery that keeps fork symmetry (replay reboot).PyProc.mapno longer leaves silentundefinedholes when every lane dies; unrun tasks resolve to{ error: "pool exhausted: ..." }.- Nested machine containers now route
run/heapLen/kill/spawnthrough an explicit path router at any depth, and a dead container rejects immediately instead of hanging. PyProc.bootInfo: the lastboot()result ({ workers, avgBootMs, forked }) is kept on the pool, so paths that do not consume the return value directly (such asmachine.proc()) still have an observation point.- Asset provenance policy v2: the engine boot set (
pyodide.js/pyodide.mjs/pyodide.asm.mjs/pyodide.asm.wasm/python_stdlib.zip/pyodide-lock.json, bytes cross-verified between the GitHub release and the jsdelivr CDN) is now described in the single asset catalog with a second distribution vocabulary,upstream-cdn-runtime-reference(referencing upstream's own distribution point at runtime is not redistribution). Both Web Computer guests now carry the same described provenance in signed envelopes; the "undescribed guest" marker is retired.
- 루트 37개 -> 6개(porcelain 머신 핸들):
boot/open/createWebComputer/checkEnvironment/PyProcError/PYPROC_ERROR_CODES만 남는다.boot가 돌려주는 머신 핸들의 어휘(run/fs/term/proc/history)가 표면이고, 능력 상세는machine.runtime탈출구로 연다. - open 통합: 외부 bundle(무결성+서명 선검증),
{ dir, name }세션 저장(리플레이+델타),{ persistent }멀티탭(KernelElection반환, 구openPersistentMachine)을 부활 동사 하나로 통합. 결정적 부팅은boot({ deterministic: true })opt-in이고history.export/save는 그 모드 전용. - subpath 재편:
pyproc/history신설(상태 커널 계약: 주소 법, 오브젝트 모델, store, 서명 tag, bundle 코덱).pyproc/runtime/reactive/syscall-bridge/process-os소멸 (핸들 동사로 이동, 위 마이그레이션 표 참조). - 단일 bundle 포맷
PYBUNDLE1: 구.pymachinev2/v3 reader는 다음 브레이킹 릴리즈에 일몰 예고(보관할 머신은 재내보내기). - 상태 커널(
src/state) 신설과 저널 재기초: content-addressed HEAD/PREV 세대, verify-on-read(PYPROC_STATE_CORRUPT), fence(PYPROC_STATE_FENCE_STALE). 구 저널은 첫 recover에서 자동 이관. - machine 암호 주입: persistence/image 생성자는 맨
Crypto가 아니라createMachineCryptoProvider가 만든 provider를 요구한다. - forkMany: 부모 델타를 한 번만 수확해 N 레인에 방송하므로 팬아웃 비용이
O(heap + N x delta)다(O(N x heap)아님). fork는 1:1 위임으로 이름과 반환 계약 불변. - SharedKernel 삭제(정본은 openPersistentMachine), GPU/Socket/WASI는 subpath로 강등, 별칭 3종(timeTravel/interrupt/mapSerial) 절삭.
- PyProcError 단일 오류 계약(코드/재시도 가능성/파이썬 예외 타입이 워커 경계를 건너온다).
- 체크포인트 핸들(cp.restore() 한 호출), collectDelta/markDirty/pruneTo/dispose, 복원의 경계 기록, 컨트롤러 memoize, 저널 onStatus/pruneAfterCommit, respawn/killHard, map 부분 실패 정직화, 컨테이너 중첩 라우팅과 사망 즉시 거부.
PyProc.bootInfo: 마지막 boot() 결과를 풀에 보관(반환을 직접 받지 않는machine.proc()경로의 관측 지점).- 자산 provenance 정책 v2: 엔진 부팅 집합 6파일을 단일 catalog가 기술(두 유통 경로
바이트 교차 검증), 배포 어휘
upstream-cdn-runtime-reference신설(상류 배포 지점 런타임 참조는 재배포가 아니다). 두 guest가 같은 기술된 출처를 봉투에 나르고 미기술 게스트 표식은 은퇴.