@kynver-app/runtime 0.1.122 → 0.1.128

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 (38) hide show
  1. package/dist/chat/chat-claim-loop.d.ts +11 -0
  2. package/dist/chat/command-allowlist.d.ts +8 -0
  3. package/dist/chat/command-executor.d.ts +13 -0
  4. package/dist/cli.js +54 -17773
  5. package/dist/cron/cron-cli-bin.d.ts +7 -0
  6. package/dist/cron/cron-readiness.d.ts +35 -0
  7. package/dist/disk-gate.d.ts +7 -0
  8. package/dist/index.js +71 -19272
  9. package/dist/mesh-liveness/mesh-cron-lease-store.d.ts +9 -0
  10. package/dist/server/cleanup.js +16 -4054
  11. package/dist/server/default-repo.js +1 -458
  12. package/dist/server/harness-notice.js +15 -287
  13. package/dist/server/heavy-verification.js +1 -223
  14. package/dist/server/landing.js +1 -44
  15. package/dist/server/memory-cost-enforce.js +2 -480
  16. package/dist/server/memory-cost.js +2 -184
  17. package/dist/server/monitor.js +8 -1805
  18. package/dist/server/orchestration.js +1 -444
  19. package/dist/server/pr-evidence.js +1 -163
  20. package/dist/server/repo-search.js +1 -224
  21. package/dist/server/worker-policy.js +1 -432
  22. package/dist/worker-persona-catalog.js +1 -138
  23. package/package.json +3 -2
  24. package/dist/cli.js.map +0 -7
  25. package/dist/index.js.map +0 -7
  26. package/dist/server/cleanup.js.map +0 -7
  27. package/dist/server/default-repo.js.map +0 -7
  28. package/dist/server/harness-notice.js.map +0 -7
  29. package/dist/server/heavy-verification.js.map +0 -7
  30. package/dist/server/landing.js.map +0 -7
  31. package/dist/server/memory-cost-enforce.js.map +0 -7
  32. package/dist/server/memory-cost.js.map +0 -7
  33. package/dist/server/monitor.js.map +0 -7
  34. package/dist/server/orchestration.js.map +0 -7
  35. package/dist/server/pr-evidence.js.map +0 -7
  36. package/dist/server/repo-search.js.map +0 -7
  37. package/dist/server/worker-policy.js.map +0 -7
  38. package/dist/worker-persona-catalog.js.map +0 -7
@@ -1,138 +1 @@
1
- // src/worker-persona-catalog.ts
2
- var WORKER_PERSONA_DISPATCH_LANES = [
3
- "implementation",
4
- "review",
5
- "landing"
6
- ];
7
- var WORKER_PERSONA_DEFAULT_ROLE_LANES = [
8
- "plan_author",
9
- "implementer",
10
- "report_reviewer",
11
- "deep_reviewer",
12
- "runtime_verifier",
13
- "system"
14
- ];
15
- var WORKER_PERSONA_CATALOG = [
16
- {
17
- slug: "ghost",
18
- displayName: "Ghost",
19
- description: "Orchestration \u2014 coordinates lanes, handoffs, and operator decisions.",
20
- dispatchLane: null,
21
- defaultRoleLane: "system"
22
- },
23
- {
24
- slug: "astra",
25
- displayName: "Astra",
26
- description: "Planning \u2014 plan authoring, milestones, and operational flow design.",
27
- dispatchLane: "implementation",
28
- defaultRoleLane: "plan_author"
29
- },
30
- {
31
- slug: "rhea",
32
- displayName: "Rhea",
33
- description: "Runtime / control-plane implementation \u2014 harness, dispatch, and AgentOS plumbing.",
34
- dispatchLane: "implementation",
35
- defaultRoleLane: "implementer"
36
- },
37
- {
38
- slug: "mnemo",
39
- displayName: "Mnemo",
40
- description: "Memory-quality implementation \u2014 MARM lanes, retrieval hygiene, and consolidation.",
41
- dispatchLane: "implementation",
42
- defaultRoleLane: "implementer"
43
- },
44
- {
45
- slug: "sentinel",
46
- displayName: "Sentinel",
47
- description: "Security / privacy implementation and security verification gates.",
48
- dispatchLane: "review",
49
- defaultRoleLane: "deep_reviewer"
50
- },
51
- {
52
- slug: "pixel",
53
- displayName: "Pixel",
54
- description: "Frontend \u2014 Command Center UI, dashboards, and client surfaces.",
55
- dispatchLane: "implementation",
56
- defaultRoleLane: "implementer"
57
- },
58
- {
59
- slug: "schema",
60
- displayName: "Schema",
61
- description: "Data / migrations \u2014 Prisma schema, seeds, and persistence contracts.",
62
- dispatchLane: "implementation",
63
- defaultRoleLane: "implementer"
64
- },
65
- {
66
- slug: "atlas",
67
- displayName: "Atlas",
68
- description: "Infra / reliability \u2014 deploy pipelines, observability, and runtime health.",
69
- dispatchLane: "implementation",
70
- defaultRoleLane: "runtime_verifier"
71
- },
72
- {
73
- slug: "bridge",
74
- displayName: "Bridge",
75
- description: "Integrations / MCP \u2014 tool manifests, OpenClaw bridges, and cross-service wiring.",
76
- dispatchLane: "implementation",
77
- defaultRoleLane: "implementer"
78
- },
79
- {
80
- slug: "catalyst",
81
- displayName: "Catalyst",
82
- description: "Product / domain \u2014 business rules, domain packs, and feature semantics.",
83
- dispatchLane: "implementation",
84
- defaultRoleLane: "implementer"
85
- },
86
- {
87
- slug: "lorentz",
88
- displayName: "Lorentz",
89
- description: "Deep/adversarial review lane expert for risk, correctness, and safety gates. Run adversarial review and validation gating.",
90
- dispatchLane: "review",
91
- defaultRoleLane: "report_reviewer"
92
- },
93
- {
94
- slug: "dalton",
95
- displayName: "Dalton",
96
- description: "Landing-only \u2014 merge-ready handoff and final verification evidence; no implementation ownership.",
97
- dispatchLane: "landing",
98
- defaultRoleLane: "implementer"
99
- }
100
- ];
101
- var BY_SLUG = new Map(WORKER_PERSONA_CATALOG.map((entry) => [entry.slug, entry]));
102
- function getWorkerPersonaCatalogEntry(slug) {
103
- if (!slug) return null;
104
- const key = slug.trim().toLowerCase();
105
- return BY_SLUG.get(key) ?? null;
106
- }
107
- function getPersonaDispatchLane(slug) {
108
- return getWorkerPersonaCatalogEntry(slug)?.dispatchLane ?? null;
109
- }
110
- function getPersonaDefaultRoleLane(slug) {
111
- return getWorkerPersonaCatalogEntry(slug)?.defaultRoleLane ?? null;
112
- }
113
- function isKnownWorkerPersonaSlug(slug) {
114
- if (!slug) return false;
115
- return BY_SLUG.has(slug.trim().toLowerCase());
116
- }
117
- function workerPersonaReviewSlugs() {
118
- return WORKER_PERSONA_CATALOG.filter((entry) => entry.dispatchLane === "review").map(
119
- (entry) => entry.slug
120
- );
121
- }
122
- function workerPersonaLandingSlugs() {
123
- return WORKER_PERSONA_CATALOG.filter((entry) => entry.dispatchLane === "landing").map(
124
- (entry) => entry.slug
125
- );
126
- }
127
- export {
128
- WORKER_PERSONA_CATALOG,
129
- WORKER_PERSONA_DEFAULT_ROLE_LANES,
130
- WORKER_PERSONA_DISPATCH_LANES,
131
- getPersonaDefaultRoleLane,
132
- getPersonaDispatchLane,
133
- getWorkerPersonaCatalogEntry,
134
- isKnownWorkerPersonaSlug,
135
- workerPersonaLandingSlugs,
136
- workerPersonaReviewSlugs
137
- };
138
- //# sourceMappingURL=worker-persona-catalog.js.map
1
+ var i=["implementation","review","landing"],o=["plan_author","implementer","report_reviewer","deep_reviewer","runtime_verifier","system"],n=[{slug:"ghost",displayName:"Ghost",description:"Orchestration \u2014 coordinates lanes, handoffs, and operator decisions.",dispatchLane:null,defaultRoleLane:"system"},{slug:"astra",displayName:"Astra",description:"Planning \u2014 plan authoring, milestones, and operational flow design.",dispatchLane:"implementation",defaultRoleLane:"plan_author"},{slug:"rhea",displayName:"Rhea",description:"Runtime / control-plane implementation \u2014 harness, dispatch, and AgentOS plumbing.",dispatchLane:"implementation",defaultRoleLane:"implementer"},{slug:"mnemo",displayName:"Mnemo",description:"Memory-quality implementation \u2014 MARM lanes, retrieval hygiene, and consolidation.",dispatchLane:"implementation",defaultRoleLane:"implementer"},{slug:"sentinel",displayName:"Sentinel",description:"Security / privacy implementation and security verification gates.",dispatchLane:"review",defaultRoleLane:"deep_reviewer"},{slug:"pixel",displayName:"Pixel",description:"Frontend \u2014 Command Center UI, dashboards, and client surfaces.",dispatchLane:"implementation",defaultRoleLane:"implementer"},{slug:"schema",displayName:"Schema",description:"Data / migrations \u2014 Prisma schema, seeds, and persistence contracts.",dispatchLane:"implementation",defaultRoleLane:"implementer"},{slug:"atlas",displayName:"Atlas",description:"Infra / reliability \u2014 deploy pipelines, observability, and runtime health.",dispatchLane:"implementation",defaultRoleLane:"runtime_verifier"},{slug:"bridge",displayName:"Bridge",description:"Integrations / MCP \u2014 tool manifests, OpenClaw bridges, and cross-service wiring.",dispatchLane:"implementation",defaultRoleLane:"implementer"},{slug:"catalyst",displayName:"Catalyst",description:"Product / domain \u2014 business rules, domain packs, and feature semantics.",dispatchLane:"implementation",defaultRoleLane:"implementer"},{slug:"lorentz",displayName:"Lorentz",description:"Deep/adversarial review lane expert for risk, correctness, and safety gates. Run adversarial review and validation gating.",dispatchLane:"review",defaultRoleLane:"report_reviewer"},{slug:"dalton",displayName:"Dalton",description:"Landing-only \u2014 merge-ready handoff and final verification evidence; no implementation ownership.",dispatchLane:"landing",defaultRoleLane:"implementer"}],a=new Map(n.map(e=>[e.slug,e]));function t(e){if(!e)return null;let r=e.trim().toLowerCase();return a.get(r)??null}function l(e){return t(e)?.dispatchLane??null}function s(e){return t(e)?.defaultRoleLane??null}function p(e){return e?a.has(e.trim().toLowerCase()):!1}function d(){return n.filter(e=>e.dispatchLane==="review").map(e=>e.slug)}function u(){return n.filter(e=>e.dispatchLane==="landing").map(e=>e.slug)}export{n as WORKER_PERSONA_CATALOG,o as WORKER_PERSONA_DEFAULT_ROLE_LANES,i as WORKER_PERSONA_DISPATCH_LANES,s as getPersonaDefaultRoleLane,l as getPersonaDispatchLane,t as getWorkerPersonaCatalogEntry,p as isKnownWorkerPersonaSlug,u as workerPersonaLandingSlugs,d as workerPersonaReviewSlugs};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kynver-app/runtime",
3
- "version": "0.1.122",
3
+ "version": "0.1.128",
4
4
  "description": "Kynver AgentOS local execution runtime and CLI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -83,10 +83,11 @@
83
83
  },
84
84
  "files": [
85
85
  "dist/**",
86
+ "!dist/**/*.map",
86
87
  "README.md"
87
88
  ],
88
89
  "scripts": {
89
- "build": "esbuild src/cli.ts src/index.ts src/worker-persona-catalog.ts src/server/monitor.ts src/server/landing.ts src/server/worker-policy.ts src/server/orchestration.ts src/server/heavy-verification.ts src/server/memory-cost.ts src/server/pr-evidence.ts src/server/default-repo.ts src/server/cleanup.ts src/server/repo-search.ts src/server/harness-notice.ts src/server/memory-cost-enforce.ts --bundle --platform=node --format=esm --packages=external --outbase=src --outdir=dist --sourcemap && tsc -p tsconfig.json --emitDeclarationOnly && node scripts/chmod-cli-bin.mjs",
90
+ "build": "esbuild src/cli.ts src/index.ts src/worker-persona-catalog.ts src/server/monitor.ts src/server/landing.ts src/server/worker-policy.ts src/server/orchestration.ts src/server/heavy-verification.ts src/server/memory-cost.ts src/server/pr-evidence.ts src/server/default-repo.ts src/server/cleanup.ts src/server/repo-search.ts src/server/harness-notice.ts src/server/memory-cost-enforce.ts --bundle --platform=node --format=esm --packages=external --outbase=src --outdir=dist --minify && tsc -p tsconfig.json --emitDeclarationOnly && node scripts/chmod-cli-bin.mjs",
90
91
  "typecheck": "tsc -p tsconfig.json --noEmit",
91
92
  "test": "vitest run --config vitest.config.ts",
92
93
  "prepublishOnly": "node ../../scripts/npm-publish-guard.mjs && npm run build"