@orkestrel/scaffold 0.0.49 → 0.0.50
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/README.md +4 -2
- package/dist/bin/main.js +184 -72
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/orchestration.md +28 -3
- package/dist/host/claude/agents/orkestrel.md +44 -44
- package/dist/host/claude/rules/tests.md +6 -2
- package/dist/host/guides/scaffold.md +328 -96
- package/dist/host/manifest.json +6 -6
- package/dist/host/scripts/codex.sh +0 -0
- package/dist/host/scripts/cursor.sh +0 -0
- package/dist/host/scripts/deps.sh +0 -0
- package/dist/host/scripts/ollama.sh +0 -0
- package/dist/host/tests/config.test.ts +26 -5
- package/dist/src/core/index.cjs +1285 -80
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +200 -36
- package/dist/src/core/index.d.ts +200 -36
- package/dist/src/core/index.js +1280 -81
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +47 -15
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +42 -15
- package/dist/src/server/index.d.ts +42 -15
- package/dist/src/server/index.js +48 -17
- package/dist/src/server/index.js.map +1 -1
- package/package.json +9 -9
package/dist/host/manifest.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"storage": "agents/orchestration.md",
|
|
23
23
|
"destination": ".agents/orchestration.md",
|
|
24
24
|
"executable": false,
|
|
25
|
-
"digest": "
|
|
25
|
+
"digest": "c8e9931f5cf30d0a5a94ea2a3008904b5833cd534036680ea0fd9618c64d6f54"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"storage": "agents/skills/enterprise-bootstrap/SKILL.md",
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
"storage": "claude/agents/orkestrel.md",
|
|
269
269
|
"destination": ".claude/agents/orkestrel.md",
|
|
270
270
|
"executable": false,
|
|
271
|
-
"digest": "
|
|
271
|
+
"digest": "dc6f528f27980569650b5d8fb3ec21e7adfd50eb815f1c0a4f48bf001b816707"
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
274
|
"storage": "claude/agents/planner.md",
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
"storage": "claude/rules/tests.md",
|
|
359
359
|
"destination": ".claude/rules/tests.md",
|
|
360
360
|
"executable": false,
|
|
361
|
-
"digest": "
|
|
361
|
+
"digest": "6830aafb605cb7123c682b09a0b7cb8fbbb8d62437ac136c9c91d88b7c79149c"
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
364
|
"storage": "claude/rules/typescript.md",
|
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
"storage": "guides/scaffold.md",
|
|
605
605
|
"destination": "guides/scaffold.md",
|
|
606
606
|
"executable": false,
|
|
607
|
-
"digest": "
|
|
607
|
+
"digest": "b3dec011e6ed02398d162ed2f5c83b1ffbdc834f4d2507f4a216bbe01cf0630f"
|
|
608
608
|
},
|
|
609
609
|
{
|
|
610
610
|
"storage": "scripts/codex.sh",
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
"storage": "tests/config.test.ts",
|
|
635
635
|
"destination": "tests/config.test.ts",
|
|
636
636
|
"executable": false,
|
|
637
|
-
"digest": "
|
|
637
|
+
"digest": "2627f98c2caf3c6a75f4c4659df41191054154ed36d8429c7c6b5c53284a91bf"
|
|
638
638
|
},
|
|
639
639
|
{
|
|
640
640
|
"storage": "tests/policy.test.ts",
|
|
@@ -688,5 +688,5 @@
|
|
|
688
688
|
".codex/agents",
|
|
689
689
|
".cursor/rules"
|
|
690
690
|
],
|
|
691
|
-
"digest": "
|
|
691
|
+
"digest": "d9f1ee5c68e28ef445b74e697d0ce13e7a3dd201911962b77a685b1d29c88c80"
|
|
692
692
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -152,11 +152,10 @@ describe('root configuration', () => {
|
|
|
152
152
|
pool: 'threads',
|
|
153
153
|
setup: ['./tests/setup.ts'],
|
|
154
154
|
})
|
|
155
|
-
// A row that is a configuration rather than a factory.
|
|
156
|
-
//
|
|
157
|
-
//
|
|
158
|
-
//
|
|
159
|
-
// wherever it runs instead of only where the shape happens to occur.
|
|
155
|
+
// A row that is a configuration rather than a factory. Every generated
|
|
156
|
+
// workspace registers the factory itself, so this shape is required here
|
|
157
|
+
// rather than observed: the proof exercises that resolution wherever it runs
|
|
158
|
+
// instead of only where a hand-written configuration happens to produce it.
|
|
160
159
|
expected.set('concrete', { include: 'tests/concrete.test.ts', setup: ['./tests/setup.ts'] })
|
|
161
160
|
|
|
162
161
|
const projects = configuration.test?.projects
|
|
@@ -297,6 +296,28 @@ describe('root configuration', () => {
|
|
|
297
296
|
}).toThrow(/strictly equal/u)
|
|
298
297
|
})
|
|
299
298
|
|
|
299
|
+
it('emits every project as a factory so the release mode reaches its proof', () => {
|
|
300
|
+
const projects = configuration.test?.projects
|
|
301
|
+
if (!Array.isArray(projects)) throw new Error('The root configuration carries no projects')
|
|
302
|
+
if (projects.length === 0) throw new Error('The root configuration registers no project')
|
|
303
|
+
// Measured: with `--mode release` on the command line, `import.meta.env.MODE` reads
|
|
304
|
+
// `release` inside a project Vitest calls and `test` inside an inline project
|
|
305
|
+
// configuration. `prepublishOnly` runs the distribution proof with `--mode release`, and
|
|
306
|
+
// that proof fails rather than skips only when it reads `release`, so converting these
|
|
307
|
+
// entries to inline configurations turns the publish gate into a skip while every suite
|
|
308
|
+
// stays green. The control is that conversion applied to one entry.
|
|
309
|
+
const inline = {
|
|
310
|
+
test: {
|
|
311
|
+
name: { label: 'inline' },
|
|
312
|
+
include: ['tests/inline.test.ts'],
|
|
313
|
+
setupFiles: ['./tests/setup.ts'],
|
|
314
|
+
},
|
|
315
|
+
}
|
|
316
|
+
const callable = projects.concat(inline).filter((entry) => typeof entry === 'function')
|
|
317
|
+
for (const entry of projects) expect(callable).toContain(entry)
|
|
318
|
+
expect(callable).not.toContain(inline)
|
|
319
|
+
})
|
|
320
|
+
|
|
300
321
|
it('requires and validates every selected target wrapper', async () => {
|
|
301
322
|
const required: string[] = []
|
|
302
323
|
for (const axis of ['src', 'app']) {
|