Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bunx lint-staged
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"singleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "always"
"arrowParens": "always",
"plugins": ["prettier-plugin-organize-imports"]
}
39 changes: 39 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 14 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"clean": "rm -rf node_modules packages/*/node_modules packages/*/*tsbuildinfo packages/*/dist packages/*/src/**/*\\.d\\.ts packages/*/src/**/*\\.map integrations/*/node_modules integrations/*/dist integrations/*/src/**/*\\.d\\.ts integrations/*/src/**/*\\.map examples/*/node_modules examples/*/dist examples/*/src/**/*\\.d\\.ts examples/*/src/**/*\\.map .turbo */*/.turbo",
"dev": "turbo run dev --concurrency=15",
"docs": "typedoc",
"format": "eslint --fix && prettier \"{packages,integrations,examples}/*/src/**/*.{js,ts,tsx,json}\" --check --write",
"format": "eslint --fix && prettier \"{packages,providers,examples}/*/src/**/*.{js,ts,tsx,json}\" --check --write",
"build:release": "turbo run build-js build-types --concurrency=15",
"test": "bun scripts/test.ts",
"test:bun:unit": "bun scripts/test.ts bun unit",
Expand All @@ -46,7 +46,8 @@
"bunset": "git login && bunset --patch --all --push --commit --tag --sections=all --release",
"publish-all": "bun ./scripts/bunsrc-workspace.ts dist && bun run format && bun run rebuild && bun run test && bun run bunset && bun run publish-login && bun run publish-workspaces",
"publish-login": "npm login",
"publish-workspaces": "bun ./scripts/publish-workspaces.ts"
"publish-workspaces": "bun ./scripts/publish-workspaces.ts",
"prepare": "husky"
},
"dependencies": {
"caniuse-lite": "^1.0.30001792"
Expand Down Expand Up @@ -91,9 +92,12 @@
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-regexp": "^3.1.0",
"globals": "^17.6.0",
"husky": "^9.1.7",
"lint-staged": "^17.0.4",
"nyc": "^18.0.0",
"pkg-pr-new": "^0.0.71",
"prettier": "^3.8.3",
"prettier-plugin-organize-imports": "^4.3.0",
"turbo": "^2.9.12",
"typescript": "6.0.3",
"vitest": "^4.1.5"
Expand All @@ -108,5 +112,12 @@
"onnxruntime-node",
"protobufjs",
"sharp"
]
],
"lint-staged": {
"{packages,providers,examples}/*/src/**/*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"{packages,providers,examples}/*/src/**/*.json": "prettier --write"
}
}
2 changes: 2 additions & 0 deletions packages/ai/src/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/ai/src/bun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/ai/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./execution/IAiExecutionStrategy";
export * from "./execution/DirectExecutionStrategy";
export * from "./execution/QueuedExecutionStrategy";
Expand Down
2 changes: 2 additions & 0 deletions packages/ai/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/ai/src/provider-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* helpers, and OpenAI-shape chat tooling without depending on internal
* relative paths.
*/
// organize-imports-ignore

export * from "./provider-utils/registerProvider";
export * from "./provider-utils/modelSearchQuery";
export * from "./provider-utils/ToolCallParsers";
Expand Down
2 changes: 2 additions & 0 deletions packages/ai/src/task/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

import { TaskRegistry } from "@workglow/task-graph";
import { AiChatTask } from "./AiChatTask";
import { AiChatWithKbTask } from "./AiChatWithKbTask";
Expand Down
2 changes: 2 additions & 0 deletions packages/ai/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* that run inside Web Workers / worker threads.
*/

// organize-imports-ignore

export * from "./provider/AiProvider";
export * from "./provider/AiProviderRegistry";

Expand Down
2 changes: 2 additions & 0 deletions packages/browser-control/src/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./task/index";
export * from "./task/BrowserTaskDeps";
2 changes: 2 additions & 0 deletions packages/browser-control/src/task/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./BrowserSessionRegistry";
export * from "./CDPBrowserBackend";
export * from "./IBrowserContext";
Expand Down
2 changes: 2 additions & 0 deletions packages/browser-control/src/task/tasks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./BrowserSessionTask";
export * from "./BrowserCloseTask";
export * from "./BrowserNavigateTask";
Expand Down
2 changes: 2 additions & 0 deletions packages/indexeddb/src/job-queue/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/indexeddb/src/job-queue/bun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/indexeddb/src/job-queue/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./IndexedDbQueueStorage";
export * from "./IndexedDbRateLimiterStorage";

Expand Down
2 changes: 2 additions & 0 deletions packages/indexeddb/src/job-queue/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/indexeddb/src/storage/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/indexeddb/src/storage/bun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/indexeddb/src/storage/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./openIdb";
export * from "./IndexedDbTable";
export * from "./IndexedDbKvStorage";
Expand Down
2 changes: 2 additions & 0 deletions packages/indexeddb/src/storage/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/javascript/src/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./task/JavaScriptTask";
2 changes: 2 additions & 0 deletions packages/job-queue/src/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/job-queue/src/bun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common-server";
2 changes: 2 additions & 0 deletions packages/job-queue/src/common-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/job-queue/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./job/Job";
export * from "./job/JobError";
export * from "./job/JobErrorDiagnostics";
Expand Down
2 changes: 2 additions & 0 deletions packages/job-queue/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common-server";
2 changes: 2 additions & 0 deletions packages/knowledge-base/src/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/knowledge-base/src/bun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common-server";
2 changes: 2 additions & 0 deletions packages/knowledge-base/src/common-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
* SPDX-License-Identifier: Apache-2.0
*/
// organize-imports-ignore

export * from "./common";
2 changes: 2 additions & 0 deletions packages/knowledge-base/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./chunk/ChunkSchema";
export * from "./chunk/ChunkVectorStorageSchema";
export * from "./knowledge-base/KnowledgeBase";
Expand Down
2 changes: 2 additions & 0 deletions packages/knowledge-base/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

// organize-imports-ignore

export * from "./common-server";
Loading
Loading