@deslop/stash 0.1.1074 → 0.1.1075
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -9
- package/dist/cli.js +1 -1
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -31,27 +31,23 @@ The CLI saves the entry through the server's RPC, waits until the server has rea
|
|
|
31
31
|
- **Note page.** A reading page like Mail's message: preview, title, author, app and date, the summary, then the AI's notes in the system body font, with headings, bold names and tappable links. Tags follow; the transcript, the source text and the words in the images stay on the server for search and the CLI. The app's logo opens the link; the menu shares, regenerates or deletes. A note the server could not read shows why and a Try Again button.
|
|
32
32
|
- **Native module.** `modules/native` checks the clipboard without reading it and adds the bottom-bar search field through `@expo/ui`'s modifier API. The logos come from `@deslop/components-mobile`, which renders svgl's SVGs natively and cuts out their white parts for menu icons.
|
|
33
33
|
- **Share extension.** `@bacons/apple-targets` adds `targets/share` at prebuild. It finds the server in the app's `StashServer` Info.plist key and uploads from the App Group `group.<app bundle id>`. A failed background upload is not reported, because the sheet has already closed.
|
|
34
|
-
- **Variants.** `APP_VARIANT` from `eas.json` picks `development`
|
|
34
|
+
- **Variants.** `APP_VARIANT` from `eas.json` picks `development` for the simulator build, as `stash dev` with the bundle identifier `xyz.mp281x.stash.dev`, or `production`. `APPLE_TEAM_ID` comes from the EAS environment.
|
|
35
35
|
|
|
36
36
|
## Releases
|
|
37
37
|
|
|
38
38
|
On main, `deploy.yaml` compares `apps/stash`, `packages` and the lockfile with the commit of the last EAS Update. When they changed, a known native fingerprint ships the JavaScript as a new update; a new one first builds on GitHub's `xcode-27` runner with `eas build --local` and submits to TestFlight. A newer merge cancels the older run, and the next one ships both. Each release is version `0.1.<run>` with build number `<run>`.
|
|
39
39
|
|
|
40
|
-
##
|
|
40
|
+
## Simulator
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
On the iOS Simulator, each branch push leaves the build as the artifact `stash-simulator-<fingerprint>`:
|
|
42
|
+
CI builds the app for the iOS Simulator once per native fingerprint, as the artifact `stash-simulator-<fingerprint>` of the branch's CI run. The app holds the JavaScript of the commit that built it, so replace its bundle with the branch's own before you install it. `device_open` returns the `agent-device` command and its flags.
|
|
45
43
|
|
|
46
44
|
```bash
|
|
47
45
|
gh run download <run id> --name stash-simulator-<fingerprint> --dir /tmp/stash-sim && tar -xzf /tmp/stash-sim/simulator.tar.gz -C /tmp/stash-sim
|
|
46
|
+
APP_VARIANT=development vp -C apps/stash exec expo export:embed --platform ios --dev false --bundle-output /tmp/stash-sim/stashdev.app/main.jsbundle --assets-dest /tmp/stash-sim/stashdev.app
|
|
48
47
|
<agent-device> install xyz.mp281x.stash.dev /tmp/stash-sim/stashdev.app <flags>
|
|
49
|
-
<agent-device> open xyz.mp281x.stash.dev
|
|
50
|
-
<agent-device> alert accept <flags>
|
|
48
|
+
<agent-device> open xyz.mp281x.stash.dev <flags>
|
|
51
49
|
```
|
|
52
50
|
|
|
53
|
-
`device_open` returns the `agent-device` command and its flags. The first open asks to open the link in stash dev, and the first launch shows the developer menu.
|
|
54
|
-
|
|
55
51
|
## Checks before a build
|
|
56
52
|
|
|
57
53
|
```bash
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deslop/stash",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1075",
|
|
4
4
|
"description": "A personal inbox for links and notes: the server, the iOS app, and a CLI that saves to it.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
"cheerio": "latest",
|
|
39
39
|
"expo-clipboard": "^58.0.3",
|
|
40
40
|
"expo-crypto": "^58.0.6",
|
|
41
|
-
"expo-dev-client": "^58.0.13",
|
|
42
41
|
"expo-file-system": "^58.0.9",
|
|
43
42
|
"expo-updates": "^58.0.16",
|
|
44
43
|
"onnxruntime-common": "1.30.0",
|
|
@@ -50,7 +49,6 @@
|
|
|
50
49
|
},
|
|
51
50
|
"scripts": {
|
|
52
51
|
"build": "rm -rf dist && vp pack",
|
|
53
|
-
"dev": "EXPO_PACKAGER_PROXY_URL=https://dev.tailnet-8c4c.ts.net:8081 expo start --dev-client --localhost",
|
|
54
52
|
"preview": "vp run build && HOST=127.0.0.1 PORT=5017 node --env-file-if-exists=$HOME/.deslop/stash.env ./dist/server.js"
|
|
55
53
|
}
|
|
56
54
|
}
|