├── .nvmrc
├── frontend
├── .nvmrc
├── config
│ ├── ts-config
│ │ ├── global.d.ts
│ │ ├── eslint.config.js
│ │ ├── config
│ │ │ ├── rush-project.json
│ │ │ └── rushx-config.json
│ │ ├── tsconfig.build.json
│ │ ├── tsconfig.web.json
│ │ └── tsconfig.node.json
│ ├── vitest-config
│ │ ├── src
│ │ │ ├── tsc-only.ts
│ │ │ ├── index.js
│ │ │ └── preset-node.ts
│ │ ├── config
│ │ │ └── rush-project.json
│ │ └── eslint.config.js
│ ├── stylelint-config
│ │ ├── src
│ │ │ └── index.js
│ │ ├── config
│ │ │ └── rush-project.json
│ │ ├── eslint.config.js
│ │ ├── examples
│ │ │ ├── no-important.less
│ │ │ └── first-level-global.less
│ │ └── tsconfig.json
│ ├── eslint-config
│ │ ├── config
│ │ │ └── rush-project.json
│ │ ├── compat.js
│ │ └── tsconfig.json
│ ├── postcss-config
│ │ ├── config
│ │ │ └── rush-project.json
│ │ ├── eslint.config.js
│ │ ├── src
│ │ │ └── index.js
│ │ └── tsconfig.json
│ └── tailwind-config
│ │ ├── config
│ │ └── rush-project.json
│ │ ├── eslint.config.js
│ │ └── tsconfig.json
├── packages
│ ├── arch
│ │ ├── logger
│ │ │ ├── .gitignore
│ │ │ ├── src
│ │ │ │ ├── global.d.ts
│ │ │ │ └── logger
│ │ │ │ │ └── index.ts
│ │ │ ├── eslint.config.js
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ ├── vitest.config.ts
│ │ │ └── tsconfig.json
│ │ ├── bot-env
│ │ │ ├── __tests__
│ │ │ │ └── .gitkeep
│ │ │ ├── src
│ │ │ │ ├── index.ts
│ │ │ │ ├── typings.d.ts
│ │ │ │ └── runtime
│ │ │ │ │ └── index.ts
│ │ │ ├── scripts
│ │ │ │ ├── build.ts
│ │ │ │ └── index.ts
│ │ │ ├── vitest.config.mts
│ │ │ ├── eslint.config.js
│ │ │ └── tsconfig.json
│ │ ├── bot-env-adapter
│ │ │ ├── __tests__
│ │ │ │ └── .gitkeep
│ │ │ ├── scripts
│ │ │ │ └── index.ts
│ │ │ ├── src
│ │ │ │ └── runtime
│ │ │ │ │ └── index.ts
│ │ │ ├── vitest.config.mts
│ │ │ ├── eslint.config.js
│ │ │ └── tsconfig.json
│ │ ├── bot-md-box-adapter
│ │ │ ├── __tests__
│ │ │ │ └── .gitkeep
│ │ │ ├── src
│ │ │ │ ├── typings.d.ts
│ │ │ │ ├── slots
│ │ │ │ │ └── index.ts
│ │ │ │ ├── style.ts
│ │ │ │ ├── light
│ │ │ │ │ └── index.ts
│ │ │ │ └── lazy
│ │ │ │ │ └── index.ts
│ │ │ ├── .stylelintrc.js
│ │ │ ├── vitest.config.ts
│ │ │ ├── eslint.config.js
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ ├── README.md
│ │ │ └── tsconfig.json
│ │ ├── bot-flags
│ │ │ ├── src
│ │ │ │ ├── global.d.ts
│ │ │ │ ├── constant.ts
│ │ │ │ ├── get-flags.ts
│ │ │ │ ├── utils
│ │ │ │ │ ├── wait.ts
│ │ │ │ │ └── repoter.ts
│ │ │ │ └── index.ts
│ │ │ ├── eslint.config.js
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ └── tsconfig.json
│ │ ├── bot-typings
│ │ │ ├── src
│ │ │ │ └── navigator.d.ts
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ ├── eslint.config.js
│ │ │ └── tsconfig.json
│ │ ├── fetch-stream
│ │ │ ├── config
│ │ │ │ ├── rushx-config.json
│ │ │ │ └── rush-project.json
│ │ │ ├── vitest.config.ts
│ │ │ ├── eslint.config.js
│ │ │ └── tsconfig.json
│ │ └── subspace-resolve-plugin
│ │ │ ├── __tests__
│ │ │ └── fixtures
│ │ │ │ └── test-webpack-entry.js
│ │ │ ├── vitest.config.ts
│ │ │ ├── eslint.config.js
│ │ │ └── tsconfig.json
│ └── cozeloop
│ │ ├── api-schema
│ │ ├── __tests__
│ │ │ └── .gitkeep
│ │ ├── .gitignore
│ │ ├── src
│ │ │ └── api
│ │ │ │ ├── idl
│ │ │ │ ├── _schemas.d.ts
│ │ │ │ ├── prompt
│ │ │ │ │ └── domain
│ │ │ │ │ │ └── user.ts
│ │ │ │ ├── llm
│ │ │ │ │ └── domain
│ │ │ │ │ │ └── common.ts
│ │ │ │ └── foundation
│ │ │ │ │ └── domain
│ │ │ │ │ └── authn.ts
│ │ │ │ ├── llm-manage
│ │ │ │ └── index.ts
│ │ │ │ ├── prompt
│ │ │ │ └── index.ts
│ │ │ │ └── data
│ │ │ │ └── index.ts
│ │ ├── vitest.config.ts
│ │ ├── config
│ │ │ └── rush-project.json
│ │ └── tsconfig.json
│ │ ├── evaluate
│ │ ├── __tests__
│ │ │ └── .gitkeep
│ │ ├── src
│ │ │ ├── utils
│ │ │ │ └── experiment
│ │ │ │ │ └── constant.ts
│ │ │ ├── pages
│ │ │ │ ├── experiment
│ │ │ │ │ ├── contrast
│ │ │ │ │ │ ├── service.ts
│ │ │ │ │ │ ├── utils.ts
│ │ │ │ │ │ └── components
│ │ │ │ │ │ │ ├── contrast-header
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ ├── experiment-result
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ └── add-contrast-experiment
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ ├── detail
│ │ │ │ │ │ └── components
│ │ │ │ │ │ │ └── experiment-chart
│ │ │ │ │ │ │ └── aggregate-chart
│ │ │ │ │ │ │ └── index.ts
│ │ │ │ │ └── create
│ │ │ │ │ │ └── components
│ │ │ │ │ │ └── validators
│ │ │ │ │ │ └── const.ts
│ │ │ │ └── evaluator
│ │ │ │ │ ├── evaluator-list
│ │ │ │ │ └── index.tsx
│ │ │ │ │ └── evaluator-create
│ │ │ │ │ └── index.tsx
│ │ │ ├── typings.d.ts
│ │ │ ├── components
│ │ │ │ ├── table-for-experiment
│ │ │ │ │ └── index.tsx
│ │ │ │ └── mapping-item-field
│ │ │ │ │ └── index.module.less
│ │ │ └── types
│ │ │ │ └── experiment
│ │ │ │ └── index.ts
│ │ ├── .stylelintrc.js
│ │ ├── eslint.config.js
│ │ ├── vitest.config.ts
│ │ ├── README.md
│ │ └── tsconfig.json
│ │ ├── tag-pages
│ │ ├── __tests__
│ │ │ └── .gitkeep
│ │ ├── src
│ │ │ └── index.ts
│ │ ├── .stylelintrc.js
│ │ ├── eslint.config.js
│ │ ├── vitest.config.ts
│ │ └── tsconfig.json
│ │ ├── evaluate-adapter
│ │ ├── __tests__
│ │ │ └── .gitkeep
│ │ ├── .stylelintrc.js
│ │ ├── vitest.config.ts
│ │ ├── eslint.config.js
│ │ ├── config
│ │ │ └── rush-project.json
│ │ └── tsconfig.json
│ │ ├── evaluate-pages
│ │ ├── __tests__
│ │ │ └── .gitkeep
│ │ ├── src
│ │ │ └── index.ts
│ │ ├── .stylelintrc.js
│ │ ├── eslint.config.js
│ │ ├── vitest.config.ts
│ │ ├── README.md
│ │ └── tsconfig.json
│ │ ├── observation-pages
│ │ ├── __tests__
│ │ │ └── .gitkeep
│ │ ├── src
│ │ │ └── index.ts
│ │ ├── .stylelintrc.js
│ │ ├── eslint.config.js
│ │ ├── vitest.config.ts
│ │ ├── README.md
│ │ └── tsconfig.json
│ │ ├── tag-components
│ │ ├── __tests__
│ │ │ └── .gitkeep
│ │ ├── src
│ │ │ ├── hooks
│ │ │ │ └── use-fetch-trace-annotation.ts
│ │ │ └── components
│ │ │ │ └── annotation-panel
│ │ │ │ └── annotation-panel-context.ts
│ │ │ │ └── tmp.KHVdJFNu7S
│ │ ├── tailwind.config.ts
│ │ ├── .stylelintrc.js
│ │ ├── eslint.config.js
│ │ ├── vitest.config.ts
│ │ └── tsconfig.json
│ │ ├── evaluate-components
│ │ ├── __tests__
│ │ │ └── .gitkeep
│ │ ├── .stylelintrc.js
│ │ ├── src
│ │ │ ├── typings.d.ts
│ │ │ ├── components
│ │ │ │ ├── dataset-item
│ │ │ │ │ ├── multipart
│ │ │ │ │ │ └── components
│ │ │ │ │ │ │ └── text-item-readonly-render.tsx
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── evaluation-set
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── dataset-detail
│ │ │ │ │ └── dataset-column-edit
│ │ │ │ │ │ └── index.module.less
│ │ │ │ ├── experiments
│ │ │ │ │ └── draggable-grid
│ │ │ │ │ │ └── index.tsx
│ │ │ │ └── logic-editor
│ │ │ │ │ └── index.tsx
│ │ │ ├── constants
│ │ │ │ └── experiment.ts
│ │ │ ├── pages
│ │ │ │ └── dataset-list-page
│ │ │ │ │ └── index.tsx
│ │ │ ├── types
│ │ │ │ └── index.ts
│ │ │ ├── utils
│ │ │ │ └── column-manage
│ │ │ │ │ ├── dataset-column-storage.ts
│ │ │ │ │ └── dataset-list-column-storage.ts
│ │ │ └── stores
│ │ │ │ └── eval-target-store
│ │ │ │ └── index.ts
│ │ ├── config
│ │ │ ├── rushx-config.json
│ │ │ └── rush-project.json
│ │ ├── tailwind.config.js
│ │ ├── eslint.config.js
│ │ ├── vitest.config.ts
│ │ ├── README.md
│ │ └── tsconfig.json
│ │ ├── observation
│ │ ├── trace-list
│ │ │ ├── __tests__
│ │ │ │ └── .gitkeep
│ │ │ ├── src
│ │ │ │ ├── utils
│ │ │ │ │ └── filter.ts
│ │ │ │ ├── typings.d.ts
│ │ │ │ └── stores
│ │ │ │ │ └── trace.ts
│ │ │ ├── .stylelintrc.js
│ │ │ ├── eslint.config.js
│ │ │ ├── vitest.config.ts
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ ├── README.md
│ │ │ └── tsconfig.json
│ │ ├── trace-struct-data
│ │ │ ├── __tests__
│ │ │ │ └── .gitkeep
│ │ │ ├── src
│ │ │ │ ├── components
│ │ │ │ │ ├── span-field-content.tsx
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── typings.d.ts
│ │ │ │ ├── utils
│ │ │ │ │ └── letter.ts
│ │ │ │ ├── consts
│ │ │ │ │ └── index.ts
│ │ │ │ └── types
│ │ │ │ │ └── utils.ts
│ │ │ ├── tailwind.config.ts
│ │ │ ├── .stylelintrc.js
│ │ │ ├── eslint.config.js
│ │ │ ├── vitest.config.ts
│ │ │ └── config
│ │ │ │ └── rush-project.json
│ │ ├── trace-detail
│ │ │ ├── tailwind.config.ts
│ │ │ ├── .stylelintrc.js
│ │ │ ├── config
│ │ │ │ ├── rushx-config.json
│ │ │ │ └── rush-project.json
│ │ │ ├── src
│ │ │ │ └── trace-detail
│ │ │ │ │ ├── consts
│ │ │ │ │ ├── tab.ts
│ │ │ │ │ └── code.ts
│ │ │ │ │ ├── biz
│ │ │ │ │ └── trace-detail-pane
│ │ │ │ │ │ └── config.ts
│ │ │ │ │ └── components
│ │ │ │ │ ├── header
│ │ │ │ │ └── index.tsx
│ │ │ │ │ ├── common
│ │ │ │ │ ├── split-pane
│ │ │ │ │ │ └── index.module.less
│ │ │ │ │ └── field-list
│ │ │ │ │ │ └── index.module.less
│ │ │ │ │ ├── feedback
│ │ │ │ │ └── index.ts
│ │ │ │ │ ├── graphs
│ │ │ │ │ └── trace-tree
│ │ │ │ │ │ └── index.module.less
│ │ │ │ │ └── span-detail-list
│ │ │ │ │ └── index.module.less
│ │ │ ├── vitest.config.mts
│ │ │ └── eslint.config.js
│ │ └── trace-detail-open
│ │ │ ├── src
│ │ │ └── typings.d.ts
│ │ │ ├── .stylelintrc.js
│ │ │ ├── vitest.config.ts
│ │ │ ├── config
│ │ │ └── rush-project.json
│ │ │ └── eslint.config.js
│ │ ├── intl
│ │ ├── README.md
│ │ ├── eslint.config.js
│ │ ├── src
│ │ │ └── index.ts
│ │ ├── vitest.config.ts
│ │ ├── config
│ │ │ └── rush-project.json
│ │ └── tsconfig.json
│ │ ├── route
│ │ ├── OWNERS
│ │ ├── config
│ │ │ ├── rushx-config.json
│ │ │ └── rush-project.json
│ │ ├── vitest.config.mts
│ │ ├── eslint.config.js
│ │ └── tsconfig.json
│ │ ├── components
│ │ ├── src
│ │ │ ├── tag-management
│ │ │ │ ├── index.tsx
│ │ │ │ └── index.module.less
│ │ │ ├── primary-page
│ │ │ │ └── index.tsx
│ │ │ ├── logic-expr
│ │ │ │ └── consts.ts
│ │ │ ├── multi-part-editor
│ │ │ │ └── index.module.less
│ │ │ ├── table-header
│ │ │ │ └── index.module.less
│ │ │ ├── base-search-select
│ │ │ │ └── index.tsx
│ │ │ └── table-col-actions
│ │ │ │ └── index.module.less
│ │ ├── config
│ │ │ └── rush-project.json
│ │ ├── vitest.config.mts
│ │ └── eslint.config.js
│ │ ├── prompt-pages
│ │ ├── src
│ │ │ ├── index.ts
│ │ │ ├── components
│ │ │ │ └── variables-card
│ │ │ │ │ └── index.module.less
│ │ │ └── list
│ │ │ │ └── index.module.less
│ │ ├── vitest.config.mts
│ │ ├── config
│ │ │ └── rush-project.json
│ │ ├── eslint.config.js
│ │ └── tsconfig.json
│ │ ├── auth-pages
│ │ ├── src
│ │ │ ├── assets
│ │ │ │ └── loop-banner.png
│ │ │ ├── pages
│ │ │ │ └── index.ts
│ │ │ ├── index.ts
│ │ │ └── components
│ │ │ │ ├── pat-panel
│ │ │ │ ├── pat-op.module.less
│ │ │ │ └── pat-table.module.less
│ │ │ │ ├── user-info-panel
│ │ │ │ └── edit-wrap.module.less
│ │ │ │ └── index.ts
│ │ ├── .stylelintrc.js
│ │ ├── eslint.config.js
│ │ └── tsconfig.json
│ │ ├── guard
│ │ ├── .stylelintrc.js
│ │ ├── src
│ │ │ ├── typings.d.ts
│ │ │ ├── context
│ │ │ │ └── index.ts
│ │ │ └── hooks
│ │ │ │ └── use-guard
│ │ │ │ └── utils.ts
│ │ ├── eslint.config.js
│ │ ├── vitest.config.ts
│ │ ├── config
│ │ │ └── rush-project.json
│ │ └── tsconfig.json
│ │ ├── rsbuild-config
│ │ ├── src
│ │ │ └── index.ts
│ │ ├── config
│ │ │ └── rush-project.json
│ │ ├── vitest.config.mts
│ │ └── eslint.config.js
│ │ ├── i18n
│ │ ├── config
│ │ │ ├── rushx-config.json
│ │ │ └── rush-project.json
│ │ ├── vitest.config.mts
│ │ ├── eslint.config.js
│ │ ├── src
│ │ │ └── index.ts
│ │ └── tsconfig.json
│ │ ├── toolkit
│ │ ├── config
│ │ │ ├── rushx-config.json
│ │ │ └── rush-project.json
│ │ ├── vitest.config.mts
│ │ ├── eslint.config.js
│ │ ├── src
│ │ │ ├── get-safe-file-name.ts
│ │ │ └── not-empty.ts
│ │ └── tsconfig.json
│ │ ├── adapter-interfaces
│ │ ├── src
│ │ │ ├── index.ts
│ │ │ └── evaluate
│ │ │ │ └── index.ts
│ │ ├── vitest.config.ts
│ │ ├── config
│ │ │ └── rush-project.json
│ │ ├── eslint.config.js
│ │ └── tsconfig.json
│ │ ├── base-hooks
│ │ ├── config
│ │ │ ├── rushx-config.json
│ │ │ └── rush-project.json
│ │ ├── vitest.config.mts
│ │ ├── eslint.config.js
│ │ └── tsconfig.json
│ │ ├── biz-config
│ │ ├── config
│ │ │ ├── rushx-config.json
│ │ │ └── rush-project.json
│ │ ├── src
│ │ │ └── index.ts
│ │ ├── vitest.config.mts
│ │ ├── eslint.config.js
│ │ └── tsconfig.json
│ │ ├── biz-hooks
│ │ ├── config
│ │ │ ├── rushx-config.json
│ │ │ └── rush-project.json
│ │ ├── src
│ │ │ ├── use-current-enterprise-id.ts
│ │ │ └── global.d.ts
│ │ ├── vitest.config.mts
│ │ ├── eslint.config.js
│ │ └── tsconfig.json
│ │ ├── env
│ │ ├── config
│ │ │ ├── rushx-config.json
│ │ │ └── rush-project.json
│ │ ├── eslint.config.js
│ │ ├── vitest.config.ts
│ │ └── tsconfig.json
│ │ ├── account
│ │ ├── eslint.config.js
│ │ ├── vitest.config.ts
│ │ ├── config
│ │ │ └── rush-project.json
│ │ └── tsconfig.json
│ │ ├── biz-components
│ │ ├── config
│ │ │ ├── rushx-config.json
│ │ │ └── rush-project.json
│ │ ├── eslint.config.js
│ │ ├── src
│ │ │ └── global.d.ts
│ │ ├── vitest.config.ts
│ │ └── tsconfig.json
│ │ ├── tailwind-config
│ │ ├── config
│ │ │ └── rush-project.json
│ │ ├── src
│ │ │ └── index.ts
│ │ └── eslint.config.js
│ │ ├── tailwind-plugin
│ │ ├── config
│ │ │ └── rush-project.json
│ │ ├── eslint.config.js
│ │ └── tsconfig.json
│ │ ├── prompt-components
│ │ ├── config
│ │ │ └── rush-project.json
│ │ ├── vitest.config.mts
│ │ ├── eslint.config.js
│ │ └── src
│ │ │ ├── mermaid-diagram
│ │ │ └── index.module.less
│ │ │ └── basic-editor
│ │ │ └── extensions
│ │ │ └── validation.module.css
│ │ ├── resources
│ │ └── loop-lng
│ │ │ ├── config
│ │ │ └── rush-project.json
│ │ │ └── eslint.config.js
│ │ ├── stores
│ │ ├── vitest.config.mts
│ │ ├── eslint.config.js
│ │ ├── src
│ │ │ ├── utils
│ │ │ │ └── storage.ts
│ │ │ └── index.ts
│ │ ├── config
│ │ │ └── rush-project.json
│ │ └── tsconfig.json
│ │ └── tea
│ │ ├── eslint.config.js
│ │ ├── vitest.config.ts
│ │ └── config
│ │ └── rush-project.json
├── apps
│ └── cozeloop
│ │ ├── .gitignore
│ │ ├── .stylelintrc.js
│ │ ├── src
│ │ ├── assets
│ │ │ └── fonts
│ │ │ │ ├── JetBrainsMono-Bold.woff2
│ │ │ │ └── JetBrainsMono-Regular.woff2
│ │ ├── components
│ │ │ └── index.ts
│ │ └── hooks
│ │ │ └── index.ts
│ │ ├── eslint.config.js
│ │ └── vitest.config.ts
├── infra
│ ├── utils
│ │ ├── monorepo-kits
│ │ │ ├── __tests__
│ │ │ │ └── .gitkeep
│ │ │ ├── vitest.config.ts
│ │ │ ├── eslint.config.js
│ │ │ ├── src
│ │ │ │ └── index.ts
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ └── tsconfig.json
│ │ └── rush-logger
│ │ │ ├── eslint.config.js
│ │ │ ├── vitest.config.ts
│ │ │ ├── config
│ │ │ └── rush-project.json
│ │ │ └── tsconfig.json
│ ├── idl
│ │ ├── idl-parser
│ │ │ ├── __tests__
│ │ │ │ ├── idl
│ │ │ │ │ ├── unify_base.thrift
│ │ │ │ │ ├── dep
│ │ │ │ │ │ ├── base.thrift
│ │ │ │ │ │ ├── basee.thrift
│ │ │ │ │ │ ├── base.proto
│ │ │ │ │ │ ├── basee.proto
│ │ │ │ │ │ ├── common.thrift
│ │ │ │ │ │ └── common.proto
│ │ │ │ │ ├── error.thrift
│ │ │ │ │ ├── error.proto
│ │ │ │ │ ├── unify_error.thrift
│ │ │ │ │ ├── index.thrift
│ │ │ │ │ ├── unify_search.thrift
│ │ │ │ │ ├── unify_dependent2.thrift
│ │ │ │ │ ├── index.proto
│ │ │ │ │ ├── unify_search.proto
│ │ │ │ │ ├── unify_dependent2.proto
│ │ │ │ │ ├── unify_dependent1.proto
│ │ │ │ │ ├── unify_dependent1.thrift
│ │ │ │ │ └── weird.proto
│ │ │ │ ├── tsconfig.json
│ │ │ │ └── common.ts
│ │ │ ├── src
│ │ │ │ └── index.ts
│ │ │ ├── vitest.config.ts
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ └── tsconfig.json
│ │ ├── idl2ts-cli
│ │ │ ├── src
│ │ │ │ ├── optional
│ │ │ │ │ └── index.ts
│ │ │ │ └── cli.js
│ │ │ ├── vitest.config.ts
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ └── tsconfig.json
│ │ ├── idl2ts-plugin
│ │ │ ├── src
│ │ │ │ └── index.ts
│ │ │ ├── vitest.config.ts
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ └── tsconfig.json
│ │ ├── idl2ts-runtime
│ │ │ ├── src
│ │ │ │ └── index.ts
│ │ │ ├── vitest.config.ts
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ └── tsconfig.json
│ │ ├── idl2ts-helper
│ │ │ ├── src
│ │ │ │ ├── index.ts
│ │ │ │ └── constant.ts
│ │ │ ├── vitest.config.ts
│ │ │ ├── config
│ │ │ │ └── rush-project.json
│ │ │ └── tsconfig.json
│ │ └── idl2ts-generator
│ │ │ ├── vitest.config.ts
│ │ │ ├── config
│ │ │ └── rush-project.json
│ │ │ ├── src
│ │ │ └── index.ts
│ │ │ └── tsconfig.json
│ ├── eslint-plugin
│ │ ├── src
│ │ │ ├── rules
│ │ │ │ └── tsx-no-leaked-render
│ │ │ │ │ └── fixture
│ │ │ │ │ ├── react.tsx
│ │ │ │ │ └── tsconfig.json
│ │ │ ├── index.js
│ │ │ └── zustand
│ │ │ │ └── index.js
│ │ ├── config
│ │ │ └── rush-project.json
│ │ └── tsconfig.json
│ └── plugins
│ │ ├── pkg-root-webpack-plugin
│ │ ├── .gitignore
│ │ ├── config
│ │ │ └── rushx-config.json
│ │ ├── lib
│ │ │ └── utils.d.ts
│ │ └── tsconfig.json
│ │ └── postcss-plugin
│ │ ├── .stylelintrc.js
│ │ ├── eslint.config.js
│ │ ├── config
│ │ └── rush-project.json
│ │ ├── vitest.config.ts
│ │ └── tsconfig.json
├── .stylelintignore
├── .prettierrc.js
└── disallowed_3rd_libraries.json
├── backend
├── modules
│ ├── evaluation
│ │ ├── infra
│ │ │ ├── .gitkeep
│ │ │ └── repo
│ │ │ │ └── evaluator
│ │ │ │ └── mysql
│ │ │ │ └── convertor
│ │ │ │ └── evaluator_tag.go
│ │ ├── domain
│ │ │ ├── service
│ │ │ │ └── file_name
│ │ │ └── component
│ │ │ │ └── metrics
│ │ │ │ └── evaluation_set.go
│ │ └── consts
│ │ │ └── eval_target.go
│ ├── foundation
│ │ └── domain
│ │ │ ├── file
│ │ │ └── service
│ │ │ │ └── test_file.txt
│ │ │ └── auth
│ │ │ └── service
│ │ │ └── authn_service.go
│ ├── data
│ │ └── domain
│ │ │ ├── component
│ │ │ └── vfs
│ │ │ │ └── testdata
│ │ │ │ ├── gbk.csv
│ │ │ │ ├── lazy_quote.csv
│ │ │ │ ├── gb18030.csv
│ │ │ │ ├── exl_gb_default_csv.csv
│ │ │ │ ├── bom.csv
│ │ │ │ └── utf8_cut.csv
│ │ │ └── tag
│ │ │ └── entity
│ │ │ └── tag_spec.go
│ ├── llm
│ │ └── domain
│ │ │ ├── service
│ │ │ └── llmfactory
│ │ │ │ └── init.go
│ │ │ └── component
│ │ │ └── conf
│ │ │ └── runtime.go
│ └── observability
│ │ ├── domain
│ │ ├── trace
│ │ │ ├── entity
│ │ │ │ └── common
│ │ │ │ │ └── page.go
│ │ │ └── service
│ │ │ │ └── collector
│ │ │ │ └── exporter
│ │ │ │ └── clickhouseexporter
│ │ │ │ └── config.go
│ │ └── metric
│ │ │ └── entity
│ │ │ └── event.go
│ │ └── infra
│ │ └── rpc
│ │ └── auth
│ │ └── mocks
│ │ └── auth_client_mock.go
├── pkg
│ ├── lang
│ │ ├── slices
│ │ │ └── slice_test.go
│ │ ├── goroutine
│ │ │ └── safego.go
│ │ ├── maps
│ │ │ └── map.go
│ │ └── mem
│ │ │ └── copy.go
│ ├── ptrutil
│ │ └── util.go
│ ├── mcache
│ │ └── mcache.go
│ ├── consts
│ │ └── ctx.go
│ └── vdutil
│ │ └── validator.go
├── api
│ ├── .hz
│ └── handler
│ │ └── coze
│ │ └── loop
│ │ └── apis
│ │ ├── llmruntime_service.go
│ │ ├── foundation_auth_service.go
│ │ └── prompt_execute_service.go
├── kitex_gen
│ ├── base
│ │ └── k-consts.go
│ └── coze
│ │ └── loop
│ │ ├── apis
│ │ └── k-consts.go
│ │ ├── data
│ │ ├── k-consts.go
│ │ ├── tag
│ │ │ └── k-consts.go
│ │ ├── domain
│ │ │ ├── tag
│ │ │ │ └── k-consts.go
│ │ │ ├── common
│ │ │ │ └── k-consts.go
│ │ │ ├── dataset
│ │ │ │ └── k-consts.go
│ │ │ └── dataset_job
│ │ │ │ └── k-consts.go
│ │ └── dataset
│ │ │ └── k-consts.go
│ │ ├── prompt
│ │ ├── k-consts.go
│ │ ├── debug
│ │ │ └── k-consts.go
│ │ ├── domain
│ │ │ ├── user
│ │ │ │ └── k-consts.go
│ │ │ └── prompt
│ │ │ │ └── k-consts.go
│ │ ├── execute
│ │ │ └── k-consts.go
│ │ ├── manage
│ │ │ └── k-consts.go
│ │ └── openapi
│ │ │ └── k-consts.go
│ │ ├── evaluation
│ │ ├── spi
│ │ │ └── k-consts.go
│ │ ├── expt
│ │ │ └── k-consts.go
│ │ ├── k-consts.go
│ │ ├── domain
│ │ │ ├── expt
│ │ │ │ └── k-consts.go
│ │ │ ├── common
│ │ │ │ └── k-consts.go
│ │ │ ├── eval_set
│ │ │ │ └── k-consts.go
│ │ │ ├── evaluator
│ │ │ │ └── k-consts.go
│ │ │ └── eval_target
│ │ │ │ └── k-consts.go
│ │ ├── eval_set
│ │ │ └── k-consts.go
│ │ ├── openapi
│ │ │ └── k-consts.go
│ │ ├── eval_target
│ │ │ └── k-consts.go
│ │ ├── evaluator
│ │ │ └── k-consts.go
│ │ └── domain_openapi
│ │ │ ├── common
│ │ │ └── k-consts.go
│ │ │ ├── eval_set
│ │ │ └── k-consts.go
│ │ │ ├── eval_target
│ │ │ └── k-consts.go
│ │ │ ├── evaluator
│ │ │ └── k-consts.go
│ │ │ └── experiment
│ │ │ └── k-consts.go
│ │ ├── llm
│ │ ├── manage
│ │ │ └── k-consts.go
│ │ ├── runtime
│ │ │ └── k-consts.go
│ │ └── domain
│ │ │ ├── common
│ │ │ └── k-consts.go
│ │ │ ├── manage
│ │ │ └── k-consts.go
│ │ │ └── runtime
│ │ │ └── k-consts.go
│ │ ├── foundation
│ │ ├── auth
│ │ │ └── k-consts.go
│ │ ├── authn
│ │ │ └── k-consts.go
│ │ ├── file
│ │ │ └── k-consts.go
│ │ ├── k-consts.go
│ │ ├── space
│ │ │ └── k-consts.go
│ │ ├── user
│ │ │ └── k-consts.go
│ │ ├── domain
│ │ │ ├── auth
│ │ │ │ └── k-consts.go
│ │ │ ├── authn
│ │ │ │ └── k-consts.go
│ │ │ ├── space
│ │ │ │ └── k-consts.go
│ │ │ └── user
│ │ │ │ └── k-consts.go
│ │ └── openapi
│ │ │ └── k-consts.go
│ │ ├── observability
│ │ ├── task
│ │ │ └── k-consts.go
│ │ ├── k-consts.go
│ │ ├── metric
│ │ │ └── k-consts.go
│ │ ├── openapi
│ │ │ └── k-consts.go
│ │ ├── trace
│ │ │ └── k-consts.go
│ │ └── domain
│ │ │ ├── common
│ │ │ └── k-consts.go
│ │ │ ├── filter
│ │ │ └── k-consts.go
│ │ │ ├── metric
│ │ │ └── k-consts.go
│ │ │ ├── span
│ │ │ └── k-consts.go
│ │ │ ├── task
│ │ │ └── k-consts.go
│ │ │ ├── trace
│ │ │ └── k-consts.go
│ │ │ ├── view
│ │ │ └── k-consts.go
│ │ │ ├── dataset
│ │ │ └── k-consts.go
│ │ │ └── annotation
│ │ │ └── k-consts.go
│ │ └── trajectory
│ │ └── k-consts.go
├── cmd
│ ├── script
│ │ └── bootstrap.sh
│ └── build.sh
└── infra
│ ├── limiter
│ └── dist
│ │ └── rule_test_conf.yaml
│ └── redis
│ ├── utils.go
│ └── demo
│ └── redis.go
├── common
├── git-hooks
│ ├── post-merge
│ ├── pre-push
│ └── post-checkout
└── config
│ ├── rush
│ └── repo-state.json
│ └── subspaces
│ └── default
│ └── repo-state.json
├── release
└── deployment
│ ├── docker-compose
│ ├── conf
│ │ ├── locales
│ │ │ └── en-US.yaml
│ │ ├── foundation.yaml
│ │ └── model_runtime_config.yaml
│ ├── bootstrap
│ │ ├── mysql-init
│ │ │ └── patch-sql
│ │ │ │ ├── expt_item_result_alter.sql
│ │ │ │ ├── evaluator_version_alter.sql
│ │ │ │ └── prompt_basic_alter.sql
│ │ ├── minio
│ │ │ └── healthcheck.sh
│ │ ├── app
│ │ │ └── healthcheck.sh
│ │ ├── nginx
│ │ │ └── healthcheck.sh
│ │ ├── rmq-namesrv
│ │ │ └── healthcheck.sh
│ │ ├── redis
│ │ │ └── healthcheck.sh
│ │ ├── rmq-broker
│ │ │ └── healthcheck.sh
│ │ └── clickhouse
│ │ │ └── healthcheck.sh
│ └── docker-compose-dev.yml
│ └── helm-chart
│ ├── umbrella
│ ├── conf
│ │ ├── locales
│ │ │ └── en-US.yaml
│ │ ├── foundation.yaml
│ │ └── model_runtime_config.yaml
│ └── templates
│ │ └── locales-configmap.yaml
│ └── charts
│ ├── app
│ ├── bootstrap
│ │ ├── init
│ │ │ └── mysql
│ │ │ │ └── init-sql
│ │ │ │ ├── expt_item_result_alter.sql
│ │ │ │ ├── evaluator_version_alter.sql
│ │ │ │ └── prompt_basic_alter.sql
│ │ └── healthcheck.sh
│ ├── Chart.yaml
│ └── templates
│ │ ├── init
│ │ ├── rmq
│ │ │ ├── configmap.yaml
│ │ │ └── init-subscription-configmap.yaml
│ │ ├── minio
│ │ │ └── configmap.yaml
│ │ ├── mysql
│ │ │ ├── configmap.yaml
│ │ │ └── init-sql-configmap.yaml
│ │ ├── redis
│ │ │ └── configmap.yaml
│ │ └── clickhouse
│ │ │ ├── configmap.yaml
│ │ │ └── init-sql-configmap.yaml
│ │ └── configmap.yaml
│ ├── minio
│ ├── bootstrap
│ │ └── healthcheck.sh
│ ├── Chart.yaml
│ └── templates
│ │ ├── secret.yaml
│ │ └── configmap.yaml
│ ├── mysql
│ ├── Chart.yaml
│ └── templates
│ │ ├── secret.yaml
│ │ └── configmap.yaml
│ ├── nginx
│ ├── Chart.yaml
│ ├── bootstrap
│ │ └── healthcheck.sh
│ └── templates
│ │ └── configmap.yaml
│ ├── redis
│ ├── Chart.yaml
│ ├── bootstrap
│ │ └── healthcheck.sh
│ └── templates
│ │ ├── secret.yaml
│ │ └── configmap.yaml
│ ├── clickhouse
│ ├── Chart.yaml
│ ├── bootstrap
│ │ └── healthcheck.sh
│ └── templates
│ │ ├── secret.yaml
│ │ └── configmap.yaml
│ ├── js-faas
│ └── Chart.yaml
│ ├── rmq-broker
│ ├── Chart.yaml
│ ├── bootstrap
│ │ └── healthcheck.sh
│ └── templates
│ │ └── configmap.yaml
│ ├── rmq-namesrv
│ ├── Chart.yaml
│ ├── bootstrap
│ │ └── healthcheck.sh
│ └── templates
│ │ └── configmap.yaml
│ └── python-faas
│ └── Chart.yaml
├── .prettierrc.js
├── .github
└── ISSUE_TEMPLATE
│ ├── config.yml
│ └── other.md
└── idl
└── thrift
└── coze
└── loop
├── data
└── coze.loop.data.thrift
├── llm
└── coze.loop.llm.thrift
└── prompt
└── domain
└── user.thrift
/.nvmrc:
--------------------------------------------------------------------------------
1 | lts/iron
2 |
--------------------------------------------------------------------------------
/frontend/.nvmrc:
--------------------------------------------------------------------------------
1 | lts/iron
2 |
--------------------------------------------------------------------------------
/frontend/config/ts-config/global.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/backend/modules/evaluation/infra/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/arch/logger/.gitignore:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/common/git-hooks/post-merge:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
--------------------------------------------------------------------------------
/frontend/apps/cozeloop/.gitignore:
--------------------------------------------------------------------------------
1 | dist
2 | lib-ts
3 |
--------------------------------------------------------------------------------
/frontend/infra/utils/monorepo-kits/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env-adapter/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-pages/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/conf/locales/en-US.yaml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/unify_base.thrift:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-adapter/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-pages/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation-pages/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-components/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/umbrella/conf/locales/en-US.yaml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/backend/modules/foundation/domain/file/service/test_file.txt:
--------------------------------------------------------------------------------
1 | 123456
--------------------------------------------------------------------------------
/frontend/config/ts-config/eslint.config.js:
--------------------------------------------------------------------------------
1 | module.exports = [];
2 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-list/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/dep/base.thrift:
--------------------------------------------------------------------------------
1 | struct Base {}
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './unify';
2 |
--------------------------------------------------------------------------------
/frontend/config/vitest-config/src/tsc-only.ts:
--------------------------------------------------------------------------------
1 | // TODO: should be remove
2 |
--------------------------------------------------------------------------------
/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/fixture/react.tsx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/dep/basee.thrift:
--------------------------------------------------------------------------------
1 | struct Basee {}
--------------------------------------------------------------------------------
/frontend/infra/plugins/pkg-root-webpack-plugin/.gitignore:
--------------------------------------------------------------------------------
1 | __tests__/outputs
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/__tests__/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/frontend/.stylelintignore:
--------------------------------------------------------------------------------
1 | **/node_modules/**
2 | **/examples/**
3 | **/vendor/**
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/.gitignore:
--------------------------------------------------------------------------------
1 | src/**/_*.js
2 | api.dev.local.js
3 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/error.thrift:
--------------------------------------------------------------------------------
1 | struct Foo {
2 | 1: string k1,,
3 | }
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-cli/src/optional/index.ts:
--------------------------------------------------------------------------------
1 | export { PatchPlugin } from './forward';
2 |
--------------------------------------------------------------------------------
/frontend/packages/arch/logger/src/global.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/dep/base.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | message Base {}
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/dep/basee.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | message Basee {}
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-flags/src/global.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-cli/src/cli.js:
--------------------------------------------------------------------------------
1 | require('sucrase/register/ts');
2 |
3 | require('./cli.ts');
4 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-plugin/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './hooks';
2 | export * from './program';
3 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env/src/index.ts:
--------------------------------------------------------------------------------
1 | export { GLOBAL_ENVS } from '@coze-studio/bot-env-adapter';
2 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env-adapter/scripts/index.ts:
--------------------------------------------------------------------------------
1 | import { build } from './build';
2 |
3 | build();
4 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env/scripts/build.ts:
--------------------------------------------------------------------------------
1 | export { build } from '@coze-studio/bot-env-adapter/build';
2 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/src/typings.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-typings/src/navigator.d.ts:
--------------------------------------------------------------------------------
1 | interface Navigator {
2 | standalone: boolean;
3 | }
4 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env/src/typings.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/src/slots/index.ts:
--------------------------------------------------------------------------------
1 | export { Image, Link } from '@bytedance/calypso';
2 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/error.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 | message Foo {
3 | string k1 = 1;,
4 | }
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env/src/runtime/index.ts:
--------------------------------------------------------------------------------
1 | export { runtimeEnv } from '@coze-studio/bot-env-adapter/runtime';
2 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/intl/README.md:
--------------------------------------------------------------------------------
1 | # @cozeloop/intl
2 |
3 | Internationalization(intl) runtime for CozeLoop
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/route/OWNERS:
--------------------------------------------------------------------------------
1 | reviewers:
2 | - qihai
3 | - wangziqiang.carl
4 | approvals_required: 1
5 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/unify_error.thrift:
--------------------------------------------------------------------------------
1 | include "./unify_base.thrift"
2 | include "./unify_base1.thrift"
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/index.thrift:
--------------------------------------------------------------------------------
1 |
2 | service Foo {
3 | } (
4 | api.uri_prefix = 'https://example.com'
5 | )
--------------------------------------------------------------------------------
/frontend/infra/plugins/pkg-root-webpack-plugin/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "codecov": {
3 | "coverage": 70
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env/scripts/index.ts:
--------------------------------------------------------------------------------
1 | import { build } from '@coze-studio/bot-env-adapter/build';
2 |
3 | build();
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/src/api/idl/_schemas.d.ts:
--------------------------------------------------------------------------------
1 | declare const _schemas: any[];
2 | export default _schemas;
3 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/unify_search.thrift:
--------------------------------------------------------------------------------
1 | include 'base.thrift'
2 |
3 | struct Foo {
4 | 1: base.Base key1
5 | }
--------------------------------------------------------------------------------
/.prettierrc.js:
--------------------------------------------------------------------------------
1 | // Do not modify this file
2 | module.exports = {
3 | ...require('./frontend/config/eslint-config/.prettierrc.js'),
4 | };
5 |
--------------------------------------------------------------------------------
/frontend/.prettierrc.js:
--------------------------------------------------------------------------------
1 | // Do not modify this file
2 | module.exports = {
3 | ...require('./config/eslint-config/.prettierrc.js'),
4 | };
5 |
--------------------------------------------------------------------------------
/backend/pkg/lang/slices/slice_test.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package slices
5 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/unify_dependent2.thrift:
--------------------------------------------------------------------------------
1 | include './unify_dependent1.thrift'
2 |
3 | enum Number {
4 | ONE = 1,
5 | }
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/src/style.ts:
--------------------------------------------------------------------------------
1 | export const dynamicImportMdBoxStyle = () => import('@bytedance/calypso/styles.css');
2 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/conf/foundation.yaml:
--------------------------------------------------------------------------------
1 | user_register_control:
2 | block: false
3 | allowed_emails: "locala@doamin;localb@domain"
--------------------------------------------------------------------------------
/backend/api/.hz:
--------------------------------------------------------------------------------
1 | // Code generated by hz. DO NOT EDIT.
2 |
3 | hz version: v0.9.7
4 | handlerDir: handler
5 | modelDir: model
6 | routerDir: router
7 |
--------------------------------------------------------------------------------
/backend/modules/evaluation/domain/service/file_name:
--------------------------------------------------------------------------------
1 | ID,status,test_field,test_evaluator,test_evaluator_reason,test_tag,logID,targetTraceID
2 |
--------------------------------------------------------------------------------
/common/git-hooks/pre-push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | source frontend/scripts/block-unresolved-conflict.sh
4 |
5 | source frontend/scripts/pre-push-hook.sh
6 |
--------------------------------------------------------------------------------
/frontend/packages/arch/fetch-stream/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "codecov": {
3 | "coverage": 0,
4 | "incrementCoverage": 0
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/src/tag-management/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/umbrella/conf/foundation.yaml:
--------------------------------------------------------------------------------
1 | user_register_control:
2 | block: false
3 | allowed_emails: "locala@doamin;localb@domain"
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/index.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | service Foo {
4 | option (api.uri_prefix) = "//example.com";
5 | }
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/utils/experiment/constant.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-list/src/utils/filter.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/bootstrap/mysql-init/patch-sql/expt_item_result_alter.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE expt_item_result ADD COLUMN `ext` blob COMMENT '补充信息';
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/unify_search.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | import "base.proto";
4 |
5 | message Foo {
6 | Base key1 = 1;
7 | }
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-runtime/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './create-api';
2 | export * from './config-center';
3 | export { type IMeta } from './types';
4 |
--------------------------------------------------------------------------------
/frontend/packages/arch/subspace-resolve-plugin/__tests__/fixtures/test-webpack-entry.js:
--------------------------------------------------------------------------------
1 | import a from './common/temp/other-space/comp';
2 | export default a;
3 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/src/tag-management/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/pages/experiment/contrast/service.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/pages/experiment/contrast/utils.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/bootstrap/init/mysql/init-sql/expt_item_result_alter.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE expt_item_result ADD COLUMN `ext` blob COMMENT '补充信息';
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/dep/common.thrift:
--------------------------------------------------------------------------------
1 | namespace go common
2 |
3 | include 'base.thrift'
4 | include 'basee.thrift'
5 |
6 | struct Common {}
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-components/src/hooks/use-fetch-trace-annotation.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/backend/modules/data/domain/component/vfs/testdata/gbk.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coze-dev/coze-loop/HEAD/backend/modules/data/domain/component/vfs/testdata/gbk.csv
--------------------------------------------------------------------------------
/backend/modules/data/domain/component/vfs/testdata/lazy_quote.csv:
--------------------------------------------------------------------------------
1 | id,name,description
2 | 1,Apple,"A "red" fruit
3 | 2,Banana,"A yellow fruit"
4 | 3,Orange,"A citrus fruit
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-flags/src/constant.ts:
--------------------------------------------------------------------------------
1 | export const IS_DEV = process.env.NODE_ENV === 'development';
2 | export const PACKAGE_NAMESPACE = '@flow-arch/flags';
3 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-components/tailwind.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export default {};
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-pages/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { default } from './app';
4 |
--------------------------------------------------------------------------------
/backend/kitex_gen/base/k-consts.go:
--------------------------------------------------------------------------------
1 | package base
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/modules/data/domain/component/vfs/testdata/gb18030.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coze-dev/coze-loop/HEAD/backend/modules/data/domain/component/vfs/testdata/gb18030.csv
--------------------------------------------------------------------------------
/backend/modules/foundation/domain/auth/service/authn_service.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package service
5 |
--------------------------------------------------------------------------------
/frontend/apps/cozeloop/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-pages/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { default } from './app';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-pages/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { default } from './app';
4 |
--------------------------------------------------------------------------------
/backend/cmd/script/bootstrap.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | CURDIR=$(cd $(dirname $0); pwd)
3 | BinaryName=hertz_service
4 | echo "$CURDIR/bin/${BinaryName}"
5 | exec $CURDIR/bin/${BinaryName}
--------------------------------------------------------------------------------
/common/git-hooks/post-checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # avoid conflicts in pnpm lock
3 | # https://7tonshark.com/posts/avoid-conflicts-in-pnpm-lock/
4 | git config merge.ours.driver true
5 |
--------------------------------------------------------------------------------
/frontend/apps/cozeloop/src/assets/fonts/JetBrainsMono-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coze-dev/coze-loop/HEAD/frontend/apps/cozeloop/src/assets/fonts/JetBrainsMono-Bold.woff2
--------------------------------------------------------------------------------
/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/fixture/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "strict": true
4 | },
5 | "include": ["react.tsx"]
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/dep/common.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 | package common;
3 |
4 | import "base.proto";
5 | import "basee.proto";
6 |
7 | message Common {}
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env-adapter/src/runtime/index.ts:
--------------------------------------------------------------------------------
1 | class Env {
2 | get isPPE() {
3 | return IS_PROD;
4 | }
5 | }
6 |
7 | export const runtimeEnv = new Env();
8 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/src/light/index.ts:
--------------------------------------------------------------------------------
1 | export {
2 | CalypsoLite as MdBoxLight,
3 | CalypsoLiteProps as MdBoxLightProps,
4 | } from '@bytedance/calypso';
5 |
--------------------------------------------------------------------------------
/frontend/packages/arch/logger/src/logger/index.ts:
--------------------------------------------------------------------------------
1 | export { logger } from './logger';
2 | export { Logger } from './core';
3 | export { LoggerContext, useLogger } from './context';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/auth-pages/src/assets/loop-banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coze-dev/coze-loop/HEAD/frontend/packages/cozeloop/auth-pages/src/assets/loop-banner.png
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation-pages/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { default } from './app';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/tailwind.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export default {};
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/src/components/span-field-content.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/bootstrap/mysql-init/patch-sql/evaluator_version_alter.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE evaluator_version ADD COLUMN `output_schema` blob COMMENT '评估器输出schema, json';
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/apis/k-consts.go:
--------------------------------------------------------------------------------
1 | package apis
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/data/k-consts.go:
--------------------------------------------------------------------------------
1 | package data
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/frontend/apps/cozeloop/src/assets/fonts/JetBrainsMono-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coze-dev/coze-loop/HEAD/frontend/apps/cozeloop/src/assets/fonts/JetBrainsMono-Regular.woff2
--------------------------------------------------------------------------------
/frontend/config/stylelint-config/src/index.js:
--------------------------------------------------------------------------------
1 | require('sucrase/register/ts');
2 |
3 | const { defineConfig } = require('./define-config');
4 |
5 | module.exports = { defineConfig };
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/auth-pages/src/pages/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { LoginPage } from './login-page';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/pages/experiment/contrast/components/contrast-header/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/guard/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/guard/src/typings.d.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | ///
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/tailwind.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export default {};
4 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/bootstrap/init/mysql/init-sql/evaluator_version_alter.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE evaluator_version ADD COLUMN `output_schema` blob COMMENT '评估器输出schema, json';
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/minio/bootstrap/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | curl \
6 | -f "http://localhost:9000/minio/health/live" \
7 | > /dev/null 2>&1
--------------------------------------------------------------------------------
/backend/cmd/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | RUN_NAME=hertz_service
3 | mkdir -p output/bin
4 | cp script/* output 2>/dev/null
5 | chmod +x output/bootstrap.sh
6 | go build -o output/bin/${RUN_NAME}
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/data/tag/k-consts.go:
--------------------------------------------------------------------------------
1 | package tag
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/prompt/k-consts.go:
--------------------------------------------------------------------------------
1 | package prompt
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/modules/evaluation/infra/repo/evaluator/mysql/convertor/evaluator_tag.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package convertor
5 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-helper/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './parser';
2 | export * from './types';
3 | export * from './ctx';
4 | export * from './utils';
5 | export * from './helper';
6 |
--------------------------------------------------------------------------------
/frontend/infra/plugins/postcss-plugin/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/auth-pages/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/pages/experiment/contrast/components/experiment-result/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/typings.d.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | ///
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/rsbuild-config/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { createRsbuildConfig } from './rsbuild';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-pages/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/Chart.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v2
2 | name: coze-loop-app
3 | description: Cozeloop Helm chart
4 | type: application
5 | version: 1.0.0
6 | appVersion: latest
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/data/domain/tag/k-consts.go:
--------------------------------------------------------------------------------
1 | package tag
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/spi/k-consts.go:
--------------------------------------------------------------------------------
1 | package spi
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/llm/manage/k-consts.go:
--------------------------------------------------------------------------------
1 | package manage
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/llm/runtime/k-consts.go:
--------------------------------------------------------------------------------
1 | package runtime
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/prompt/debug/k-consts.go:
--------------------------------------------------------------------------------
1 | package debug
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/frontend/infra/plugins/pkg-root-webpack-plugin/lib/utils.d.ts:
--------------------------------------------------------------------------------
1 | import { RushConfiguration } from '@rushstack/rush-sdk';
2 | export declare const getRushConfiguration: () => RushConfiguration;
3 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-adapter/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-pages/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/pages/experiment/contrast/components/add-contrast-experiment/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/i18n/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../../rushx-config.schema.json",
3 | "dupCheck": {
4 | "ignoreGlobPatterns": ["script/*"]
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation-pages/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/route/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../../rushx-config.schema.json",
3 | "dupCheck": {
4 | "ignoreGlobPatterns": ["src/**"]
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-components/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/toolkit/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../../rushx-config.schema.json",
3 | "dupCheck": {
4 | "ignoreGlobPatterns": ["src/**"]
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/conf/model_runtime_config.yaml:
--------------------------------------------------------------------------------
1 | need_cvt_url_to_base_64: true
2 | qianfan_ak: "***" # required for qianfan model
3 | qianfan_sk: "***" # required fo`r qianfan model
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/data/dataset/k-consts.go:
--------------------------------------------------------------------------------
1 | package dataset
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/expt/k-consts.go:
--------------------------------------------------------------------------------
1 | package expt
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/k-consts.go:
--------------------------------------------------------------------------------
1 | package evaluation
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/auth/k-consts.go:
--------------------------------------------------------------------------------
1 | package auth
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/authn/k-consts.go:
--------------------------------------------------------------------------------
1 | package authn
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/file/k-consts.go:
--------------------------------------------------------------------------------
1 | package file
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/k-consts.go:
--------------------------------------------------------------------------------
1 | package foundation
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/space/k-consts.go:
--------------------------------------------------------------------------------
1 | package space
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/user/k-consts.go:
--------------------------------------------------------------------------------
1 | package user
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/llm/domain/common/k-consts.go:
--------------------------------------------------------------------------------
1 | package common
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/llm/domain/manage/k-consts.go:
--------------------------------------------------------------------------------
1 | package manage
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/task/k-consts.go:
--------------------------------------------------------------------------------
1 | package task
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/prompt/domain/user/k-consts.go:
--------------------------------------------------------------------------------
1 | package user
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/prompt/execute/k-consts.go:
--------------------------------------------------------------------------------
1 | package execute
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/prompt/manage/k-consts.go:
--------------------------------------------------------------------------------
1 | package manage
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/prompt/openapi/k-consts.go:
--------------------------------------------------------------------------------
1 | package openapi
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/trajectory/k-consts.go:
--------------------------------------------------------------------------------
1 | package trajectory
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/modules/data/domain/component/vfs/testdata/exl_gb_default_csv.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coze-dev/coze-loop/HEAD/backend/modules/data/domain/component/vfs/testdata/exl_gb_default_csv.csv
--------------------------------------------------------------------------------
/frontend/config/eslint-config/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/config/postcss-config/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/config/ts-config/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["./dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/config/vitest-config/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/unify_dependent2.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | import "./unify_dependent1.proto";
4 |
5 | package unify_idx;
6 |
7 | enum Number {
8 | ONE = 1;
9 | }
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "esModuleInterop": true,
4 | "allowSyntheticDefaultImports": true
5 | },
6 | "include": ["."]
7 | }
8 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-cli/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/adapter-interfaces/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { type EvaluateAdapters } from './evaluate';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/base-hooks/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../../rushx-config.schema.json",
3 | "dupCheck": {
4 | "ignoreGlobPatterns": ["src/**"]
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-config/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../../rushx-config.schema.json",
3 | "dupCheck": {
4 | "ignoreGlobPatterns": ["src/**"]
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-hooks/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../../rushx-config.schema.json",
3 | "dupCheck": {
4 | "ignoreGlobPatterns": ["src/**"]
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/src/primary-page/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { PrimaryPage } from './primary-header';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/typings.d.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | ///
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-list/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-components/src/components/annotation-panel/annotation-panel-context.ts/tmp.KHVdJFNu7S:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/minio/Chart.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v2
2 | name: coze-loop-minio
3 | description: Cozeloop Minio Helm chart
4 | type: application
5 | version: 1.0.0
6 | appVersion: latest
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/mysql/Chart.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v2
2 | name: coze-loop-mysql
3 | description: Cozeloop Mysql Helm chart
4 | type: application
5 | version: 1.0.0
6 | appVersion: latest
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/nginx/Chart.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v2
2 | name: coze-loop-nginx
3 | description: Cozeloop Nginx Helm chart
4 | type: application
5 | version: 1.0.0
6 | appVersion: latest
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/redis/Chart.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v2
2 | name: coze-loop-redis
3 | description: Cozeloop Redis Helm chart
4 | type: application
5 | version: 1.0.0
6 | appVersion: latest
--------------------------------------------------------------------------------
/release/deployment/helm-chart/umbrella/conf/model_runtime_config.yaml:
--------------------------------------------------------------------------------
1 | need_cvt_url_to_base_64: true
2 | qianfan_ak: "***" # required for qianfan model
3 | qianfan_sk: "***" # required fo`r qianfan model
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/data/domain/common/k-consts.go:
--------------------------------------------------------------------------------
1 | package common
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/data/domain/dataset/k-consts.go:
--------------------------------------------------------------------------------
1 | package dataset
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/domain/expt/k-consts.go:
--------------------------------------------------------------------------------
1 | package expt
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/eval_set/k-consts.go:
--------------------------------------------------------------------------------
1 | package eval_set
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/openapi/k-consts.go:
--------------------------------------------------------------------------------
1 | package openapi
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/domain/auth/k-consts.go:
--------------------------------------------------------------------------------
1 | package auth
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/domain/authn/k-consts.go:
--------------------------------------------------------------------------------
1 | package authn
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/domain/space/k-consts.go:
--------------------------------------------------------------------------------
1 | package space
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/domain/user/k-consts.go:
--------------------------------------------------------------------------------
1 | package user
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/foundation/openapi/k-consts.go:
--------------------------------------------------------------------------------
1 | package openapi
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/llm/domain/runtime/k-consts.go:
--------------------------------------------------------------------------------
1 | package runtime
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/k-consts.go:
--------------------------------------------------------------------------------
1 | package observability
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/metric/k-consts.go:
--------------------------------------------------------------------------------
1 | package metric
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/openapi/k-consts.go:
--------------------------------------------------------------------------------
1 | package openapi
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/trace/k-consts.go:
--------------------------------------------------------------------------------
1 | package trace
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/prompt/domain/prompt/k-consts.go:
--------------------------------------------------------------------------------
1 | package prompt
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/frontend/config/tailwind-config/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-generator/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-helper/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-plugin/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-runtime/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/infra/utils/monorepo-kits/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/arch/fetch-stream/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/env/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../../rushx-config.schema.json",
3 | "dupCheck": {
4 | "ignoreGlobPatterns": ["src/**", "i18n/**"]
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/guard/src/context/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { GuardProvider, useGuardStrategy } from './context';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-list/src/typings.d.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | ///
4 |
--------------------------------------------------------------------------------
/backend/api/handler/coze/loop/apis/llmruntime_service.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | // Code generated by hertz generator.
5 |
6 | package apis
7 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/domain/common/k-consts.go:
--------------------------------------------------------------------------------
1 | package common
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/eval_target/k-consts.go:
--------------------------------------------------------------------------------
1 | package eval_target
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/evaluator/k-consts.go:
--------------------------------------------------------------------------------
1 | package evaluator
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/domain/common/k-consts.go:
--------------------------------------------------------------------------------
1 | package common
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/domain/filter/k-consts.go:
--------------------------------------------------------------------------------
1 | package filter
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/domain/metric/k-consts.go:
--------------------------------------------------------------------------------
1 | package metric
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/domain/span/k-consts.go:
--------------------------------------------------------------------------------
1 | package span
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/domain/task/k-consts.go:
--------------------------------------------------------------------------------
1 | package task
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/domain/trace/k-consts.go:
--------------------------------------------------------------------------------
1 | package trace
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/domain/view/k-consts.go:
--------------------------------------------------------------------------------
1 | package view
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/common/config/rush/repo-state.json:
--------------------------------------------------------------------------------
1 | // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
2 | {
3 | "preferredVersionsHash": "bf21a9e8fbc5a3846fb05b4fa0859e0917b2202f"
4 | }
5 |
--------------------------------------------------------------------------------
/frontend/config/stylelint-config/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["./output"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/config/vitest-config/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | preset: 'node',
5 | packageRoot: __dirname,
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env-adapter/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-typings/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["./dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["./dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../../rushx-config.schema.json",
3 | "dupCheck": {
4 | "ignoreGlobPatterns": ["stories/**"]
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/components/dataset-item/multipart/components/text-item-readonly-render.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail-open/src/typings.d.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | ///
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/stylelint-config');
2 |
3 | module.exports = defineConfig({
4 | extends: [],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/src/typings.d.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | ///
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-pages/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/toolkit/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["./dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/docker-compose-dev.yml:
--------------------------------------------------------------------------------
1 | services:
2 |
3 | app:
4 | build:
5 | context: ../../..
6 | dockerfile: ./release/image/Dockerfile
7 | image: "coze-dev/coze-loop:dev"
--------------------------------------------------------------------------------
/backend/api/handler/coze/loop/apis/foundation_auth_service.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | // Code generated by hertz generator.
5 |
6 | package apis
7 |
--------------------------------------------------------------------------------
/backend/api/handler/coze/loop/apis/prompt_execute_service.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | // Code generated by hertz generator.
5 |
6 | package apis
7 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/data/domain/dataset_job/k-consts.go:
--------------------------------------------------------------------------------
1 | package dataset_job
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/domain/eval_set/k-consts.go:
--------------------------------------------------------------------------------
1 | package eval_set
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/domain/evaluator/k-consts.go:
--------------------------------------------------------------------------------
1 | package evaluator
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/domain_openapi/common/k-consts.go:
--------------------------------------------------------------------------------
1 | package common
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/domain/dataset/k-consts.go:
--------------------------------------------------------------------------------
1 | package dataset
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/frontend/config/postcss-config/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | preset: 'node',
5 | packageRoot: __dirname,
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/config/stylelint-config/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | preset: 'node',
5 | packageRoot: __dirname,
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/infra/utils/rush-logger/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | preset: 'node',
5 | packageRoot: __dirname,
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/account/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-components/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../../rushx-config.schema.json",
3 | "dupCheck": {
4 | "ignoreGlobPatterns": ["src/**", "i18n/**"]
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-hooks/src/use-current-enterprise-id.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export const useCurrentEnterpriseId = () => 'personal';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-adapter/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../../../rushx-config.schema.json",
3 | "dupCheck": {
4 | "ignoreGlobPatterns": ["src/**"]
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-pages/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["./dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/rsbuild-config/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["./dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tailwind-config/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["./dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tailwind-plugin/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/clickhouse/Chart.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v2
2 | name: coze-loop-clickhouse
3 | description: Cozeloop Clickhouse Helm chart
4 | type: application
5 | version: 1.0.0
6 | appVersion: latest
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/js-faas/Chart.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v2
2 | name: coze-loop-js-faas
3 | description: JavaScript FaaS service for Coze Loop
4 | type: application
5 | version: 1.2.0
6 | appVersion: "1.2.0"
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/rmq-broker/Chart.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v2
2 | name: coze-loop-rmq-broker
3 | description: Cozeloop RmqBroker Helm chart
4 | type: application
5 | version: 1.0.0
6 | appVersion: latest
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/rmq-namesrv/Chart.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v2
2 | name: coze-loop-rmq-namesrv
3 | description: Cozeloop RmqNameSrv Helm chart
4 | type: application
5 | version: 1.0.0
6 | appVersion: latest
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/domain/eval_target/k-consts.go:
--------------------------------------------------------------------------------
1 | package eval_target
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/domain_openapi/eval_set/k-consts.go:
--------------------------------------------------------------------------------
1 | package eval_set
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/observability/domain/annotation/k-consts.go:
--------------------------------------------------------------------------------
1 | package annotation
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/frontend/packages/arch/subspace-resolve-plugin/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | });
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/i18n/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-list/src/stores/trace.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { useTraceStore, useStoreState } from './trace-context';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-components/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["./dist"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/resources/loop-lng/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "ts-check",
5 | "outputFolderNames": ["./lib-ts"]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/route/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/stores/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tailwind-config/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { tailwindcssConfig, createTailwindcssConfig } from './tailwindcss';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/toolkit/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/python-faas/Chart.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v2
2 | name: coze-loop-python-faas
3 | description: Python FaaS service for Coze Loop
4 | type: application
5 | version: 1.2.0
6 | appVersion: "1.2.0"
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/domain_openapi/eval_target/k-consts.go:
--------------------------------------------------------------------------------
1 | package eval_target
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/domain_openapi/evaluator/k-consts.go:
--------------------------------------------------------------------------------
1 | package evaluator
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/backend/kitex_gen/coze/loop/evaluation/domain_openapi/experiment/k-consts.go:
--------------------------------------------------------------------------------
1 | package experiment
2 |
3 | // KitexUnusedProtection is used to prevent 'imported and not used' error.
4 | var KitexUnusedProtection = struct{}{}
5 |
--------------------------------------------------------------------------------
/common/config/subspaces/default/repo-state.json:
--------------------------------------------------------------------------------
1 | // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
2 | {
3 | "preferredVersionsHash": "952e3e1a65c3a8705213d584aa5dcb7365b57a96"
4 | }
5 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-flags/src/get-flags.ts:
--------------------------------------------------------------------------------
1 | import { featureFlagStorage } from './utils/storage';
2 |
3 | export const getFlags = () => {
4 | const flags = featureFlagStorage.getFlags();
5 | return flags;
6 | };
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/base-hooks/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-config/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | /**
4 | * 评估实验并发数最大配置
5 | */
6 | export const EVAL_EXPERIMENT_CONCUR_COUNT_MAX = 20;
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-config/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-hooks/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/components/dataset-item/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { DatasetItem } from './dataset-item-render';
4 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/redis/bootstrap/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 |
4 | if redis-cli -a "${COZE_LOOP_REDIS_PASSWORD}" --no-auth-warning ping | grep -q PONG; then
5 | exit 0
6 | else
7 | exit 1
8 | fi
--------------------------------------------------------------------------------
/frontend/config/tailwind-config/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | preset: 'node',
5 | packageRoot: __dirname,
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/config/ts-config/tsconfig.build.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "rootDir": "./scripts",
4 | "outDir": "./dist",
5 | "composite": true,
6 | "tsBuildInfoFile": "dist/build.tsbuildinfo"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/config/vitest-config/src/index.js:
--------------------------------------------------------------------------------
1 | require('sucrase/register/ts');
2 |
3 | process.env.VITE_CJS_IGNORE_WARNING = true;
4 | const { defineConfig } = require('./define-config');
5 |
6 | module.exports = { defineConfig };
7 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-flags/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/arch/logger/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/env/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/guard/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/i18n/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/intl/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/src/trace-detail/consts/tab.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export enum GraphTabEnum {
4 | RunTree = 'runTree',
5 | }
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-components/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/route/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/rsbuild-config/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tea/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/config.yml:
--------------------------------------------------------------------------------
1 | blank_issues_enabled: false
2 | contact_links:
3 | - name: 🔧 Question/Help
4 | url: https://github.com/coze-dev/coze-loop/discussions
5 | about: Ask questions or get help from the community
6 |
--------------------------------------------------------------------------------
/backend/modules/llm/domain/service/llmfactory/init.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package llmfactory
5 |
6 | func NewFactory() IFactory {
7 | return &FactoryImpl{}
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/apps/cozeloop/src/components/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { BasicLayout } from './basic-layout';
4 | export { LocaleProvider } from './locale-provider';
5 |
--------------------------------------------------------------------------------
/frontend/config/vitest-config/src/preset-node.ts:
--------------------------------------------------------------------------------
1 | import { mergeConfig } from 'vitest/config';
2 |
3 | import { defaultVitestConfig } from './preset-default';
4 |
5 | export const nodePreset = mergeConfig(defaultVitestConfig, {});
6 |
--------------------------------------------------------------------------------
/frontend/disallowed_3rd_libraries.json:
--------------------------------------------------------------------------------
1 | [
2 | // 可使用 @vitest/coverage-v8 替代
3 | ["@vitest/coverage-c8", null, "请使用 @vitest/coverage-v8"],
4 | "husky",
5 | "lint-staged",
6 | "jest",
7 | ["jsdom", null, "请使用 happy-dom 代替"]
8 | ]
--------------------------------------------------------------------------------
/frontend/infra/eslint-plugin/src/index.js:
--------------------------------------------------------------------------------
1 | require('ts-node').register({
2 | transpileOnly: true,
3 | cwd: __dirname,
4 | options: {},
5 | })
6 |
7 | const { flowPreset } = require('./index.ts')
8 | module.exports = flowPreset
9 |
--------------------------------------------------------------------------------
/frontend/infra/plugins/postcss-plugin/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/infra/utils/monorepo-kits/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-typings/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/auth-pages/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/base-hooks/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-config/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-hooks/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/components/evaluation-set/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { EvaluateSetColList } from './evaluate-set-col-list';
4 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/intl/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { intlClient } from './intl-client';
4 | export type { IntlClientOptions } from './intl-client';
5 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/stores/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-pages/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/toolkit/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env-adapter/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/auth-pages/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { App as default } from './app';
4 | export { AccountSetting, SwitchLang } from './components';
5 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-components/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-adapter/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/tailwind.config.js:
--------------------------------------------------------------------------------
1 | import { createTailwindcssConfig } from '@cozeloop/tailwind-config';
2 |
3 | export default createTailwindcssConfig({
4 | content: ['@coze-arch/coze-design'],
5 | });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-pages/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/vitest.config.mts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-pages/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/rsbuild-config/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-components/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tailwind-config/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tailwind-plugin/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | preset: 'node',
5 | packageRoot: __dirname,
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/bootstrap/minio/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | if curl \
6 | -sf "http://localhost:9000/minio/health/live" \
7 | > /dev/null; then
8 | exit 0
9 | else
10 | exit 1
11 | fi
--------------------------------------------------------------------------------
/frontend/infra/eslint-plugin/src/zustand/index.js:
--------------------------------------------------------------------------------
1 | require('ts-node').register({
2 | transpileOnly: true,
3 | cwd: __dirname,
4 | options: {},
5 | })
6 |
7 | const { flowPreset } = require('./index.ts')
8 | module.exports = flowPreset
9 |
--------------------------------------------------------------------------------
/frontend/packages/arch/subspace-resolve-plugin/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/constants/experiment.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | /**
4 | * 实验对比最大数量
5 | */
6 | export const MAX_EXPERIMENT_CONTRAST_COUNT = 10;
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation-pages/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-components/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/resources/loop-lng/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/src/api/idl/prompt/domain/user.ts:
--------------------------------------------------------------------------------
1 | export interface UserInfoDetail {
2 | user_id?: string,
3 | name?: string,
4 | nick_name?: string,
5 | avatar_url?: string,
6 | email?: string,
7 | mobile?: string,
8 | }
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-list/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/bootstrap/app/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | if wget \
6 | -qO- http://localhost:8888/ping \
7 | 2>/dev/null \
8 | | grep -q pong; then
9 | exit 0
10 | else
11 | exit 1
12 | fi
--------------------------------------------------------------------------------
/release/deployment/docker-compose/bootstrap/nginx/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | if curl \
6 | -s http://localhost:80 \
7 | 2>/dev/null \
8 | | grep -Eq cozeloop; then
9 | exit 0
10 | else
11 | exit 1
12 | fi
--------------------------------------------------------------------------------
/backend/modules/observability/domain/trace/entity/common/page.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package common
5 |
6 | type OrderBy struct {
7 | Field string
8 | IsAsc bool
9 | }
10 |
--------------------------------------------------------------------------------
/frontend/config/eslint-config/compat.js:
--------------------------------------------------------------------------------
1 | const { FlatCompat } = require('@eslint/eslintrc');
2 |
3 | const compat = new FlatCompat({
4 | baseDirectory: __dirname,
5 | resolvePluginsRelativeTo: __dirname,
6 | });
7 |
8 | module.exports = { compat };
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'web',
6 | rules: {},
7 | });
8 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/bootstrap/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | if wget \
6 | -qO- http://localhost:8888/ping \
7 | 2>/dev/null \
8 | | grep -q pong; then
9 | exit 0
10 | else
11 | exit 1
12 | fi
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/templates/init/rmq/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: "rmq-init-configmap"
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/init/rmq/entrypoint.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/nginx/bootstrap/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | if curl \
6 | -s http://localhost:80 \
7 | 2>/dev/null \
8 | | grep -Eq cozeloop; then
9 | exit 0
10 | else
11 | exit 1
12 | fi
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/redis/templates/secret.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: Secret
3 | metadata:
4 | name: {{ include "secret.name" . }}
5 | type: kubernetes.io/basic-auth
6 | stringData:
7 | password: {{ .Values.auth.password | quote }}
--------------------------------------------------------------------------------
/frontend/config/stylelint-config/examples/no-important.less:
--------------------------------------------------------------------------------
1 | // avoid
2 | .a {
3 | opacity: 0 !important;
4 | }
5 |
6 | // if you have to
7 | .b {
8 | /* stylelint-disable-next-line declaration-no-important */
9 | opacity: 0 !important;
10 | }
11 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/templates/init/minio/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: "minio-init-configmap"
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/init/minio/entrypoint.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/templates/init/mysql/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: "mysql-init-configmap"
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/init/mysql/entrypoint.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/templates/init/redis/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: "redis-init-configmap"
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/init/redis/entrypoint.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/pages/evaluator/evaluator-list/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import EvaluatorListPage from './evaluator-list-page';
4 |
5 | export default EvaluatorListPage;
6 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-flags/src/utils/wait.ts:
--------------------------------------------------------------------------------
1 | export const ONE_SEC = 1000;
2 |
3 | export const wait = (ms: number) =>
4 | new Promise(r => {
5 | setTimeout(r, ms);
6 | });
7 |
8 | export const nextTick = () => new Promise(r => requestAnimationFrame(r));
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/auth-pages/src/components/pat-panel/pat-op.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .container {
4 | display: flex;
5 | align-items: center;
6 | justify-content: flex-end;
7 | }
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-components/src/global.d.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | declare module '*.module.less' {
4 | const classes: { readonly [key: string]: string };
5 | export default classes;
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-components/src/mermaid-diagram/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .container {
4 | & > svg {
5 | max-width: 100% !important;
6 | height: 100%;
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/stores/src/utils/storage.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { CozeLoopStorage } from '@cozeloop/toolkit';
4 |
5 | export const storage = new CozeLoopStorage({ field: 'base' });
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/toolkit/src/get-safe-file-name.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export function getSafeFileName(fileName?: string) {
4 | return fileName?.replaceAll(/[\\/:*?"<>|]/g, '') || '';
5 | }
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/toolkit/src/not-empty.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export function notEmpty(value: T | null | undefined): value is T {
4 | return value !== null && value !== undefined;
5 | }
6 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/bootstrap/rmq-namesrv/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | if "${ROCKETMQ_HOME}/bin/mqadmin" \
6 | topicList \
7 | -n localhost:9876 \
8 | > /dev/null 2>&1; then
9 | exit 0
10 | else
11 | exit 1
12 | fi
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/clickhouse/bootstrap/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | clickhouse-client \
6 | -u "${COZE_LOOP_CLICKHOUSE_USER}" \
7 | --password="${COZE_LOOP_CLICKHOUSE_PASSWORD}" \
8 | --query "SELECT 1" \
9 | > /dev/null 2>&1
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/common.ts:
--------------------------------------------------------------------------------
1 | export function filterKeys(obj: Record, keys: string[]) {
2 | const newObj: Record = {};
3 | for (const key of keys) {
4 | newObj[key] = obj[key];
5 | }
6 |
7 | return newObj;
8 | }
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/auth-pages/src/components/pat-panel/pat-table.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .container {
4 | overflow: auto;
5 | width: 100%;
6 | height: calc(100% - 96px - 32px);
7 | }
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-hooks/src/global.d.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | declare const IS_RELEASE_VERSION: boolean;
4 |
5 | declare module '*.svg' {
6 | const src: string;
7 | export default src;
8 | }
9 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/templates/init/clickhouse/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: "clickhouse-init-configmap"
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/init/clickhouse/entrypoint.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/rmq-namesrv/bootstrap/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | if "${ROCKETMQ_HOME}/bin/mqadmin" \
6 | topicList \
7 | -n localhost:9876 \
8 | > /dev/null 2>&1; then
9 | exit 0
10 | else
11 | exit 1
12 | fi
--------------------------------------------------------------------------------
/frontend/apps/cozeloop/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | preset: 'web',
5 | packageRoot: __dirname,
6 | rules: {
7 | 'no-restricted-imports': 'off',
8 | },
9 | });
10 |
--------------------------------------------------------------------------------
/frontend/apps/cozeloop/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-flags/src/index.ts:
--------------------------------------------------------------------------------
1 | export { type FEATURE_FLAGS, type FetchFeatureGatingFunction } from './types';
2 |
3 | export { getFlags } from './get-flags';
4 | export { useFlags } from './use-flags';
5 | export { pullFeatureFlags } from './pull-feature-flags';
6 |
--------------------------------------------------------------------------------
/frontend/packages/arch/fetch-stream/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {
7 | 'no-console': 'error',
8 | },
9 | });
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/src/logic-expr/consts.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export const LOGIC_OPTIONS = [
4 | { label: 'logic_expr_and', value: 'and' },
5 | { label: 'logic_expr_or', value: 'or' },
6 | ];
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/src/multi-part-editor/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .ghost {
4 | opacity: 0.5;
5 | }
6 |
7 | .drag {
8 | overflow: hidden;
9 | max-height: 100px;
10 | }
11 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/src/components/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { SpanContentContainer } from './span-content-container';
4 | export { RawContent } from './raw-content';
5 |
--------------------------------------------------------------------------------
/backend/pkg/ptrutil/util.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package ptrutil
5 |
6 | func GetOrDefault[T any](ptr *T, defaultValue T) T {
7 | if ptr == nil {
8 | return defaultValue
9 | }
10 | return *ptr
11 | }
12 |
--------------------------------------------------------------------------------
/frontend/config/postcss-config/src/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | 'postcss-import': {},
4 | 'tailwindcss/nesting': 'postcss-nesting',
5 | tailwindcss: {},
6 | autoprefixer: {},
7 | '@csstools/postcss-is-pseudo-class': {},
8 | },
9 | };
10 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/unify_dependent1.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | import "unify_dependent2.proto";
4 | import "./dep/common.proto";
5 |
6 | package unify_dep1;
7 |
8 | message Foo {
9 | string f_key1 = 1;
10 | common.Common f_key2 = 2;
11 | }
12 |
--------------------------------------------------------------------------------
/frontend/infra/utils/rush-logger/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | test: {
7 | coverage: {
8 | all: true,
9 | },
10 | },
11 | });
12 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/account/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'node',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/pages/dataset-list-page/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { DatasetList } from '../../components/dataset-list';
4 | export const DatasetListPage = () => ;
5 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/guard/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/src/trace-detail/biz/trace-detail-pane/config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export const MAX_WIDTH = 80;
4 | export const MIN_WIDTH = 50;
5 | export const DEFAULT_WIDTH = 80;
6 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/bootstrap/redis/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 |
4 | if redis-cli \
5 | -a "${COZE_LOOP_REDIS_PASSWORD}" \
6 | --no-auth-warning ping \
7 | 2>/dev/null \
8 | | grep -q PONG; then
9 | exit 0
10 | else
11 | exit 1
12 | fi
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/unify_dependent1.thrift:
--------------------------------------------------------------------------------
1 |
2 | include 'unify_dependent2.thrift'
3 | include './dep/common.thrift'
4 |
5 | namespace js unify_dep1
6 |
7 | typedef Foo Foo1
8 |
9 | struct Foo {
10 | 1: string f_key1
11 | 2: common.Common f_key2
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-flags/src/utils/repoter.ts:
--------------------------------------------------------------------------------
1 | import { reporter as originReporter } from '@coze-arch/logger';
2 |
3 | import { PACKAGE_NAMESPACE } from '../constant';
4 |
5 | export const reporter = originReporter.createReporterWithPreset({
6 | namespace: PACKAGE_NAMESPACE,
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/src/api/llm-manage/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export * from '../idl/llm/domain/common';
4 | export * from '../idl/llm/domain/manage';
5 | export * from '../idl/llm/coze.loop.llm.manage';
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'node',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/components/table-for-experiment/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import Table from './table';
4 |
5 | export { default as TableHeader } from './table-header';
6 |
7 | export default Table;
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail-open/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | const { defineConfig } = require('@coze-arch/stylelint-config');
4 |
5 | module.exports = defineConfig({
6 | extends: [],
7 | });
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/src/trace-detail/components/header/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { HorizontalTraceHeader } from './horizontal';
4 | export { VerticalTraceHeader } from './vertical';
5 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/src/utils/letter.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export function capitalizeFirstLetter(str: string) {
4 | return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
5 | }
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-pages/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/minio/templates/secret.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: Secret
3 | metadata:
4 | name: {{ include "secret.name" . }}
5 | type: kubernetes.io/basic-auth
6 | stringData:
7 | user: {{ .Values.auth.user | quote }}
8 | password: {{ .Values.auth.password | quote }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/mysql/templates/secret.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: Secret
3 | metadata:
4 | name: {{ include "secret.name" . }}
5 | type: kubernetes.io/basic-auth
6 | stringData:
7 | user: {{ .Values.auth.user | quote }}
8 | password: {{ .Values.auth.password | quote }}
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-pages/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation-pages/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-components/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/clickhouse/templates/secret.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: Secret
3 | metadata:
4 | name: {{ include "secret.name" . }}
5 | type: kubernetes.io/basic-auth
6 | stringData:
7 | user: {{ .Values.auth.user | quote }}
8 | password: {{ .Values.auth.password | quote }}
--------------------------------------------------------------------------------
/backend/infra/limiter/dist/rule_test_conf.yaml:
--------------------------------------------------------------------------------
1 | rules:
2 | - match: 'itag == 1 && stag == "a"'
3 | key_expr: 'origin_key + string(itag) + stag'
4 | limit:
5 | rate: 5
6 | burst: 5
7 | period: 1s
8 | - limit:
9 | rate: 3
10 | burst: 3
11 | period: 1s
--------------------------------------------------------------------------------
/frontend/infra/utils/monorepo-kits/src/index.ts:
--------------------------------------------------------------------------------
1 | export {
2 | lookupSubPackages,
3 | getPackageLocation,
4 | getPackageJson,
5 | } from './sub-packages';
6 |
7 | export { getRushConfiguration } from './rush-config';
8 |
9 | export { lookupTo, lookupFrom, lookupOnly } from './lookup';
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/adapter-interfaces/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'node',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/auth-pages/src/components/user-info-panel/edit-wrap.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .container {
4 | display: flex;
5 | align-items: center;
6 | }
7 |
8 | .btn {
9 | margin-left: 16px;
10 | }
11 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-list/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/idl/thrift/coze/loop/data/coze.loop.data.thrift:
--------------------------------------------------------------------------------
1 | namespace go coze.loop.data
2 |
3 | include "coze.loop.data.dataset.thrift"
4 | include "./coze.loop.data.tag.thrift"
5 |
6 | service DatasetService extends coze.loop.data.dataset.DatasetService{}
7 | service TagService extends coze.loop.data.tag.TagService{}
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/other.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Other
3 | about: Something not captured by any other template
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | - [] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/src/api/prompt/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export * from '../idl/prompt/domain/prompt';
4 | export * from '../idl/prompt/coze.loop.prompt.debug';
5 | export * from '../idl/prompt/coze.loop.prompt.manage';
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/src/table-header/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .table-header-form{
4 | :global {
5 | .semi-form-horizontal .semi-form-field{
6 | padding-right: 8px;
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/i18n/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { initIntl, I18n } from './i18n';
4 |
5 | // eslint-disable-next-line @typescript-eslint/no-explicit-any -- workaround now
6 | export type I18nKeysNoOptionsType = any;
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-components/src/basic-editor/extensions/validation.module.css:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .valid {
4 | color: var(--Green-COZColorGreen7, #00A136);
5 | }
6 |
7 | .invalid {
8 | color: #0607094D;
9 | }
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-pages/src/components/variables-card/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .variable-modal-form {
4 | :global{
5 | .semi-form-field-label{
6 | padding-right: 0;
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/bootstrap/mysql-init/patch-sql/prompt_basic_alter.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `prompt_basic` ADD COLUMN `prompt_type` varchar(64) NOT NULL DEFAULT 'normal' COMMENT 'Prompt类型';
2 | ALTER TABLE `prompt_basic` ADD KEY `idx_pid_ptype_delat` (`space_id`, `prompt_type`, `deleted_at`) USING BTREE;
--------------------------------------------------------------------------------
/backend/modules/data/domain/component/vfs/testdata/bom.csv:
--------------------------------------------------------------------------------
1 | Input,Output
2 | #1-in😼,#1-out
3 | #2-in,#2-out
4 | #3-in,#3-out
5 | #4-in,#4-out
6 | #5-in,#5-out
7 | #6-in,#6-out
8 | #7-in,#7-out
9 | #8-in,#8-out
10 | #9-in,#9-out
11 | #10-in,#10-out
12 | #11-in,#11-out
13 | #12-in,#12-out
14 |
--------------------------------------------------------------------------------
/frontend/apps/cozeloop/src/hooks/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { useSetupSpace, SetupSpaceStatus } from './use-setup-space';
4 | export { useApiErrorToast } from './use-api-error-toast';
5 | export { useSetupI18n } from './use-setup-i18n';
6 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/__tests__/idl/weird.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | message Common {}
4 |
5 | service Example {
6 | rpc Func1 (Common) returns (Common) {
7 | option (google.api.http) = {
8 | get: "/ezo/web/v1/user_camp_result"
9 | body: "*"
10 | };
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/env/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | test: {},
9 | });
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/intl/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | test: {},
9 | });
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail-open/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/src/trace-detail/components/common/split-pane/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .split-pane_container {
4 | box-sizing: border-box;
5 | border: 1px solid var(--semi-color-border);
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/src/consts/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export const structDataListKeys = [
4 | 'error',
5 | 'tool',
6 | 'input',
7 | 'reasoningContent',
8 | 'output',
9 | ] as const;
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | });
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tea/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | test: {},
9 | });
10 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/bootstrap/rmq-broker/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | if "${ROCKETMQ_HOME}/bin/mqadmin" \
6 | clusterList \
7 | -n coze-loop-rmq-namesrv:9876 \
8 | 2>/dev/null \
9 | | grep -q DefaultCluster; then
10 | exit 0
11 | else
12 | exit 1
13 | fi
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/bootstrap/init/mysql/init-sql/prompt_basic_alter.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `prompt_basic` ADD COLUMN `prompt_type` varchar(64) NOT NULL DEFAULT 'normal' COMMENT 'Prompt类型';
2 | ALTER TABLE `prompt_basic` ADD KEY `idx_pid_ptype_delat` (`space_id`, `prompt_type`, `deleted_at`) USING BTREE;
--------------------------------------------------------------------------------
/frontend/infra/eslint-plugin/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-cli/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-helper/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-plugin/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-runtime/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/arch/logger/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/env/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/components/dataset-detail/dataset-column-edit/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .modal{
4 | :global{
5 | .semi-modal-header{
6 | align-items: center;
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/guard/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/i18n/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/intl/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/src/trace-detail/components/feedback/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { tabs } from './tab';
4 | export { ManualAnnotation } from './score';
5 | export { TraceFeedBack } from './trace-detail-table';
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tea/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/rmq-broker/bootstrap/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | if "${ROCKETMQ_HOME}/bin/mqadmin" \
6 | clusterList \
7 | -n coze-loop-rmq-namesrv:9876 \
8 | 2>/dev/null \
9 | | grep -q DefaultCluster; then
10 | exit 0
11 | else
12 | exit 1
13 | fi
--------------------------------------------------------------------------------
/backend/pkg/lang/goroutine/safego.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package goroutine
5 |
6 | import (
7 | "context"
8 | )
9 |
10 | func Go(ctx context.Context, fn func()) {
11 | go func() {
12 | defer Recovery(ctx)
13 | fn()
14 | }()
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-generator/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-helper/src/constant.ts:
--------------------------------------------------------------------------------
1 | export const ReservedKeyWord = [
2 | 'class',
3 | 'const',
4 | 'var',
5 | 'arguments',
6 | 'import',
7 | 'export',
8 | 'from',
9 | 'extends',
10 | 'interface',
11 | 'enum',
12 | 'package',
13 | 'do',
14 | 'eval',
15 | 'object',
16 | ];
17 |
--------------------------------------------------------------------------------
/frontend/infra/utils/monorepo-kits/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/infra/utils/rush-logger/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-flags/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/arch/fetch-stream/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/account/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/src/api/idl/llm/domain/common.ts:
--------------------------------------------------------------------------------
1 | export enum Scenario {
2 | scenario_default = "default",
3 | scenario_prompt_debug = "prompt_debug",
4 | scenario_prompt_as_a_service = "prompt_as_a_service",
5 | scenario_eval_target = "eval_target",
6 | scenario_evaluator = "evaluator",
7 | }
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-components/vitest.config.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { defineConfig } from '@coze-arch/vitest-config';
4 |
5 | export default defineConfig({
6 | dirname: __dirname,
7 | preset: 'web',
8 | test: {},
9 | });
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-hooks/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/src/trace-detail/components/graphs/trace-tree/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .trace-tree {
4 | /* stylelint-disable-next-line declaration-no-important */
5 | overflow: unset !important;
6 | }
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/route/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/stores/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/idl/thrift/coze/loop/llm/coze.loop.llm.thrift:
--------------------------------------------------------------------------------
1 | namespace go coze.loop.prompt
2 |
3 | include "coze.loop.llm.manage.thrift"
4 | include "coze.loop.llm.runtime.thrift"
5 |
6 | service LLMManageService extends coze.loop.llm.manage.LLMManageService {}
7 | service LLMRuntimeService extends coze.loop.llm.runtime.LLMRuntimeService {}
--------------------------------------------------------------------------------
/backend/modules/observability/domain/trace/service/collector/exporter/clickhouseexporter/config.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package clickhouseexporter
5 |
6 | type Config struct{}
7 |
8 | func (cfg *Config) Validate() error {
9 | return nil
10 | }
11 |
--------------------------------------------------------------------------------
/frontend/infra/plugins/postcss-plugin/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/infra/plugins/postcss-plugin/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'node',
6 | test: {
7 | coverage: {
8 | all: true,
9 | include: ['src/**'],
10 | },
11 | },
12 | });
13 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/base-hooks/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-components/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-config/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/types/experiment/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { type ExperimentItem } from './experiment-detail';
4 | export {
5 | type RequestParams,
6 | type Service,
7 | type Filter,
8 | } from './experiment-detail-table';
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/src/trace-detail/components/span-detail-list/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .field-list {
4 | display: grid;
5 | grid-gap: 12px;
6 | grid-template-columns: ~"repeat(auto-fill, 100%, 1fr))";
7 | }
8 |
--------------------------------------------------------------------------------
/backend/modules/llm/domain/component/conf/runtime.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package conf
5 |
6 | //go:generate mockgen -destination=mocks/runtime.go -package=mocks . IConfigRuntime
7 | type IConfigRuntime interface {
8 | NeedCvtURLToBase64() bool
9 | }
10 |
--------------------------------------------------------------------------------
/backend/pkg/mcache/mcache.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package mcache
5 |
6 | import (
7 | "time"
8 | )
9 |
10 | type IByteCache interface {
11 | Get(key []byte) ([]byte, error)
12 | Set(key []byte, value []byte, expiration time.Duration) error
13 | }
14 |
--------------------------------------------------------------------------------
/frontend/config/ts-config/tsconfig.web.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "http://json.schemastore.org/tsconfig",
3 | "extends": "./tsconfig.base.json",
4 | "files": ["./global.d.ts"],
5 | "compilerOptions": {
6 | "declaration": true,
7 | "jsx": "preserve",
8 | "lib": ["dom", "dom.iterable", "esnext"]
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/adapter-interfaces/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-adapter/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./lib-ts"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/components/experiments/draggable-grid/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { default as DraggableGrid } from './draggable-grid-with-handle';
4 | export { type ItemRenderProps } from './draggable-grid-with-handle';
5 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/templates/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: {{ include "configmap.name" . }}
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/entrypoint.sh" | nindent 4 }}
8 | healthcheck.sh: |-
9 | {{ .Files.Get "bootstrap/healthcheck.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/minio/templates/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: {{ include "configmap.name" . }}
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/entrypoint.sh" | nindent 4 }}
8 | healthcheck.sh: |-
9 | {{ .Files.Get "bootstrap/healthcheck.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/mysql/templates/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: {{ include "configmap.name" . }}
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/entrypoint.sh" | nindent 4 }}
8 | healthcheck.sh: |-
9 | {{ .Files.Get "bootstrap/healthcheck.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/nginx/templates/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: {{ include "configmap.name" . }}
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/entrypoint.sh" | nindent 4 }}
8 | healthcheck.sh: |-
9 | {{ .Files.Get "bootstrap/healthcheck.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/redis/templates/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: {{ include "configmap.name" . }}
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/entrypoint.sh" | nindent 4 }}
8 | healthcheck.sh: |-
9 | {{ .Files.Get "bootstrap/healthcheck.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/backend/pkg/consts/ctx.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package consts
5 |
6 | const (
7 | CtxKeyLogID = "K_LOGID"
8 |
9 | CookieLanguageKey = "i18next"
10 | LocaleZhCN = "zh-CN"
11 | LocalEnUS = "en-US"
12 | LocaleDefault = LocalEnUS
13 | )
14 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-generator/src/index.ts:
--------------------------------------------------------------------------------
1 | import { type IGenOptions } from './types';
2 | import { ClientGenerator } from './core';
3 |
4 | export * from './context';
5 |
6 | export function genClient(params: IGenOptions) {
7 | const clientGenerator = new ClientGenerator(params);
8 | clientGenerator.run();
9 | }
10 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/src/lazy/index.ts:
--------------------------------------------------------------------------------
1 | export {
2 | CalypsoLazy as MdBoxLazy,
3 | ImageStatus,
4 | parseMarkdown,
5 | getTextOfAst,
6 | type CalypsoLazyProps as MdBoxLazyProps,
7 | type CalypsoLinkProps as MdBoxLinkProps,
8 | LinkType,
9 | useSmoothText,
10 | } from '@bytedance/calypso';
11 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./lib-ts"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/components/logic-editor/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import LogicEditor from './logic-editor';
4 |
5 | export type { LogicDataType, LogicField, LogicFilter } from './logic-types';
6 |
7 | export default LogicEditor;
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/types/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export type CozeTagColor =
4 | | 'brand'
5 | | 'primary'
6 | | 'green'
7 | | 'yellow'
8 | | 'red'
9 | | 'cyan'
10 | | 'blue'
11 | | 'purple'
12 | | 'magenta';
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/pages/experiment/detail/components/experiment-chart/aggregate-chart/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { EvaluatorsScoreChart } from './evaluators-score-chart';
4 | export { AnnotationsScoreChart } from './annotations-score-chart';
5 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["./dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-list/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/clickhouse/templates/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: {{ include "configmap.name" . }}
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/entrypoint.sh" | nindent 4 }}
8 | healthcheck.sh: |-
9 | {{ .Files.Get "bootstrap/healthcheck.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/rmq-broker/templates/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: {{ include "configmap.name" . }}
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/entrypoint.sh" | nindent 4 }}
8 | healthcheck.sh: |-
9 | {{ .Files.Get "bootstrap/healthcheck.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/backend/modules/data/domain/component/vfs/testdata/utf8_cut.csv:
--------------------------------------------------------------------------------
1 | question,选项A,选项B,选项C,选项D,选项E,选项F,实际答案
2 | 小明得了-1分,他的分级是什么?,A. 异常,B. 不及格,C. 及格,D. 良好,E. 优秀,F. 完美,A
3 | 小明得了0分,他的分级是什么?,A. 异常,B. 不及格,C. 及格,D. 良好,E. 优秀,F. 完美,B
4 | 小明得了1分,他的分级是什么?,A. 异常,B. 不及格,C. 及格,D. 良好,E. 优秀,F. 完美,B
5 | 小明得了2分,他的分级是什么?,A. 异常,B. 不及格,C. 及格,D. 良好,E. 优秀,F. 完美,B
6 |
--------------------------------------------------------------------------------
/backend/pkg/lang/maps/map.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package maps
5 |
6 | import (
7 | "github.com/bytedance/gg/gmap"
8 | )
9 |
10 | func ToSlice[K comparable, V any, R any](m map[K]V, iteratee func(k K, v V) R) []R {
11 | return gmap.ToSlice(m, iteratee)
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail-open/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/config/rush-project.json:
--------------------------------------------------------------------------------
1 | {
2 | "operationSettings": [
3 | {
4 | "operationName": "test:cov",
5 | "outputFolderNames": ["coverage"]
6 | },
7 | {
8 | "operationName": "ts-check",
9 | "outputFolderNames": ["dist"]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/templates/init/mysql/init-sql-configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: "mysql-init-sql-configmap"
5 | data:
6 | {{- range $path, $file := .Files.Glob "bootstrap/init/mysql/init-sql/*.sql" }}
7 | {{ base $path }}: |-
8 | {{ $file | toString | indent 4 }}
9 | {{- end }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/rmq-namesrv/templates/configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: {{ include "configmap.name" . }}
5 | data:
6 | entrypoint.sh: |-
7 | {{ .Files.Get "bootstrap/entrypoint.sh" | nindent 4 }}
8 | healthcheck.sh: |-
9 | {{ .Files.Get "bootstrap/healthcheck.sh" | nindent 4 }}
--------------------------------------------------------------------------------
/backend/pkg/vdutil/validator.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package vdutil
5 |
6 | import (
7 | validator "github.com/go-playground/validator/v10"
8 | )
9 |
10 | var validate = validator.New()
11 |
12 | func Validate(s any) error {
13 | return validate.Struct(s)
14 | }
15 |
--------------------------------------------------------------------------------
/frontend/config/stylelint-config/examples/first-level-global.less:
--------------------------------------------------------------------------------
1 | // bad
2 | // bad
3 | /* stylelint-disable plugin/disallow-first-level-global */
4 | :global {
5 | .semi-button {
6 | width: 300px;
7 | }
8 | }
9 |
10 | // ok
11 | .a {
12 | :global {
13 | .semi-button {
14 | width: 300px;
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/frontend/config/ts-config/tsconfig.node.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "http://json.schemastore.org/tsconfig",
3 | "extends": "./tsconfig.base.json",
4 | "compilerOptions": {
5 | "module": "NodeNext",
6 | "moduleResolution": "NodeNext",
7 | "target": "ES2019"
8 | },
9 | "ts-node": {
10 | "files": true
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/arch/logger/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from '@coze-arch/vitest-config';
2 |
3 | export default defineConfig({
4 | dirname: __dirname,
5 | preset: 'web',
6 | test: {
7 | coverage: {
8 | all: true,
9 | exclude: ['src/index.ts', 'src/logger/index.ts'],
10 | },
11 | },
12 | });
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/pages/evaluator/evaluator-create/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import EvaluatorCreatePage from './evaluator-detail';
4 | import CodeEvaluatorCreatePage from './code-create';
5 |
6 | export { EvaluatorCreatePage, CodeEvaluatorCreatePage };
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/guard/src/hooks/use-guard/utils.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { type GuardProps, GuardActionType } from '../../types';
4 |
5 | export const guard = ({ key, context, configs }: GuardProps) =>
6 | configs[key]?.(context) || GuardActionType.ACTION;
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail-open/eslint.config.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | const { defineConfig } = require('@coze-arch/eslint-config');
4 |
5 | module.exports = defineConfig({
6 | packageRoot: __dirname,
7 | preset: 'web',
8 | rules: {},
9 | });
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-pages/src/list/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .prompt-form {
4 | @apply flex gap-2 items-center;
5 |
6 | :global {
7 | .semi-form-field {
8 | padding-top: 0;
9 | padding-bottom: 0;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/stores/src/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { useUIStore, UIEvent } from './stores/ui';
4 | export type { BreadcrumbItemConfig } from './stores/ui';
5 | export { useI18nStore } from './stores/i18n';
6 | export type { I18nLang } from './stores/i18n';
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/src/api/data/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export * from '../idl/data/domain/dataset';
4 | export * from '../idl/data/domain/dataset_job';
5 | export * from '../idl/data/coze.loop.data.dataset';
6 | export * from '../idl/data/coze.loop.data.tag';
7 |
8 |
--------------------------------------------------------------------------------
/frontend/config/ts-config/config/rushx-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../../rushx-config.schema.json",
3 | "packageAudit": {
4 | "enable": true,
5 | "rules": [
6 | [
7 | "essential-config-file",
8 | "error",
9 | { "essentialFiles": ["OWNERS", "eslint.config.js"] }
10 | ]
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/src/base-search-select/index.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { default as BaseSearchSelect } from './base-search-select';
4 | export { default as BaseSearchFormSelect } from './base-search-form-select';
5 | export { type BaseSelectProps } from './types';
6 |
--------------------------------------------------------------------------------
/idl/thrift/coze/loop/prompt/domain/user.thrift:
--------------------------------------------------------------------------------
1 | namespace go coze.loop.prompt.domain.user
2 |
3 | struct UserInfoDetail {
4 | 1: optional string user_id
5 |
6 | 11: optional string name
7 | 12: optional string nick_name
8 | 13: optional string avatar_url
9 | 14: optional string email
10 | 15: optional string mobile
11 | }
12 |
--------------------------------------------------------------------------------
/release/deployment/docker-compose/bootstrap/clickhouse/healthcheck.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | if clickhouse-client \
6 | -u "${COZE_LOOP_CLICKHOUSE_USER}" \
7 | --password="${COZE_LOOP_CLICKHOUSE_PASSWORD}" \
8 | --query "SELECT 1" \
9 | 2>/dev/null \
10 | | grep -q 1; then
11 | exit 0
12 | else
13 | exit 1
14 | fi
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/templates/init/clickhouse/init-sql-configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: "clickhouse-init-sql-configmap"
5 | data:
6 | {{- range $path, $file := .Files.Glob "bootstrap/init/clickhouse/init-sql/*.sql" }}
7 | {{ base $path }}: |-
8 | {{ $file | toString | indent 4 }}
9 | {{- end }}
--------------------------------------------------------------------------------
/backend/modules/data/domain/tag/entity/tag_spec.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package entity
5 |
6 | type TagSpec struct {
7 | // 最大层数
8 | MaxHeight int `json:"max_height" mapstructure:"max_height"`
9 | // 每层最大宽度
10 | MaxWidth int `json:"max_width" mapstructure:"max_width"`
11 | }
12 |
--------------------------------------------------------------------------------
/backend/modules/observability/infra/rpc/auth/mocks/auth_client_mock.go:
--------------------------------------------------------------------------------
1 | // Code generated by MockGen. DO NOT EDIT.
2 | // Source: auth.go
3 | //
4 | // Generated by this command:
5 | //
6 | // mockgen -source=auth.go -destination=mocks/auth_client_mock.go -package=mocks
7 | //
8 |
9 | // Package mocks is a generated GoMock package.
10 | package mocks
11 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/src/api/idl/foundation/domain/authn.ts:
--------------------------------------------------------------------------------
1 | export interface PersonalAccessToken {
2 | id: string,
3 | name: string,
4 | /** unix,秒 */
5 | created_at: string,
6 | /** unix,秒 */
7 | updated_at: string,
8 | /** unix,秒,-1 表示未使用 */
9 | last_used_at: string,
10 | /** unix,秒 */
11 | expire_at: string,
12 | }
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/src/trace-detail/consts/code.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export const TRACE_EXPIRED_CODE = 600903208;
4 | export const COZE_BOT_NO_AUTH_CODE = [600903205, 600903204];
5 | export const INVALIDATE_CODE = [TRACE_EXPIRED_CODE, ...COZE_BOT_NO_AUTH_CODE];
6 |
--------------------------------------------------------------------------------
/release/deployment/helm-chart/charts/app/templates/init/rmq/init-subscription-configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: "rmq-init-subscription-configmap"
5 | data:
6 | {{- range $path, $file := .Files.Glob "bootstrap/init/rmq/init-subscription/*.cfg" }}
7 | {{ base $path }}: |-
8 | {{ $file | toString | indent 4 }}
9 | {{- end }}
--------------------------------------------------------------------------------
/release/deployment/helm-chart/umbrella/templates/locales-configmap.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: ConfigMap
3 | metadata:
4 | name: {{ printf "%s-locales-configmap" (include "application.name" .) }}
5 | data:
6 | en-US.yaml: |-
7 | {{ .Files.Get "conf/locales/en-US.yaml" | nindent 4 }}
8 | zh-CN.yaml: |-
9 | {{ .Files.Get "conf/locales/zh-CN.yaml" | nindent 4 }}
--------------------------------------------------------------------------------
/frontend/config/eslint-config/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/config/postcss-config/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/eslint-plugin/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl-parser/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-cli/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/arch/logger/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/adapter-interfaces/src/evaluate/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | import { type EvaluateExperimentsAdapters } from './experiments';
4 | export type EvaluateAdapters = EvaluateExperimentsAdapters;
5 |
6 | export { type EvaluateTargetPromptDynamicParamsProps } from './experiments';
7 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/env/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/pages/experiment/create/components/validators/const.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export const stepValidatorsFieldMap = {
4 | 0: ['name', 'desc'],
5 | 1: ['evaluationSet', 'evaluationSetVersion'],
6 | 2: ['evalTargetType'],
7 | 3: ['evaluatorProList'],
8 | };
9 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-detail/src/trace-detail/components/common/field-list/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .field-list {
4 | display: grid;
5 | grid-gap: 10px;
6 | grid-template-columns: ~"repeat(auto-fill, minmax(max(240px, calc((100% - 30px) / 4)), 1fr))";
7 | }
8 |
--------------------------------------------------------------------------------
/backend/infra/redis/utils.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package redis
5 |
6 | import (
7 | "github.com/pkg/errors"
8 | "github.com/redis/go-redis/v9"
9 | )
10 |
11 | func IsNilError(err error) bool {
12 | if err == nil {
13 | return false
14 | }
15 | return errors.Is(err, redis.Nil)
16 | }
17 |
--------------------------------------------------------------------------------
/backend/pkg/lang/mem/copy.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package mem
5 |
6 | import (
7 | "encoding/json"
8 | )
9 |
10 | func DeepCopy(src, dst interface{}) error {
11 | data, err := json.Marshal(src)
12 | if err != nil {
13 | return err
14 | }
15 | return json.Unmarshal(data, dst)
16 | }
17 |
--------------------------------------------------------------------------------
/frontend/config/stylelint-config/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/config/tailwind-config/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-generator/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-helper/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-plugin/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/idl/idl2ts-runtime/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/utils/monorepo-kits/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/utils/rush-logger/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-flags/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-typings/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/arch/fetch-stream/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/account/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/adapter-interfaces/eslint.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@coze-arch/eslint-config');
2 |
3 | module.exports = defineConfig({
4 | packageRoot: __dirname,
5 | preset: 'node',
6 | rules: {
7 | '@typescript-eslint/naming-convention': 'off',
8 | '@typescript-eslint/no-empty-interface': 'off',
9 | },
10 | });
11 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/components/src/table-col-actions/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .table-col-actions-dropdown {
4 | :global(.coz-item-text) {
5 | align-content: center;
6 | width: 100% !important;
7 | height: 32px;
8 | margin-right: 0 !important;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/README.md:
--------------------------------------------------------------------------------
1 | # @cozeloop/evaluate-components
2 |
3 | > Project template for react component with storybook.
4 |
5 | ## Features
6 |
7 | - [x] eslint & ts
8 | - [x] esm bundle
9 | - [x] umd bundle
10 | - [x] storybook
11 |
12 | ## Commands
13 |
14 | - init: `rush update`
15 | - dev: `npm run dev`
16 | - build: `npm run build`
17 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/guard/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/i18n/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/intl/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/route/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/stores/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/toolkit/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/backend/modules/evaluation/consts/eval_target.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package consts
5 |
6 | import (
7 | "github.com/coze-dev/coze-loop/backend/kitex_gen/coze/loop/evaluation/domain/expt"
8 | )
9 |
10 | const (
11 | EvalTargetInputFieldKeyPromptUserQuery = expt.PromptUserQueryFieldKey
12 | )
13 |
--------------------------------------------------------------------------------
/frontend/infra/plugins/postcss-plugin/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-env-adapter/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/api-schema/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/auth-pages/src/components/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { AuthFrame } from './auth-frame';
4 | export { Logo } from './logo';
5 | export { LoginPanel } from './login-panel';
6 | export { AccountSetting } from './account-setting';
7 | export { SwitchLang } from './switch-lng';
8 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/auth-pages/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/base-hooks/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-config/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-hooks/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/utils/column-manage/dataset-column-storage.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export const DATASET_LIST_COLUMN_STORAGE_KEY = 'dataset-column';
4 | export const getDatasetColumnSortStorageKey = (datasetID: string) =>
5 | `${DATASET_LIST_COLUMN_STORAGE_KEY}-${datasetID}`;
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-list/README.md:
--------------------------------------------------------------------------------
1 | # @cozeloop/trace-list
2 |
3 | > Project template for react component with storybook.
4 |
5 | ## Features
6 |
7 | - [x] eslint & ts
8 | - [x] esm bundle
9 | - [x] umd bundle
10 | - [x] storybook
11 |
12 | ## Commands
13 |
14 | - init: `rush update`
15 | - dev: `npm run dev`
16 | - build: `npm run build`
17 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-struct-data/src/types/utils.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export type RemoveUndefinedOrString = T extends undefined | string
4 | ? never
5 | : T;
6 |
7 | export type ValueOf = T[keyof T];
8 |
9 | export type PickValueByKey = T[K];
10 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/prompt-pages/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-pages/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/backend/infra/redis/demo/redis.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package demo
5 |
6 | import (
7 | "github.com/redis/go-redis/v9"
8 | )
9 |
10 | type ClientFactory struct{}
11 |
12 | func (c *ClientFactory) NewClient(opt *redis.Options) (*redis.Client, error) {
13 | return redis.NewClient(opt), nil
14 | }
15 |
--------------------------------------------------------------------------------
/backend/modules/evaluation/domain/component/metrics/evaluation_set.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package metrics
5 |
6 | //go:generate mockgen -destination=mocks/evaluation_set.go -package=mocks . EvaluationSetMetrics
7 | type EvaluationSetMetrics interface {
8 | EmitCreate(spaceID int64, err error)
9 | }
10 |
--------------------------------------------------------------------------------
/backend/modules/observability/domain/metric/entity/event.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package entity
5 |
6 | type MetricEvent struct {
7 | PlatformType string
8 | WorkspaceID string
9 | StartDate string
10 | MetricName string
11 | MetricValue string
12 | ObjectKeys map[string]string
13 | }
14 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/README.md:
--------------------------------------------------------------------------------
1 | # @coze-arch/bot-md-box-adapter
2 |
3 | > Project template for react component with storybook.
4 |
5 | ## Features
6 |
7 | - [x] eslint & ts
8 | - [x] esm bundle
9 | - [x] umd bundle
10 | - [x] storybook
11 |
12 | ## Commands
13 |
14 | - init: `rush update`
15 | - dev: `npm run dev`
16 | - build: `npm run build`
17 |
--------------------------------------------------------------------------------
/frontend/packages/arch/bot-md-box-adapter/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/adapter-interfaces/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/biz-components/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-adapter/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/stores/eval-target-store/index.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export { useEvalTargetDefinition } from './use-eval-target-definition';
4 | export { type EvalTargetDefinition } from '../../types/evaluate-target';
5 | export { BaseTargetPreview } from './base-target-preview';
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-pages/README.md:
--------------------------------------------------------------------------------
1 | # @cozeloop/evaluate-components
2 |
3 | > Project template for react component with storybook.
4 |
5 | ## Features
6 |
7 | - [x] eslint & ts
8 | - [x] esm bundle
9 | - [x] umd bundle
10 | - [x] storybook
11 |
12 | ## Commands
13 |
14 | - init: `rush update`
15 | - dev: `npm run dev`
16 | - build: `npm run build`
17 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-pages/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation-pages/README.md:
--------------------------------------------------------------------------------
1 | # @cozeloop/evaluate-components
2 |
3 | > Project template for react component with storybook.
4 |
5 | ## Features
6 |
7 | - [x] eslint & ts
8 | - [x] esm bundle
9 | - [x] umd bundle
10 | - [x] storybook
11 |
12 | ## Commands
13 |
14 | - init: `rush update`
15 | - dev: `npm run dev`
16 | - build: `npm run build`
17 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation-pages/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tag-components/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/tailwind-plugin/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/infra/plugins/pkg-root-webpack-plugin/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "compilerOptions": {
4 | "composite": true
5 | },
6 | "references": [
7 | {
8 | "path": "./tsconfig.build.json"
9 | },
10 | {
11 | "path": "./tsconfig.misc.json"
12 | }
13 | ],
14 | "exclude": ["**/*"]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/arch/subspace-resolve-plugin/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/README.md:
--------------------------------------------------------------------------------
1 | # @cozeloop/evaluate-components
2 |
3 | > Project template for react component with storybook.
4 |
5 | ## Features
6 |
7 | - [x] eslint & ts
8 | - [x] esm bundle
9 | - [x] umd bundle
10 | - [x] storybook
11 |
12 | ## Commands
13 |
14 | - init: `rush update`
15 | - dev: `npm run dev`
16 | - build: `npm run build`
17 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/src/utils/column-manage/dataset-list-column-storage.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | export const DATASET_LIST_COLUMN_STORAGE_KEY = 'dataset-list-column';
4 | export const getDatasetListColumnSortStorageKey = (spaceID: string) =>
5 | `${DATASET_LIST_COLUMN_STORAGE_KEY}-${spaceID}`;
6 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate-components/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/evaluate/src/components/mapping-item-field/index.module.less:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025 coze-dev Authors
2 | // SPDX-License-Identifier: Apache-2.0
3 | .select {
4 | flex: 1;
5 |
6 | :global(.semi-select-prefix-text) {
7 | // 前缀统一四个字长度
8 | justify-content: left;
9 | min-width: 56px;
10 |
11 | @apply coz-fg-secondary;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/frontend/packages/cozeloop/observation/trace-list/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "exclude": ["**/*"],
4 | "compilerOptions": {
5 | "composite": true
6 | },
7 | "references": [
8 | {
9 | "path": "./tsconfig.build.json"
10 | },
11 | {
12 | "path": "./tsconfig.misc.json"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------