@theokit/tauri 0.1.2 → 1.0.0-next.1
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/CHANGELOG.md +32 -0
- package/LICENSE +2 -2
- package/dist/index.js.map +1 -1
- package/dist/sidecar.js.map +1 -1
- package/package.json +26 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,47 @@
|
|
|
1
1
|
# Changelog — @theokit/tauri
|
|
2
2
|
|
|
3
|
+
## 1.0.0-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3162888: **Released because its peer requirement moved, not because this package changed.**
|
|
8
|
+
|
|
9
|
+
Nothing inside `@theokit/tauri` changed in this release. It ships because `theokit` moved and this
|
|
10
|
+
package peers it, so the peer range it declares moved with it — from the 0.64 line to
|
|
11
|
+
`>=0.65.0-next.0`. For a consumer that is a real, breaking difference even though no code here
|
|
12
|
+
differs: a project pinned to `theokit@0.64.x` cannot install this version.
|
|
13
|
+
|
|
14
|
+
The version number says the same thing less clearly. A peer range that excludes versions it used to
|
|
15
|
+
admit is a breaking change to whoever installs it, which is why the bump is a major rather than a
|
|
16
|
+
patch — the code is untouched and the contract is not.
|
|
17
|
+
|
|
18
|
+
**What to do:** upgrade `theokit` to `>=0.65.0` alongside this package, or stay on the previous
|
|
19
|
+
`@theokit/tauri` while you stay on the 0.64 line. Nothing else about the Tauri glue — the
|
|
20
|
+
Channel/invoke transport, the JSONL sidecar — behaves differently.
|
|
21
|
+
|
|
22
|
+
This entry exists because the release would otherwise carry an empty section
|
|
23
|
+
([#653](https://github.com/usetheokit/theokit/issues/653)), and an empty section is
|
|
24
|
+
indistinguishable from "nothing user-visible changed" — a claim nobody made about a major bump.
|
|
25
|
+
|
|
26
|
+
## 1.0.0-next.0
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [8333525]
|
|
31
|
+
- theokit@0.65.0-next.0
|
|
32
|
+
|
|
3
33
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this package adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
34
|
|
|
5
35
|
## [0.1.1] - 2026-07-12
|
|
6
36
|
|
|
7
37
|
### Fixed
|
|
38
|
+
|
|
8
39
|
- **Published package no longer carries a `workspace:*` dependency.** `0.1.0` was published with `npm publish`, which (unlike `pnpm publish`) does not resolve the `theokit: workspace:*` dev dependency — so `npm install`-ing any project that depended on `@theokit/tauri@0.1.0` failed with `EUNSUPPORTEDPROTOCOL "workspace:"`. Republished with `pnpm publish` so every dependency resolves to a real version. `0.1.0` is deprecated.
|
|
9
40
|
|
|
10
41
|
## [0.1.0] - 2026-07-12
|
|
11
42
|
|
|
12
43
|
### Added
|
|
44
|
+
|
|
13
45
|
- Initial release — desktop transport glue for TheoKit agents (ADR-0055).
|
|
14
46
|
- **Webview** (`@theokit/tauri`): `createTauriChannelSource(core, { runCommand?, approveCommand? })` bridges an injected Tauri `{ invoke, Channel }` into a `ChannelPushSource` (the M42 `ChannelTransport` push contract) — JSONL `Channel` events (possibly multi-line) become `onLine`, the `run_turn` invoke resolves to `onClose` / rejects to `onError` (never swallowed, Rule 8), and `settle` routes a HITL decision to the `approve` command. `createTauriAgentClient(core, options?)` is the no-React convenience over M44 `createAgentClient`.
|
|
15
47
|
- **Node sidecar** (`@theokit/tauri/sidecar`): `runTurnToJsonl(mod, apiKey, message, write, awaitApproval?)` streams one agent turn via `streamAgentTurnInProcess` and writes each `UIMessageChunk` as a JSONL line; a thrown error is emitted as a trailing `{type:'error'}` line.
|
package/LICENSE
CHANGED
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
|
|
138
138
|
6. Trademarks. This License does not grant permission to use the trade
|
|
139
139
|
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for
|
|
141
|
-
reproducing the content of the NOTICE file.
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
142
|
|
|
143
143
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
144
|
agreed to in writing, Licensor provides the Work (and each
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,OAKK;AAmCA,SAAS,yBACd,MACA,UAAqC,CAAC,GACnB;AACnB,QAAM,aAAa,QAAQ,cAAc;AACzC,QAAM,iBAAiB,QAAQ,kBAAkB;AAEjD,SAAO;AAAA,IACL,MAAM,MAAM,EAAE,QAAQ,SAAS,QAAQ,GAAG;AACxC,YAAM,UAAU,IAAI,KAAK,QAAQ;AACjC,cAAQ,YAAY,CAAC,SAAiB;AAEpC,mBAAW,QAAQ,KAAK,MAAM,IAAI,GAAG;AACnC,gBAAM,UAAU,KAAK,KAAK;AAC1B,cAAI,QAAS,QAAO,OAAO;AAAA,QAC7B;AAAA,MACF;AAGA,WAAK,KACF,OAAO,YAAY,EAAE,SAAS,KAAK,SAAS,SAAS,KAAK,SAAS,SAAS,QAAQ,CAAC,EACrF,KAAK,SAAS,CAAC,QAAiB;AAE/B,kBAAU,eAAe,QAAQ,MAAM,IAAI,MAAM,OAAO,GAAG,CAAC,CAAC;AAAA,MAC/D,CAAC;AAEH,aAAO,MAAM;AAAA,IACf;AAAA,IACA,QAAQ,OAAO,YAAoB,aAA+B;AAChE,YAAM,KAAK,OAAO,gBAAgB,EAAE,YAAY,UAAU,SAAS,SAAS,CAAC;AAAA,IAC/E;AAAA,EACF;AACF;AAQO,SAAS,uBACd,MACA,UAAgE,CAAC,GACtC;AAC3B,QAAM,EAAE,YAAY,gBAAgB,GAAG,cAAc,IAAI;AACzD,QAAM,SAAS,yBAAyB,MAAM,EAAE,YAAY,eAAe,CAAC;AAC5E,SAAO,kBAA0B,IAAI,iBAAiB,EAAE,OAAO,CAAC,GAAG,aAAa;AAClF;","names":[]}
|
package/dist/sidecar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/sidecar.ts"],"
|
|
1
|
+
{"version":3,"sources":["../src/sidecar.ts"],"mappings":";AAAA,SAAS,kBAAkB;AAE3B,SAAS,gCAA6D;AAoBtE,eAAsB,eACpB,KACA,QACA,SACA,OACA,eACe;AACf,MAAI;AACF,qBAAiB,SAAS,yBAAyB,KAAK,QAAQ;AAAA,MAC9D;AAAA,MACA,WAAW,WAAW,WAAW,CAAC;AAAA,MAClC;AAAA,IACF,CAAC,GAAG;AACF,YAAM,GAAG,KAAK,UAAU,KAAK,CAAC;AAAA,CAAI;AAAA,IACpC;AAAA,EACF,SAAS,KAAK;AACZ,UAAM,YAAY,eAAe,QAAQ,IAAI,UAAU,OAAO,GAAG;AACjE,UAAM,GAAG,KAAK,UAAU,EAAE,MAAM,SAAS,UAAU,CAAC,CAAC;AAAA,CAAI;AAAA,EAC3D;AACF;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theokit/tauri",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "1.0.0-next.1",
|
|
4
4
|
"description": "Tauri desktop glue for TheoKit agents — the Channel/invoke transport source (webview) + the JSONL sidecar (node), over the unified client. UI is @theokit/ui; the runtime is @theokit/sdk.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/usetheokit/theokit.git",
|
|
8
|
+
"directory": "packages/tauri"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/usetheokit/theokit/tree/main/packages/tauri#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/usetheokit/theokit/issues"
|
|
13
|
+
},
|
|
5
14
|
"license": "Apache-2.0",
|
|
6
15
|
"type": "module",
|
|
7
16
|
"sideEffects": false,
|
|
@@ -13,14 +22,15 @@
|
|
|
13
22
|
"./sidecar": {
|
|
14
23
|
"types": "./dist/sidecar.d.ts",
|
|
15
24
|
"import": "./dist/sidecar.js"
|
|
16
|
-
}
|
|
25
|
+
},
|
|
26
|
+
"./package.json": "./package.json"
|
|
17
27
|
},
|
|
18
28
|
"files": [
|
|
19
29
|
"dist",
|
|
20
30
|
"CHANGELOG.md"
|
|
21
31
|
],
|
|
22
32
|
"peerDependencies": {
|
|
23
|
-
"theokit": ">=0.
|
|
33
|
+
"theokit": ">=0.65.0-next.0",
|
|
24
34
|
"@tauri-apps/api": ">=2.0.0"
|
|
25
35
|
},
|
|
26
36
|
"peerDependenciesMeta": {
|
|
@@ -29,14 +39,26 @@
|
|
|
29
39
|
}
|
|
30
40
|
},
|
|
31
41
|
"devDependencies": {
|
|
32
|
-
"theokit": "0.
|
|
42
|
+
"@theokit/presenter": "0.9.0-next.0",
|
|
43
|
+
"theokit": "0.65.0-next.2"
|
|
33
44
|
},
|
|
34
45
|
"publishConfig": {
|
|
46
|
+
"provenance": true,
|
|
35
47
|
"access": "public"
|
|
36
48
|
},
|
|
37
49
|
"engines": {
|
|
38
50
|
"node": ">=22.12.0"
|
|
39
51
|
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"theokit",
|
|
54
|
+
"tauri",
|
|
55
|
+
"desktop",
|
|
56
|
+
"glue",
|
|
57
|
+
"agents",
|
|
58
|
+
"channel",
|
|
59
|
+
"invoke",
|
|
60
|
+
"transport"
|
|
61
|
+
],
|
|
40
62
|
"scripts": {
|
|
41
63
|
"build": "tsup",
|
|
42
64
|
"test": "vitest run",
|