@yorha2b-lab/autodev 5.7.2 → 5.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ {
2
+ "signedContributors": [
3
+ {
4
+ "name": "yorha2b-lab"
5
+ }
6
+ ]
7
+ }
@@ -16,13 +16,18 @@ jobs:
16
16
  CLA:
17
17
  runs-on: ubuntu-latest
18
18
  steps:
19
+ # ⚠️ 必须有这一步!先把代码 Checkout 下来
20
+ - name: Checkout
21
+ uses: actions/checkout@v4
22
+
23
+ # 2. 运行 CLA 机器人
19
24
  - name: "CLA Assistant Check"
20
25
  if: (github.event.comment.issue.pull_request != null || github.event_name == 'pull_request_target')
21
26
  uses: contributor-assistant/github-action@v2.4.0
22
27
  env:
23
28
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
29
  with:
25
- path-to-signatures: 'bunker/signatures/cla.json'
30
+ path-to-signatures: '.github/cla.json'
26
31
  path-to-document: 'https://github.com/${{ github.repository }}/blob/main/CLA.md'
27
32
  branch: 'main'
28
- allowlist: 'bot*'
33
+ allowlist: 'bot*,dependabot[bot],renovate[bot],github-actions[bot],yorha2b-lab'
package/README.md CHANGED
@@ -155,7 +155,7 @@ A: 工具本身开源免费,但调用的 AI 模型(如 GPT-4v, Qwen-VL)可
155
155
  Q: 如何自定义生成的代码风格?
156
156
  A: 你可以配置 hbsDir 指向你自己的 Handlebars 模板目录,打造专属的地堡构筑规范。
157
157
 
158
- ---
158
+ ----
159
159
 
160
160
  ## ⚖️ Disclaimer
161
161
 
package/bin/autodev.js CHANGED
@@ -6,7 +6,7 @@ const { program } = require('commander')
6
6
  const local = Intl.DateTimeFormat().resolvedOptions().locale.toUpperCase()
7
7
 
8
8
  const { matchDialog, matrixEffect } = require('../src/utils/ux')
9
- const recruiter = require('../src/kernel/recruiter')
9
+ const recruiter = require('../src/core/recruiter')
10
10
  const dialogs = recruiter(path.join(__dirname, '../src/dialogs'))
11
11
  const dialog = matchDialog(local, dialogs) ?? dialogs['EN-US']
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yorha2b-lab/autodev",
3
- "version": "5.7.2",
3
+ "version": "5.7.3",
4
4
  "description": "基于视觉大模型的前端(react+Antd)全自动 CRUD 代码生成器",
5
5
  "bin": {
6
6
  "autodev": "bin/autodev.js"
@@ -7,7 +7,7 @@ module.exports = {
7
7
 
8
8
  init: async ({ template }, dialog, version, local) => {
9
9
 
10
- const recruiter = require('../kernel/recruiter')
10
+ const recruiter = require('../core/recruiter')
11
11
  const utils = recruiter(path.join(__dirname, '../utils'))
12
12
  const yorha = utils.ux.yorha()
13
13
 
@@ -23,7 +23,7 @@ module.exports = {
23
23
  dialog,
24
24
  template,
25
25
  openAI: require('../ai/openai')(),
26
- engine: require('../kernel/engine')({ utils, template }),
26
+ engine: require('../core/engine')({ utils, template }),
27
27
  handlers: recruiter(path.join(__dirname, '../handlers')),
28
28
  prompts: recruiter(path.join(__dirname, `../framework/${template}/prompts`)),
29
29
  }
@@ -31,7 +31,7 @@ module.exports = {
31
31
  if (version) {
32
32
  await utils.ux.bootSequence(version, local)
33
33
  }
34
- require('../kernel/deployment')(accessPoint)
34
+ require('../core/deployment')(accessPoint)
35
35
  const llm = require('../ai')(accessPoint)
36
36
  const generator = require(generatorPath)(accessPoint)
37
37
  const labs = require('../labs')({ llm, ...accessPoint })
@@ -6,7 +6,7 @@ module.exports = () => {
6
6
 
7
7
  const ctx = bootstrap.get()
8
8
  const routes = Object.values(ctx.handlers)
9
- const queue = require('../kernel/queue')(2, ctx)
9
+ const queue = require('../core/queue')(2, ctx)
10
10
 
11
11
  queue.onIdle(() => ctx.yorha.commander.report(ctx.dialog.bunker.systemStandby, 'gray'))
12
12
 
File without changes
File without changes
File without changes
File without changes