@condorinst/mobile-bridge 0.19.2 → 0.21.0

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/llms.txt CHANGED
@@ -7,7 +7,7 @@
7
7
  > pagination, permissions, system status and language.
8
8
 
9
9
  Every URL below is plain text over HTTPS, pinned to a released version, and
10
- needs no authentication. Replace `0.19.2` with the version you depend on; the
10
+ needs no authentication. Replace `0.21.0` with the version you depend on; the
11
11
  contract changes between minors while the package is below 1.0.0.
12
12
 
13
13
  The same files ship inside the npm tarball, so if you have run
@@ -16,27 +16,29 @@ The same files ship inside the npm tarball, so if you have run
16
16
 
17
17
  ## Start here
18
18
 
19
- - [AGENTS.md](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/AGENTS.md): The contract in one screen — hard rules, what is unreachable, and the validation loop. Read before writing code.
20
- - [Agent guide](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/docs/agent-guide.md): Step-by-step construction of a client Home, with the checks to run at each stage.
19
+ - [AGENTS.md](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/AGENTS.md): The contract in one screen — hard rules, the golden-path boot sequence, the browser harness and the validation loop. Read before writing code.
20
+ - [llms-full.txt](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/llms-full.txt): AGENTS.md and every document under docs/ concatenated into one file, for a single fetch.
21
+ - [Agent guide](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/docs/agent-guide.md): Step-by-step construction of a client Home, with the checks to run at each stage.
21
22
 
22
23
  ## Reference
23
24
 
24
- - [Bridge contract](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/docs/bridge-contract.md): Every observable key, every command, the three error shapes, and the capability matrix by native version.
25
- - [Machine-readable contract](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/contract/bridge-contract.json): The same contract as JSON. Also importable as `@condorinst/mobile-bridge/contract`.
26
- - [Limits](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/docs/limits.md): Every hard limit — payload size, rate limits, bundle size, timeouts — with what happens when you cross it.
27
- - [Troubleshooting](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/docs/troubleshooting.md): Why a command did nothing. Silence is the platform's dominant failure mode.
28
- - [TypeScript declarations](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/dist/index.d.ts): Authoritative payload shapes, with documentation on every member.
25
+ - [Bridge contract](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/docs/bridge-contract.md): Every observable key, every command, the three error shapes, and the capability matrix by native version.
26
+ - [Machine-readable contract](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/contract/bridge-contract.json): The same contract as JSON. Also importable as `@condorinst/mobile-bridge/contract`.
27
+ - [Limits](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/docs/limits.md): Every hard limit — payload size, rate limits, bundle size, timeouts — with what happens when you cross it.
28
+ - [Troubleshooting](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/docs/troubleshooting.md): Why a command did nothing, and why the device list never came. Silence is the platform's dominant failure mode.
29
+ - [Testing on a device](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/docs/device-testing.md): How a bundle reaches the phone, development vs production, inspecting the WebView, and where errors go.
30
+ - [TypeScript declarations](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/dist/index.d.ts): Authoritative payload shapes, with documentation on every member.
29
31
 
30
32
  ## Guides
31
33
 
32
- - [Client guide](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/docs/client-guide.md): Narrative walkthrough for a developer building the Home by hand.
33
- - [Pilot onboarding](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/docs/pilot-onboarding.md): Checklist from zero to a bundle delivered to Condor.
34
- - [README](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/README.md): Package overview, install, quickstart.
35
- - [CHANGELOG](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/CHANGELOG.md): When each capability was introduced. The most precise record of what a given native version supports.
34
+ - [Client guide](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/docs/client-guide.md): Narrative walkthrough for a developer building the Home by hand.
35
+ - [Pilot onboarding](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/docs/pilot-onboarding.md): Checklist from zero to a bundle delivered to Condor.
36
+ - [README](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/README.md): Package overview, install, quickstart.
37
+ - [CHANGELOG](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/CHANGELOG.md): When each capability was introduced. The most precise record of what a given native version supports.
36
38
 
37
39
  ## Examples
38
40
 
39
- - [Minimal home](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.19.2/examples/minimal-home/src/main.ts): A complete, working client in ~160 lines. Copy this as your starting point.
41
+ - [Minimal home](https://cdn.jsdelivr.net/npm/@condorinst/mobile-bridge@0.21.0/examples/minimal-home/src/main.ts): A complete, working client with the reference boot sequence. Copy this as your starting point, and run it with `npx condor-mobile-bridge dev`.
40
42
 
41
43
  ## Optional
42
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@condorinst/mobile-bridge",
3
- "version": "0.19.2",
3
+ "version": "0.21.0",
4
4
  "description": "TypeScript SDK for the JS↔Native bridge of the Condor white-label mobile app.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "private": false,
@@ -17,6 +17,11 @@
17
17
  "import": "./dist/index.js",
18
18
  "require": "./dist/index.cjs"
19
19
  },
20
+ "./dev": {
21
+ "types": "./dist/dev.d.ts",
22
+ "import": "./dist/dev.js",
23
+ "require": "./dist/dev.cjs"
24
+ },
20
25
  "./contract": "./contract/bridge-contract.json",
21
26
  "./package.json": "./package.json"
22
27
  },
@@ -36,13 +41,14 @@
36
41
  "examples/minimal-home/AGENTS.md",
37
42
  "AGENTS.md",
38
43
  "llms.txt",
44
+ "llms-full.txt",
39
45
  "README.md",
40
46
  "CHANGELOG.md",
41
47
  "LICENSE"
42
48
  ],
43
49
  "scripts": {
44
- "build": "tsup",
45
- "typecheck": "tsc --noEmit",
50
+ "build": "tsup && node scripts/gen-llms-full.mjs",
51
+ "typecheck": "tsc --noEmit && tsc --noEmit -p examples/minimal-home/tsconfig.check.json && tsc --noEmit -p examples/client_demo",
46
52
  "test": "vitest run",
47
53
  "test:watch": "vitest",
48
54
  "lint": "biome check .",