@theokit/tauri 0.1.1 → 1.0.0-next.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/CHANGELOG.md +9 -0
- package/LICENSE +2 -2
- package/dist/index.js.map +1 -1
- package/dist/sidecar.d.ts +1 -1
- package/dist/sidecar.js +1 -1
- package/dist/sidecar.js.map +1 -1
- package/package.json +14 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
# Changelog — @theokit/tauri
|
|
2
2
|
|
|
3
|
+
## 1.0.0-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [8333525]
|
|
8
|
+
- theokit@0.65.0-next.0
|
|
9
|
+
|
|
3
10
|
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
11
|
|
|
5
12
|
## [0.1.1] - 2026-07-12
|
|
6
13
|
|
|
7
14
|
### Fixed
|
|
15
|
+
|
|
8
16
|
- **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
17
|
|
|
10
18
|
## [0.1.0] - 2026-07-12
|
|
11
19
|
|
|
12
20
|
### Added
|
|
21
|
+
|
|
13
22
|
- Initial release — desktop transport glue for TheoKit agents (ADR-0055).
|
|
14
23
|
- **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
24
|
- **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.d.ts
CHANGED
package/dist/sidecar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/sidecar.ts
|
|
2
2
|
import { randomUUID } from "crypto";
|
|
3
|
-
import { streamAgentTurnInProcess } from "theokit/server";
|
|
3
|
+
import { streamAgentTurnInProcess } from "theokit/server/agent";
|
|
4
4
|
async function runTurnToJsonl(mod, apiKey, message, write, awaitApproval) {
|
|
5
5
|
try {
|
|
6
6
|
for await (const chunk of streamAgentTurnInProcess(mod, apiKey, {
|
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.
|
|
3
|
+
"version": "1.0.0-next.0",
|
|
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,
|
|
@@ -20,7 +29,7 @@
|
|
|
20
29
|
"CHANGELOG.md"
|
|
21
30
|
],
|
|
22
31
|
"peerDependencies": {
|
|
23
|
-
"theokit": ">=0.
|
|
32
|
+
"theokit": ">=0.65.0-next.0",
|
|
24
33
|
"@tauri-apps/api": ">=2.0.0"
|
|
25
34
|
},
|
|
26
35
|
"peerDependenciesMeta": {
|
|
@@ -29,9 +38,11 @@
|
|
|
29
38
|
}
|
|
30
39
|
},
|
|
31
40
|
"devDependencies": {
|
|
32
|
-
"theokit": "0.
|
|
41
|
+
"theokit": "0.65.0-next.0",
|
|
42
|
+
"@theokit/presenter": "0.8.0"
|
|
33
43
|
},
|
|
34
44
|
"publishConfig": {
|
|
45
|
+
"provenance": true,
|
|
35
46
|
"access": "public"
|
|
36
47
|
},
|
|
37
48
|
"engines": {
|