@orkestrel/scaffold 0.0.13 → 0.0.14

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.
@@ -29,44 +29,47 @@ descriptions never enter agent instruction context.
29
29
 
30
30
  | Package | Version |
31
31
  | --------------------- | ------- |
32
- | @orkestrel/abort | 0.0.3 |
33
- | @orkestrel/agent | 0.0.8 |
34
- | @orkestrel/browser | 0.0.3 |
35
- | @orkestrel/budget | 0.0.3 |
36
- | @orkestrel/console | 0.0.3 |
37
- | @orkestrel/contract | 0.0.5 |
38
- | @orkestrel/csv | 0.0.1 |
39
- | @orkestrel/database | 0.0.5 |
40
- | @orkestrel/emitter | 0.0.3 |
41
- | @orkestrel/guide | 0.0.5 |
42
- | @orkestrel/indexeddb | 0.0.4 |
43
- | @orkestrel/interpret | 0.0.5 |
44
- | @orkestrel/markdown | 0.0.5 |
45
- | @orkestrel/mcp | 0.0.4 |
46
- | @orkestrel/middleware | 0.0.5 |
47
- | @orkestrel/msg | 0.0.4 |
48
- | @orkestrel/ndjson | 0.0.3 |
49
- | @orkestrel/ollama | 0.0.6 |
50
- | @orkestrel/pool | 0.0.3 |
51
- | @orkestrel/program | 0.0.3 |
52
- | @orkestrel/qualifier | 0.0.4 |
53
- | @orkestrel/queue | 0.0.3 |
54
- | @orkestrel/rater | 0.0.5 |
55
- | @orkestrel/reason | 0.0.3 |
56
- | @orkestrel/relation | 0.0.3 |
57
- | @orkestrel/router | 0.0.4 |
58
- | @orkestrel/scaffold | 0.0.1 |
59
- | @orkestrel/sea | 0.0.3 |
60
- | @orkestrel/server | 0.0.6 |
61
- | @orkestrel/sqlite | 0.0.4 |
62
- | @orkestrel/sse | 0.0.3 |
63
- | @orkestrel/template | 0.0.1 |
64
- | @orkestrel/terminal | 0.0.4 |
65
- | @orkestrel/timeout | 0.0.3 |
66
- | @orkestrel/tool | 0.0.3 |
67
- | @orkestrel/websocket | 0.0.3 |
68
- | @orkestrel/worker | 0.0.3 |
69
- | @orkestrel/workflow | 0.0.6 |
32
+ | @orkestrel/abort | 0.0.4 |
33
+ | @orkestrel/agent | 0.0.11 |
34
+ | @orkestrel/browser | 0.0.8 |
35
+ | @orkestrel/budget | 0.0.4 |
36
+ | @orkestrel/console | 0.0.4 |
37
+ | @orkestrel/contract | 0.0.9 |
38
+ | @orkestrel/csv | 0.0.2 |
39
+ | @orkestrel/database | 0.0.6 |
40
+ | @orkestrel/emitter | 0.0.5 |
41
+ | @orkestrel/guide | 0.0.8 |
42
+ | @orkestrel/html | 0.0.1 |
43
+ | @orkestrel/indexeddb | 0.0.6 |
44
+ | @orkestrel/interpret | 0.0.7 |
45
+ | @orkestrel/markdown | 0.0.7 |
46
+ | @orkestrel/mcp | 0.0.7 |
47
+ | @orkestrel/middleware | 0.0.6 |
48
+ | @orkestrel/msg | 0.0.5 |
49
+ | @orkestrel/ndjson | 0.0.5 |
50
+ | @orkestrel/ollama | 0.0.7 |
51
+ | @orkestrel/pool | 0.0.4 |
52
+ | @orkestrel/program | 0.0.6 |
53
+ | @orkestrel/qualifier | 0.0.7 |
54
+ | @orkestrel/queue | 0.0.4 |
55
+ | @orkestrel/rater | 0.0.8 |
56
+ | @orkestrel/reason | 0.0.4 |
57
+ | @orkestrel/relation | 0.0.6 |
58
+ | @orkestrel/router | 0.0.6 |
59
+ | @orkestrel/scaffold | 0.0.13 |
60
+ | @orkestrel/sea | 0.0.4 |
61
+ | @orkestrel/server | 0.0.7 |
62
+ | @orkestrel/sqlite | 0.0.6 |
63
+ | @orkestrel/sse | 0.0.4 |
64
+ | @orkestrel/template | 0.0.2 |
65
+ | @orkestrel/terminal | 0.0.5 |
66
+ | @orkestrel/timeout | 0.0.4 |
67
+ | @orkestrel/tool | 0.0.7 |
68
+ | @orkestrel/toolbox | 0.0.1 |
69
+ | @orkestrel/websocket | 0.0.7 |
70
+ | @orkestrel/worker | 0.0.4 |
71
+ | @orkestrel/workflow | 0.0.7 |
72
+ | @orkestrel/workspace | 0.0.1 |
70
73
 
71
74
  <!-- catalog:end -->
72
75
 
@@ -227,7 +227,7 @@ var DEFAULT_VERSION = "0.0.1";
227
227
  /** The `engines.node` range the `blueprint` builder fills. */
228
228
  var DEFAULT_ENGINES = `>=${MINIMUM_NODE_VERSION}`;
229
229
  /** The devDependency range generated packages pin `@orkestrel/scaffold` at. */
230
- var SCAFFOLD_RANGE = "^0.0.12";
230
+ var SCAFFOLD_RANGE = "^0.0.14";
231
231
  /** Tooling versions shared by scaffold and every generated workspace. */
232
232
  var BASE_DEV_DEPENDENCIES = Object.freeze({
233
233
  "@microsoft/api-extractor": "^7.58.12",
@@ -8653,8 +8653,8 @@ ${EXPORT_KEYWORD} ${FUNCTION_KEYWORD} exportsFor(specifier: string): readonly st
8653
8653
  function testArtifacts(spec, pascal) {
8654
8654
  const hasBrowser = spec.src.includes("browser") || spec.app.includes("browser");
8655
8655
  const hasVue = spec.app.includes("browser");
8656
- const browserPolicySpecifier = hasBrowser ? ", existsSync" : "";
8657
- const browserPolicyImport = hasBrowser ? "import { chromium } from 'playwright'" : "";
8656
+ const browserPolicySpecifier = hasBrowser ? ", accessSync, constants as FS_CONSTANTS, statSync" : "";
8657
+ const browserPolicyImport = hasBrowser ? "import { chromium } from 'playwright'\nimport { resolveChromium } from '../vite.config.js'" : "";
8658
8658
  const vuePolicyImport = hasVue ? "import { parse as parseVue } from 'vue/compiler-sfc'" : "";
8659
8659
  const workspacePolicyAssertion = hasVue ? `expect(
8660
8660
  inspectCodingWorkspace(process.cwd(), (path, content) => {
@@ -8666,12 +8666,13 @@ function testArtifacts(spec, pascal) {
8666
8666
  }),
8667
8667
  ).toEqual([])` : "expect(inspectCodingWorkspace(process.cwd())).toEqual([])";
8668
8668
  const browserPolicyTest = hasBrowser ? `
8669
- it.skipIf(!existsSync(chromium.executablePath()))(
8670
- 'runs browser suites only when the real Chromium executable is installed',
8671
- () => {
8672
- expect(existsSync(chromium.executablePath())).toBe(true)
8673
- },
8674
- )` : "";
8669
+ it('resolves Chromium only to a real executable file', () => {
8670
+ const chromiumPath = resolveChromium(chromium.executablePath())
8671
+ if (chromiumPath === undefined) return
8672
+
8673
+ expect(statSync(chromiumPath).isFile()).toBe(true)
8674
+ expect(() => accessSync(chromiumPath, FS_CONSTANTS.X_OK)).not.toThrow()
8675
+ })` : "";
8675
8676
  const artifacts = [fillArtifact("tests/setup.ts", "tests", "setup", {}), fillArtifact("tests/policy.test.ts", "tests", "policyTest", {
8676
8677
  browserPolicySpecifier,
8677
8678
  browserPolicyImport,