mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:40:44 +00:00
fix(voicewake): drop stale sdk collateral
This commit is contained in:
committed by
Peter Steinberger
parent
cbcc1227d3
commit
ef7ad8229a
@@ -7,9 +7,9 @@ import {
|
||||
import { Type } from "typebox";
|
||||
import { runFirecrawlScrape } from "./firecrawl-client.js";
|
||||
|
||||
function optionalStringEnum<T extends readonly string[]>(
|
||||
function optionalStringEnum<const T extends readonly string[]>(
|
||||
values: T,
|
||||
options: { description?: string; title?: string; default?: T[number] } = {},
|
||||
options: { description?: string } = {},
|
||||
) {
|
||||
return Type.Optional(
|
||||
Type.Unsafe<T[number]>({
|
||||
|
||||
@@ -69,7 +69,7 @@ export type {
|
||||
} from "./src/types.js";
|
||||
export * from "./src/webhook-node.js";
|
||||
export * from "./src/webhook.js";
|
||||
export { parseLineWebhookBody } from "./src/webhook-utils.js";
|
||||
export * from "./src/webhook-utils.js";
|
||||
export { datetimePickerAction, messageAction, postbackAction, uriAction } from "./src/actions.js";
|
||||
export type { Action } from "./src/actions.js";
|
||||
export {
|
||||
|
||||
@@ -878,14 +878,14 @@
|
||||
"types": "./dist/plugin-sdk/line.d.ts",
|
||||
"default": "./dist/plugin-sdk/line.js"
|
||||
},
|
||||
"./plugin-sdk/line-runtime": {
|
||||
"types": "./dist/plugin-sdk/line-runtime.d.ts",
|
||||
"default": "./dist/plugin-sdk/line-runtime.js"
|
||||
},
|
||||
"./plugin-sdk/line-core": {
|
||||
"types": "./dist/plugin-sdk/line-core.d.ts",
|
||||
"default": "./dist/plugin-sdk/line-core.js"
|
||||
},
|
||||
"./plugin-sdk/line-runtime": {
|
||||
"types": "./dist/plugin-sdk/line-runtime.d.ts",
|
||||
"default": "./dist/plugin-sdk/line-runtime.js"
|
||||
},
|
||||
"./plugin-sdk/line-surface": {
|
||||
"types": "./dist/plugin-sdk/line-surface.d.ts",
|
||||
"default": "./dist/plugin-sdk/line-surface.js"
|
||||
|
||||
@@ -205,8 +205,8 @@
|
||||
"persistent-dedupe",
|
||||
"keyed-async-queue",
|
||||
"line",
|
||||
"line-runtime",
|
||||
"line-core",
|
||||
"line-runtime",
|
||||
"line-surface",
|
||||
"llm-task",
|
||||
"matrix",
|
||||
|
||||
@@ -160,7 +160,7 @@ describe("sanitizeSessionHistory", () => {
|
||||
};
|
||||
|
||||
const getAssistantContentTypes = (messages: AgentMessage[]) =>
|
||||
getAssistantMessage(messages).content.map((block) => block.type);
|
||||
getAssistantMessage(messages).content.map((block: { type: string }) => block.type);
|
||||
|
||||
const makeThinkingAndTextAssistantMessages = (
|
||||
thinkingSignature: string = "some_sig",
|
||||
|
||||
Reference in New Issue
Block a user