mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-15 01:20:49 +08:00
重构主控编排与运行时预热链路,统一工作区提示词/专家调度协议并补齐 wiki 记忆注入与写回闭环。
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。 Made-with: Cursor
This commit is contained in:
parent
4a23b715a2
commit
dbbe3add6a
14438 changed files with 2693620 additions and 2546 deletions
13
openclaw/test/fixtures/ts-topology/basic/extensions/alpha/src/use.ts
vendored
Normal file
13
openclaw/test/fixtures/ts-topology/basic/extensions/alpha/src/use.ts
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { aliasedThing as renamedThing, sharedThing, singleOwnerHelper } from "fixture-sdk";
|
||||
import type { SharedType } from "fixture-sdk";
|
||||
import * as extra from "fixture-sdk/extra";
|
||||
|
||||
export function alphaUse(input: SharedType) {
|
||||
return [
|
||||
sharedThing(),
|
||||
singleOwnerHelper(),
|
||||
renamedThing(),
|
||||
extra.sharedThing(),
|
||||
input.value,
|
||||
].join(":");
|
||||
}
|
||||
6
openclaw/test/fixtures/ts-topology/basic/extensions/beta/src/use.ts
vendored
Normal file
6
openclaw/test/fixtures/ts-topology/basic/extensions/beta/src/use.ts
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { sharedThing } from "fixture-sdk";
|
||||
import type { SharedType } from "fixture-sdk";
|
||||
|
||||
export function betaUse(input: SharedType) {
|
||||
return `${sharedThing()}:${input.value}`;
|
||||
}
|
||||
5
openclaw/test/fixtures/ts-topology/basic/src/internal/use.ts
vendored
Normal file
5
openclaw/test/fixtures/ts-topology/basic/src/internal/use.ts
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { sharedThing } from "fixture-sdk";
|
||||
|
||||
export function internalUse() {
|
||||
return sharedThing();
|
||||
}
|
||||
23
openclaw/test/fixtures/ts-topology/basic/src/lib/shared.ts
vendored
Normal file
23
openclaw/test/fixtures/ts-topology/basic/src/lib/shared.ts
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
export function sharedThing() {
|
||||
return "shared";
|
||||
}
|
||||
|
||||
export function singleOwnerHelper() {
|
||||
return "single-owner";
|
||||
}
|
||||
|
||||
export function aliasedThing() {
|
||||
return "aliased";
|
||||
}
|
||||
|
||||
export function testOnlyThing() {
|
||||
return "test-only";
|
||||
}
|
||||
|
||||
export function unusedThing() {
|
||||
return "unused";
|
||||
}
|
||||
|
||||
export type SharedType = {
|
||||
value: string;
|
||||
};
|
||||
1
openclaw/test/fixtures/ts-topology/basic/src/public/extra.ts
vendored
Normal file
1
openclaw/test/fixtures/ts-topology/basic/src/public/extra.ts
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export { sharedThing } from "../lib/shared.js";
|
||||
9
openclaw/test/fixtures/ts-topology/basic/src/public/index.ts
vendored
Normal file
9
openclaw/test/fixtures/ts-topology/basic/src/public/index.ts
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
export {
|
||||
aliasedThing,
|
||||
sharedThing,
|
||||
singleOwnerHelper,
|
||||
testOnlyThing,
|
||||
unusedThing,
|
||||
} from "../lib/shared.js";
|
||||
export { sharedThing as aliasedSharedThing } from "../lib/shared.js";
|
||||
export type { SharedType } from "../lib/shared.js";
|
||||
5
openclaw/test/fixtures/ts-topology/basic/tests/public.test.ts
vendored
Normal file
5
openclaw/test/fixtures/ts-topology/basic/tests/public.test.ts
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { testOnlyThing } from "fixture-sdk";
|
||||
|
||||
export function testUse() {
|
||||
return testOnlyThing();
|
||||
}
|
||||
14
openclaw/test/fixtures/ts-topology/basic/tsconfig.json
vendored
Normal file
14
openclaw/test/fixtures/ts-topology/basic/tsconfig.json
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"paths": {
|
||||
"fixture-sdk": ["./src/public/index.ts"],
|
||||
"fixture-sdk/*": ["./src/public/*"]
|
||||
},
|
||||
"strict": true,
|
||||
"skipLibCheck": true
|
||||
},
|
||||
"include": ["src/**/*.ts", "extensions/**/*.ts", "packages/**/*.ts", "tests/**/*.ts"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue