@rivus/gateway 0.22.2 → 0.23.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/bootstrap/feishu.d.ts +42 -3
- package/dist/bootstrap/feishu.js +12378 -12609
- package/dist/bootstrap/herdr-feishu.d.ts +8 -1
- package/dist/bootstrap/herdr-feishu.js +1 -1
- package/dist/chunks/dist.js +9052 -0
- package/dist/chunks/errors.js +13 -0
- package/dist/chunks/feishu-receive-message.js +1 -1
- package/dist/chunks/herdr-feishu-runtime.js +524 -415
- package/dist/chunks/public.d.ts +93 -63
- package/dist/chunks/public2.d.ts +0 -7
- package/dist/chunks/rivus-audio-process.js +5290 -0
- package/dist/chunks/rivus-deployment-cli-process.d.ts +136 -353
- package/dist/chunks/rivus-node-entrypoint.js +1244 -1624
- package/dist/chunks/superagent-worker-wire.js +226 -0
- package/dist/index.d.ts +12 -25
- package/dist/index.js +2 -1
- package/dist/mcp.js +109 -24
- package/dist/superagent.d.ts +194 -0
- package/dist/superagent.js +2 -0
- package/package.json +17 -5
- package/dist/chunks/automation-presentation.js +0 -263
- package/dist/chunks/rivus-home-deployment-env.js +0 -1916
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/automation/domain/automation-occurrence/errors.ts
|
|
2
|
+
var RivusAutomationFailure = class extends Error {
|
|
3
|
+
name = "RivusAutomationFailure";
|
|
4
|
+
code;
|
|
5
|
+
constructor(code, message = code, options) {
|
|
6
|
+
if (typeof code !== "string" || !/^[A-Z][A-Z0-9_]{0,63}$/.test(code)) throw new TypeError("Automation failure code must match ^[A-Z][A-Z0-9_]{0,63}$");
|
|
7
|
+
super(message, options);
|
|
8
|
+
this.code = code;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { RivusAutomationFailure as t };
|
|
13
|
+
|
|
@@ -13,7 +13,7 @@ function formatSchemaIssuePath(issue) {
|
|
|
13
13
|
}).join("");
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
16
|
-
//#region src/feishu/
|
|
16
|
+
//#region src/feishu/lib/message/feishu-receive-message.ts
|
|
17
17
|
/** Match the durable codec's non-blank check without changing the stored identifier text. */
|
|
18
18
|
const filledText = Schema.String.check(Schema.makeFilter((value) => value.trim().length > 0));
|
|
19
19
|
const storedMessageFields = {
|