@xtalpi/agentic-lab-skills 0.0.10 → 0.0.11

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.
Files changed (68) hide show
  1. package/README.md +1 -1
  2. package/package.json +14 -14
  3. package/skills/lab-flow-designer/SKILL.md +612 -612
  4. package/skills/lab-flow-designer/embedded-template/SKILL.md +103 -103
  5. package/skills/lab-flow-designer/embedded-template/pools//345/205/245/345/217/243/346/261/240.md +21 -21
  6. package/skills/lab-flow-designer/embedded-template/pools//345/207/272/345/217/243/346/261/240.md +21 -21
  7. package/skills/lab-flow-designer/embedded-template/scripts//347/244/272/344/276/213/346/225/260/346/215/256/344/270/216/346/240/241/351/252/214/351/227/250/346/216/247.js +142 -142
  8. package/skills/lab-flow-designer/embedded-template/valves//347/244/272/344/276/213/346/225/260/346/215/256/344/270/216/346/240/241/351/252/214/351/227/250/346/216/247.md +114 -114
  9. package/skills/lab-flow-designer/references/agentic-lab-processer.md +122 -122
  10. package/skills/lab-flow-designer/references/agentic-lab-sdk.md +534 -361
  11. package/skills/lab-flow-designer/references/rhea-api/README.md +7 -7
  12. package/skills/lab-flow-designer/references/rhea-api/execute_process_batch.md +58 -58
  13. package/skills/lab-flow-designer/references/skill-package-layout.md +268 -268
  14. package/skills/lab-flow-designer/references//344/270/232/345/212/241/346/265/201/347/250/213/346/226/207/346/241/243/346/240/207/345/207/206.md +216 -216
  15. package/skills/lab-flow-designer/templates//344/270/232/345/212/241/346/265/201/347/250/213/346/226/207/346/241/243/346/250/241/346/235/277.md +192 -192
  16. package/skills/lab-flow-designer/templates//344/270/232/345/212/241/346/265/201/347/250/213/346/226/207/346/241/243/347/244/272/344/276/213.md +207 -207
  17. package/skills/lab-flow-designer/testing/test-processer.mjs +1240 -1240
  18. package/skills/lab-nocobase-flow-generator/SKILL.md +164 -164
  19. package/skills/lab-nocobase-flow-generator/examples/setting/350/241/250/350/216/267/345/217/226/345/244/226/351/203/250/346/234/215/345/212/241.js +70 -70
  20. package/skills/lab-nocobase-flow-generator/examples//346/237/245/350/257/242/345/214/226/345/255/246/345/223/201/344/277/241/346/201/257.js +30 -30
  21. package/skills/lab-nocobase-flow-generator/references/doc-standard.md +84 -84
  22. package/skills/lab-nocobase-flow-generator/references/runtime-api.md +224 -224
  23. package/skills/lab-nocobase-flow-generator/templates//350/204/232/346/234/254/351/200/273/350/276/221/346/226/207/346/241/243/346/250/241/346/235/277.md +121 -121
  24. package/skills/lab-nocobase-flow-generator/templates//350/204/232/346/234/254/351/200/273/350/276/221/346/226/207/346/241/243/347/244/272/344/276/213.md +67 -67
  25. package/skills/lab-orbit-component-builder/SKILL.md +353 -353
  26. package/skills/lab-orbit-component-builder/examples/xnb-component-template/.env.local.example +27 -27
  27. package/skills/lab-orbit-component-builder/examples/xnb-component-template/.eslintignore +7 -7
  28. package/skills/lab-orbit-component-builder/examples/xnb-component-template/.eslintrc.cjs +88 -88
  29. package/skills/lab-orbit-component-builder/examples/xnb-component-template/.nvmrc +1 -1
  30. package/skills/lab-orbit-component-builder/examples/xnb-component-template/AgenticAppAPI.md +268 -268
  31. package/skills/lab-orbit-component-builder/examples/xnb-component-template/Jenkinsfile +106 -106
  32. package/skills/lab-orbit-component-builder/examples/xnb-component-template/OrbitAPI.md +453 -453
  33. package/skills/lab-orbit-component-builder/examples/xnb-component-template/README.md +176 -176
  34. package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/public/index.html +12 -12
  35. package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/App.vue +151 -151
  36. package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/components/DevOpenerLauncher.vue +143 -143
  37. package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/global.d.ts +77 -77
  38. package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/main.ts +308 -308
  39. package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/mockXNBBitable.ts +119 -119
  40. package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/shims-vue.d.ts +6 -6
  41. package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/utils/devOpenerHost.ts +75 -75
  42. package/skills/lab-orbit-component-builder/examples/xnb-component-template/index.html +13 -13
  43. package/skills/lab-orbit-component-builder/examples/xnb-component-template/package.json +60 -60
  44. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/api/agenticlabTickets.ts +110 -110
  45. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/entries/bitable.ts +4 -4
  46. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/entries/custom-page.ts +4 -4
  47. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/index.ts +1 -1
  48. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/styles/orbit-quasar-host.scss +19 -19
  49. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/types/context.ts +15 -15
  50. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/types/xnb-context.ts +70 -70
  51. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/use/useBitablePage.ts +189 -189
  52. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/use/useSuperCellDemo.ts +257 -257
  53. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/use/useSuperTableBitableLifecycle.ts +555 -555
  54. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/utils/openerInitParams.ts +158 -158
  55. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/utils/openerTicketIds.ts +32 -32
  56. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/utils/orbitHttpClient.ts +110 -110
  57. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/utils/request.ts +92 -92
  58. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/views/bitable.vue +67 -67
  59. package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/views/custom-page.vue +140 -140
  60. package/skills/lab-orbit-component-builder/examples/xnb-component-template/tsconfig.json +45 -45
  61. package/skills/lab-orbit-component-builder/examples/xnb-component-template/vite.config.ts +170 -170
  62. package/skills/lab-orbit-component-builder/examples/xnb-component-template/vite.dev.config.ts +58 -58
  63. package/skills/lab-orbit-component-builder/references/flow-document-human-ui.md +65 -65
  64. package/skills/lab-orbit-component-builder/references/orbit-vue-conventions.md +133 -133
  65. package/skills/lab-orbit-component-builder/references/pool-schema-to-columns.md +67 -67
  66. package/skills/lab-orbit-component-builder/references/vue-template-checklist.md +179 -179
  67. package/skills/lab-orbit-component-builder/references/xnb-context-vue-props.md +49 -49
  68. package/skills/lab-orbit-component-builder/references/xnbitable-vue-parity.md +32 -32
@@ -1,106 +1,106 @@
1
- // @Library('exar@2.0dev') _
2
- // Version: 0.0.1
3
- def FAILED_STAGE
4
-
5
- pipeline {
6
- agent {
7
- docker {
8
- label 'pro-spot'
9
- image 'hub.xtalpi.cc/development/webb_ci:1.0.0'
10
- registryUrl 'https://hub.xtalpi.cc'
11
- registryCredentialsId 'hub_pass'
12
- args '-u root:root -v /var/run/docker.sock:/var/run/docker.sock'
13
- }
14
- }
15
- options {
16
- skipDefaultCheckout(true)
17
- timestamps()
18
- }
19
- stages {
20
- stage ('Pull code') {
21
- steps {
22
- checkout scm
23
- }
24
- }
25
- stage ('Prepare') {
26
- steps {
27
- echo 'Prepare env'
28
- sh 'env'
29
- sh "exar login -k $EXAR_APPKEY -s $EXAR_APPSECRET"
30
- sh 'exar context init'
31
- load "$WORKSPACE/.exar/env.groovy"
32
- }
33
- }
34
- stage ('Lint') {
35
- steps {
36
- script { FAILED_STAGE = env.STAGE_NAME }
37
- echo 'Static check'
38
- sh """ eslint --ext .js,.ts,.tsx,.vue src \
39
- --resolve-plugins-relative-to /usr/local/node-v14.17.5-linux-x64/lib/node_modules \
40
- --config /usr/local/node-v14.17.5-linux-x64/lib/.eslintrc.js \
41
- --no-eslintrc
42
- """
43
- }
44
- }
45
- stage ('Build') {
46
- steps {
47
- script { FAILED_STAGE = env.STAGE_NAME }
48
- echo 'Build project'
49
- // sh 'npm install'
50
- // sh 'npm run build'
51
- }
52
- }
53
- stage ('Publish') {
54
- when {
55
- expression {
56
- env.EXAR_DEFAULT_COMMIT_MESSAGE =~ /<publish>|<publish-npm>|<publish-dist>/
57
- }
58
- anyOf {
59
- branch 'master'
60
- branch 'G2'
61
- branch 'hotfix/*'
62
- }
63
- }
64
- steps {
65
- script {
66
- FAILED_STAGE = env.STAGE_NAME
67
- if (env.EXAR_DEFAULT_COMMIT_MESSAGE =~ /<publish>/) {
68
- echo 'Publish to webb'
69
- sh """ webb publish dependency . \
70
- --env=0 \
71
- --user=$EXAR_DEFAULT_USER \
72
- --link=$RUN_DISPLAY_URL \
73
- --message='"$EXAR_DEFAULT_COMMIT_MESSAGE"' \
74
- --branch="$BRANCH_NAME"
75
- """
76
- }
77
- if (env.EXAR_DEFAULT_COMMIT_MESSAGE =~ /<publish-dist>/) {
78
- echo 'Publish to webb'
79
- }
80
- if (env.EXAR_DEFAULT_COMMIT_MESSAGE =~ /<publish-npm>/) {
81
- echo 'Publish to npm'
82
- sh 'npm publish'
83
- }
84
- }
85
- }
86
- }
87
- }
88
-
89
- post {
90
- always {
91
- sh 'git clean -ffdx'
92
- }
93
- failure {
94
- echo 'Failed...'
95
- sh """ webb notify '[{ "key": "🧭 阶段", "value": "${FAILED_STAGE}" }]' \
96
- --title="提交代码失败" \
97
- --name="$JOB_NAME" \
98
- --user="$EXAR_DEFAULT_USER" \
99
- --link="$RUN_DISPLAY_URL" \
100
- --message='"$EXAR_DEFAULT_COMMIT_MESSAGE"' \
101
- --branch="$BRANCH_NAME" \
102
- --type="error"
103
- """
104
- }
105
- }
106
- }
1
+ // @Library('exar@2.0dev') _
2
+ // Version: 0.0.1
3
+ def FAILED_STAGE
4
+
5
+ pipeline {
6
+ agent {
7
+ docker {
8
+ label 'pro-spot'
9
+ image 'hub.xtalpi.cc/development/webb_ci:1.0.0'
10
+ registryUrl 'https://hub.xtalpi.cc'
11
+ registryCredentialsId 'hub_pass'
12
+ args '-u root:root -v /var/run/docker.sock:/var/run/docker.sock'
13
+ }
14
+ }
15
+ options {
16
+ skipDefaultCheckout(true)
17
+ timestamps()
18
+ }
19
+ stages {
20
+ stage ('Pull code') {
21
+ steps {
22
+ checkout scm
23
+ }
24
+ }
25
+ stage ('Prepare') {
26
+ steps {
27
+ echo 'Prepare env'
28
+ sh 'env'
29
+ sh "exar login -k $EXAR_APPKEY -s $EXAR_APPSECRET"
30
+ sh 'exar context init'
31
+ load "$WORKSPACE/.exar/env.groovy"
32
+ }
33
+ }
34
+ stage ('Lint') {
35
+ steps {
36
+ script { FAILED_STAGE = env.STAGE_NAME }
37
+ echo 'Static check'
38
+ sh """ eslint --ext .js,.ts,.tsx,.vue src \
39
+ --resolve-plugins-relative-to /usr/local/node-v14.17.5-linux-x64/lib/node_modules \
40
+ --config /usr/local/node-v14.17.5-linux-x64/lib/.eslintrc.js \
41
+ --no-eslintrc
42
+ """
43
+ }
44
+ }
45
+ stage ('Build') {
46
+ steps {
47
+ script { FAILED_STAGE = env.STAGE_NAME }
48
+ echo 'Build project'
49
+ // sh 'npm install'
50
+ // sh 'npm run build'
51
+ }
52
+ }
53
+ stage ('Publish') {
54
+ when {
55
+ expression {
56
+ env.EXAR_DEFAULT_COMMIT_MESSAGE =~ /<publish>|<publish-npm>|<publish-dist>/
57
+ }
58
+ anyOf {
59
+ branch 'master'
60
+ branch 'G2'
61
+ branch 'hotfix/*'
62
+ }
63
+ }
64
+ steps {
65
+ script {
66
+ FAILED_STAGE = env.STAGE_NAME
67
+ if (env.EXAR_DEFAULT_COMMIT_MESSAGE =~ /<publish>/) {
68
+ echo 'Publish to webb'
69
+ sh """ webb publish dependency . \
70
+ --env=0 \
71
+ --user=$EXAR_DEFAULT_USER \
72
+ --link=$RUN_DISPLAY_URL \
73
+ --message='"$EXAR_DEFAULT_COMMIT_MESSAGE"' \
74
+ --branch="$BRANCH_NAME"
75
+ """
76
+ }
77
+ if (env.EXAR_DEFAULT_COMMIT_MESSAGE =~ /<publish-dist>/) {
78
+ echo 'Publish to webb'
79
+ }
80
+ if (env.EXAR_DEFAULT_COMMIT_MESSAGE =~ /<publish-npm>/) {
81
+ echo 'Publish to npm'
82
+ sh 'npm publish'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+
89
+ post {
90
+ always {
91
+ sh 'git clean -ffdx'
92
+ }
93
+ failure {
94
+ echo 'Failed...'
95
+ sh """ webb notify '[{ "key": "🧭 阶段", "value": "${FAILED_STAGE}" }]' \
96
+ --title="提交代码失败" \
97
+ --name="$JOB_NAME" \
98
+ --user="$EXAR_DEFAULT_USER" \
99
+ --link="$RUN_DISPLAY_URL" \
100
+ --message='"$EXAR_DEFAULT_COMMIT_MESSAGE"' \
101
+ --branch="$BRANCH_NAME" \
102
+ --type="error"
103
+ """
104
+ }
105
+ }
106
+ }