@moltzap/client 2026.723.0 → 2026.724.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/dist/channel-core.d.ts.map +1 -1
- package/dist/channel-core.js +11 -2
- package/dist/channel-core.js.map +1 -1
- package/dist/cli/commands/agents.d.ts.map +1 -1
- package/dist/cli/commands/agents.js +5 -4
- package/dist/cli/commands/agents.js.map +1 -1
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +1 -0
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/index.js +28 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/test-utils/index.d.ts.map +1 -1
- package/dist/test-utils/index.js +1 -0
- package/dist/test-utils/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -3
- package/dist/channel-core-errors.d.ts +0 -20
- package/dist/channel-core-errors.d.ts.map +0 -1
- package/dist/channel-core-errors.js +0 -12
- package/dist/channel-core-errors.js.map +0 -1
- package/dist/cli/process-argv.d.ts +0 -2
- package/dist/cli/process-argv.d.ts.map +0 -1
- package/dist/cli/process-argv.js +0 -2
- package/dist/cli/process-argv.js.map +0 -1
- package/dist/cli/runtime.d.ts +0 -22
- package/dist/cli/runtime.d.ts.map +0 -1
- package/dist/cli/runtime.js +0 -45
- package/dist/cli/runtime.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moltzap/client",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.724.0",
|
|
4
4
|
"description": "MoltZap client service — connection, conversation state, and cross-conversation context",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -57,6 +57,13 @@
|
|
|
57
57
|
"cwd": "packages/client",
|
|
58
58
|
"command": "eslint src *.ts --cache --max-warnings=0"
|
|
59
59
|
}
|
|
60
|
+
},
|
|
61
|
+
"arch:check": {
|
|
62
|
+
"executor": "nx:run-commands",
|
|
63
|
+
"options": {
|
|
64
|
+
"cwd": "packages/client",
|
|
65
|
+
"command": "safer-architecture-lsp check ."
|
|
66
|
+
}
|
|
60
67
|
}
|
|
61
68
|
}
|
|
62
69
|
},
|
|
@@ -69,7 +76,7 @@
|
|
|
69
76
|
"@effect/rpc": "0.76.0",
|
|
70
77
|
"@effect/typeclass": "0.41.0",
|
|
71
78
|
"effect": "3.22.0",
|
|
72
|
-
"@moltzap/protocol": "2026.
|
|
79
|
+
"@moltzap/protocol": "2026.724.0"
|
|
73
80
|
},
|
|
74
81
|
"devDependencies": {
|
|
75
82
|
"@effect/vitest": "^0.30.0",
|
|
@@ -79,7 +86,7 @@
|
|
|
79
86
|
"tsx": "^4.19.0",
|
|
80
87
|
"typescript": "^5.7.0",
|
|
81
88
|
"vitest": "^3.2.0",
|
|
82
|
-
"@moltzap/server-core": "2026.
|
|
89
|
+
"@moltzap/server-core": "2026.724.0"
|
|
83
90
|
},
|
|
84
91
|
"scripts": {
|
|
85
92
|
"build": "nx run @moltzap/client:build",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const DispatchAdmissionTimedOut_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
2
|
-
readonly _tag: "DispatchAdmissionTimedOut";
|
|
3
|
-
} & Readonly<A>;
|
|
4
|
-
export declare class DispatchAdmissionTimedOut extends DispatchAdmissionTimedOut_base<{
|
|
5
|
-
readonly timeoutMs: number;
|
|
6
|
-
}> {
|
|
7
|
-
get message(): string;
|
|
8
|
-
}
|
|
9
|
-
declare const DispatchLeaseExpired_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
10
|
-
readonly _tag: "DispatchLeaseExpired";
|
|
11
|
-
} & Readonly<A>;
|
|
12
|
-
export declare class DispatchLeaseExpired extends DispatchLeaseExpired_base<{
|
|
13
|
-
readonly messageId: string;
|
|
14
|
-
readonly conversationId: string;
|
|
15
|
-
readonly timeoutMs: number;
|
|
16
|
-
}> {
|
|
17
|
-
get message(): string;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
20
|
-
//# sourceMappingURL=channel-core-errors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"channel-core-errors.d.ts","sourceRoot":"","sources":["../src/channel-core-errors.ts"],"names":[],"mappings":";;;AAEA,qBAAa,yBAA0B,SAAQ,+BAE7C;IACA,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B,CAAC;IACA,IAAa,OAAO,IAAI,MAAM,CAE7B;CACF;;;;AAED,qBAAa,oBAAqB,SAAQ,0BAExC;IACA,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B,CAAC;IACA,IAAa,OAAO,IAAI,MAAM,CAE7B;CACF"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Data } from "effect";
|
|
2
|
-
export class DispatchAdmissionTimedOut extends Data.TaggedError("DispatchAdmissionTimedOut") {
|
|
3
|
-
get message() {
|
|
4
|
-
return `dispatch request timed out after ${this.timeoutMs}ms`;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
export class DispatchLeaseExpired extends Data.TaggedError("DispatchLeaseExpired") {
|
|
8
|
-
get message() {
|
|
9
|
-
return `dispatch lease expired after ${this.timeoutMs}ms`;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=channel-core-errors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"channel-core-errors.js","sourceRoot":"","sources":["../src/channel-core-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,OAAO,yBAA0B,SAAQ,IAAI,CAAC,WAAW,CAC7D,2BAA2B,CAG3B;IACA,IAAa,OAAO;QAClB,OAAO,oCAAoC,IAAI,CAAC,SAAS,IAAI,CAAC;IAChE,CAAC;CACF;AAED,MAAM,OAAO,oBAAqB,SAAQ,IAAI,CAAC,WAAW,CACxD,sBAAsB,CAKtB;IACA,IAAa,OAAO;QAClB,OAAO,gCAAgC,IAAI,CAAC,SAAS,IAAI,CAAC;IAC5D,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"process-argv.d.ts","sourceRoot":"","sources":["../../src/cli/process-argv.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAAO,aAAa,CAAC,MAAM,CAAiB,CAAC"}
|
package/dist/cli/process-argv.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"process-argv.js","sourceRoot":"","sources":["../../src/cli/process-argv.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,GAA0B,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC"}
|
package/dist/cli/runtime.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Effect runtime, logger, and process boundary for the `moltzap` CLI.
|
|
3
|
-
*
|
|
4
|
-
* The CLI is Effect-native end to end — commands build Effects, and the
|
|
5
|
-
* process entry runs a single `NodeRuntime.runMain` at `index.ts`. No
|
|
6
|
-
* per-command `Effect.runPromise`.
|
|
7
|
-
*
|
|
8
|
-
* Logging uses Effect's built-in logger. CLI command output owns stdout, so
|
|
9
|
-
* logs go to stderr.
|
|
10
|
-
*/
|
|
11
|
-
import { LogLevel } from "effect";
|
|
12
|
-
/**
|
|
13
|
-
* Replaces Effect's default console logger at the root of the program.
|
|
14
|
-
* `cli/index.ts` applies `minLogLevel`.
|
|
15
|
-
*/
|
|
16
|
-
export declare const LoggerLive: import("effect/Layer").Layer<never, never, never>;
|
|
17
|
-
/**
|
|
18
|
-
* Minimum Effect log level, mapped from MOLTZAP_LOG_LEVEL.
|
|
19
|
-
* Used when composing layers at the CLI entrypoint.
|
|
20
|
-
*/
|
|
21
|
-
export declare const minLogLevel: LogLevel.LogLevel;
|
|
22
|
-
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/cli/runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAA0C,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAU1E;;;GAGG;AACH,eAAO,MAAM,UAAU,mDAGtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,QAmB/B,CAAC"}
|
package/dist/cli/runtime.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Effect runtime, logger, and process boundary for the `moltzap` CLI.
|
|
3
|
-
*
|
|
4
|
-
* The CLI is Effect-native end to end — commands build Effects, and the
|
|
5
|
-
* process entry runs a single `NodeRuntime.runMain` at `index.ts`. No
|
|
6
|
-
* per-command `Effect.runPromise`.
|
|
7
|
-
*
|
|
8
|
-
* Logging uses Effect's built-in logger. CLI command output owns stdout, so
|
|
9
|
-
* logs go to stderr.
|
|
10
|
-
*/
|
|
11
|
-
import { Config, ConfigProvider, Effect, Logger, LogLevel } from "effect";
|
|
12
|
-
const CliRuntimeEnv = Config.all({
|
|
13
|
-
logLevel: Config.string("MOLTZAP_LOG_LEVEL").pipe(Config.withDefault("info")),
|
|
14
|
-
});
|
|
15
|
-
const runtimeEnv = Effect.runSync(CliRuntimeEnv.pipe(Effect.withConfigProvider(ConfigProvider.fromEnv())));
|
|
16
|
-
/**
|
|
17
|
-
* Replaces Effect's default console logger at the root of the program.
|
|
18
|
-
* `cli/index.ts` applies `minLogLevel`.
|
|
19
|
-
*/
|
|
20
|
-
export const LoggerLive = Logger.replace(Logger.defaultLogger, Logger.withConsoleError(Logger.stringLogger));
|
|
21
|
-
/**
|
|
22
|
-
* Minimum Effect log level, mapped from MOLTZAP_LOG_LEVEL.
|
|
23
|
-
* Used when composing layers at the CLI entrypoint.
|
|
24
|
-
*/
|
|
25
|
-
export const minLogLevel = (() => {
|
|
26
|
-
const env = runtimeEnv.logLevel.toLowerCase();
|
|
27
|
-
switch (env) {
|
|
28
|
-
case "trace":
|
|
29
|
-
return LogLevel.Trace;
|
|
30
|
-
case "debug":
|
|
31
|
-
return LogLevel.Debug;
|
|
32
|
-
case "info":
|
|
33
|
-
return LogLevel.Info;
|
|
34
|
-
case "warn":
|
|
35
|
-
case "warning":
|
|
36
|
-
return LogLevel.Warning;
|
|
37
|
-
case "error":
|
|
38
|
-
return LogLevel.Error;
|
|
39
|
-
case "fatal":
|
|
40
|
-
return LogLevel.Fatal;
|
|
41
|
-
default:
|
|
42
|
-
return LogLevel.Info;
|
|
43
|
-
}
|
|
44
|
-
})();
|
|
45
|
-
//# sourceMappingURL=runtime.js.map
|
package/dist/cli/runtime.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/cli/runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE1E,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9E,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAC/B,aAAa,CAAC,IAAI,CAAC,MAA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