@creatorarmy/openclaw-creatorarmy 1.0.0
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.
- package/.claude/settings.local.json +7 -0
- package/.github/workflows/ci.yml +31 -0
- package/.github/workflows/npm-publish.yml +24 -0
- package/README.md +1 -0
- package/biome.json +78 -0
- package/bun.lock +1095 -0
- package/client.ts +293 -0
- package/commands/cli.ts +108 -0
- package/commands/health.ts +42 -0
- package/commands/slash.ts +86 -0
- package/config.ts +58 -0
- package/creator-army-demand-engine-v2.skill +0 -0
- package/hooks/skill-loader.ts +29 -0
- package/index.ts +62 -0
- package/logger.ts +54 -0
- package/openclaw.plugin.json +33 -0
- package/package.json +26 -0
- package/tools/demand-engine/briefs.ts +110 -0
- package/tools/demand-engine/context.ts +93 -0
- package/tools/demand-engine/excavation.ts +74 -0
- package/tools/demand-engine/references.ts +55 -0
- package/tools/demand-engine/scripts.ts +124 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
name: CI - Type Check, Format & Lint
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
quality-checks:
|
|
8
|
+
name: Quality Checks
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- name: Checkout code
|
|
12
|
+
uses: actions/checkout@v4
|
|
13
|
+
|
|
14
|
+
- name: Setup Bun
|
|
15
|
+
uses: oven-sh/setup-bun@v2
|
|
16
|
+
with:
|
|
17
|
+
bun-version: 1.2.17
|
|
18
|
+
|
|
19
|
+
- name: Install dependencies
|
|
20
|
+
run: bun install --frozen-lockfile
|
|
21
|
+
|
|
22
|
+
- name: Setup Biome
|
|
23
|
+
uses: biomejs/setup-biome@v2
|
|
24
|
+
with:
|
|
25
|
+
version: 2.3.8
|
|
26
|
+
|
|
27
|
+
- name: Run TypeScript type checking
|
|
28
|
+
run: bun run check-types
|
|
29
|
+
|
|
30
|
+
- name: Run Biome CI (format & lint)
|
|
31
|
+
run: biome ci .
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Publish Package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [created]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
publish:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
|
+
|
|
13
|
+
- name: Setup Bun
|
|
14
|
+
uses: oven-sh/setup-bun@v2
|
|
15
|
+
with:
|
|
16
|
+
bun-version: 1.2.17
|
|
17
|
+
|
|
18
|
+
- name: Install dependencies
|
|
19
|
+
run: bun install --frozen-lockfile
|
|
20
|
+
|
|
21
|
+
- name: Publish to npm
|
|
22
|
+
run: bun publish
|
|
23
|
+
env:
|
|
24
|
+
NPM_TOKEN: ${{secrets.npm_token}}
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Creator-Army-Plugin
|
package/biome.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
|
|
3
|
+
"assist": {
|
|
4
|
+
"actions": {
|
|
5
|
+
"source": {
|
|
6
|
+
"organizeImports": "on",
|
|
7
|
+
"useSortedAttributes": "on",
|
|
8
|
+
"useSortedKeys": "off"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"enabled": true
|
|
12
|
+
},
|
|
13
|
+
"files": {
|
|
14
|
+
"includes": [
|
|
15
|
+
"**",
|
|
16
|
+
"!**/node_modules",
|
|
17
|
+
"!**/dist",
|
|
18
|
+
"!**/bun.lock",
|
|
19
|
+
"!**/*.lock",
|
|
20
|
+
"!lib/validate.js"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"formatter": {
|
|
24
|
+
"enabled": true,
|
|
25
|
+
"indentStyle": "tab"
|
|
26
|
+
},
|
|
27
|
+
"javascript": {
|
|
28
|
+
"formatter": {
|
|
29
|
+
"quoteStyle": "double",
|
|
30
|
+
"semicolons": "asNeeded"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"linter": {
|
|
34
|
+
"domains": {
|
|
35
|
+
"project": "none"
|
|
36
|
+
},
|
|
37
|
+
"enabled": true,
|
|
38
|
+
"rules": {
|
|
39
|
+
"correctness": {
|
|
40
|
+
"useYield": "warn",
|
|
41
|
+
"noUnusedVariables": {
|
|
42
|
+
"level": "warn",
|
|
43
|
+
"options": {
|
|
44
|
+
"ignoreRestSiblings": true
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"noUnusedImports": "warn",
|
|
48
|
+
"useParseIntRadix": "off"
|
|
49
|
+
},
|
|
50
|
+
"recommended": true,
|
|
51
|
+
"style": {
|
|
52
|
+
"noDefaultExport": "off",
|
|
53
|
+
"noInferrableTypes": "error",
|
|
54
|
+
"noNonNullAssertion": "warn",
|
|
55
|
+
"noParameterAssign": "error",
|
|
56
|
+
"noUnusedTemplateLiteral": "error",
|
|
57
|
+
"noUselessElse": "error",
|
|
58
|
+
"useAsConstAssertion": "error",
|
|
59
|
+
"useDefaultParameterLast": "error",
|
|
60
|
+
"useEnumInitializers": "error",
|
|
61
|
+
"useNamingConvention": {
|
|
62
|
+
"level": "off",
|
|
63
|
+
"options": {
|
|
64
|
+
"strictCase": false
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"useNumberNamespace": "error",
|
|
68
|
+
"useSelfClosingElements": "error",
|
|
69
|
+
"useSingleVarDeclarator": "error"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"vcs": {
|
|
74
|
+
"clientKind": "git",
|
|
75
|
+
"enabled": true,
|
|
76
|
+
"useIgnoreFile": true
|
|
77
|
+
}
|
|
78
|
+
}
|