@mirasoth/soothe-client 0.5.2 → 0.5.3
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/dist/{chunk-NSWLUFSA.js → chunk-ZMZVHADX.js} +2 -2
- package/dist/{chunk-NSWLUFSA.js.map → chunk-ZMZVHADX.js.map} +1 -1
- package/dist/client-SBKRN2OQ.js +7 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/dist/client-YTWVWNAN.js +0 -7
- /package/dist/{client-YTWVWNAN.js.map → client-SBKRN2OQ.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -167,7 +167,7 @@ declare const PROTO_VERSION = "1";
|
|
|
167
167
|
/** Default client capabilities declared in the connection_init handshake. */
|
|
168
168
|
declare const DEFAULT_CLIENT_CAPABILITIES: string[];
|
|
169
169
|
/** Client version reported in the connection_init handshake. */
|
|
170
|
-
declare const CLIENT_VERSION = "0.5.
|
|
170
|
+
declare const CLIENT_VERSION = "0.5.3";
|
|
171
171
|
type MessageType = "connection_init" | "connection_ack" | "request" | "response" | "notification" | "subscribe" | "next" | "error" | "complete" | "unsubscribe" | "ping" | "pong" | "receipt_response" | "disconnect" | "status";
|
|
172
172
|
/** Method names carried in the envelope `method` field. */
|
|
173
173
|
type MethodName = "loop_list" | "loop_get" | "loop_tree" | "loop_prune" | "loop_delete" | "loop_new" | "loop_reattach" | "loop_detach" | "loop_input" | "loop_messages" | "loop_state_get" | "loop_state_update" | "loop_cards_fetch" | "loop_history_fetch" | "loop_events" | "autopilot_events" | "job_create" | "job_status" | "job_pause" | "job_resume" | "job_cancel" | "job_dag" | "job_guidance" | "autopilot_status" | "autopilot_submit" | "autopilot_list_goals" | "autopilot_get_goal" | "autopilot_cancel_goal" | "autopilot_cancel_all" | "autopilot_wake" | "autopilot_dream" | "autopilot_resume" | "autopilot_list_jobs" | "autopilot_get_job" | "daemon_status" | "daemon_shutdown" | "config_get" | "config_reload" | "skills_list" | "invoke_skill" | "models_list" | "mcp_status" | "auth" | "auth_refresh" | "slash_command" | "rpc_command" | "delivery_ack" | "cron_add" | "cron_list" | "cron_show" | "cron_cancel" | "disconnect";
|
package/dist/index.d.ts
CHANGED
|
@@ -167,7 +167,7 @@ declare const PROTO_VERSION = "1";
|
|
|
167
167
|
/** Default client capabilities declared in the connection_init handshake. */
|
|
168
168
|
declare const DEFAULT_CLIENT_CAPABILITIES: string[];
|
|
169
169
|
/** Client version reported in the connection_init handshake. */
|
|
170
|
-
declare const CLIENT_VERSION = "0.5.
|
|
170
|
+
declare const CLIENT_VERSION = "0.5.3";
|
|
171
171
|
type MessageType = "connection_init" | "connection_ack" | "request" | "response" | "notification" | "subscribe" | "next" | "error" | "complete" | "unsubscribe" | "ping" | "pong" | "receipt_response" | "disconnect" | "status";
|
|
172
172
|
/** Method names carried in the envelope `method` field. */
|
|
173
173
|
type MethodName = "loop_list" | "loop_get" | "loop_tree" | "loop_prune" | "loop_delete" | "loop_new" | "loop_reattach" | "loop_detach" | "loop_input" | "loop_messages" | "loop_state_get" | "loop_state_update" | "loop_cards_fetch" | "loop_history_fetch" | "loop_events" | "autopilot_events" | "job_create" | "job_status" | "job_pause" | "job_resume" | "job_cancel" | "job_dag" | "job_guidance" | "autopilot_status" | "autopilot_submit" | "autopilot_list_goals" | "autopilot_get_goal" | "autopilot_cancel_goal" | "autopilot_cancel_all" | "autopilot_wake" | "autopilot_dream" | "autopilot_resume" | "autopilot_list_jobs" | "autopilot_get_job" | "daemon_status" | "daemon_shutdown" | "config_get" | "config_reload" | "skills_list" | "invoke_skill" | "models_list" | "mcp_status" | "auth" | "auth_refresh" | "slash_command" | "rpc_command" | "delivery_ack" | "cron_add" | "cron_list" | "cron_show" | "cron_cancel" | "disconnect";
|
package/dist/index.js
CHANGED
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
subscribeEnvelope,
|
|
87
87
|
unsubscribeEnvelope,
|
|
88
88
|
validateLoopInputIntentHint
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-ZMZVHADX.js";
|
|
90
90
|
|
|
91
91
|
// src/session.ts
|
|
92
92
|
async function bootstrapLoopSession(client, resumeLoopId, config, loopNew) {
|
|
@@ -289,7 +289,7 @@ async function checkDaemonStatus(client, timeout) {
|
|
|
289
289
|
return client.requestResponse("daemon_status", {}, "daemon_status", timeout ?? 5e3);
|
|
290
290
|
}
|
|
291
291
|
async function isDaemonLive(wsURL, timeout) {
|
|
292
|
-
const { Client: Client2 } = await import("./client-
|
|
292
|
+
const { Client: Client2 } = await import("./client-SBKRN2OQ.js");
|
|
293
293
|
const t = timeout ?? 5e3;
|
|
294
294
|
const client = new Client2(wsURL, defaultConfig());
|
|
295
295
|
try {
|
|
@@ -376,7 +376,7 @@ async function fetchLoopMessages(client, loopID, opts) {
|
|
|
376
376
|
);
|
|
377
377
|
}
|
|
378
378
|
async function connectedWebsocket(wsUrl, fn, timeoutMs = 3e4) {
|
|
379
|
-
const { Client: Client2 } = await import("./client-
|
|
379
|
+
const { Client: Client2 } = await import("./client-SBKRN2OQ.js");
|
|
380
380
|
const client = new Client2(wsUrl, defaultConfig());
|
|
381
381
|
const deadline = Date.now() + timeoutMs;
|
|
382
382
|
try {
|
package/package.json
CHANGED
package/dist/client-YTWVWNAN.js
DELETED
|
File without changes
|