@lightblues/jig 0.0.10 → 0.0.11
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.
|
@@ -13,7 +13,11 @@ export interface Daemon {
|
|
|
13
13
|
title: string;
|
|
14
14
|
labels: Record<string, string>;
|
|
15
15
|
}): Promise<string>;
|
|
16
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Sends `text` as a user message with our id (`clientMessageId` in the timeline): the turn it starts is found by it.
|
|
18
|
+
* No `sourceAgentId`, so the daemon treats it as a human's: a running turn is interrupted, never queued (0.17 queues
|
|
19
|
+
* only messages from agents).
|
|
20
|
+
*/
|
|
17
21
|
send(id: string, text: string, messageId: string): Promise<void>;
|
|
18
22
|
/** Live events of the agent's timeline until the returned function is called. Resolves once the subscription is up. */
|
|
19
23
|
subscribe(id: string, on: (e: LiveEvent) => void): Promise<() => void>;
|
|
@@ -3,7 +3,7 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
// J004: public entry points only (`@getpaseo/client` and `@getpaseo/client/node`), no `internal/*` import.
|
|
6
|
-
// This is the only file that imports `@getpaseo/client`;
|
|
6
|
+
// This is the only file that imports `@getpaseo/client`; tested against 0.16.1 and 0.17.4, either client with either daemon (jig-008).
|
|
7
7
|
import { createPaseoApi } from "@getpaseo/client";
|
|
8
8
|
import { createHostClient } from "@getpaseo/client/node";
|
|
9
9
|
export const paseoHome = (home) => home ?? process.env.PASEO_HOME ?? path.join(os.homedir(), ".paseo");
|
|
@@ -162,7 +162,7 @@ export function paseoDaemon(cfg) {
|
|
|
162
162
|
};
|
|
163
163
|
},
|
|
164
164
|
async cancel(id) {
|
|
165
|
-
// Agent handles have no cancel
|
|
165
|
+
// Agent handles have no cancel (0.16.1, 0.17.4); the client returned by `createHostClient` has.
|
|
166
166
|
const { client } = await connect();
|
|
167
167
|
await withTimeout(client.cancelAgent(id), TIMEOUT_MS, "stopping the agent");
|
|
168
168
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightblues/jig",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Reusable parts for my apps: agent runtimes (Paseo, pi) that speak AG-UI, a thin thread-following client, one markdown renderer, and more as they prove reusable.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@earendil-works/pi-agent-core": "1.4.0",
|
|
59
59
|
"@earendil-works/pi-ai": "1.4.0",
|
|
60
60
|
"@earendil-works/pi-coding-agent": "1.4.0",
|
|
61
|
-
"@getpaseo/client": "0.
|
|
61
|
+
"@getpaseo/client": "0.17.4",
|
|
62
62
|
"@types/node": "^24.0.0",
|
|
63
63
|
"@types/pg": "8.23.1",
|
|
64
64
|
"@types/react": "19.3.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@earendil-works/pi-agent-core": "~1.4.0",
|
|
81
81
|
"@earendil-works/pi-ai": "~1.4.0",
|
|
82
82
|
"@earendil-works/pi-coding-agent": "~1.4.0",
|
|
83
|
-
"@getpaseo/client": "0.16.1",
|
|
83
|
+
"@getpaseo/client": "0.16.1 || 0.17.4",
|
|
84
84
|
"highlight.js": "^11.0.0",
|
|
85
85
|
"katex": ">=0.16.21",
|
|
86
86
|
"markdown-it": "^15.0.0",
|