Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/eidos-lite-desktop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ credentials. The titlebar and Sync panel expose queued, running, retry-wait,
and paused states. Local-only Spaces still neither log in nor create a Sync
queue.

Graft runs through the published `@eidos.space/graft@0.3.0` Node-API SDK.
Graft runs through the published `@eidos.space/graft@0.3.1` Node-API SDK.
Opening a Space does not open or classify its repository. The root Explorer and
local Eidos File runtime become usable first; the first background or explicit
version operation lazily starts one Electron utility process and retains one
Expand Down
4 changes: 2 additions & 2 deletions apps/eidos-lite-desktop/docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ flowchart LR
F1 -->|"guarded native SQLite handle"| E1["a.eidos"]
F2 -->|"guarded native SQLite handle"| E2["nested/b.eidos"]
M -->|"typed private IPC; one process per Space"| G["Graft utility process"]
G -->|"one retained RepositorySession"| N["Official Node-API SDK 0.3.0"]
G -->|"one retained RepositorySession"| N["Official Node-API SDK 0.3.1"]
N --> S["whole ordinary folder Space"]
N -. "explicit in-memory credential; Sync/Clone only" .-> H["Selected official Hosted Remote"]
```
Expand Down Expand Up @@ -311,7 +311,7 @@ SDK session transport at construction. Status, diff, history, checkpoint,
restore, push, and clone never create a CLI subprocess; Lite has no backend
switch, executable lookup, or CLI credential environment path.

The SDK adapter pins published `@eidos.space/graft@0.3.0`,
The SDK adapter pins published `@eidos.space/graft@0.3.1`,
lazily opens one session on the first background or explicit repository read,
and closes it when the window closes. It asks the published
`operationMaterializesWorktree()` contract before restore. Remote credentials
Expand Down
2 changes: 1 addition & 1 deletion apps/eidos-lite-desktop/docs/OPERATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ sequence.

## Stable Graft supply chain

The runtime pins published `@eidos.space/graft@0.3.0`; npm selects one of its
The runtime pins published `@eidos.space/graft@0.3.1`; npm selects one of its
five exact-version optional native packages for the current platform. Packaging
keeps the JavaScript wrapper in ASAR and unpacks only the selected native
package; `graft-worker.js` loads it directly in an Electron
Expand Down
2 changes: 1 addition & 1 deletion apps/eidos-lite-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@eidos.space/eidos-file": "workspace:*",
"@eidos.space/eidos-file-ui": "workspace:*",
"@eidos.space/graft": "0.3.0",
"@eidos.space/graft": "0.3.1",
"@glideapps/glide-data-grid": "^6.0.0",
"@pierre/diffs": "1.2.7",
"@pierre/trees": "1.0.0-beta.5",
Expand Down
2 changes: 1 addition & 1 deletion apps/eidos-lite-desktop/scripts/packaged-smoke.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ try {
) ||
!report.graft?.available ||
report.graft?.backend !== "sdk" ||
report.graft?.version !== "0.3.0" ||
report.graft?.version !== "0.3.1" ||
report.mutation?.afterInsertCount !== report.mutation?.beforeCount + 1 ||
report.mutation?.afterDeleteCount !== report.mutation?.beforeCount ||
report.mutation?.checkpointCount !== report.mutation?.beforeCount + 1 ||
Expand Down
4 changes: 2 additions & 2 deletions apps/eidos-lite-desktop/src/main/diagnostics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ describe("Eidos Lite diagnostics", () => {
graft: {
available: true,
backend: "sdk",
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: true,
clean: false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ describe("whole-Space real Graft integration", () => {
expect(status).toMatchObject({
available: true,
backend: "sdk",
version: "0.3.0",
version: "0.3.1",
initialized: true,
clean: true,
changedPaths: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe("GraftClient", () => {
close: vi.fn(async () => undefined),
command: vi.fn(async (command) => {
commands.push(command)
if (command === "sdkVersion") return "0.3.0"
if (command === "sdkVersion") return "0.3.1"
if (command === "statusIncremental") {
return {
generation: 1,
Expand Down
2 changes: 1 addition & 1 deletion apps/eidos-lite-desktop/src/main/graft/graft-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import type { GraftSdkTransport } from "./graft-sdk-transport"

const SDK_DIFF_PAGE_SIZE = 100
const SDK_PATH_BATCH_SIZE = 1_000
export const GRAFT_SDK_VERSION = "0.3.0"
export const GRAFT_SDK_VERSION = "0.3.1"

export interface GraftClientOptions {
sdkTransport: GraftSdkTransport
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ describe("SpaceSession Graft-backed snapshots", () => {
const graft = {
backend: "sdk",
syncRemoteOrigin: "https://sync-staging.eidos.space",
expectedVersion: () => "0.3.0",
expectedVersion: () => "0.3.1",
close: async () => undefined,
inspectSpace: async () => ({
available: true,
backend: "sdk",
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: true,
clean: true,
}),
Expand Down Expand Up @@ -86,16 +86,16 @@ describe("SpaceSession Graft-backed snapshots", () => {
const cleanStatus: GraftSpaceStatus = {
available: true,
backend: "sdk",
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: true,
clean: true,
}
let statusCalls = 0
const graft = {
backend: "sdk",
syncRemoteOrigin: "https://sync-staging.eidos.space",
expectedVersion: () => "0.3.0",
expectedVersion: () => "0.3.1",
close: async () => undefined,
inspectSpace: (_root: string, options: { signal?: AbortSignal } = {}) => {
statusCalls += 1
Expand Down Expand Up @@ -295,8 +295,8 @@ describe("SpaceSession Graft-backed snapshots", () => {
const cleanStatus: GraftSpaceStatus = {
available: true,
backend: "sdk",
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: true,
clean: true,
currentHead: "a".repeat(64),
Expand All @@ -312,7 +312,7 @@ describe("SpaceSession Graft-backed snapshots", () => {
const graft = {
backend: "sdk",
syncRemoteOrigin: "https://sync-staging.eidos.space",
expectedVersion: () => "0.3.0",
expectedVersion: () => "0.3.1",
close: async () => undefined,
inspectSpace: (_root: string, options: { signal?: AbortSignal } = {}) => {
statusCalls += 1
Expand Down Expand Up @@ -489,7 +489,7 @@ describe("SpaceSession Graft-backed snapshots", () => {
const graft = {
backend: "sdk",
syncRemoteOrigin: "https://sync-staging.eidos.space",
expectedVersion: () => "0.3.0",
expectedVersion: () => "0.3.1",
open: async () => undefined,
close: async () => undefined,
inspectSpace: () => status.promise,
Expand Down Expand Up @@ -532,8 +532,8 @@ describe("SpaceSession Graft-backed snapshots", () => {
status.resolve({
available: true,
backend: "sdk",
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: false,
})
const final = await updated
Expand Down Expand Up @@ -566,7 +566,7 @@ describe("SpaceSession Graft-backed snapshots", () => {
const graft = {
backend: "sdk",
syncRemoteOrigin: "https://sync-staging.eidos.space",
expectedVersion: () => "0.3.0",
expectedVersion: () => "0.3.1",
open: async () => undefined,
close: async () => undefined,
inspectSpace: () => status.promise,
Expand Down Expand Up @@ -600,8 +600,8 @@ describe("SpaceSession Graft-backed snapshots", () => {
status.resolve({
available: true,
backend: "sdk",
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: true,
error: "Tracked path is now a directory",
})
Expand Down Expand Up @@ -636,7 +636,7 @@ describe("SpaceSession Graft-backed snapshots", () => {
const graft = {
backend: "sdk",
syncRemoteOrigin: "https://sync-staging.eidos.space",
expectedVersion: () => "0.3.0",
expectedVersion: () => "0.3.1",
close: vi.fn(async () => undefined),
inspectSpace: (_root: string, options: { signal?: AbortSignal }) => {
statusStarted()
Expand Down Expand Up @@ -683,14 +683,14 @@ describe("SpaceSession Graft-backed snapshots", () => {
const graft = {
backend: "sdk",
syncRemoteOrigin: "https://sync-staging.eidos.space",
expectedVersion: () => "0.3.0",
expectedVersion: () => "0.3.1",
open: async () => undefined,
close: async () => undefined,
inspectSpace: async () => ({
available: true,
backend: "sdk",
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: true,
clean: false,
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ describe("working text diff", () => {
inspectSpace: vi.fn(async () => ({
available: true,
backend: "sdk" as const,
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: true,
clean: false,
currentHead: head,
Expand Down Expand Up @@ -89,8 +89,8 @@ describe("working text diff", () => {
inspectSpace: vi.fn(async () => ({
available: true,
backend: "sdk" as const,
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: true,
clean: false,
currentHead: head,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ describe("push publication failure", () => {
inspectSpace: vi.fn(async () => ({
available: true,
backend: "sdk" as const,
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: true,
clean: true,
currentHead: localHead,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
it.each([
{ remotePublished: false, expectedPushes: 1 },
{ remotePublished: true, expectedPushes: 0 },
])(

Check failure on line 72 in apps/eidos-lite-desktop/src/main/sync/push-publication-process-crash.test.ts

View workflow job for this annotation

GitHub Actions / Source and real Graft SDK

src/main/sync/push-publication-process-crash.test.ts > push publication process crash recovery > reconciles a terminated push when remotePublished=true

Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/main/sync/push-publication-process-crash.test.ts:72:4

Check failure on line 72 in apps/eidos-lite-desktop/src/main/sync/push-publication-process-crash.test.ts

View workflow job for this annotation

GitHub Actions / Source and real Graft SDK

src/main/sync/push-publication-process-crash.test.ts > push publication process crash recovery > reconciles a terminated push when remotePublished=false

Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/main/sync/push-publication-process-crash.test.ts:72:4
"reconciles a terminated push when remotePublished=$remotePublished",
async ({ remotePublished, expectedPushes }) => {
const root = await fs.mkdtemp(
Expand Down Expand Up @@ -141,14 +141,14 @@
})
const graft = {
syncRemoteOrigin: origin,
expectedVersion: vi.fn(() => "0.3.0"),
expectedVersion: vi.fn(() => "0.3.1"),
open: vi.fn(async () => undefined),
close: vi.fn(async () => undefined),
inspectSpace: vi.fn(async () => ({
available: true,
backend: "sdk" as const,
version: "0.3.0",
expectedVersion: "0.3.0",
version: "0.3.1",
expectedVersion: "0.3.1",
initialized: true,
clean: true,
currentHead: localHead,
Expand Down
2 changes: 1 addition & 1 deletion apps/eidos-lite-desktop/src/renderer/version-panel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const unversionedSpace: SpaceSnapshot = {
graft: {
available: true,
backend: "sdk",
expectedVersion: "0.3.0",
expectedVersion: "0.3.1",
initialized: false,
},
invalidatedSessionIds: [],
Expand Down
4 changes: 2 additions & 2 deletions apps/graft-remote/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ GRAFT_REMOTE_TOKEN. CLI keys are independent of Desktop sessions and devices.

Wire behavior comes exclusively from the official npm packages released from
the `eidos-space/graft` repository at commit
`795a76fee4804295d5c3487de5bcf4ed2b8e635a`:
`1f90077a8d43ff767c4233e526a1fd0bccdde453`:

- @eidos.space/graft-remote owns Remote v1 validation, status codes, range
reads, conditional operations, pagination, and the Graft-Protocol: 1 header.
- @eidos.space/graft-remote-hono owns the Hono route adapter.
- @eidos.space/graft-remote-cloudflare owns the R2 and SQLite Durable Object
backend.

The service pins the three public Remote packages to `0.1.0`; no upstream
The service pins the three public Remote packages to `0.2.0`; no upstream
implementation is copied into the Eidos repository. Eidos-specific code does
not duplicate or version-gate the protocol. A newer official Remote release
becomes the tested baseline only after the service checks and current CLI
Expand Down
6 changes: 3 additions & 3 deletions apps/graft-remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"types": "wrangler types worker-configuration.d.ts --include-runtime false"
},
"dependencies": {
"@eidos.space/graft-remote": "0.1.0",
"@eidos.space/graft-remote-cloudflare": "0.1.0",
"@eidos.space/graft-remote-hono": "0.1.0",
"@eidos.space/graft-remote": "0.2.0",
"@eidos.space/graft-remote-cloudflare": "0.2.0",
"@eidos.space/graft-remote-hono": "0.2.0",
"hono": "4.12.31"
},
"devDependencies": {
Expand Down
Loading
Loading