@zonease/aiworker-cli 0.15.1 → 0.16.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.
Files changed (79) hide show
  1. package/aiworker-bun.js +237 -227
  2. package/official-apps/aiworker-hr/dist/index.js +194 -79
  3. package/official-apps/aiworker-hr/dist/{host-mounted.js → mounted/host-mounted.js} +195 -80
  4. package/official-apps/aiworker-hr/dist/{standalone.js → standalone/standalone.js} +195 -80
  5. package/official-apps/aiworker-hr/engine-assets/workspace/AGENTS.md +38 -0
  6. package/official-apps/aiworker-hr/engine-assets/workspace/CLAUDE.md +1 -0
  7. package/official-apps/aiworker-hr/engine-assets/workspace/README.md +17 -0
  8. package/official-apps/aiworker-hr/engine-assets/workspace/evidence/README.md +3 -0
  9. package/official-apps/aiworker-hr/{src → host-adapter}/index.ts +2 -2
  10. package/official-apps/aiworker-hr/{src → host-adapter/mounted}/host-mounted.ts +1 -1
  11. package/official-apps/aiworker-hr/{src → host-adapter/standalone}/standalone.ts +1 -1
  12. package/official-apps/aiworker-hr/package.json +7 -7
  13. package/official-apps/aiworker-hr/soul-app.manifest.json +35 -23
  14. package/official-apps/aiworker-hr/tsconfig.json +2 -2
  15. package/official-apps/aiworker-qa/dist/index.js +194 -79
  16. package/official-apps/aiworker-qa/dist/{host-mounted.js → mounted/host-mounted.js} +195 -80
  17. package/official-apps/aiworker-qa/dist/{standalone.js → standalone/standalone.js} +195 -80
  18. package/official-apps/aiworker-qa/engine-assets/skills/.gitkeep +1 -0
  19. package/official-apps/aiworker-qa/engine-assets/workspace/AGENTS.md +38 -0
  20. package/official-apps/aiworker-qa/engine-assets/workspace/CLAUDE.md +1 -0
  21. package/official-apps/aiworker-qa/engine-assets/workspace/README.md +17 -0
  22. package/official-apps/aiworker-qa/engine-assets/workspace/evidence/README.md +3 -0
  23. package/official-apps/aiworker-qa/{src → host-adapter}/index.ts +2 -2
  24. package/official-apps/aiworker-qa/{src → host-adapter/mounted}/host-mounted.ts +1 -1
  25. package/official-apps/aiworker-qa/{src → host-adapter/standalone}/standalone.ts +1 -1
  26. package/official-apps/aiworker-qa/package.json +7 -7
  27. package/official-apps/aiworker-qa/soul-app.manifest.json +35 -23
  28. package/official-apps/aiworker-qa/tsconfig.json +2 -2
  29. package/package.json +1 -1
  30. /package/official-apps/aiworker-hr/{skills → engine-assets/skills}/candidate-profile/SKILL.md +0 -0
  31. /package/official-apps/aiworker-hr/{skills → engine-assets/skills}/evidence-screening/SKILL.md +0 -0
  32. /package/official-apps/aiworker-hr/{skills → engine-assets/skills}/hiring-risk-review/SKILL.md +0 -0
  33. /package/official-apps/aiworker-hr/{skills → engine-assets/skills}/interview-brief/SKILL.md +0 -0
  34. /package/official-apps/aiworker-hr/{skills → engine-assets/skills}/profile-update-proposal/SKILL.md +0 -0
  35. /package/official-apps/aiworker-hr/{src → host-adapter}/api.ts +0 -0
  36. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/artifact.ts +0 -0
  37. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/connectors.ts +0 -0
  38. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/lifecycle.ts +0 -0
  39. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/review.ts +0 -0
  40. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/runtime.ts +0 -0
  41. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/ui.ts +0 -0
  42. /package/official-apps/aiworker-hr/{schemas → product/artifacts/schemas}/candidate-screen.schema.json +0 -0
  43. /package/official-apps/aiworker-hr/{schemas → product/artifacts/schemas}/person-profile.schema.json +0 -0
  44. /package/official-apps/aiworker-hr/{packs → product/profiles}/hr-recruiting/SOUL.md +0 -0
  45. /package/official-apps/aiworker-hr/{review → product/reviews}/candidate-screen.md +0 -0
  46. /package/official-apps/aiworker-hr/{review → product/reviews}/person-profile.md +0 -0
  47. /package/official-apps/aiworker-hr/{src/ui → product/web/artifact-previews}/candidate-screen-preview.tsx +0 -0
  48. /package/official-apps/aiworker-hr/{src/ui → product/web/artifact-previews}/person-profile-preview.tsx +0 -0
  49. /package/official-apps/aiworker-hr/{src/ui → product/web/panels}/profile-panel.tsx +0 -0
  50. /package/official-apps/aiworker-hr/{src/ui → product/web/panels}/review-panel.tsx +0 -0
  51. /package/official-apps/aiworker-hr/{src/ui → product/web/routes}/hr-route.tsx +0 -0
  52. /package/official-apps/aiworker-hr/{src/ui → product/web/widgets}/people-widget.tsx +0 -0
  53. /package/official-apps/aiworker-hr/{capabilities → product/workflows}/candidate-screen/prompt.md +0 -0
  54. /package/official-apps/aiworker-hr/{capabilities → product/workflows}/candidate-screen/review.md +0 -0
  55. /package/official-apps/aiworker-hr/{capabilities → product/workflows}/person-profile/prompt.md +0 -0
  56. /package/official-apps/aiworker-hr/{capabilities → product/workflows}/person-profile/review.md +0 -0
  57. /package/official-apps/aiworker-qa/{src → host-adapter}/api.ts +0 -0
  58. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/artifact.ts +0 -0
  59. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/connectors.ts +0 -0
  60. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/lifecycle.ts +0 -0
  61. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/review.ts +0 -0
  62. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/runtime.ts +0 -0
  63. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/ui.ts +0 -0
  64. /package/official-apps/aiworker-qa/{schemas → product/artifacts/schemas}/regression-matrix.schema.json +0 -0
  65. /package/official-apps/aiworker-qa/{schemas → product/artifacts/schemas}/release-gate.schema.json +0 -0
  66. /package/official-apps/aiworker-qa/{packs → product/profiles}/qa-reviewer/SOUL.md +0 -0
  67. /package/official-apps/aiworker-qa/{review → product/reviews}/regression-matrix.md +0 -0
  68. /package/official-apps/aiworker-qa/{review → product/reviews}/release-gate.md +0 -0
  69. /package/official-apps/aiworker-qa/{src/ui → product/web/artifact-previews}/regression-matrix-preview.tsx +0 -0
  70. /package/official-apps/aiworker-qa/{src/ui → product/web/artifact-previews}/release-gate-preview.tsx +0 -0
  71. /package/official-apps/aiworker-qa/{src/ui → product/web/panels}/release-panel.tsx +0 -0
  72. /package/official-apps/aiworker-qa/{src/ui → product/web/panels}/release-review-panel.tsx +0 -0
  73. /package/official-apps/aiworker-qa/{src/ui → product/web/panels}/review-panel.tsx +0 -0
  74. /package/official-apps/aiworker-qa/{src/ui → product/web/routes}/qa-route.tsx +0 -0
  75. /package/official-apps/aiworker-qa/{src/ui → product/web/widgets}/release-widget.tsx +0 -0
  76. /package/official-apps/aiworker-qa/{capabilities → product/workflows}/regression-matrix/prompt.md +0 -0
  77. /package/official-apps/aiworker-qa/{capabilities → product/workflows}/regression-matrix/review.md +0 -0
  78. /package/official-apps/aiworker-qa/{capabilities → product/workflows}/release-gate/prompt.md +0 -0
  79. /package/official-apps/aiworker-qa/{capabilities → product/workflows}/release-gate/review.md +0 -0
@@ -14,10 +14,10 @@ import manifestJson from '../soul-app.manifest.json' with { type: 'json' }
14
14
  export const qaSoulAppManifest = createSoulAppManifest(manifestJson)
15
15
 
16
16
  export const QA_REFERENCE_APP_BOUNDARY = {
17
- hostMountedEntry: './src/host-mounted.ts',
17
+ hostMountedEntry: './host-adapter/mounted/host-mounted.ts',
18
18
  packageName: '@zonease/aiworker-qa',
19
19
  primaryWorkbench: 'Release Gate Workbench',
20
- standaloneEntry: './src/standalone.ts',
20
+ standaloneEntry: './host-adapter/standalone/standalone.ts',
21
21
  } as const
22
22
 
23
23
  export const qaReferenceSoulApp: SoulAppDefinition = defineSoulApp({
@@ -3,7 +3,7 @@ import process from 'node:process'
3
3
 
4
4
  import { createSoulAppClient } from '@zonease/aiworker-soul-app-sdk'
5
5
 
6
- import { qaReferenceSoulApp, qaSoulAppManifest } from './index'
6
+ import { qaReferenceSoulApp, qaSoulAppManifest } from '../index'
7
7
 
8
8
  interface MountContext {
9
9
  brokerUrl?: string
@@ -1,6 +1,6 @@
1
1
  import process from 'node:process'
2
2
 
3
- import { qaSoulAppManifest } from './index'
3
+ import { qaSoulAppManifest } from '../index'
4
4
 
5
5
  export function renderStandaloneHtml(): string {
6
6
  return [
@@ -5,16 +5,16 @@
5
5
  "license": "MIT",
6
6
  "exports": {
7
7
  ".": {
8
- "types": "./src/index.ts",
9
- "import": "./src/index.ts"
8
+ "types": "./host-adapter/index.ts",
9
+ "import": "./host-adapter/index.ts"
10
10
  }
11
11
  },
12
- "main": "./src/index.ts",
13
- "types": "./src/index.ts",
12
+ "main": "./host-adapter/index.ts",
13
+ "types": "./host-adapter/index.ts",
14
14
  "scripts": {
15
- "build": "bun build src/index.ts src/standalone.ts src/host-mounted.ts --outdir dist --target bun",
16
- "dev": "bun src/standalone.ts --serve",
17
- "serve": "bun src/host-mounted.ts",
15
+ "build": "bun build host-adapter/index.ts host-adapter/standalone/standalone.ts host-adapter/mounted/host-mounted.ts --outdir dist --target bun",
16
+ "dev": "bun host-adapter/standalone/standalone.ts --serve",
17
+ "serve": "bun host-adapter/mounted/host-mounted.ts",
18
18
  "smoke": "bun ../../apps/cli/src/aiworker.ts app smoke .",
19
19
  "typecheck": "tsc --noEmit",
20
20
  "test": "bun test",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "api": {
3
- "entry": "./src/api.ts",
3
+ "entry": "./host-adapter/api.ts",
4
4
  "localService": {
5
5
  "command": [
6
6
  "bun",
@@ -15,9 +15,9 @@
15
15
  "description": "Coverage matrix mapped to release risk.",
16
16
  "id": "regression-matrix",
17
17
  "name": "Regression Matrix",
18
- "previewRef": "./src/ui/regression-matrix-preview.tsx",
19
- "reviewPolicyRef": "./review/regression-matrix.md",
20
- "schemaRef": "./schemas/regression-matrix.schema.json",
18
+ "previewRef": "./product/web/artifact-previews/regression-matrix-preview.tsx",
19
+ "reviewPolicyRef": "./product/reviews/regression-matrix.md",
20
+ "schemaRef": "./product/artifacts/schemas/regression-matrix.schema.json",
21
21
  "schemaSha256": "6a4f3494764431e8785a82865215eabc4c4678dfb4e447eda4d4684f341892a0",
22
22
  "version": "0.1.0"
23
23
  },
@@ -25,9 +25,9 @@
25
25
  "description": "Go/no-go release readiness artifact.",
26
26
  "id": "release-gate",
27
27
  "name": "Release Gate",
28
- "previewRef": "./src/ui/release-gate-preview.tsx",
29
- "reviewPolicyRef": "./review/release-gate.md",
30
- "schemaRef": "./schemas/release-gate.schema.json",
28
+ "previewRef": "./product/web/artifact-previews/release-gate-preview.tsx",
29
+ "reviewPolicyRef": "./product/reviews/release-gate.md",
30
+ "schemaRef": "./product/artifacts/schemas/release-gate.schema.json",
31
31
  "schemaSha256": "0c953a3453ff235c419600073c70c1f155976f448c4567711b511d83668a09e4",
32
32
  "version": "0.1.0"
33
33
  }
@@ -42,8 +42,8 @@
42
42
  "name": "Regression Matrix",
43
43
  "outputKind": "regression-matrix",
44
44
  "packRefs": [],
45
- "promptRef": "./capabilities/regression-matrix/prompt.md",
46
- "reviewRubricRef": "./capabilities/regression-matrix/review.md",
45
+ "promptRef": "./product/workflows/regression-matrix/prompt.md",
46
+ "reviewRubricRef": "./product/workflows/regression-matrix/review.md",
47
47
  "version": "0.1.0",
48
48
  "workspaceTypes": [
49
49
  "release",
@@ -59,8 +59,8 @@
59
59
  "name": "Release Gate",
60
60
  "outputKind": "release-gate",
61
61
  "packRefs": [],
62
- "promptRef": "./capabilities/release-gate/prompt.md",
63
- "reviewRubricRef": "./capabilities/release-gate/review.md",
62
+ "promptRef": "./product/workflows/release-gate/prompt.md",
63
+ "reviewRubricRef": "./product/workflows/release-gate/review.md",
64
64
  "version": "0.1.0",
65
65
  "workspaceTypes": [
66
66
  "release"
@@ -103,13 +103,25 @@
103
103
  ]
104
104
  },
105
105
  "description": "Quality Soul App for release workspaces, regression evidence, defect triage, and release gate review.",
106
+ "engineAssets": {
107
+ "skills": {
108
+ "source": "./engine-assets/skills",
109
+ "targets": [
110
+ "codex",
111
+ "claude-code"
112
+ ]
113
+ },
114
+ "workspace": {
115
+ "source": "./engine-assets/workspace"
116
+ }
117
+ },
106
118
  "exports": {
107
- "artifact": "./src/protocol/artifact.ts",
108
- "connector": "./src/protocol/connectors.ts",
109
- "lifecycle": "./src/protocol/lifecycle.ts",
110
- "review": "./src/protocol/review.ts",
111
- "runtime": "./src/protocol/runtime.ts",
112
- "ui": "./src/protocol/ui.ts"
119
+ "artifact": "./host-adapter/protocol/artifact.ts",
120
+ "connector": "./host-adapter/protocol/connectors.ts",
121
+ "lifecycle": "./host-adapter/protocol/lifecycle.ts",
122
+ "review": "./host-adapter/protocol/review.ts",
123
+ "runtime": "./host-adapter/protocol/runtime.ts",
124
+ "ui": "./host-adapter/protocol/ui.ts"
113
125
  },
114
126
  "healthcheck": {
115
127
  "kind": "protocol-handler",
@@ -136,7 +148,7 @@
136
148
  "refs": [
137
149
  {
138
150
  "id": "qa-reviewer",
139
- "ref": "packs/qa-reviewer/SOUL.md",
151
+ "ref": "product/profiles/qa-reviewer/SOUL.md",
140
152
  "source": "embedded",
141
153
  "version": "0.1.0"
142
154
  }
@@ -224,7 +236,7 @@
224
236
  "ui": {
225
237
  "artifactPreviews": [
226
238
  {
227
- "entry": "./src/ui/release-gate-preview.tsx",
239
+ "entry": "./product/web/artifact-previews/release-gate-preview.tsx",
228
240
  "id": "release-gate-preview",
229
241
  "label": "Release gate preview",
230
242
  "slot": "artifact-preview",
@@ -233,7 +245,7 @@
233
245
  ],
234
246
  "panels": [
235
247
  {
236
- "entry": "./src/ui/release-panel.tsx",
248
+ "entry": "./product/web/panels/release-panel.tsx",
237
249
  "id": "qa-release-panel",
238
250
  "label": "Release panel",
239
251
  "slot": "panel",
@@ -249,7 +261,7 @@
249
261
  ],
250
262
  "reviewPanels": [
251
263
  {
252
- "entry": "./src/ui/review-panel.tsx",
264
+ "entry": "./product/web/panels/review-panel.tsx",
253
265
  "id": "qa-review-panel",
254
266
  "label": "QA review panel",
255
267
  "slot": "review-panel"
@@ -257,7 +269,7 @@
257
269
  ],
258
270
  "routes": [
259
271
  {
260
- "entry": "./src/ui/qa-route.tsx",
272
+ "entry": "./product/web/routes/qa-route.tsx",
261
273
  "id": "qa-home",
262
274
  "label": "QA",
263
275
  "path": "/qa",
@@ -313,7 +325,7 @@
313
325
  },
314
326
  "workspaceWidgets": [
315
327
  {
316
- "entry": "./src/ui/release-widget.tsx",
328
+ "entry": "./product/web/widgets/release-widget.tsx",
317
329
  "id": "qa-release-widget",
318
330
  "label": "Release widget",
319
331
  "slot": "workspace-widget",
@@ -3,7 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "paths": {
5
5
  "@/*": [
6
- "./src/*"
6
+ "./host-adapter/*"
7
7
  ]
8
8
  },
9
9
  "types": [
@@ -11,7 +11,7 @@
11
11
  ]
12
12
  },
13
13
  "include": [
14
- "src/**/*.ts"
14
+ "host-adapter/**/*.ts"
15
15
  ],
16
16
  "exclude": [
17
17
  "node_modules",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zonease/aiworker-cli",
3
- "version": "0.15.1",
3
+ "version": "0.16.0",
4
4
  "description": "AIWorker CLI — local Host and vertical Soul workspace runtime",
5
5
  "license": "MIT",
6
6
  "type": "module",